The Following 25 Users Say Thank You to stano For This Useful Post: | ||
ArnimS, AVee, b-man, bobbydoedoe, Bundyo, cheve, Creamy Goodness, drangina, epitaph, hawaii, iKneaDough, jurop88, kik, kmare, lma, MohammadAG, nightfire, ossipena, qwerty12, ravioli156, Skaven2k2, titan, tokag, vkv.raju, x-rated |
![]() |
2010-03-18
, 18:02
|
Posts: 228 |
Thanked: 145 times |
Joined on Dec 2009
|
#2
|
![]() |
2010-03-18
, 18:54
|
|
Posts: 284 |
Thanked: 498 times |
Joined on Jun 2009
@ Poland
|
#3
|
![]() |
2010-03-18
, 19:51
|
Posts: 436 |
Thanked: 406 times |
Joined on Jan 2010
|
#4
|
![]() |
2010-03-18
, 20:01
|
Posts: 292 |
Thanked: 131 times |
Joined on Dec 2009
|
#5
|
![]() |
2010-04-11
, 15:54
|
Posts: 81 |
Thanked: 115 times |
Joined on Jan 2008
|
#6
|
bonus: i add ramzswap.ko from compcache-6.2, so you can play with ramzswap
The Following User Says Thank You to iKneaDough For This Useful Post: | ||
![]() |
2011-01-26
, 23:24
|
|
Posts: 78 |
Thanked: 69 times |
Joined on Jan 2010
@ Alaska
|
#7
|
how to disable it ?
1.mv /usr/lib/ohm/libohm_cgroups.so /usr/lib/ohm/libohm_cgroups.so.disabled
2. reboot your phone
ohmd will start but without cgroup module, /syspart/ will not be mounted and desktop reactions are faster and every process have same cpu-share. just like in normal linux desktop like in ubuntu/debian/...
3. enjoy
after playing with some options in my self compiled kernel
i found that disabling CONFIG_PREEMPT and set CONFIG_SLAB instead of CONFIG_SLUB make phone less lagging and playing with phone is more enjoyable.
if you dont know how to compile your own kernel, you can use mine, but i dont have .deb and i will not make .deb package
http://blackhole.sk/~stanojr/n900/
1. untar 2.6.28.10-maemo-omap1.tar.gz in /lib/modules/
2. run depmod 2.6.28.10-maemo-omap1
3. flash zImage via usb cable
(in your pc run flasher-3.5 -k zImage -f -R)
4.enjoy
if phone dont boot, flash original nokia kernel, original modules are not removed, so it must boot without problem.
my kernel is based on kernel-maemo12 from extras-devel with 2.6.28.10 patch from http://natisbad.org/N900/n900-custom-kernel.html + 1900 - * - 1925 patches from http://dev.gentoo.org/~dsd/genpatches/trunk/2.6.28/
bonus: i add ramzswap.ko from compcache-6.2, so you can play with ramzswap
and i forgot, i changed default I/O scheduler from cfq to deadline
---
you can get another speed by disabling cgroup plugin in ohmd.
what is cgroup and for what is used ?
ohmd daemon use cgroup to set different policy to new executed process.
you can look at this config file and everything will be more clear:
/usr/share/policy/etc/current/syspart.conf
cgroup feature (mounted in /syspart) is used to limit group of processes running in linux. in n900 divided to applications and desktop. it set different cpu-share (cpu scheduler) and limit memory per groups.
when enabled after executing new process ohmd will assign new process to specified group.
it causes overhead.
i dont need this feature, you do ?
how to disable it ?
1.mv /usr/lib/ohm/libohm_cgroups.so /usr/lib/ohm/libohm_cgroups.so.disabled
2. reboot your phone
ohmd will start but without cgroup module, /syspart/ will not be mounted and desktop reactions are faster and every process have same cpu-share. just like in normal linux desktop like in ubuntu/debian/...
3. enjoy
Last edited by stano; 2010-03-16 at 12:35. Reason: fix typo