View Single Post
Gusse's Avatar
Posts: 168 | Thanked: 206 times | Joined on Apr 2010 @ Finland
#826
Originally Posted by freemangordon View Post
Originally Posted by maacruz View Post
The timer is the cause. The number of task switches is bounded by the timer, and the N900 is at 128 Hz. It happened in my computer, the default kernel is compiled with a 100 Hz timer, and while it has cpu enough for real time xvid capture it stuttered. Once I changed the timer to 1000Hz, even with high cpu load it doesn't stutter.
Try building a kernel with CONFIG_HZ=256 and CONFIG_OMAP_32K_TIMER_HZ=256, or even 512 (my DT kernels for the N810 are at 256 with no ill effects at all, and the N810 has a much slower cpu)
Thanks for the hint, will try. Just wonder how this will affect battery life and performance (having in mind BTB flush on context switch because of thumb errata fix)
I build latest kernel (modified 12-Jan) from git with 256Hz and 512Hz, but still video recording was stuttered.

I ran almost 3 days (w/o charging and 20% juice left) with 256Hz without noticing any negative affect to battery life compared to 128Hz. Also no other issues observed during usage.

Today I compiled kernel with 512Hz and first impression was that device is much faster. Responsiveness is improved and application loading time seems to be shorter. Can't say how much, but feeling is that you can really notice it. I didn't notice this kind of change when updated from 128Hz to 256Hz.

Let's see what is impact to battery life with same setting and use profile that I had with 256Hz testing.

Last edited by Gusse; 2012-01-16 at 20:18.
 

The Following 14 Users Say Thank You to Gusse For This Useful Post: