You are not logged in.
Whenever I try and start an Android emulator (either from eclipse or the android app that comes with the SDK) I get the following message:
Could not configure '/dev/hpet' to have a 1024Hz timer. This is not a fatal
error, but for better emulation accuracy type:
'echo 1024 > /proc/sys/dev/hpet/max-user-freq' as root.
I tried doing what it tells me to do regarding "echo 1024" etc. but it makes no difference. Initially I assumed this was probably because I needed some sort of reboot, but the change that I make doesn't persist beyond a reboot.
Does anyone know how I can make this message go away permanently?
Offline
First of all, Android emulator have perfomance issues since EVER, so, don't blame yourself for it, ok?.
Next, the change that you have made it's just for the system running, it will NOT be preserved after reboot. To make it permanent, need to add the following line to the file /etc/sysctl.conf:
dev.rtc.max-user-freq = 1024
Only in that way the change will be preserved after every reboot. But I really don't know if that can help you to make significant performance changes to android emulator.
I hope you can do some tunning and post here to everyone.
Greets,
Ivan
Offline
Sorry man, the instructions above are wrong. But you can do it more simple adding the next lines to your file /etc/rc.local
# Fix for Android emulator performance
echo 2048 > /proc/sys/dev/hpet/max-user-freq
echo 2048 > /sys/class/rtc/rtc0/max_user_freq
The emulator keeps complaining about that, but you can feel the an important amount of speed on it!!!.
Happy hacking!.
Offline
Thanks - I gave that a go, but, I must admit, I can't see any improvement so far.
Offline
I don't know what you need, but maybe try android x86 in virtualbox.
Offline
after an update a week or so ago, I also started getting this message, but the performance is still the same as before.
my /proc/sys/dev/hpet/max-user-freq contains value 64. if I change it to 1024, android emulator becomes too slow. with 2048, it gets a bit faster, but still not fast enough to be able to work with it normally.
...I put on my robe and a wizard hat...
Offline
Intel released some x86 android images that perform great with kvm and gpu emulation. You'll need to install and configure qemu-kvm and libvirt
I've packaged them in the AUR or you can download with SDK manager or from intel
android-x86-system-image-10 2.3.3_r01-1
android-x86-system-image-15 4.0.4_r01-1
Offline