LWN.net Logo

Should be: Goodnight, Perl 6.

Should be: Goodnight, Perl 6.

Posted Feb 12, 2013 1:25 UTC (Tue) by alankila (subscriber, #47141)
In reply to: Should be: Goodnight, Perl 6. by marcH
Parent article: Chromatic: Goodnight, Parrot

There is no swapping on android. It runs something like OOM killer that hunts for a process to murder based on some rules.

I do not see those long pauses reported here myself. My experience of a GC cycle is that it takes about 2 ms to do, though no doubt there are longer cycles occasionally.

IMHO larger problems are with the physical limits of the touchscreens and poor UI decisions. For instance, it takes some sampling to determine at suitable precision where the finger is, and that requires some low-pass filtering, making every UI movement already lag by default. Some UIs try to use doubleclick and singleclick for completely different actions, requiring singleclick processing to be delayed until it is known that doubleclick was not intended.

My personal #1 annoyance with my phone, a galaxy s2, is to do with the fact that the hardware takes around 1 second to wake up from sleep after I push the power button. That is a long time to wait. I once tried to logcat to see why, but it seems that waking up the hardware simply takes that long, whatever the reason.

And honestly, my phone has 1 GB of memory. It's hard to see it getting used up any time soon, because I'm just not the sort of power user these things are made for. Current shipping phones appear to have 2 GB. If you compare that to around 24 MB heap limit for most android applications, it's evident that something like 50 should be able to exist concurrently without system being even pressed for memory.


(Log in to post comments)

Should be: Goodnight, Perl 6.

Posted Feb 13, 2013 21:01 UTC (Wed) by marcH (subscriber, #57642) [Link]

> There is no swapping on android. It runs something like OOM killer that hunts for a process to murder based on some rules.

I have a (too) cheap, Android 2.2 tablet with too little memory and it is slow because they enabled swap on it. I know for sure because they were honest about it and told about it in an official changelog. I also know because I installed another, non official build on it, disabled swap and it became much faster.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds