* Xeon smp performance
@ 2004-03-08 13:23 satya srikanth
2004-03-08 15:15 ` P
0 siblings, 1 reply; 2+ messages in thread
From: satya srikanth @ 2004-03-08 13:23 UTC (permalink / raw)
To: netdev
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 915 bytes --]
Hi,
I am writing a simple sniffer program that will
sniff packets in a gigabit network. I am using a dual
processor 2 GHz Xeon processor with one Intel Pro-1000
desktop adapter, running 2.4.20-8smp linux.
I found that for all packet sizes and network
bandwidth, 2.4.20-8 uniprocessor version that uses
only one processor is performing better than
2.4.20-8smp using two processors in terms of packet
drops and CPU utilization. Each processor in smp is
utilizing more CPU than one processor in uni-processor
case. What is the reason for this peculiar behaviour?
Is it possible for me to use the power of second
processor without adding more NICs. Will I face
similar problems with 2.6 also? Anybody familiar with
these please help me out.
TIA
Satya Srikanth
__________________________________
Do you Yahoo!?
Yahoo! Search - Find what youre looking for faster
http://search.yahoo.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Xeon smp performance
2004-03-08 13:23 Xeon smp performance satya srikanth
@ 2004-03-08 15:15 ` P
0 siblings, 0 replies; 2+ messages in thread
From: P @ 2004-03-08 15:15 UTC (permalink / raw)
To: satya srikanth; +Cc: netdev
satya srikanth wrote:
> Hi,
> I am writing a simple sniffer program that will
> sniff packets in a gigabit network. I am using a dual
> processor 2 GHz Xeon processor with one Intel Pro-1000
> desktop adapter, running 2.4.20-8smp linux.
> I found that for all packet sizes and network
> bandwidth, 2.4.20-8 uniprocessor version that uses
> only one processor is performing better than
> 2.4.20-8smp using two processors in terms of packet
> drops and CPU utilization. Each processor in smp is
> utilizing more CPU than one processor in uni-processor
> case. What is the reason for this peculiar behaviour?
> Is it possible for me to use the power of second
> processor without adding more NICs. Will I face
> similar problems with 2.6 also? Anybody familiar with
> these please help me out.
That matches my experience. My chipset was Intel E7501
with 2 intel pro-1000 adapters. I used the base 2.4.20 kernel
with latest intel drivers.
I had 2 processes capturing packets and noticed that
2 CPUs is 7% slower than one CPU. Note I was using a non SMP
kernel for the one CPU case.
I'm going to have to look into improving this soon.
First I'm going to look at IRQ and process affinity.
Pádraig.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-03-08 15:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-08 13:23 Xeon smp performance satya srikanth
2004-03-08 15:15 ` P
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).