public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Performance of "kirqd" in SMP Internet Server
@ 2008-09-12  6:39 Eunsung Kim
  2008-09-12  9:49 ` Andi Kleen
  0 siblings, 1 reply; 2+ messages in thread
From: Eunsung Kim @ 2008-09-12  6:39 UTC (permalink / raw)
  To: linux-kernel

Hi there.

I am looking for improving network interrupt balancing mechanism in SMP
internet server.
So I have analyzed kirqd in Linux kernel and I have done the following
experiment to realize impact of kirqd.

-------------------------------------------------------------

- Server spec.
CPU: AMD Phenom 9550 Quad-Core (each core 2.2 GHz)
Network card: RealTek Gigabit Ethernet
Network driver: R8169 disabled NAPI

- Client spec.
CPU: Intel Pentium 4 CPU 3.20GHz
Network card: Marvell Gigabit Ethernet

- Network
Connected with gigabit switch

- Benchmark tool
Netperf (throughput for TCP_STREAM in 10 mins)

- Comparison (throughput)
1. kernel 2.6.19.2 (smp_affinity of network irq is CPU 0.)
2. kernel 2.6.19.2 enabled kirqd

-------------------------------------------------------------

Experimental result present that there is no difference between 1 and 2.
Both have achieved throughput of about 940 Mbps via the experiment.
Throughput of 1 describes that netperf traffic can't saturate the server
system and then it is normal traffic.

I have thought that kirqd will 
- get "good" performance due to removing "receive livelock" of a CPU under
high traffic.
- get "poor" performance due to cache miss under low or normal traffic.

But the result for normal traffic doesn't so.
Is it correct?

I had no idea of how to generate high traffic and couldn't perform it.
How can I generate high traffic to saturate the server system?

I wonder whether my experimental setup is correct or not.
How do I have to configure experiment to discover a strong or weak point of
kirqd?

Please comment on my experiment result and setup, and
tell me the web link if there are experiment materials for the system
performance of kirqd


regards.

-- Eunsung

+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
 Eunsung Kim
 PhD candidate
 Distibuted Computing System Laboratory
 School of Computer Science and Engineering
 Seoul National University
 Tel: +82-2-876-2159
 Email: eskim@dcslab.snu.ac.kr
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= 




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Performance of "kirqd" in SMP Internet Server
  2008-09-12  6:39 Performance of "kirqd" in SMP Internet Server Eunsung Kim
@ 2008-09-12  9:49 ` Andi Kleen
  0 siblings, 0 replies; 2+ messages in thread
From: Andi Kleen @ 2008-09-12  9:49 UTC (permalink / raw)
  To: Eunsung Kim; +Cc: linux-kernel

"Eunsung Kim" <eskim@dcslab.snu.ac.kr> writes:

> I am looking for improving network interrupt balancing mechanism in SMP
> internet server.
> So I have analyzed kirqd in Linux kernel and I have done the following
> experiment to realize impact of kirqd.

kirqd is deprecated and scheduled to be removed. The replacement 
is user space irqbalanced.

-Andi

-- 
ak@linux.intel.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-09-12  9:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-12  6:39 Performance of "kirqd" in SMP Internet Server Eunsung Kim
2008-09-12  9:49 ` Andi Kleen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox