commit | aa1249840bfc8d62431eed5796bf99887b963ab6 | [log] [tgz] |
---|---|---|
author | Rusty Russell <rusty@rustcorp.com.au> | Tue Jul 29 09:58:36 2008 -0500 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Tue Jul 29 09:58:36 2008 +1000 |
tree | 35cf6cd82910af52e271c5e78ad47529e6daaed6 | |
parent | a161883a29bf6100efe7b5346bec274e5023c29c [diff] |
lguest: Adaptive timeout Since the correct timeout value varies, use a heuristic which adjusts the timeout depending on how many packets we've seen. This gives slightly worse results, but doesn't need tweaking when GSO is introduced. 500 usec 19.1887 xmit 561141 recv 1 timeout 559657 Dynamic (278) 20.1974 xmit 214510 recv 5 timeout 214491 usec 278 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>