aha/Documentation/lguest
Rusty Russell b60da13fc7 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>
2009-06-12 22:27:13 +09:30
..
.gitignore lguest: tell git to ignore Documentation/lguest/lguest 2009-04-19 23:14:02 +09:30
extract lguest: documentation I: Preparation 2007-07-26 11:35:16 -07:00
lguest.c lguest: suppress notifications in example Launcher 2009-06-12 22:27:13 +09:30
lguest.txt lguest: PAE support 2009-06-12 22:27:08 +09:30
Makefile lguest: clean up example launcher compile flags. 2009-06-12 22:27:03 +09:30