qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] High speed polling
@ 2011-06-14 22:32 Clay Andreasen
  2011-06-14 23:12 ` Mulyadi Santosa
  2011-06-15  6:22 ` Stefan Hajnoczi
  0 siblings, 2 replies; 4+ messages in thread
From: Clay Andreasen @ 2011-06-14 22:32 UTC (permalink / raw)
  To: qemu-devel

I have a network device simulation that I am connecting to multiple
instances of Qemu (nodes) via a shared memory queue.  It works pretty 
well as
long as all of the nodes are initiating communication but when one node is
passive, it must poll to get packets.  So far the fastest I have been 
able to
get it to poll is about every 2M emulated clocks.
This is with CONFIG_HIGH_RES_TIMERS and CONFIG_NO_HZ on the host.
I also set MIN_TIMER_REARM_NS in qemu-timer.c to 100000.
Is there some way to increase the polling rate by about an order of 
magnitude?

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-06-20 16:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-14 22:32 [Qemu-devel] High speed polling Clay Andreasen
2011-06-14 23:12 ` Mulyadi Santosa
2011-06-15  6:22 ` Stefan Hajnoczi
2011-06-20 16:54   ` Clay Andreasen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).