On Sun, Apr 06, 2003 at 12:52:43AM +0100, Matthew Toseland wrote: > On Sat, Apr 05, 2003 at 05:42:32PM -0600, [EMAIL PROTECTED] wrote: > > Yes, anything done via sysctl is a system time, this means all I/O, > > scheduling, etc. > > I don't think it is scheduling. I have since seen it show 21,000 context > switches per second and only 33% of cpu time in system. And it doesn't > seem to be I/O either, since IO-waiting would be under idle (which > happens sometimes).
And this is only w/ Freenet running? Any disk activity or > > > > Scott > > > > On Sat, Apr 05, 2003 at 11:31:05PM +0100, Matthew Toseland wrote: > > > I run two freenet nodes, one of which is moderately heavily loaded, on > > > an Athlon XP 1700+ attached to a cablemodem. They dominate my loadavg. > > > Recently I have noticed that I am having extremely high "system" % in > > > "top". I checked it out... first, DMA wasn't working, but that is fixed > > > now. Then I heard that top may be miscalculating system time... after > > > some research I found the wonderful utility "vmstat". Running vmstat 10 > > > gets something like the attached. Note the "sy" column under the "cpu" > > > heading. Can anyone else reproduce this or is it a local problem? Does > > > anyone have any ideas as to why freenet causes linux to use such a large > > > amount of "system" (i.e. kernel) time? Would reschedules count as system > > > time? > > > > > > BTW, this is with Sun 1.4, using native threads. > > > -- > > > Matthew Toseland > > > [EMAIL PROTECTED]/[EMAIL PROTECTED] > > > Full time freenet hacker. > > > http://freenetproject.org/ > > > Freenet Distribution Node (temporary) at > > > http://80-192-4-36.cable.ubr09.na.blueyonder.co.uk:8889/Iii0fCybKdE/ > > > ICTHUS. > > > > > procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu---- > > > r b swpd free buff cache si so bi bo in cs us sy id wa > > > 4 0 75736 7304 117088 495864 2 0 72 325 410 565 20 80 0 0 > > > 5 0 75736 6768 117340 496096 3 0 25 151 386 748 31 69 0 0 > > > 3 0 75736 8232 117800 493696 17 0 104 606 539 773 29 71 0 0 > > > 3 2 75736 7628 118192 494160 0 0 44 266 401 550 13 87 0 0 > > > 6 0 75736 7104 118256 494568 0 0 41 106 370 453 10 90 0 0 > > > 3 0 75736 6588 118392 494964 0 0 38 62 377 457 13 87 0 0 > > > 4 0 75736 8248 118440 493260 0 0 33 480 365 492 22 78 0 0 > > > 6 0 75736 7860 118564 493524 0 0 26 123 390 556 27 73 0 0 > > > 4 0 75736 7624 118796 493524 0 0 26 179 385 586 21 79 0 0 > > > 7 0 75736 8464 118604 492524 0 0 40 616 420 784 28 72 0 0 > > > 5 0 75736 7688 118864 492908 4 0 42 323 405 778 19 81 0 0 > > > 7 1 75736 7160 119056 493228 1 0 31 63 362 692 20 80 0 0 > > > 9 0 75736 6188 119192 493664 2 0 34 168 395 622 19 81 0 0 > > > 9 0 75736 8216 119568 491680 8 0 34 492 393 878 45 55 0 0 > > > 4 0 75736 7616 119732 492116 0 0 26 52 354 1298 47 53 0 0 > > > 6 0 75736 6740 120144 492516 5 0 34 358 425 1174 42 58 0 0 > > > 9 0 75736 4520 120264 494588 0 0 13 454 352 1005 48 52 0 0 > > > > > > > > > > -- > > > > -- > Matthew Toseland > [EMAIL PROTECTED]/[EMAIL PROTECTED] > Full time freenet hacker. > http://freenetproject.org/ > Freenet Distribution Node (temporary) at > http://80-192-4-36.cable.ubr09.na.blueyonder.co.uk:8889/OHqQbstw4Bs/ > ICTHUS. --
pgp00000.pgp
Description: PGP signature
