Not logged in
Log in now
Create an account
Subscribe to LWN
An unexpected perf feature
LWN.net Weekly Edition for May 16, 2013
A look at the PyPy 2.0 release
PostgreSQL 9.3 beta: Federated databases and more
LWN.net Weekly Edition for May 9, 2013
Network transmit queue limits
Posted Aug 12, 2011 16:55 UTC (Fri) by dlang (✭ supporter ✭, #313)
if you have a full-duplex connection (i.e. hard-wired ethernet on modern switches), bytes and time have a very close correlation.
if you are on a shared media connection (unfortunantly including all radio based systems), then the correlation is not as close due to the fact that you can't know ahead of time how long it will take to send the data (you have to wait for other systems, retry, etc)
I think bytes is as accurate as you are going to be able to get.
Posted Aug 12, 2011 17:25 UTC (Fri) by ajb (subscriber, #9694)
void q_add(Q *q,PKT *pkt)
// timestamp packet
// add packet to end of list
PKT *q_get(Q *q)
if((pkt->time+q->max_time) < now())
Posted Aug 13, 2011 7:40 UTC (Sat) by butlerm (subscriber, #13312)
Posted Aug 24, 2011 15:03 UTC (Wed) by wtanksleyjr (guest, #74601)
The sources of the variance will have to be considered carefully; variance caused by time delays on the output is probably different from that caused by multiple clients asynchronously loading data into the input.
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds