From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [patch 2/2] QEMU: decrease console "refresh rate" with -nographic Date: Wed, 16 Apr 2008 14:23:39 +0300 Message-ID: <4805E1BB.10502@qumranet.com> References: <20080411183852.150819622@localhost.localdomain> <20080411184851.559593822@localhost.localdomain> <4802352A.4010105@flac.kalibalik.dk> <20080414150255.GA11640@dmt> <48038526.3090702@qumranet.com> <20080414172446.GA27224@dmt> <35388.bFoQE3daRhY=.1208244417.squirrel@webmail.hotelhot.dk> <48047519.9080007@qumranet.com> <4804B9B3.3040904@codemonkey.ws> <4804BF88.1070003@qumranet.com> <20080415150423.GA3363@dmt> <4804CAF7.3060606@codemonkey.ws> <4804CD07.2000600@qumranet.com> <4804F075.5090502@codemonkey.ws> <4805BAAC.2010000@qumranet.com> <58381.bFoQE3daRhY=.1208341570.squirrel@webmail.hotelhot.dk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel@lists.sourceforge.net, Marcelo Tosatti To: Anders Return-path: In-Reply-To: <58381.bFoQE3daRhY=.1208341570.squirrel@webmail.hotelhot.dk> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: kvm.vger.kernel.org Anders wrote: > Avi Kivity wrote: > > >> if select() doesn't enable signals (like you can do with pselect) you >> may sit for a long time in select() until the timer expires. >> > > Hm. Does the guest timer affect host userspace in all configurations? The > original trigger for my SIGIO patch was that opening a VNC connection > would take up to a second, until the qemu RTC timer fired. > > Right, if the guest is using the lapic or pit timers, there is no periodic signal to userspace. > >> Consider a 100Hz Linux guest running 'ls -lR' out of a cold cache: >> instead of 1-2 ms disk latencies you'll see 10 ms latencies, killing >> performance by a factor of 5. >> > > I guess this works out even worse for a dyntick guest? > > > Yes. We can't depend on guest activity for correctness. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone