qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Clay Andreasen <cda@cray.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] High speed polling
Date: Tue, 14 Jun 2011 17:32:47 -0500	[thread overview]
Message-ID: <4DF7E18F.6050708@cray.com> (raw)

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?

             reply	other threads:[~2011-06-14 22:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-14 22:32 Clay Andreasen [this message]
2011-06-14 23:12 ` [Qemu-devel] High speed polling Mulyadi Santosa
2011-06-15  6:22 ` Stefan Hajnoczi
2011-06-20 16:54   ` Clay Andreasen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DF7E18F.6050708@cray.com \
    --to=cda@cray.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).