high load system do not take all CPU time
kes-kes at yandex.ru
Fri Dec 23 21:44:13 UTC 2011
Вы писали 18 декабря 2011 г., 17:52:00:
DS> --As of December 17, 2011 10:29:42 AM +0200, Коньков Евгений
DS> is alleged to have said:
>> How to debug why system do not use free CPU resouces?
>> On this pictures you can see that CPU can not exceed 400tics
>> On these pictures you can see that problems begin with trafic on re0
>> when CPU load rise to "maximum"
>> But there is 25% CPU idle yet at that moment.
>># top -SIHP
>> last pid: 93050; load averages: 1.45, 1.41, 1.29
>> up 9+16:32:06 10:28:43 237 processes: 5 running, 210 sleeping, 2
>> stopped, 20 waiting
>> CPU 0: 0.8% user, 0.0% nice, 8.7% system, 17.7% interrupt, 72.8% idle
>> CPU 1: 0.0% user, 0.0% nice, 9.1% system, 20.1% interrupt, 70.9% idle
>> CPU 2: 0.4% user, 0.0% nice, 9.4% system, 19.7% interrupt, 70.5% idle
>> CPU 3: 1.2% user, 0.0% nice, 6.3% system, 22.4% interrupt, 70.1% idle
>> Mem: 843M Active, 2476M Inact, 347M Wired, 150M Cache, 112M Buf, 80M Free
>> Swap: 4096M Total, 15M Used, 4080M Free
DS> --As for the rest, it is mine.
DS> You are I/O bound; most of your time is spent in interrupts. The CPU is
DS> dealing with things as fast as it can get them, but it has to wait for the
DS> disk and/or network card to get them to it. The CPU is not your problem;
DS> if you need more performance, you need to tune the I/O. (And possibly get
DS> better I/O cards, if available.)
that is strange, but I get worse network perfomance with *igb* than I
have with *re*
even with less! network traffic I get 100% CPU load than I have with
for comparison: in case of re I have 350Mbit now just 250Mbit and
already reach limit.
# uname -a
FreeBSD meta-up 9.0-PRERELEASE FreeBSD 9.0-PRERELEASE #3: Wed Dec 21 14:29:05 EET 2011
Коньков mailto:kes-kes at yandex.ru
More information about the freebsd-questions