diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-06-13 00:27:12 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-06-12 08:57:13 -0400 |
commit | b60da13fc7bbf99d3c68578bd3fbcf66e1cb5f41 (patch) | |
tree | 6ae96583da3212755d867fdff30b2f9ae58609e8 /include/linux/errno.h | |
parent | 4a8962e21bc505c714fc2508494d4c7dd3fe2d29 (diff) |
lguest: suppress notifications in example Launcher
The Guest only really needs to tell us about activity when we're going
to listen to the eventfd: normally, we don't want to know.
So if there are no available buffers, turn on notifications, re-check,
then wait for the Guest to notify us via the eventfd, then turn
notifications off again.
There's enough else going on that the differences are in the noise.
Before: Secs RxKicks TxKicks
1G TCP Guest->Host: 3.94 4686 32815
1M normal pings: 104 142862 1000010
1M 1k pings (-l 120): 57 142026 1000007
After:
1G TCP Guest->Host: 3.76 4691 32811
1M normal pings: 111 142859 997467
1M 1k pings (-l 120): 55 19648 501549
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'include/linux/errno.h')
0 files changed, 0 insertions, 0 deletions