Skip to contentSkip to conversation

Interrupt levels

DISCUSSION Nicholas Lee 2 participants 2 messages Mar 8, 2005

lore
Share & tools
lore
#0 lore raw

I'm tracking performance on the machine I installed yesterday.

mutt running on one Xen instance, accessing via imap to another instance, accessing via nfs the maildir in another instances, seems little laggy when moving up and down the message index list.

Network latency seems low < 30ms on average.

So I was tracking vmstat.

On the mutt instances is seems reasonable:

[nic@shell:~] vmstat 3
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----

 r  b   swpd   free   buff  cache   si   so    bi    bo   in    cs us sy id wa
 0  0      0 144464      4 127748    0    0     0     0   36     6  0  0 100  0
 0  0      0 144464      4 127748    0    0     0     0   87    67  1  0 99  0
 0  0      0 144464      4 127748    0    0     0     0   90    83  0  0 100  0
 0  0      0 144464      4 127748    0    0     0     0   27    14  0  0 100  0
 0  0      0 144464      4 127748    0    0     0     0   10     7  0  0 100  0
 0  0      0 144400      4 127748    0    0     0    19   77    56  0  0 100  0

However on the dom0 instance (which doesn't run any of the above services, just the bridge) is seems very high:

nic@stateless:~$ vmstat 3
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
 r  b   swpd   free   buff  cache   si   so    bi    bo   in    cs us sy id wa
 0  0     12  10640     40  31168    0    0    17    25   94    19  0  1 99  0
 0  0     12  10576     40  31168    0    0     0    17 170616    16  0  0 100  0
 0  0     12  10616     40  31168    0    0     0     0 171948    10  0  0 100  0
 0  0     12  10680     40  31168    0    0     0     0 171134    10  0  0 100  0
 0  0     12  10680     40  31168    0    0     0     3 169175    11  0  0 100  0
 0  0     12  10680     40  31168    0    0     0    15 173097    20  0  0 100  0

Is this level of interrupts reasonable?

This currently a UP Xen 2.8 machine with 5 domX instances running without a large amount of load.

Nicholas

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

#1 lore raw

Hi Nicholas,

Quoted 14 lines · Nicholas Lee

However on the dom0 instance (which doesn't run any of the above services, just the bridge) is seems very high:

nic@stateless:~$ vmstat 3
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
 r  b   swpd   free   buff  cache   si   so    bi    bo   in    cs us sy id wa
 0  0     12  10640     40  31168    0    0    17    25   94    19  0  1 99  0
 0  0     12  10576     40  31168    0    0     0    17 170616    16  0  0 100  0
 0  0     12  10616     40  31168    0    0     0     0 171948    10  0  0 100  0
 0  0     12  10680     40  31168    0    0     0     0 171134    10  0  0 100  0
 0  0     12  10680     40  31168    0    0     0     3 169175    11  0  0 100  0
 0  0     12  10680     40  31168    0    0     0    15 173097    20  0  0 100  0
Quoted 1 line

Is this level of interrupts reasonable?

No. An up-to-date x86 machine can do something like ~200000 interrupts per sec at 100% CPU load.

Regards,

Signature · 3 lines
Kurt Garloff                   <[email protected]>             [Koeln, DE]
Physics:Plasma modeling <[email protected]> [TU Eindhoven, NL]
Linux: SUSE Labs (Director)    <[email protected]>            [Novell Inc]