netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* NAPI interrupt data
@ 2003-02-15  7:16 Jeff Garzik
  2003-02-15  7:24 ` Jeff Garzik
  2003-02-15 14:34 ` jamal
  0 siblings, 2 replies; 5+ messages in thread
From: Jeff Garzik @ 2003-02-15  7:16 UTC (permalink / raw)
  To: netdev, linux-net

[-- Attachment #1: Type: text/plain, Size: 817 bytes --]

I looked at my latest tg3 driver's activity in /proc/interrupts and was 
a bit surprised.  Using "ttcp" to send 500,000 bursts from a 
uniprocessor P3 ("hum") to a dual athlon ("crumb"), I recorded the 
interrupts using the simple

	while true
	do
		cat /proc/interrupts >> data
		sleep 1
	done

method.  On hum, eth0 shared interrupts with acpi.  On crumb, eth0 
shared interrupts with the potentially-skewing aic7xxx.  The results of 
tg3[NAPI] one ttcp process on unloaded boxes are the following, in 
"approximate packets per second":

bash-2.05b$ ./x.pl data.crumb
135 samples, 21578 avg
bash-2.05b$ ./x.pl data.hum
130 samples, 11213 avg

The raw sample data and compute-the-average perl script were so small 
that I simply attached them to this email.  Feel free to check my math 
for something dumb.

	Jeff



[-- Attachment #2: interrupt-data.tar.bz2 --]
[-- Type: application/octet-stream, Size: 1528 bytes --]

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

end of thread, other threads:[~2003-02-15 22:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-15  7:16 NAPI interrupt data Jeff Garzik
2003-02-15  7:24 ` Jeff Garzik
2003-02-15 14:34 ` jamal
2003-02-15 18:55   ` Jeff Garzik
2003-02-15 22:14     ` jamal

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).