From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Xavier Newsgroups: gmane.os.tru64.managers Subject: radius & fork & libpthread Date: Wed, 24 Jul 2002 15:06:39 +0200 (CEST) Organization: rootshell.be Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1027516692 5799 127.0.0.1 (24 Jul 2002 13:18:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 24 Jul 2002 13:18:12 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 17XM1q-0001VO-00 for ; Wed, 24 Jul 2002 15:18:10 +0200 Original-Received: (qmail 11053 invoked by uid 5); 24 Jul 2002 13:06:44 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 11045 invoked from network); 24 Jul 2002 13:06:44 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (128.219.159.41) by 0 with SMTP; 24 Jul 2002 13:06:44 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GZR00LSL8F7XA@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 24 Jul 2002 09:06:43 -0400 (EDT) Original-Received: from diabolo.rootshell.be (diabolo.rootshell.be [213.177.132.226]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GZR009G38F50I@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 24 Jul 2002 09:06:42 -0400 (EDT) Original-Received: from localhost (xavier@localhost [127.0.0.1]) by diabolo.rootshell.be (8.11.6/8.8.7) with ESMTP id g6OD6de32640; Wed, 24 Jul 2002 15:06:39 +0200 Original-To: Tru64 Unix Managers Xref: main.gmane.org gmane.os.tru64.managers:1073 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:1073 Hi, Now that I installed DPCI, I had a look to the box which has problems. The box (DS20/2x667/2Gb) runs a RADIUS server and has a look average >10 during peak hours, but continue to handle requests... For each request received, the RADIUS daemon forks itself, monitor reports ~12 forks/sec. DPCI reported that (after /vmunix), /usr/shlib/libpthread.so is the most consuming image in the system, and: Top 5 in /vmunix: valid retired !retired !notrap :retdelay % cum% :count % :count % :count % cycles % procedure image 5197540 29.43% 29.43% 14288127 78.09% 901 0.07% 38 0.03% 5315084 26.79% idle_thread /vmunix 4757171 26.93% 56.36% 473350 2.59% 166543 12.32% 10639 8.82% 3479216 17.54% tcp_rad_fasttimo /vmunix 2204999 12.48% 68.85% 581473 3.18% 20581 1.52% 10568 8.76% 870150 4.39% lock_try_write /vmunix 1506013 8.53% 77.37% 190481 1.04% 132858 9.83% 21592 17.90% 3510875 17.70% simple_lock /vmunix Top 5 in /usr/shlib/libpthread.so: valid retired !retired !notrap :retdelay % cum% :count % :count % :count % cycles % procedure image 17099 26.31% 26.31% 6004 9.32% 1573 7.92% 42 4.51% 12715 16.86% __utlCompareSwapEqInt /usr/shlib/libpthread.so 14253 21.93% 48.24% 23022 35.72% 7422 37.38% 256 27.47% 12318 16.34% 0x3ff805ad220[near:__muIfLockedSetWaiter/__muWriteMeter] /usr/shlib/libpthread.so 13237 20.37% 68.60% 19440 30.17% 4254 21.42% 199 21.35% 16660 22.09% 0x3ff805abc90[near:__muInternal/__muRelock] /usr/shlib/libpthread.so 6302 9.70% 78.30% 8068 12.52% 2476 12.47% 221 23.71% 11095 14.71% __pthread_mutex_unlock /usr/shlib/libpthread.so 3934 6.05% 84.35% 3674 5.70% 602 3.03% 15 1.61% 4374 5.80% __pthread_mutex_lock /usr/shlib/libpthread.so 815 1.25% 85.61% 241 0.37% 93 0.47% 5 0.54% 536 0.71% __krnLock /usr/shlib/libpthread.so Any idea how to increase performances? Xavier -- http://www.rootshell.be echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sb20293A2058554E494Csnlbxq'|dc