看看xrestop输出的结果吧。
xrestop - Display: localhost:0
Monitoring 41 clients. XErrors: 17
Pixmaps: 50355K total, Other: 288K total, All: 50644K total
res-base Wins GCs Fnts Pxms Misc Pxm mem Other Total PID Identifier
2000000 92 72 0 3891 4187 13981K 101K 14083K 2359 plasma-desktop
3600000 52 9 0 1630 1851 7660K 44K 7705K 3077 GenBankDownload.cpp - GenBankDownload - Qt Creator
4a00000 42 3 0 1588 1678 6832K 40K 6872K 3144 ��~K载 �~@~S Dolphin
1a00000 84 2 0 187 432 4496K 12K 4508K 2350 kwin
5200000 8 2 0 641 685 4441K 16K 4457K 3946 GenBankDownload
0a00000 6 49 0 301 349 4009K 9K 4019K 2381 krunner
3a00000 5 3 0 96 129 2841K 3K 2844K 3964 Main : xrestop
1600000 7 1 0 114 139 2578K 3K 2582K 2469 skype
5000000 43 2 0 166 244 2186K 6K 2193K 3933 file:///Data/Main/Cpp/Qt/GenBankDownload/Clustalw2Parser/Cl
2400000 75 27 1 100 356 579K 11K 590K 2736 Qomo(�~N~_Everest) ��~M 永�~T~@�~~@��~X峰 [CBB 论�~]~[]
2800000 14 3 0 19 41 71K 1K 72K 2394 kmix
1400000 3 1 0 5 453 58K 10K 69K 2343 kglobalaccel
3800000 5 1 0 12 27 62K 792B 63K 2460 kgpg
2600000 24 2 0 22 117 57K 3K 60K 2390 Qt-subapplication
4200000 4 1 0 6 20 59K 600B 59K 2476 printer-applet
4800000 5 1 0 5 15 58K 504B 58K 2500 klipper
1000000 4 1 0 5 16 58K 504B 58K 2337 kded4
2a00000 3 1 0 5 13 58K 408B 58K 2396 polkit-kde-authentication-agent-1
1e00000 3 1 0 5 13 58K 408B 58K 2374 kaccess
1c00000 3 1 0 5 13 58K 408B 58K 2356 knotify4
1200000 3 1 0 5 13 58K 408B 58K 2352 kactivitymanagerd
2200000 3 1 1 5 14 42K 1K 43K 2365 kuiserver
1800000 4 1 0 5 14 42K 456B 42K 2348 Qt-subapplication
0000000 1 0 2 0 160 0B 5K 5K ? <unknown>
3e00000 8 23 1 5 25 1K 2K 4K 2468 gSTM
4400000 6 43 1 13 42 1K 3K 4K 2467 Pidgin
0c00000 8 50 1 7 28 13B 3K 3K 2245 main.py
就是这个东西导致本座的X服务器经常占用40%以上的CPU。
如果本座的理解 耄错的话,X服务器为 plasma-desktop进程维护咯以下资源:
1. 92个窗口。每个 applet都是一个窗口吗?看来本座要少用 applet咯。
2. 72个GC。目前不懂GC是什么东西。
3. 3891个位图。这个可能是本座设置的待 选 壁纸太多咯 。本座设置成的是幻灯片放映模式 。如果真是因为壁纸设置得太多的话,那么plasma-desktop这个进程就是在一启动的时候就把所有壁纸 都载入内存咯,真是有病啊。
4. ……
要想办法把 plasma-desktop使用的资源 降下来 。
HxLauncher: Launch Android applications by voice commands