[PlanetCCRMA] mem usage in fc5
Ken Smith
kens@kensnet.org
Mon Dec 4 00:18:01 2006
Ken Smith wrote:
> plutek wrote:
>
>> greetings!
>>
>> i've just set up my laptop with fc5/ccrma, running the ratpoison
>> window-manager. when i run top, after a fresh boot, i'm seeing 63
>> processes running, and about 300Mb memory used. i've already disabled
>> a bunch of unneeded services, and this seems to be about the best i
>> can do. if i run gnome, services go up to 86, and memory usage up to
>> 332Mb.
>>
>> when i last kept records of this sort of thing, i was on fc3/ccrma,
>> and i was down to 56 processes with about 175Mb memory used. on fc3,
>> even before culling services, i was at 70 services but only 183Mb
>> used. even if i ran gnome, the memory usage only went up to 250Mb.
>>
>> so i'm wondering why 300Mb (out of 1Gb) is used by system processes,
>> when i'm running a very light window manager and no desktop, and i've
>> culled services -- seems awfully high to me.
>>
>> what sort of resource usage by the base system are others seeing on fc5?
>>
>>
>>
> Hi,
>
> Here are the stats from my system. The project is playing at the time
> I took the attached top/ps. It has 10 tracks playing back, 10
> groups/busses, 21 plugins running, Jamin running and Thunderbird
> writing this email. This system only has 512M of memory and a P4 HT 3G
> processor with the 2.6.16 CCRMA kernel. I'm using Gnome in standard
> config.
>
> I know there are things running that I could stop, such as cups and
> skype but memory shortage isn't bothering this system much right now.
>
> If I shut everything down and just have X/Gnome running there are 130
> processes using 275M of memory.
>
> Does this help any?
>
> Ken
>
> # top -n 1
>
> top - 23:34:34 up 2:49, 2 users, load average: 1.81, 1.99, 2.17
> Tasks: 137 total, 4 running, 133 sleeping, 0 stopped, 0 zombie
> Cpu(s): 28.0% us, 3.0% sy, 1.1% ni, 58.6% id, 9.3% wa, 0.0% hi,
> 0.0% si, 0.0% st
> Mem: 495324k total, 489984k used, 5340k free, 432k buffers
> Swap: 1542200k total, 111420k used, 1430780k free, 166296k cached
>
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
> 27878 root 16 0 162m 160m 22m S 62 33.2 3:38.36 ardour
> 27872 root 15 0 108m 107m 73m R 40 22.3 1:58.94 jamin
> 2736 root 16 0 163m 17m 4340 R 6 3.6 11:02.63 Xorg
> 182 root 15 0 0 0 0 D 2 0.0 0:09.70 kswapd0
> 1 root 16 0 2000 412 392 S 0 0.1 0:01.19 init
> 2 root RT 0 0 0 0 S 0 0.0 0:00.12 migration/0
> 3 root -2 0 0 0 0 S 0 0.0 0:00.00
> softirq-high/0
> 4 root RT 0 0 0 0 S 0 0.0 0:00.00
> softirq-timer/0
> 5 root -2 0 0 0 0 S 0 0.0 0:00.04
> softirq-net-tx/
> 6 root -2 0 0 0 0 S 0 0.0 0:00.43
> softirq-net-rx/
> 7 root -2 0 0 0 0 S 0 0.0 0:00.00
> softirq-block/0
> 8 root -2 0 0 0 0 S 0 0.0 0:00.00
> softirq-tasklet
> 9 root -2 0 0 0 0 S 0 0.0 0:00.00
> softirq-hrtreal
> 10 root -2 0 0 0 0 S 0 0.0 0:00.45
> softirq-hrtmono
> 11 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/0
> 12 root 5 -10 0 0 0 S 0 0.0 0:00.17 desched/0
> 13 root RT 0 0 0 0 S 0 0.0 0:00.17 migration/1
> 14 root -2 0 0 0 0 S 0 0.0 0:00.00
> softirq-high/1
> 15 root RT 0 0 0 0 S 0 0.0 0:00.00
> softirq-timer/1
> 16 root -2 0 0 0 0 S 0 0.0 0:00.01
> softirq-net-tx/
> 17 root -2 0 0 0 0 S 0 0.0 0:00.10
> softirq-net-rx/
> 18 root -2 0 0 0 0 S 0 0.0 0:00.00
> softirq-block/1
> 19 root -2 0 0 0 0 S 0 0.0 0:00.00
> softirq-tasklet
> 20 root -2 0 0 0 0 S 0 0.0 0:00.00
> softirq-hrtreal
> 21 root -2 0 0 0 0 S 0 0.0 0:01.25
> softirq-hrtmono
> 22 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/1
> 23 root 5 -10 0 0 0 S 0 0.0 0:00.21 desched/1
> 24 root -2 -20 0 0 0 S 0 0.0 0:00.00 events/0
> 25 root -2 -20 0 0 0 S 0 0.0 0:00.02 events/1
> 26 root 10 -5 0 0 0 S 0 0.0 0:00.00 khelper
> 27 root 11 -5 0 0 0 S 0 0.0 0:00.00 kthread
> 30 root 10 -5 0 0 0 S 0 0.0 0:00.23 kblockd/0
> 31 root 10 -5 0 0 0 S 0 0.0 0:00.19 kblockd/1
> 32 root 11 -5 0 0 0 S 0 0.0 0:00.00 kacpid
> 33 root -50 -5 0 0 0 S 0 0.0 0:00.00 IRQ 9
> 125 root 10 -5 0 0 0 S 0 0.0 0:00.00 khubd
> 180 root 15 0 0 0 0 S 0 0.0 0:00.21 pdflush
> 181 root 15 0 0 0 0 S 0 0.0 0:00.39 pdflush
> 183 root 11 -5 0 0 0 S 0 0.0 0:00.00 aio/0
> 184 root 11 -5 0 0 0 S 0 0.0 0:00.00 aio/1
> 258 root -81 -5 0 0 0 S 0 0.0 0:00.00 IRQ 8
> 272 root 10 -5 0 0 0 S 0 0.0 0:00.01 kseriod
> 277 root -50 -5 0 0 0 S 0 0.0 0:10.01 IRQ 12
> 309 root -47 -5 0 0 0 S 0 0.0 0:02.14 IRQ 14
> 311 root -46 -5 0 0 0 S 0 0.0 0:01.88 IRQ 15
> 313 root -61 -5 0 0 0 S 0 0.0 0:13.00 IRQ 17
> 371 root 12 -5 0 0 0 S 0 0.0 0:00.00 kpsmoused
>
>
>
> # ps auxf
> USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
> root 1 0.0 0.0 2000 416 ? S 20:45 0:01 init [5]
> root 2 0.0 0.0 0 0 ? S 20:45 0:00
> [migration/0]
> root 3 0.0 0.0 0 0 ? S 20:45 0:00
> [softirq-high/0]
> root 4 0.0 0.0 0 0 ? S 20:45 0:00
> [softirq-timer/0]
> root 5 0.0 0.0 0 0 ? S 20:45 0:00
> [softirq-net-tx/]
> root 6 0.0 0.0 0 0 ? S 20:45 0:00
> [softirq-net-rx/]
> root 7 0.0 0.0 0 0 ? S 20:45 0:00
> [softirq-block/0]
> root 8 0.0 0.0 0 0 ? S 20:45 0:00
> [softirq-tasklet]
> root 9 0.0 0.0 0 0 ? S 20:45 0:00
> [softirq-hrtreal]
> root 10 0.0 0.0 0 0 ? S 20:45 0:00
> [softirq-hrtmono]
> root 11 0.0 0.0 0 0 ? S 20:45 0:00
> [watchdog/0]
> root 12 0.0 0.0 0 0 ? S< 20:45 0:00
> [desched/0]
> root 13 0.0 0.0 0 0 ? S 20:45 0:00
> [migration/1]
> root 14 0.0 0.0 0 0 ? S 20:45 0:00
> [softirq-high/1]
> root 15 0.0 0.0 0 0 ? S 20:45 0:00
> [softirq-timer/1]
> root 16 0.0 0.0 0 0 ? S 20:45 0:00
> [softirq-net-tx/]
> root 17 0.0 0.0 0 0 ? S 20:45 0:00
> [softirq-net-rx/]
> root 18 0.0 0.0 0 0 ? S 20:45 0:00
> [softirq-block/1]
> root 19 0.0 0.0 0 0 ? S 20:45 0:00
> [softirq-tasklet]
> root 20 0.0 0.0 0 0 ? S 20:45 0:00
> [softirq-hrtreal]
> root 21 0.0 0.0 0 0 ? S 20:45 0:01
> [softirq-hrtmono]
> root 22 0.0 0.0 0 0 ? S 20:45 0:00
> [watchdog/1]
> root 23 0.0 0.0 0 0 ? S< 20:45 0:00
> [desched/1]
> root 24 0.0 0.0 0 0 ? S< 20:45 0:00
> [events/0]
> root 25 0.0 0.0 0 0 ? S< 20:45 0:00
> [events/1]
> root 26 0.0 0.0 0 0 ? S< 20:45 0:00
> [khelper]
> root 27 0.0 0.0 0 0 ? S< 20:45 0:00
> [kthread]
> root 30 0.0 0.0 0 0 ? S< 20:45 0:00 \_
> [kblockd/0]
> root 31 0.0 0.0 0 0 ? S< 20:45 0:00 \_
> [kblockd/1]
> root 32 0.0 0.0 0 0 ? S< 20:45 0:00 \_
> [kacpid]
> root 33 0.0 0.0 0 0 ? S< 20:45 0:00 \_
> [IRQ 9]
> root 125 0.0 0.0 0 0 ? S< 20:45 0:00 \_
> [khubd]
> root 180 0.0 0.0 0 0 ? S 20:45 0:00 \_
> [pdflush]
> root 181 0.0 0.0 0 0 ? S 20:45 0:00 \_
> [pdflush]
> root 183 0.0 0.0 0 0 ? S< 20:45 0:00 \_
> [aio/0]
> root 184 0.0 0.0 0 0 ? S< 20:45 0:00 \_
> [aio/1]
> root 258 0.0 0.0 0 0 ? S< 20:45 0:00 \_
> [IRQ 8]
> root 272 0.0 0.0 0 0 ? S< 20:45 0:00 \_
> [kseriod]
> root 277 0.0 0.0 0 0 ? S< 20:45 0:10 \_
> [IRQ 12]
> root 309 0.0 0.0 0 0 ? S< 20:45 0:02 \_
> [IRQ 14]
> root 311 0.0 0.0 0 0 ? S< 20:45 0:01 \_
> [IRQ 15]
> root 313 0.1 0.0 0 0 ? S< 20:45 0:13 \_
> [IRQ 17]
> root 371 0.0 0.0 0 0 ? S< 20:45 0:00 \_
> [kpsmoused]
> root 376 0.0 0.0 0 0 ? S< 20:45 0:00 \_
> [IRQ 1]
> root 431 0.0 0.0 0 0 ? S< 20:45 0:00 \_
> [kauditd]
> root 746 0.0 0.0 0 0 ? S< 20:45 0:00 \_
> [IRQ 18]
> root 753 0.0 0.0 0 0 ? S< 20:45 0:00 \_
> [IRQ 19]
> root 788 0.0 0.0 0 0 ? S< 20:45 0:00 \_
> [IRQ 20]
> root 831 0.0 0.0 0 0 ? S< 20:45 0:00 \_
> [IRQ 16]
> root 974 0.0 0.0 0 0 ? S< 20:45 0:00 \_
> [IRQ 21]
> root 1013 0.0 0.0 0 0 ? S< 20:45 0:00 \_
> [msp34xx]
> root 1293 0.0 0.0 0 0 ? S< 20:45 0:04 \_
> [IRQ 22]
> root 1323 0.1 0.0 0 0 ? S< 20:45 0:18 \_
> [IRQ 23]
> root 1489 0.0 0.0 0 0 ? S< 20:45 0:00 \_
> [IRQ 6]
> root 1502 0.0 0.0 0 0 ? S< 20:45 0:00 \_
> [IRQ 7]
> root 1633 0.0 0.0 0 0 ? S< 20:45 0:00 \_
> [kmirrord]
> root 2571 0.0 0.0 0 0 ? S< 20:45 0:00 \_
> [IRQ 3]
> root 2573 0.0 0.0 0 0 ? S< 20:45 0:00 \_
> [IRQ 4]
> root 182 0.0 0.0 0 0 ? S 20:45 0:10
> [kswapd0]
> root 389 0.0 0.0 0 0 ? S 20:45 0:00
> [kjournald]
> root 456 0.0 0.0 2216 312 ? S<s 20:45 0:00
> /sbin/udevd -d
> root 837 0.0 0.0 0 0 ? S 20:45 0:00
> [khpsbpkt]
> root 978 0.0 0.0 0 0 ? S 20:45 0:00
> [knodemgrd_0]
> root 2008 0.0 0.0 2228 132 ? Ss 20:45 0:00
> /sbin/dhclient -1 -q -cf /etc/dhclient-eth0.conf -lf
> /var/lib/dhclient/dhclient-eth0.leases
> root 2043 0.0 0.0 1656 404 ? Ss 20:45 0:00
> syslogd -m 0
> root 2046 0.0 0.0 1600 292 ? Ss 20:45 0:00 klogd -x
> root 2056 0.0 0.0 1600 288 ? Ss 20:45 0:00
> irqbalance
> rpc 2066 0.0 0.0 1732 296 ? Ss 20:45 0:00 portmap
> root 2091 0.0 0.0 4740 268 ? Ss 20:45 0:00
> rpc.idmapd
> dbus 2105 0.0 0.0 3072 260 ? Ss 20:45 0:00
> dbus-daemon --system
> root 2211 0.0 0.0 1872 492 ? Ss 20:45 0:00
> /usr/sbin/automount --timeout=60 /net program /etc/auto.net
> root 2225 0.0 0.0 1920 212 ? S 20:45 0:00
> /usr/sbin/smartd -q never
> root 2234 0.0 0.0 1596 356 ? Ss 20:45 0:00
> /usr/sbin/acpid
> root 2252 0.0 0.0 4972 340 ? Ss 20:45 0:00
> /usr/sbin/sshd
> ntp 2264 0.0 0.8 4244 4244 ? SLs 20:45 0:00 ntpd
> -u ntp:ntp -p /var/run/ntpd.pid -g
> root 2273 0.0 0.0 1820 260 ? Ss 20:45 0:00 gpm
> -m /dev/input/mice -t exps2
> root 2441 0.0 0.1 5184 544 ? Ss 20:45 0:00 crond
> xfs 2472 0.0 0.2 3944 1168 ? Ss 20:45 0:00 xfs
> -droppriv -daemon
> root 2489 0.0 0.0 2156 340 ? Ss 20:45 0:00
> /usr/sbin/atd
> root 2552 0.0 0.1 3136 616 ? Ss 20:45 0:00
> cups-config-daemon
> 68 2562 0.0 0.2 5280 1472 ? Ss 20:45 0:02 hald
> root 2563 0.0 0.1 3136 572 ? S 20:45 0:00 \_
> hald-runner
> 68 2569 0.0 0.1 2232 532 ? S 20:45 0:00
> \_ /usr/libexec/hald-addon-acpi
> 68 2577 0.0 0.1 2236 560 ? S 20:45 0:00
> \_ /usr/libexec/hald-addon-keyboard
> root 2584 0.0 0.0 2196 408 ? S 20:45 0:01
> \_ /usr/libexec/hald-addon-storage
> root 2623 0.0 0.0 1588 344 tty1 Ss+ 20:45 0:00
> /sbin/mingetty tty1
> root 2624 0.0 0.0 1588 344 tty2 Ss+ 20:45 0:00
> /sbin/mingetty tty2
> root 2625 0.0 0.0 1584 344 tty3 Ss+ 20:45 0:00
> /sbin/mingetty tty3
> root 2626 0.0 0.0 1584 344 tty4 Ss+ 20:45 0:00
> /sbin/mingetty tty4
> root 2627 0.0 0.0 1588 344 tty5 Ss+ 20:45 0:00
> /sbin/mingetty tty5
> root 2628 0.0 0.0 1584 344 tty6 Ss+ 20:45 0:00
> /sbin/mingetty tty6
> root 2629 0.0 0.1 4452 620 ? Ss 20:45 0:00
> /bin/sh /etc/X11/prefdm -nodaemon
> root 2688 0.0 0.1 12728 900 ? S 20:45 0:00 \_
> /usr/sbin/gdm-binary -nodaemon
> root 2735 0.0 0.1 13436 964 ? S 20:45 0:00
> \_ /usr/sbin/gdm-binary -nodaemon
> root 2736 6.6 1.9 31016 9892 tty7 Ss+ 20:45
> 11:19 \_ /usr/bin/Xorg :0 -audit 0 -auth /var/gdm/:0.Xauth vt7
> root 2781 0.0 0.7 22856 3468 ? Ss 20:49
> 0:00 \_ gnome-session
> root 2830 0.0 0.0 4096 416 ? Ss 20:49
> 0:00 \_ /usr/bin/ssh-agent /usr/bin/dbus-launch
> --exit-with-session gnome-session
> root 2833 0.0 0.0 2896 340 ? S 20:49 0:00
> /usr/bin/dbus-launch --exit-with-session gnome-session
> root 2834 0.0 0.0 3076 480 ? Ss 20:49 0:00
> dbus-daemon --fork --print-pid 8 --print-address 6 --session
> root 2836 0.0 0.3 7288 1724 ? S 20:49 0:00
> /usr/libexec/gconfd-2 5
> root 2839 0.0 0.0 2312 384 ? S 20:49 0:00
> /usr/bin/gnome-keyring-daemon
> root 2841 0.0 0.2 7376 1240 ? Ss 20:49 0:00
> /usr/libexec/bonobo-activation-server --ac-activate --ior-output-fd=17
> root 2843 0.0 0.5 32520 2884 ? Sl 20:49 0:09
> /usr/libexec/gnome-settings-daemon
> --oaf-activate-iid=OAFIID:GNOME_SettingsDaemon --oaf-ior-root
> 2848 0.5 1.0 17756 5432 ? Ss 20:49 0:53
> /usr/bin/metacity --sm-client-id=default1
> root 2857 0.0 1.1 109912 5480 ? Ssl 20:49 0:08
> gnome-panel --sm-client-id default2
> root 2860 0.1 1.3 128256 6736 ? Ssl 20:49 0:13
> nautilus --no-default-window --sm-client-id default3
> root 2863 0.0 0.3 21932 1980 ? Ss 20:49 0:02
> gnome-power-manager
> root 2868 0.0 0.5 43544 2828 ? Ss 20:49 0:00
> eggcups --sm-client-id default4
> root 2871 0.0 0.3 11576 1696 ? Sl 20:49 0:02
> /usr/libexec/gnome-vfs-daemon
> --oaf-activate-iid=OAFIID:GNOME_VFS_Daemon_Factory
> --oaf-ior-froot 2873 0.0 0.3 14892 1700 ? Ss 20:49
> 0:00 bluez-pin --dbus
> root 2882 0.0 0.6 82844 2984 ? Ss 20:49 0:04
> nm-applet --sm-disable
> root 2884 0.1 1.1 84920 5708 ? S 20:49 0:12
> /usr/libexec/wnck-applet
> --oaf-activate-iid=OAFIID:GNOME_Wncklet_Factory --oaf-ior-fd=21
> root 2888 0.0 0.4 14188 2256 ? Ss 20:49 0:00
> pam-panel-icon --sm-client-id default0
> root 2889 0.0 0.1 1760 532 ? S 20:49 0:00 \_
> /sbin/pam_timestamp_check -d root
> root 2893 0.0 0.5 104288 2820 ? Sl 20:49 0:02
> /usr/libexec/trashapplet
> --oaf-activate-iid=OAFIID:GNOME_Panel_TrashApplet_Factory
> --oaf-iorroot 2901 0.0 0.1 2216 624 ? S 20:49
> 0:00 /usr/libexec/mapping-daemon
> root 2903 0.0 0.1 2572 812 ? S 20:49 0:09
> /usr/libexec/gam_server
> root 2905 0.0 0.7 25736 3848 ? S 20:49 0:00
> /usr/libexec/clock-applet
> --oaf-activate-iid=OAFIID:GNOME_ClockApplet_Factory
> --oaf-ior-fd=2root 2907 0.0 0.5 21788 2764 ? S
> 20:49 0:00 /usr/libexec/notification-area-applet
> --oaf-activate-iid=OAFIID:GNOME_NotificationAreaAppletroot 2909
> 0.0 0.7 90880 3760 ? S 20:49 0:09
> /usr/libexec/mixer_applet2
> --oaf-activate-iid=OAFIID:GNOME_MixerApplet_Factory
> --oaf-ior-fd=root 2950 0.0 0.4 14296 2312 ? Ss
> 20:49 0:07 gnome-screensaver
> root 3081 0.9 2.6 68600 13080 ? Sl 20:53 1:34 skype
> root 3326 0.0 0.0 0 0 ? S 21:25 0:00
> [cifsoplockd]
> root 3327 0.0 0.0 0 0 ? S 21:25 0:00
> [cifsdnotifyd]
> root 3337 0.0 0.0 0 0 ? S 21:25 0:00 [cifsd]
> root 3624 0.0 0.1 9192 808 ? SNs 21:54 0:00 cupsd
> root 27863 0.5 6.2 32212 31192 ? SLl 23:29 0:02 qjackctl
> root 27865 1.4 9.0 44524 44624 ? SLsl 23:29 0:07 \_
> jackd -R -p256 -dalsa -dhw:0 -r44100 -p512 -n2
> root 27872 37.9 22.3 111580 110564 ? SLl 23:29 3:03
> /usr/bin/jamin
> root 27878 69.3 33.2 167496 164600 ? SLsl 23:29 5:31 ardour
> root 27896 0.0 0.1 4404 868 ? S 23:31 0:00
> /bin/sh /usr/lib/thunderbird-1.5.0.7/thunderbird
> root 27916 0.0 0.1 4404 872 ? S 23:31 0:00 \_
> /bin/sh /usr/lib/thunderbird-1.5.0.7/run-mozilla.sh
> /usr/lib/thunderbird-1.5.0.7/thunderroot 27921 1.6 4.4 132456
> 22204 ? Sl 23:31 0:05 \_
> /usr/lib/thunderbird-1.5.0.7/thunderbird-bin
> root 27937 0.9 2.3 39420 11780 ? Sl 23:33 0:02
> gnome-terminal
> root 27939 0.0 0.1 2228 612 ? S 23:33 0:00 \_
> gnome-pty-helper
> root 27940 0.0 0.2 4456 1284 pts/1 Ss 23:33 0:00 \_ bash
> root 28022 0.0 0.1 4152 932 pts/1 R+ 23:37 0:00
> \_ ps auxf
>
>
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.