[Lguest] guest console in Lguest is too slow

Christian Borntraeger borntraeger at de.ibm.com
Tue Jun 17 02:43:56 EST 2008


Am Montag, 16. Juni 2008 schrieb Rusty Russell:
> On Sunday 15 June 2008 14:59:42 Zhou Ya JIn wrote:
> > Hi all, I tried Lguest in my notebook and it is really cool to make it
> > run. The kernel I use is 2.6.24-19 of ubuntu.
> > But I have a question. When I type command in guest console, why it is
> > very slow to see the command and the console acts very slow.
> 
> Yes, this is because we use the hvc_console code, and it's not set up to use 
> virtqueues, so it polls (with a backoff, which you are seeing).  Christian 
is 
> working on improving it so it can use the interrupt correctly: Christian?

Yes, that I plan to use the virtqueue notification instead of polling.
Can you try patch 1 and 2 from the a patch set, which I posted to LKML. for 
example see
http://linux.derkeiler.com/Mailing-Lists/Kernel/2008-06/msg00997.html

Please tell me, if you cannot get the patches from the archives, I can then 
send them via mail to you.

Christian



More information about the Lguest mailing list