The only things I've done, since rebooting yesterday with the new kernel
supplied by redhat, is run X, run mozilla and mozilla mail, view a 2mb
real video file, and update the net-snmp packages with rpm like 12 hours
ago...I'll take it down for a reboot now and post the results.
i got out my old o'reilly "system performance tuning" book, and it reminds
me that there are two kinds of swapping: housekeeping and emergency. in
housekeeping, it may be that some process was idle for so long that the os
figured "why waste memory" and put it on disk. that's not bad. on the
other hand, emergency swapping is when you run out of real mem and the
system has to swap (flog) to disk to get out of a hole. that can hurt
you, but it's better than nothing ;-).
fwiw, i'm on my fedora system (900mhz duron, 256m) now. here is a shot
after i boot (switching to a text window before i log into the gui), after
the gui login, and after a little surfing:
09:12:22 up 1 min, 1 user, load average: 0.25, 0.15, 0.05
43 processes: 42 sleeping, 1 running, 0 zombie, 0 stopped
CPU states: cpu user nice system irq softirq iowait idle
total 0.0% 0.0% 0.0% 33.1% 33.3% 33.5% 0.0%
Mem: 255528k av, 82724k used, 172804k free, 0k shrd, 7652k buff
26296k active, 45552k inactive
Swap: 522104k av, 0k used, 522104k free 46368k cached
after gnome startup:
09:13:19 up 2 min, 2 users, load average: 0.98, 0.33, 0.12
61 processes: 60 sleeping, 1 running, 0 zombie, 0 stopped
CPU states: cpu user nice system irq softirq iowait idle
total 0.0% 0.0% 1.9% 0.0% 0.0% 0.0% 98.0%
Mem: 255528k av, 154292k used, 101236k free, 0k shrd, 10976k buff
40488k active, 98484k inactive
Swap: 522104k av, 0k used, 522104k free 70864k cached
after surfing:
09:19:08 up 8 min, 2 users, load average: 1.14, 0.46, 0.20
64 processes: 61 sleeping, 2 running, 1 zombie, 0 stopped
CPU states: cpu user nice system irq softirq iowait idle
total 0.9% 0.0% 0.9% 0.0% 0.0% 0.0% 98.0%
Mem: 255528k av, 233972k used, 21556k free, 0k shrd, 12252k buff
47672k active, 168524k inactive
Swap: 522104k av, 0k used, 522104k free 120368k cached
as you can see, i'm getting a little tight with 256m, but i haven't hit
swap. (i really should investigate why fedora reports all my time in
softirq and iowait sometimes ... but i don't think it's real. the system
seems responsive)
on the other hand my load averages go up when i get cpu-bound on the
activity.
btw, another reminder from the oreilly book ... if you really do get into
true emergency swapping situations you can use vmstat to look at it. the
"si" and "so" are the critical bits.