From: Jeff Garzik <jgarzik@pobox.com>
To: jamal <hadi@cyberus.ca>
Cc: netdev@oss.sgi.com, linux-net@vger.kernel.org
Subject: Re: NAPI interrupt data
Date: Sat, 15 Feb 2003 13:55:46 -0500 [thread overview]
Message-ID: <3E4E8D32.6090706@pobox.com> (raw)
In-Reply-To: <20030215092908.E16812@shell.cyberus.ca>
jamal wrote:
>
> On Sat, 15 Feb 2003, Jeff Garzik wrote:
>
>
>>bash-2.05b$ ./x.pl data.crumb
>>135 samples, 21578 avg
>>bash-2.05b$ ./x.pl data.hum
>>130 samples, 11213 avg
>>
>
>
> Probably the first 5-10 samples as well as the last 5-10 amples to get
> more accuracy.
>
> This data looks fine, no?
Over 4000 interrupts per second was not something I was hoping for, to
be honest. ttcp did not even report 50% CPU utilization, so I reach the
conclusion that both machines can handle well in excess of 4,000
interrupts per second... but overall I do not like the unbounded nature
of the interrupt rate. This data makes me lean towards a software[NAPI]
+ hardware mitigation solution, as opposed to totally depending on
software interrupt mitigation.
> definetly the scsi device is skewing things
> (you are writting data to disk for example).
Yes, though only once 5 seconds when ext3 flushes. With nothing else
going on but "ttcp" and "cat /proc/interrupts >> data ; sleep 1" there
should be very little disk I/O. I agree it is skewing by an unknown
factor, however.
> - The 500Kpps from ttcp doesnt sound right; tcp will slow you down.
> perhaps use ttcp to send udp packets to get a more interesting view.
No, I ran 500,000 buffer I/Os total from ttcp ("-n 500000"). That
doesn't really say anything about packets per second. The only thing I
measured was interrupts per second. It was my mistake to type "packets"
in the first email :/
Jeff
next prev parent reply other threads:[~2003-02-15 18:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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=3E4E8D32.6090706@pobox.com \
--to=jgarzik@pobox.com \
--cc=hadi@cyberus.ca \
--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).