On Tuesday 07 January 2014, Dimitrios Apostolou wrote:
> s/10ms/10us/

Hm.. , yes, I've missed the order of magnitude.

Shall we increase the constant to 10e6 (1ms) [or even 10e7 (10ms)] and avoid 
nano-sleeping calls ? WDYT?

With a little bit of math we have:
   burst_len = bwlimit * min_sleep

so, with bwlimit = 10MBps , min_sleep = 1ms
  burst_len = 10e7 * 10e-3 = 10kbytes (in the net interface buffers)




-- 
Disclaimer waiver: When you send me an unencrypted email, you implicitly
allow me, or any 3rd person reading our mails, to do anything I/they wish
with your data (including presenting them in public). Your disclaimer, thus,
is void. If you had wanted a private communication, you should have used
encryption in the first place.