netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: netdev@oss.sgi.com, linux-net@vger.kernel.org
Subject: NAPI interrupt data
Date: Sat, 15 Feb 2003 02:16:44 -0500	[thread overview]
Message-ID: <3E4DE95C.2050804@pobox.com> (raw)

[-- 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 --]

             reply	other threads:[~2003-02-15  7:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-15  7:16 Jeff Garzik [this message]
2003-02-15  7:24 ` NAPI interrupt data Jeff Garzik
2003-02-15 14:34 ` jamal
2003-02-15 18:55   ` Jeff Garzik
2003-02-15 22:14     ` jamal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E4DE95C.2050804@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=linux-net@vger.kernel.org \
    --cc=netdev@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).