diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2008-07-29 09:58:36 -0500 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-07-29 09:58:36 +1000 |
commit | aa1249840bfc8d62431eed5796bf99887b963ab6 (patch) | |
tree | 35cf6cd82910af52e271c5e78ad47529e6daaed6 /firmware | |
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>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions