The Following User Says Thank You to ear0wax For This Useful Post: | ||
|
2010-11-02
, 19:22
|
|
Posts: 248 |
Thanked: 51 times |
Joined on Jan 2010
@ Amsterdam
|
#12
|
|
2010-11-02
, 19:41
|
Posts: 255 |
Thanked: 61 times |
Joined on Feb 2010
|
#13
|
#[init] #[exit] #[global] #export-group-facts #export-partition-facts # partition-path /syspart/%{partition} #iowait-notify threshold 10 40 poll 2 window 1 hook iowait_notify # realtime-limit runtime 950 msec period 1 sec #cgroup-options freezer, cpu, memory ######################################## # partition declarations # [partition system] path /syspart [partition desktop] path /syspart/desktop cpu-shares 6144 #memory-limit 50M memory-limit 30M [partition active_ui] path /syspart/applications cpu-shares 2048 #memory-limit 120M memory-limit 150M [partition standby_ui] path /syspart/applications/standby memory-limit 115M #memory-limit 85M [partition launcher] path /syspart/applications/launcher [partition background] path /syspart/applications/standby/background #memory-limit 20M memory-limit 30M ######################################## # group declarations # [group system] description 'Essential system processes' partition system #export-fact [group sysutils] description 'System utilities' partition system [group telephony] description 'Telephony signaling and related processes' partition system [group callui] description 'Telephony user interface' partition system [group desktop] description 'Desktop basic applications' partition desktop [group home] description 'Desktop applets and applications' partition standby_ui [group camera] description 'Camera and related applications' partition standby_ui [group media] description 'Media playback' partition standby_ui [group mediasrc] description 'Media sources' partition system [group mediarend] description 'Media renderers' partition system [group browser] description 'Web browsing' partition standby_ui [group messaging] description 'SMS and instant messaging' partition standby_ui [group mail] description 'E-Mail' partition standby_ui [group mapping] description 'Mapping and navigation applications' partition standby_ui [group gaming] description 'Games' partition standby_ui [group appmanager] description 'Application manager UI' partition standby_ui [group accessories] description 'Accessories' partition standby_ui [group tracker] description 'Content tracking and indexing' partition background [group download] description 'Download background daemons' partition background [group support] description 'Supporting background daemons' partition background [group contacts] description 'Address book' partition standby_ui [group apputils] description 'Application utilities' partition standby_ui [group trusted] description 'Trusted extra applications' partition standby_ui [group default] description 'Other classified processes' partition background ######################################## # process classification rules # [rule /usr/bin/mafw-dbus-wrapper] arg1 == 'mafw-tracker-source' => group tracker arg1 == 'mafw-gst-renderer' => group mediasrc group media [rule /usr/sbin/omap3camd] arg2 == /dev/video0 => group camera arg2 == /dev/video1 => group telephony group camera [rule /usr/sbin/browserd] arg4 == 'browserui' => group browser arg4 == 'RTComMessagingServer' => group messaging group browser [rule /usr/bin/maemo-launcher] arg0 != /usr/bin/maemo-launcher => classify-by-argv0 arg0 == /usr/bin/maemo-launcher && reclassify-count < 6 => reclassify-after 1500 arg0 == /usr/bin/maemo-launcher => group apputils group trusted [rule /usr/bin/maemo-invoker] arg0 != /usr/bin/maemo-invoker => classify-by-argv0 arg0 == /usr/bin/maemo-invoker && reclassify-count < 6 => reclassify-after 1500 arg0 == /usr/bin/maemo-invoker => group apputils group default [rule *] type == kernel => group system group default ##################################### # simple classification rules # [classify accessories] /usr/bin/Calendar /usr/bin/worldclock /usr/bin/osso_calculator /usr/bin/osso-xterm [classify appmanager] /usr/bin/hildon-application-manager [classify browser] /usr/bin/browser [classify callui] /usr/bin/rtcom-call-ui [classify camera] /usr/bin/camera-ui /usr/bin/image-viewer [classify contacts] /usr/bin/osso-addressbook [classify desktop] /usr/bin/hildon-desktop /usr/bin/hildon-status-menu /usr/bin/hildon-input-method /usr/bin/systemui /usr/bin/matchbox-window-manager /usr/bin/osso-connectivity-ui-conndlgs [classify download] /usr/libexec/apt-worker /usr/sbin/softupd [classify gaming] /usr/bin/mahjong_startup /usr/bin/Mahjong /usr/bin/chess_startup /usr/bin/maemoblocks_startup /usr/bin/maemoblocks /usr/bin/lmarbles_startup /usr/bin/osso_lmarbles /usr/bin/chessui /usr/games/gnuchess [classify home] /usr/bin/clipboard-manager /usr/bin/hildon-home /usr/bin/osso-abook-home-applet [classify mail] /usr/bin/modest [classify mapping] /usr/bin/nokia-maps /usr/lib/nokiamaps-navigation-provider/nm-nav-provider /usr/bin/location-proxy /usr/libexec/location-daemon [classify media] /usr/bin/mediaplayer /usr/bin/mafw-playlist-daemon [classify mediarend] /usr/bin/pulseaudio /usr/bin/Xorg [classify mediasrc] /usr/bin/tonegend /usr/bin/hildon-sv-notification-daemon /usr/lib/skyhost/voicehost /usr/lib/telepathy/telepathy-stream-engine [classify messaging] /usr/sbin/sms-manager /usr/bin/rtcom-messaging-ui [classify support] /usr/libexec/hildon-thumbnailerd /usr/bin/intellisyncd /usr/lib/obex/obexd /usr/bin/syncd [classify system] /usr/sbin/icd2 /usr/sbin/alsaped /usr/sbin/ohmd /usr/sbin/hald /usr/lib/hal/hald-addon-omap-gpio /usr/lib/hal/hald-addon-generic-backlight /usr/lib/hal/hald-addon-input /usr/lib/hal/hald-addon-mmc /usr/lib/hal/hald-addon-als /usr/lib/hal/hald-addon-bme /usr/lib/hal/hald-addon-cpufreq /usr/lib/hal/hald-addon-usb-cable /usr/sbin/dsp-manager /usr/lib/sapwood/sapwood-server /usr/bin/hildon-welcome /usr/bin/clockd /usr/bin/lscgrp /sbin/init /sbin/udevd /usr/sbin/bme_RX-51 /sbin/syslogd /sbin/klogd /bin/busybox /usr/sbin/sscd /usr/sbin/sysinfod /usr/sbin/wappushd /usr/lib/hal/hald-runner /usr/lib/gconf2/gconfd-2 /usr/sbin/cellmo-watch /usr/bin/signond /usr/sbin/bluetoothd /usr/bin/dbus-launch /usr/bin/maemo-xinput-sounds /usr/bin/ohm-session-agent /usr/bin/profiled /usr/sbin/alarmd /usr/lib/gvfs/gvfs-hal-volume-monitor /usr/lib/gvfs/gvfsd /usr/bin/iphbd /usr/libexec/gnome-vfs-daemon /usr/lib/evolution-data-server/e-addressbook-factory /usr/sbin/dnsmasq /usr/sbin/wlancond /usr/bin/eapd /usr/bin/app-detect /usr/sbin/hulda /usr/sbin/temp-reaper /usr/sbin/maesync_controller /usr/sbin/ke-recv /usr/bin/crash_reporter_daemon /sbin/udhcpc /usr/bin/pnatd /usr/sbin/sshd [classify sysutils] /sbin/dsme /sbin/mce /usr/bin/dbus-daemon [classify telephony] /usr/sbin/csd /usr/bin/mission-control /usr/lib/telepathy/telepathy-ring /usr/lib/telepathy/telepathy-gabble /usr/lib/telepathy/telepathy-spirit /usr/lib/skyhost/skyhost /usr/lib/telepathy/telepathy-sofiasip /usr/bin/ringtoned [classify tracker] /usr/lib/tracker/trackerd /usr/lib/tracker/tracker-indexer
|
2010-11-02
, 19:58
|
|
Posts: 248 |
Thanked: 51 times |
Joined on Jan 2010
@ Amsterdam
|
#14
|
|
2010-11-02
, 20:15
|
Posts: 255 |
Thanked: 61 times |
Joined on Feb 2010
|
#15
|
|
2010-11-02
, 20:20
|
Posts: 1,283 |
Thanked: 370 times |
Joined on Sep 2009
@ South Florida
|
#16
|
|
2010-11-03
, 08:20
|
Posts: 992 |
Thanked: 738 times |
Joined on Jun 2010
@ Low Earth Orbit
|
#17
|
|
2010-11-03
, 11:26
|
Posts: 268 |
Thanked: 1,053 times |
Joined on May 2010
@ The Netherlands
|
#18
|
Theres all kinds of answers there, but basically no, you would need a custom kernel to disable ohmd and cgroups.
|
2010-11-05
, 09:44
|
Posts: 5 |
Thanked: 1 time |
Joined on Nov 2010
|
#19
|
|
2010-11-05
, 09:58
|
Posts: 17 |
Thanked: 4 times |
Joined on Jan 2010
@ Finland
|
#20
|
::edit:: I was wrong I found this in the forum
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 ?]
Source: http://talk.maemo.org/showpost.php?p=568594&postcount=1
Desktop: 2.8ghz Athlon x2 Kuma 4gb DDR2 OCZ Platinum XFX Geforce 260GTX BE
Last edited by ear0wax; 2010-11-02 at 19:07.