public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* UDP packets scheduling
@ 2007-03-20  0:52 Lukas Hejtmanek
  2007-03-20  2:37 ` David Schwartz
  2007-03-20 17:52 ` Andi Kleen
  0 siblings, 2 replies; 8+ messages in thread
From: Lukas Hejtmanek @ 2007-03-20  0:52 UTC (permalink / raw)
  To: linux-kernel

Hello,

can anyone suggest me a proper way how to schedule UDP packets to transmit at
some given rate?

E.g., I have two boxes both having 10 GE interfaces. One box is able to
transmit at 9.9Gbps, the other one is able to receive only at about 5.5Gbps.
Flow control must be turned off for some other reason.

How can I put delay between subsequent msg sends to achieve desired
packet rate without loses, e.g., 3.5Gbps without bursts? Even nanosleep()
with the lowest possible delay seems to be too much delay. Busy loop with
clock_gettime(3) works OK on SMP boxes, but on UP it causes problems.

-- 
Lukáš Hejtmánek

^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <fa.CWur1AzeHpCwg8xikmKYIrHD+vg@ifi.uio.no>]
[parent not found: <20070318015323.GH12382@kraken.fi.muni.cz>]

end of thread, other threads:[~2007-03-20 23:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-20  0:52 UDP packets scheduling Lukas Hejtmanek
2007-03-20  2:37 ` David Schwartz
2007-03-20  9:38   ` Re: ex-upload Lukas Hejtmanek
2007-03-20 16:31   ` UDP packets scheduling Stephen Hemminger
2007-03-20 16:42     ` Jan Engelhardt
2007-03-20 17:52 ` Andi Kleen
2007-03-20 17:21   ` Lukas Hejtmanek
     [not found] <fa.CWur1AzeHpCwg8xikmKYIrHD+vg@ifi.uio.no>
     [not found] ` <fa.XuXSOUdBq9+oYcuagtcjLic4XjE@ifi.uio.no>
     [not found]   ` <fa.Mj0BY4rypcd66zFbzfAQxZCpUVk@ifi.uio.no>
2007-03-20 23:55     ` Robert Hancock
     [not found] <20070318015323.GH12382@kraken.fi.muni.cz>
     [not found] ` <20070319135100.GH22880@mail.muni.cz>

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox