Hi, I have been tracking this thread because I too have this problem.
I'm using an Ubuntu 9.4 twin Athlon 1.6 CPU. with 1GB RAM.
I'm using the Linux x86 build, so this may be part of the issue? If I
were to build it myself perhaps the problem would go away?
It takes at least 3 minutes to start the emulator. To run an Android
app from Eclipse on the emulator takes about the same.
It is much too slow. There is something wrong. I suspect some kind of
busy/wait issue or other timeout issue.
There seems to be very little churn on this topic, so I can only
assume it is not biting everyone. Several of my work colleagues
noticed the same thing on their Ubuntu systems at home. At work we use
Mac's and everything is ok. A little sluggish, but acceptable.

I have an answer for David Turner: using the -no-audio flag doesn't
change anything!

I suspect that some AVD parameter or whatever is set too low. Does the
emulator have enough stack etc to run in on Linux? Is the cpu-delay
somehow being set to some unwanted default?

On Dec 8, 2:00 pm, David Turner <[email protected]> wrote:
> This should definitely not happen. On the same hardware, the emulator
> running on Linux should be
> slightly faster than on Windows (due to the way QEMU implements its internal
> event loop and other
> technical details).
>
> Does starting with the -no-audio flag changes anything ?
>
> Another thing, can you start with the following: emulator -logcat '*:v'
>
> This will dump the logcat output (without adb being needed), and might show
> some problem in the emulated system.
> Another altenate option is '-shell' which will give you a root shell (that
> doesn't require adb), where you can run 'ps' and 'top'
> to understand what happens. Careful that 'Control-C' will close the emulator
> immediately though.
>
> On Sat, Dec 5, 2009 at 4:14 AM, [email protected] <
>
> [email protected]> wrote:
> > Hi there,
>
> > I know that many people are complaining about slow emulator
> > performance, and mostly it can't be helped because of slow hardware
> > and the fact that emulators somehow have to be slow by definition
> > because of the way they work. But something really puzzles me:
>
> > I'm using a dual boot configuration with Windows XP and Ubuntu 9.04.
> > On XP, the emualtor is somehow slower than a real G1 device, but it's
> > completely ok.
>
> > But on Ubuntu, the emulator is unusable slow. Note that other programs
> > run just fine under my ubuntu. I have no exact measurements, but I
> > think the emulator about 10 times slower than on Windows. Installing a
> > small app takes more than 2 minutes, starting an app sometimes takes
> > over 2 minutes, returning to the home screen takes up to 40 seconds,
> > and there is not a single click I can do that takes less than 2
> > seconds to trigger some kind of reaction. I get around 2 fps at most,
> > no matter what I do.
>
> > Both systems (of course) use the same hardware, and on both I'm using
> > SDK 1.6 with a 1.5 AVD without google additions, and the very same app
> > that I'm developing.
>
> > I used to have a very old Graphics card that I had to access through
> > plain old VESA drivers on both XP and Ubuntu.
> > Now I'm on a new hardware which uses a proper driver to access the
> > graphics hardware, but the emulator on Ubuntu is still as slow as
> > before, so I think this is not the bottleneck.
>
> > Also, I noticed that under heavy usage of the emulator, the usage of
> > my real CPU never went above 30%.
>
> > Is there any explanation for this slowness on Ubuntu? Or even a way to
> > further investigate where the bottleneck might be?
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]<android-developers%[email protected]>
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to