Skip to content
Commit aa124984 authored by Rusty Russell's avatar Rusty Russell
Browse files

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: default avatarRusty Russell <rusty@rustcorp.com.au>
parent a161883a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment