From: Denis Vlasenko <vda@ilport.com.ua>
To: "Roy Rietveld" <rwm_rietveld@hotmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: TCP/IP send, sendfile, RAW
Date: Fri, 5 May 2006 11:57:52 +0300 [thread overview]
Message-ID: <200605051157.52589.vda@ilport.com.ua> (raw)
In-Reply-To: <BAY105-F1952B97471150282623600E9B40@phx.gbl>
On Thursday 04 May 2006 20:19, Roy Rietveld wrote:
> Can somebody help me with this.
>
> I'am new to Linux normaly i do programming for RTOS.
>
> I would like to send ethernet packets with 1400 bytes payload.
> I wrote a small program witch sends a buffer of 1400 bytes in a endless
> loop.
> The problem is that a would like 100Mbits throughtput but when i check this
> with ethereal.
> I only get 40 MBits. I tried sending with an UDP socket and RAW socket. I
> also tried sendfile.
> The RAW socket gives the best result till now 50 MBits throughtput.
>
> Is there something faster then send or am i doing something wrong.
Get netcat source and read it. It's small.
netcat is definitely able to saturate 100Mbit link with both TCP and UDP.
--
vda
next prev parent reply other threads:[~2006-05-05 8:59 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-04 17:19 Roy Rietveld
2006-05-04 17:41 ` Jan Engelhardt
2006-05-04 17:56 ` linux-os (Dick Johnson)
2006-05-04 18:05 ` Roy Rietveld
2006-05-04 18:27 ` linux-os (Dick Johnson)
2006-05-04 18:42 ` Roy Rietveld
2006-05-04 19:12 ` linux-os (Dick Johnson)
2006-05-04 19:43 ` Roy Rietveld
2006-05-04 19:48 ` Willy Tarreau
2006-05-04 21:21 ` Phillip Susi
2006-05-04 22:22 ` Alan Cox
2006-05-07 14:40 ` Mark Lord
2006-05-05 8:57 ` Denis Vlasenko [this message]
[not found] <445B165D.3000508@draigBrady.com>
2006-05-05 9:39 ` Roy Rietveld
2006-05-05 12:39 ` Avi Kivity
2006-05-05 14:25 ` Roy Rietveld
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=200605051157.52589.vda@ilport.com.ua \
--to=vda@ilport.com.ua \
--cc=linux-kernel@vger.kernel.org \
--cc=rwm_rietveld@hotmail.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
Powered by JetHome