We were told that, as of Android 1.6, background processes were put in a
Linux process scheduling class that limited how much CPU they would use.
A few weeks ago, I ran a benchmark test that seemed to validate this claim.

I have run more tests, and I am no longer confident in my earlier
conclusion. I can get a background process to significantly impact the
foreground process, more than would seem to be possible if the
background process was, indeed, CPU-limited.

Details, including sample code, can be found in the issue I opened that
was promptly closed:

http://code.google.com/p/android/issues/detail?id=7844

Clearly, the failed issue was my fault, for not running around screaming
about bugs in Android and not jumping to conclusions.

Anyway, if anyone else has any ideas on how we can prove whether
background processes are CPU-limited -- and if so, how come that's not
helping much -- please respond to this thread or shoot me an email
off-list if you prefer.

And, I apologize to anyone who took my prior advice regarding this CPU
utilization, as it looks like I screwed up big-time on that analysis.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

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

Reply via email to