From: Willy Tarreau <willy@w.ods.org>
To: Roy Rietveld <rwm_rietveld@hotmail.com>
Cc: linux-os@analogic.com, linux-kernel@vger.kernel.org
Subject: Re: TCP/IP send, sendfile, RAW
Date: Thu, 4 May 2006 21:48:42 +0200 [thread overview]
Message-ID: <20060504194842.GC11191@w.ods.org> (raw)
In-Reply-To: <BAY105-F38F372575F5B72AF1DACE6E9B40@phx.gbl>
On Thu, May 04, 2006 at 07:43:34PM +0000, Roy Rietveld wrote:
> i Think the resolution of gettimeofday is 1us because
> gettimeofday(start)
> gettimeofday(end)
>
> end - start gives 1
>
> so when i leave out gettimeofday
>
> while(1)
> {
> sendto(socket,buffer,1400,....)
> }
>
> i measured with ethereal 4000 packets per second
Are you sure you are not limited by the interrupt rate ? may be interrupt
processing causes a large overhead at 4000/s for 177 MHz, and you might
need to find a way to either use interrupt mitigation or polling.
Regards,
Willy
next prev parent reply other threads:[~2006-05-04 19:49 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 [this message]
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
[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=20060504194842.GC11191@w.ods.org \
--to=willy@w.ods.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-os@analogic.com \
--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