Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
emulator is very very very slow
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  15 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
drhu00  
View profile  
 More options Feb 28 2008, 12:51 pm
From: drhu00 <drh...@gmail.com>
Date: Thu, 28 Feb 2008 09:51:33 -0800 (PST)
Local: Thurs, Feb 28 2008 12:51 pm
Subject: emulator is very very very slow
Android emulator is very very very slow........
How can we developer application on such emulator?
And also I compare same application both on J2ME SUN WTK2.5.1, Android
takes almost 3 times to run the same application.
Just don't understand how Android make such emulator so slow.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rui Martins  
View profile  
 More options Feb 28 2008, 1:07 pm
From: Rui Martins <Rui1973Mart...@gmail.com>
Date: Thu, 28 Feb 2008 10:07:53 -0800 (PST)
Local: Thurs, Feb 28 2008 1:07 pm
Subject: Re: emulator is very very very slow
Try running it on a machine with at least 3 to 4 Ghz CPU, and 1GB ram.

Another solution to make it faster, is to close eclipse.

You should also time our application, to see where and why they are
slow.
Systems are not alike, some choices may be a good compromise in one
system but not on another.

Check the Performance guidelines that Google have posted somewhere on
the documentation.

NOTE: Emulators by definition are slow :(

On Feb 28, 5:51 pm, drhu00 <drh...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
hackbod  
View profile  
 More options Feb 28 2008, 3:15 pm
From: hackbod <hack...@gmail.com>
Date: Thu, 28 Feb 2008 12:15:23 -0800 (PST)
Local: Thurs, Feb 28 2008 3:15 pm
Subject: Re: emulator is very very very slow
I am pretty sure with J2ME you are running code with an interpreter
that is running on the desktop machine.  The android emulator, in
contrast, is a low-level ARM emulator, running an actual ARM linux
kernel along with ARM JVM.  This makes it slower, but ensures it will
behave very much like a real device.

On Feb 28, 9:51 am, drhu00 <drh...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cassio Melo  
View profile  
 More options Feb 28 2008, 8:01 pm
From: Cassio Melo <cassio.u...@gmail.com>
Date: Thu, 28 Feb 2008 17:01:18 -0800 (PST)
Local: Thurs, Feb 28 2008 8:01 pm
Subject: Re: emulator is very very very slow
I agree drhu00 - a spacecraft emulator is much faster than this in
andoid m5...

On Feb 28, 5:15 pm, hackbod <hack...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Adam P  
View profile  
 More options Feb 28 2008, 8:17 pm
From: Adam P <aploc...@gmail.com>
Date: Thu, 28 Feb 2008 17:17:11 -0800 (PST)
Local: Thurs, Feb 28 2008 8:17 pm
Subject: Re: emulator is very very very slow
The startup is painful.  I end up accidentally closing it half the
time and I want to throw my laptop through the window.  M3 wasn't half
as bad.

On Feb 28, 5:01 pm, Cassio Melo <cassio.u...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ferrybaaske  
View profile  
 More options Feb 28 2008, 8:37 pm
From: ferrybaaske <ferry.trunsc...@googlemail.com>
Date: Thu, 28 Feb 2008 17:37:54 -0800 (PST)
Local: Thurs, Feb 28 2008 8:37 pm
Subject: Re: emulator is very very very slow
I have same problem because of my very old machine :(
But version m3-rc22a is siginicant faster than m3-rc37a or newer
versions.
If you don't need some of the new features, you can try it, it will
help :)

And remember, that JME applications run much faster on real phone
(e.g. ARM 200-300 Mhz) than on WTK Emulator (e.g.  Pentium 1800 Mhz).

On 28 Feb., 18:51, drhu00 <drh...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Lance Mao  
View profile  
 More options Feb 28 2008, 9:04 pm
From: Lance Mao <maolongd...@gmail.com>
Date: Thu, 28 Feb 2008 18:04:43 -0800 (PST)
Local: Thurs, Feb 28 2008 9:04 pm
Subject: Re: emulator is very very very slow
1. Don` t close it once you started up
2. Try a S60 3rd Edition emulator, you will be like, "my god, Android
is damn fast"

On Feb 29, 9:37 am, ferrybaaske <ferry.trunsc...@googlemail.com>
wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
hycalvin.c...@gmail.com  
View profile  
 More options Mar 20 2008, 9:21 am
From: hycalvin.c...@gmail.com
Date: Thu, 20 Mar 2008 06:21:20 -0700 (PDT)
Local: Thurs, Mar 20 2008 9:21 am
Subject: Re: emulator is very very very slow
I fully agree with drhu00,

I expected a release to be better than the previous but the new
release is really annoying. I understand that you can always use the
old faster release but i want to use the new features and changes so
that i I can keep up with the changes in android. I had a whole
project planned to be implemented in android but i guess it is not
ready for it yet . . I will wait for a couple of releases if the
development envinronment is a bit more stable and more important, a
faster emulator. Its just frustrating to develop applications under
these conditions . .


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hardy  
View profile  
 More options Mar 20 2008, 10:05 am
From: Hardy <hardy.ferentsc...@gmail.com>
Date: Thu, 20 Mar 2008 07:05:02 -0700 (PDT)
Local: Thurs, Mar 20 2008 10:05 am
Subject: Re: emulator is very very very slow
I can only agree. Startup and generally running aplications is soooo
slow. Especially in debug mode :( It is very easy to loose the
interest in programming for Android if the emulator is so slow. I
might have a quite old notebook, but it still run on a 1GHz CPU * 1,5
GB of RAM. I kind of expected better performance and I agree that the
new release got slower :(

Closing eclipse to speed things up is not really an option during
development. Is there nothing else one could do?

--Hardy


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
vladimir.schlott.android@ gmail.com  
View profile  
 More options Mar 20 2008, 10:30 am
From: "vladimir.schlott.andr...@gmail.com" <vladimir.schlott.andr...@gmail.com>
Date: Thu, 20 Mar 2008 07:30:21 -0700 (PDT)
Local: Thurs, Mar 20 2008 10:30 am
Subject: Re: emulator is very very very slow
Emulator is open-source. Find people in community to optimize it. At
speed at which is running, probably has no JIT. JIT is first thing I
would look at.

On Mar 20, 7:05 am, Hardy <hardy.ferentsc...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Digit  
View profile  
 More options Mar 20 2008, 10:42 am
From: Digit <digit.andr...@gmail.com>
Date: Thu, 20 Mar 2008 15:42:01 +0100
Local: Thurs, Mar 20 2008 10:42 am
Subject: Re: [android-developers] Re: emulator is very very very slow

the emulator is based on QEMU has a JIT. more specifically an ARM-to-x86
dynamic code generator.
the problem is that some operations are very slow because we not only
translate the CPU instructions,
we also need to emulate a complete ARM memory-management unit, plus lots of
other funky features.

e.g. while an ARM memory read requires only a couple cycles, the
corresponding emulation requires
some complex hash table lookups that take a lot more instructions on the
host.

with a scheme like this, it's really hard to adequately emulate a 300 MHz
device on a 1 GHz x86 CPU because
the CPU speed ratio is so small, and memory emulation (softmmu) is killing
you.

you would be surprised at how slow interpretation would work (I think we
started with this before switching to QEMU) :-)

On Thu, Mar 20, 2008 at 3:30 PM, vladimir.schlott.andr...@gmail.com <


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
vladimir.schlott.android@ gmail.com  
View profile  
 More options Mar 20 2008, 10:50 am
From: "vladimir.schlott.andr...@gmail.com" <vladimir.schlott.andr...@gmail.com>
Date: Thu, 20 Mar 2008 07:50:18 -0700 (PDT)
Local: Thurs, Mar 20 2008 10:50 am
Subject: Re: emulator is very very very slow
How about using x86 features for virtualization? vmware and clones run
pretty fast.

Also, maybe with direct dalvik -> x86 execution (would just be driver
at bottom of kernel) would be acceptable. If much faster than real
phone, can always slow it down to be realistic.

On Mar 20, 7:42 am, Digit <digit.andr...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Digit  
View profile  
 More options Mar 20 2008, 10:58 am
From: Digit <digit.andr...@gmail.com>
Date: Thu, 20 Mar 2008 15:58:30 +0100
Local: Thurs, Mar 20 2008 10:58 am
Subject: Re: [android-developers] Re: emulator is very very very slow

virtualization only works when both environment have the same CPU, which is
not the case for the SDK.
(and QEMU now supports that very well too, it's just that it's unusable in
our context).

dalvik can be run on x86 pretty well, the real issue is being able to
emulate all the things that run in a typical device as well,
with exactly the same native binaries than the one that are going to ship.

On Thu, Mar 20, 2008 at 3:50 PM, vladimir.schlott.andr...@gmail.com <


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
vladimir.schlott.android@ gmail.com  
View profile  
 More options Mar 20 2008, 11:04 am
From: "vladimir.schlott.andr...@gmail.com" <vladimir.schlott.andr...@gmail.com>
Date: Thu, 20 Mar 2008 08:04:20 -0700 (PDT)
Local: Thurs, Mar 20 2008 11:04 am
Subject: Re: emulator is very very very slow
What if kernel ran native and virtualized, with ARM->x86 JIT and
dalvik->x86 JIT in each process?

On Mar 20, 7:58 am, Digit <digit.andr...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Digit  
View profile  
 More options Mar 20 2008, 11:09 am
From: Digit <digit.andr...@gmail.com>
Date: Thu, 20 Mar 2008 16:09:29 +0100
Local: Thurs, Mar 20 2008 11:09 am
Subject: Re: [android-developers] Re: emulator is very very very slow

another trivial point to make is to make sure that you disable your
AntiVirus for the SDK's emulator.exe binary
in one specific instance, (2.66 GHz Celeron, 512 MB), it reduced the boot
sequence by 15 seconds (out of 2 minutes)

(some anti-virus programs really don't like programs that generate machine
code at runtime)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »