kernel-fxtec-pro1x/Documentation/lguest
Rusty Russell 95c517c09b lguest: avoid sending interrupts to Guest when no activity occurs.
If we track how many buffers we've used, we can tell whether we really
need to interrupt the Guest.  This happens as a side effect of
spurious notifications.

Spurious notifications happen because it can take a while before the
Host thread wakes up and sets the VRING_USED_F_NO_NOTIFY flag, and
meanwhile the Guest can more notifications.

A real fix would be to use wake counts, rather than a suppression
flag, but the practical difference is generally in the noise: the
interrupt is usually coalesced into a pending one anyway so we just
save a system call which isn't clearly measurable.

				Secs	Spurious IRQS
1G TCP Guest->Host:		3.93	58
1M normal pings:		100	72
1M 1k pings (-l 120):		57	492904

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2009-06-12 22:27:12 +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: avoid sending interrupts to Guest when no activity occurs. 2009-06-12 22:27:12 +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