From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:46792) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWcAG-0003RM-AZ for qemu-devel@nongnu.org; Tue, 14 Jun 2011 18:32:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QWcAF-0005mB-93 for qemu-devel@nongnu.org; Tue, 14 Jun 2011 18:32:52 -0400 Received: from exprod6og110.obsmtp.com ([64.18.1.25]:45091) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWcAE-0005kr-Up for qemu-devel@nongnu.org; Tue, 14 Jun 2011 18:32:51 -0400 Message-ID: <4DF7E18F.6050708@cray.com> Date: Tue, 14 Jun 2011 17:32:47 -0500 From: Clay Andreasen MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] High speed polling List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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?