From: David Turner <digit@google.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Document Qemu coding style
Date: Wed, 1 Apr 2009 02:25:45 +0200 [thread overview]
Message-ID: <60cad3f0903311725p1405aa0fm5b5f283700b99a78@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0904010331210.4074@linmac.oyster.ru>
[-- Attachment #1: Type: text/plain, Size: 3207 bytes --]
On Wed, Apr 1, 2009 at 1:49 AM, malc <av1474@comtv.ru> wrote:
> Hmm.. please define low-powered..
No problem, people have been running the Android SDK on 700 MHz.
I used to run it on a 900Hz Celeron or something like that.
Today, I'm doing all my "minimal performance" tests on a venerable
1 GHz Pentium III laptop with an integrated Intel audio chipset running
Windows XP (and a Linux install under VMWare).
Just to be clear, I'm not suggesting to anyone to fix anything here..
>
> And FWIW nowadays it's MPC7447A at 1.3Ghz which is not speed demon
> either. Not that i dont belive you, esp considering esd thrown into
> equation, but it would be interesting to know what people deem
> low-powered currently.
>
Regarding esd, I unfortunately have to support the emulator binary running
on
Ubuntu 6.06 installations where the sound server will frequently lock up
when the
Android emulator is run. In some cases, this also totally freezes the whole
desktop,
though it is possible to recover by perfoming a "killall -9 esd" from a
console.
I initially thought that the main reason for that was that the esd client
library could
not handle the multiple SIGALRM-induced EINTR returned by write() and other
system calls, and left the sound server in a sorry state (maybe because it
was stuck
waiting for some data that would never arrive). However, I protected all
calls to the esd backend (playing with the signal mask to avoid that), but
this
still doesn't get rid of the problem. Fortunately, this doesn't seem to
happen with
later versions of Ubuntu.
If anyone has an explanation for this behaviour (which doesn't seem to
happen on
later Ubuntu releases), I'd be happy to share more info.
Well.. I certainly fail to see how adding some other clock would
> overcome the fact that something can't keep up.. (rt priorties and
> suchlike?)
>
the main idea is to avoid filling up buffers by dropping some frames when
that kind
of thing happens. Or to introduce silence in the output under other
conditions.
The main idea is to avoid increasing drift between the emulated and host
system
when it comes to audio. Again, I'm not suggesting to implement anything like
that.
> >
> > - adding dynamic linking support to the esd and alsa backends
> > (using dlopen/dlsym allows the emulator to run on platforms where
> > all the corresponding libraries / sound server are not available).
>
> I don't think this is worth it for QEMU, after all shipping binaries
> is not what it's best known for.
>
:-)
>
> > - modifying the sub-system to be able to use different backends for
> > audio input and output.
>
> Yeah i recall seeing this, and was wondering why Android needed this
> functionality.
>
this was to be able to get audio input from a wave file while sending the
output
to the host audio system. Turned out to be very useful to test the
VoiceRecorder
application. I also played with it to debug esd/also related problems.
It's not exactly something that is worth it for upstream QEMU.
> Complexity notwithstanding i happen to like the way things are done in
> DSound, the conceptually simple approach that is.
>
I must admit I totally fail to see any simplicity in DirectSound :-)
Regards
[-- Attachment #2: Type: text/html, Size: 4697 bytes --]
next prev parent reply other threads:[~2009-04-01 0:25 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-29 21:23 [Qemu-devel] [PATCH] Document Qemu coding style Avi Kivity
2009-03-30 1:15 ` malc
2009-03-30 18:28 ` Blue Swirl
2009-03-30 19:02 ` M. Warner Losh
2009-03-30 19:55 ` Avi Kivity
2009-03-30 19:54 ` Avi Kivity
2009-03-30 21:43 ` Lennart Sorensen
2009-03-30 22:15 ` M. Warner Losh
2009-03-30 23:38 ` Lennart Sorensen
2009-03-31 0:09 ` M. Warner Losh
2009-03-31 5:59 ` Laurent Desnogues
2009-03-31 12:58 ` David Turner
2009-03-31 13:31 ` Avi Kivity
2009-03-31 21:18 ` David Turner
2009-03-31 16:18 ` Blue Swirl
2009-03-31 21:48 ` David Turner
2009-03-31 22:38 ` malc
2009-03-31 23:28 ` David Turner
2009-03-31 23:49 ` malc
2009-04-01 0:25 ` David Turner [this message]
2009-04-01 1:02 ` malc
2009-04-01 9:04 ` Daniel P. Berrange
2009-03-30 19:58 ` Avi Kivity
2009-03-30 20:10 ` Glauber Costa
2009-03-30 20:35 ` Avi Kivity
2009-03-30 20:37 ` Glauber Costa
2009-03-30 20:20 ` Andreas Färber
2009-03-30 21:45 ` Lennart Sorensen
2009-03-30 22:16 ` M. Warner Losh
2009-03-31 5:42 ` Gleb Natapov
2009-03-31 13:47 ` Paul Brook
2009-04-01 8:51 ` Richard W.M. Jones
2009-04-01 9:04 ` Avi Kivity
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=60cad3f0903311725p1405aa0fm5b5f283700b99a78@mail.gmail.com \
--to=digit@google.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).