1
0
Files
linux/Documentation
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
..
2009-04-07 08:12:38 +02:00
2009-04-13 15:04:33 -07:00
2009-04-07 08:31:09 -07:00
2009-03-30 21:46:43 +02:00
2009-03-30 15:21:59 +02:00
2009-04-27 05:37:39 -07:00
2009-04-19 11:12:12 +02:00
2009-04-03 09:23:11 -05:00
2009-05-22 18:40:59 +10:00
2009-03-24 16:20:36 -07:00
2009-03-26 15:45:43 -07:00
2009-04-27 12:00:27 -07:00
2009-04-27 12:00:27 -07:00
2009-03-31 15:18:37 +11:00
2009-04-14 09:00:23 +10:00