[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Main loop
From: |
malc |
Subject: |
Re: [Qemu-devel] Main loop |
Date: |
Sun, 27 Sep 2009 18:31:25 +0400 (MSD) |
On Sun, 27 Sep 2009, malc wrote:
> On Sat, 26 Sep 2009, Anthony Liguori wrote:
>
> > malc wrote:
> > > At http://repo.or.cz/w/qemu/malc.git?a=shortlog;h=refs/heads/mtloop you
> > > can find the branch which refactors main execution loop somewhat, effects
> > > include:
> > >
> > > a. Host alarm timers are gone
> > > b. IO thread is replaced (now Windows is supported too)
> > >
> >
> > What was the motivation?
>
> To have working audio on my 250 Hz system, where audio polling mode
> ensures that wakeups happen at ~1Khz (with sufficiently small fragment
> size) thus allowing Fast Tracker 2 to run properly. IOW this approach
> allows to react to FD activity indpendantly of any timers.
>
> Things i forgot to mention, slirp crawls (i.e. when sending some file
> with nc to the guest the (hidden[1]) cpu utilization is only at ~50%
> and subsequently it takes (relative to alarm mode) forever for transfer
> to finnish, FWIW same problem plagues IO Thread)
>
> This is the 5 or 6th internal iteration of the thing, at one point i had
> a system working where tcg only held the locks during the IO/helpers, but
> in the end complexity wasn't worth it.
Forgot shameless plug
[1]
http://repo.or.cz/w/apc.git?a=blob;f=README;h=8c27c13e6b047e3d4a29a61fccdbc2fc43205714;hb=d8cd505b304b368d5f68584193ff2088c10abf55
--
mailto:address@hidden
- [Qemu-devel] Main loop, malc, 2009/09/26
- Re: [Qemu-devel] Main loop, Anthony Liguori, 2009/09/26
- Re: [Qemu-devel] Main loop, malc, 2009/09/27
- Re: [Qemu-devel] Main loop, Anthony Liguori, 2009/09/27
- Re: [Qemu-devel] Main loop, malc, 2009/09/27
- Re: [Qemu-devel] Main loop, Glauber Costa, 2009/09/28
- Re: [Qemu-devel] Main loop, malc, 2009/09/28
- Re: [Qemu-devel] Main loop, Anthony Liguori, 2009/09/28
- Re: [Qemu-devel] Main loop, Glauber Costa, 2009/09/28
- Re: [Qemu-devel] Main loop, malc, 2009/09/28
- Re: [Qemu-devel] Main loop,
malc <=
Re: [Qemu-devel] Main loop, Blue Swirl, 2009/09/27
Re: [Qemu-devel] Main loop, malc, 2009/09/27
Message not available