From: Lk Overrun <lkoverrun@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: Brust data send problem on gigabit NIC on Linux
Date: Tue, 22 Oct 2002 18:59:05 -0700 (PDT) [thread overview]
Message-ID: <20021023015905.63415.qmail@web21501.mail.yahoo.com> (raw)
Hi, I am seeking advice on how to best send out huge
number of packets on a gigabit ethernet interface. I
am using kernel 2.4.19. I try to send out as many as
possible 15Kbyte-long ethernet packets to try to
utilize the giga-bit/sec bandwidth. My CPU is really
fast (2 GHz) amd I dump the packets to the interface
in a tight loop in user space. However, I can only
reach around 400 Mbits/sec before the packets get
dropped. The queue discipline (qdisc) seems to be
responsible because the queue length (txqueuelen) is
only 100 by default, and the queue just cannot store
so many packets at once. I can eliminate the packet
drop by raising the queue length to somewhere like
60000 but that is not practical because it uses too
much memory. It seems I need some delay between
sending packets but I cannot sleep for less than 10 ms
(1/Hz) in user space and 10 ms is too long.
I am using raw socket bypassing the IP stack and my
NIC is the Intel Pro1000 (using the e1000.o driver).
What is the best way to send raw ethernet packets,
reaching gigabit range withuut packet drop on Linux?
Thanks for any advice.
__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/
next reply other threads:[~2002-10-23 1:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-23 1:59 Lk Overrun [this message]
2002-10-23 2:48 ` Ben Greear
2002-10-24 16:39 Jon Burgess
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=20021023015905.63415.qmail@web21501.mail.yahoo.com \
--to=lkoverrun@yahoo.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®