Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Mar 2004 16:04:38 +0100
From:      Bogdan TARU <bgd@icomag.de>
To:        freebsd-hackers@freebsd.org
Subject:   kernel activity
Message-ID:  <20040315150438.GA48241@icomag.de>

next in thread | raw e-mail | index | archive | help


	Hi everyone,

 I'm running a pretty busy webserver, and right now I can see it's
 CPU-bound:

%vmstat 1
 procs      memory      page                    disks     faults  cpu
 r b w     avm    fre  flt  re  pi  po  fr  sr da0 ac0   in   sy  cs us sy id
78 2 0 1135684 144648   93   0   0   0 248  82  14   0  319  235 136 26 35 39
72 2 0 1135668 144060   25   0   0   0 160   0  19   0 1971 141871 1098 41 59  0
84 2 0 1135836 142692   82   0   0   0 405   0  35   0 3144 246325 1739 42 58  0
77 2 0 1135732 142104  168   0   0   0 343   0  20   0 2129 155969 1314 38 62  0

 and I'm trying to figure out why so much time is consumed in 'system
 mode' (to see if I can further tune the box or not). Any idea what
 kind of structures/utilities I should consult for that?

 Thanks,
 bogdan

PS. Advices like 'add more cpu power' and such are NOT welcomed, the
box is already fully loaded, the webserver tuned, and if I cannot tune
the box as to spend less time in system mode, then I will just load
balance with another box. 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040315150438.GA48241>