mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Srihari Vijayaraghavan <harisri@bigpond.com>
To: lkml <linux-kernel@vger.kernel.org>
Subject: Bottleneck on /dev/null
Date: Fri, 21 Mar 2003 01:57:10 +1100	[thread overview]
Message-ID: <200303210157.10494.harisri@bigpond.com> (raw)

Linux-2.4.latest
PACKET_MMAP
PCAP_FRAMES=max for tcpdump-3.8/libpcap-0.8 (from http://public.lanl.gov/cpw/)
e1000 driver

2 * Xeon 2800 MHz, 512 KB L2
1 GB RAM
70 GB HW RAID-0 on SmartArray 5i
2 * 2 port Intel GigE cards (only using 1 per card for the testing purposes)

Capturing all packets and writting to /dev/null causes more packet drops than 
writting to hard drives (approx 40,000 packets/sec of 70 bytes for couple of 
minutes). I will have a comparision between those figures in a day or two, 
but /dev/null was well over SCSI hard drives. I thought writting (even 
multiple of them simultaneously) to /dev/null should be faster than fastest 
SCSI drives out there :) Interesting.

(And yes I see plenty of "errors", "dropped", and "overruns" in ifconfig stats 
on those interfaces. %system is over 80%, and tcpdump goes to "D" state many 
times. Simon Kirby suggested to use irq-smp_affinity to see if that helps for 
reducing %system time. A well optimised e1000 would definitely help as tg3 
does it very well.)

I mean to test this /dev/null behavior on 2 tg3 driver configuration perhaps 
in couple of days time. (But the 2 tg3 cards with out-of-the-box NAPI support 
on 2.4.latest is able to not to loose a single packet even while writting to 
hard drives, then I didn't care to test it on /dev/null)

BTW I found 2.5.51 backport of e1000 NAPI support at  
http://havoc.gtf.org/lunz/linux/net/
Anyone knows of a recent backport or improved one for 2.4.latest (including 
2.4.21-pre5 or -pre6). Patches for testing or URL is welcome.

Thanks
-- 
Hari
harisri@bigpond.com



             reply	other threads:[~2003-03-20 14:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-20 14:57 Srihari Vijayaraghavan [this message]
2003-03-20 15:54 ` Richard B. Johnson
2003-03-20 16:21   ` Tim Schmielau
2003-03-20 16:33     ` Bernd Petrovitsch
2003-03-20 17:01       ` Richard B. Johnson
2003-03-20 17:07         ` Matti Aarnio

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=200303210157.10494.harisri@bigpond.com \
    --to=harisri@bigpond.com \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®