raphael wrote:

Hello all, I have a PowerPC, 64 RAM, with woody updated. Icewm as Window Manager.
The trouble is: it's so slow, sooo sloooow. It takes 5 seconds to open a
terminal, and so on. XFCE was not bearable. Not to saw about Gnome or
KDE. The MacOS 9.2 on the same computer is an arrow, compared to it! Did I forgot to remove some useless processes?
There is a "Small X" howto somewhere on the net I think. It describes how to save memory in your X setup.

In X:
- Remove font servers
- Remove all scaleable fonts from X font path
- Disable backing-store (X -bs, depends on how you start X where this must be changed)
- Do not use background graphics only xsetroot -solid <something>

top: 1000 raphael 17 0 1292 1292 956 R 0.6 2.0 0:00 top
 486 root       10 -10 34756  17M  5916 S <   0.4 29.6   0:20 XFree86
   1 root        8   0   592  472   460 S       0.0  0.7   0:05 init
   2 root        9   0     0    0       0 SW    0.0  0.0   0:00 media-bay
   3 root        9   0     0    0       0 SW    0.0  0.0   0:00 keventd
   4 root       19  19     0    0       0 SWN   0.0  0.0   0:00 ksoftirqd_CPU0
   5 root        9   0     0    0       0 SW    0.0  0.0   0:00 kswapd
   6 root        9   0     0    0       0 SW    0.0  0.0   0:00 bdflush
   7 root        9   0     0    0       0 SW    0.0  0.0   0:00 kupdated
  53 root        9   0     0    0       0 SW    0.0  0.0   0:00 khubd
 112 daemon      9   0   520  364   364 S       0.0  0.5   0:00 portmap

Portmap is only needed if you absolutely want fam (for KDE or Gnome) or nfs. I don´t think you need any of them.

 199 root        9   0   692  604   512 S       0.0  0.9   0:00 syslogd
 206 root        9   0  1348  472   472 S       0.0  0.7   0:00 klogd
 212 root        9   0   732  556   556 S       0.0  0.8   0:00 rpc.statd

statd is only for nfs

 239 root        8   0  1116  808   716 S       0.0  1.3   0:00 cupsd

Do you have a printer?  If not stop cupsd.

 255 root        7  -5   796  616   556 S <   0.0  0.9   0:00 diald
 268 root        9   0   736  564   536 S       0.0  0.9   0:00 gpm

If X is working, gpm is useless. Do you use a modem? If not remove diald.

 290 root        9   0   608  464   464 S       0.0  0.7   0:00 inetd

inetd is probably not needed - ssh is the only login service you should run.

 331 proxy       9   0   944  620   612 S       0.0  1.0   0:00 wwwoffled
 338 root        9   0  6684 1256   848 S       0.0  2.0   0:05 xfs

This must go away.  Scaled fonts use a lot of memory in X for some reason.

 344 root        9   0   592  500   456 S       0.0  0.8   0:00 pmud
 351 root        8   0   824  668   612 S       0.0  1.0   0:00 cron
 356 raphael     9   0  1500 1140  1140 S       0.0  1.8   0:00 bash
 357 root        9   0   576  448   448 S       0.0  0.7   0:00 getty
 358 root        9   0   576  448   448 S       0.0  0.7   0:00 getty
 359 root        9   0   576  448   448 S       0.0  0.7   0:00 getty
 360 root        9   0   576  448   448 S       0.0  0.7   0:00 getty
 361 root        9   0   576  448   448 S       0.0  0.7   0:00 getty

Have a look in /etc/inittab, you probably don´t need that many gettys, but on the other hand they´re very small.

 478 raphael     9   0  1272 1016  1016 S       0.0  1.6   0:00 startx
 485 raphael     9   0   600  412   412 S       0.0  0.6   0:00 xinit
 489 raphael     9   0  1244  996   996 S       0.0  1.6   0:00 sh
 490 raphael     9   0  2440 1700  1408 S       0.0  2.7   0:00 icewm
 491 raphael     9   0  3124 2024  1488 S       0.0  3.2   0:01 gnome-terminal

Might be usefull to compare the size of gnome-terminal with rxvt. Keep the number of lines in your scrollback-buffer low.

 492 raphael     9   0   700  532   532 S       0.0  0.8   0:00 gnome-pty-helpe
 493 raphael     9   0  1540 1176  1176 S       0.0  1.8   0:00 bash
 538 root        8   0  1532 1332  1184 S       0.0  2.1   0:00 bash
 549 raphael   11   0  3864 2940  2264 S        0.0  4.7   0:01 gnome-terminal
 550 raphael     9   0   704  536   536 S       0.0  0.8   0:00 gnome-pty-helpe
 551 raphael     9   0  1604 1420  1280 S       0.0  2.2   0:00 bash
Nicolai


Reply via email to