tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* radius & fork & libpthread
@ 2002-07-24 13:06 Xavier
  0 siblings, 0 replies; only message in thread
From: Xavier @ 2002-07-24 13:06 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-07-24 13:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-24 13:06 radius & fork & libpthread Xavier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox