RedHat 8.0 Sluggish...
I just installed RedHat 8.0 yesterday, and overall it's
pretty good. However, it seems to be running VERY sluggishly. My hardware is AMD K6/2 500 mhz, 128 MB ram, 20 GB 7200 rpm Fujistsu HD. My swap size is 256 MB. Any ideas on why this may be? |
Need some more info.
Run "top" in a term window and post top resource hogs. |
Run as root:
/sbin/hdparm -tT /dev/hdx where hdx is your drive (typically hda). Post the results... |
The results are in...
Ok, so this is what I got when I ran top:
2:59pm up 8 min, 1 user, load average: 0.47, 0.43, 0.20 61 processes: 58 sleeping, 2 running, 1 zombie, 0 stopped CPU states: 33.8% user, 5.4% system, 0.0% nice, 60.6% idle Mem: 126448K av, 114444K used, 12004K free, 0K shrd, 948K buff Swap: 262040K av, 0K used, 262040K free 50504K cached PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND 932 root 15 0 25620 25M 13808 S 21.7 20.2 0:39 mozilla-bin 811 root 5 -10 19764 15M 5388 S < 9.9 12.1 0:18 X 957 root 16 0 9096 9092 7120 R 2.9 7.1 0:07 gnome-terminal 914 root 15 0 11340 11M 8436 S 1.9 8.9 0:06 gnome-panel 985 root 16 0 1012 1012 820 R 1.3 0.8 0:01 top 894 root 15 0 6588 6588 5348 S 0.5 5.2 0:03 metacity 822 root 15 0 8304 8300 6396 S 0.1 6.5 0:01 gnome-session 898 root 15 0 7292 7288 5684 S 0.1 5.7 0:02 gnome-settings- 916 root 15 0 16088 15M 10056 S 0.1 12.7 0:08 nautilus 1 root 15 0 460 460 408 S 0.0 0.3 0:04 init 2 root 15 0 0 0 0 SW 0.0 0.0 0:00 keventd 3 root 15 0 0 0 0 SW 0.0 0.0 0:00 kapmd 4 root 34 19 0 0 0 SWN 0.0 0.0 0:00 ksoftirqd_CPU0 5 root 15 0 0 0 0 SW 0.0 0.0 0:00 kswapd 6 root 25 0 0 0 0 SW 0.0 0.0 0:00 bdflush 7 root 15 0 0 0 0 SW 0.0 0.0 0:00 kupdated 8 root 25 0 0 0 0 SW 0.0 0.0 0:00 mdrecoveryd 12 root 15 0 0 0 0 SW 0.0 0.0 0:00 kjournald 107 root 15 0 0 0 0 SW 0.0 0.0 0:00 kjournald 421 root 17 0 1024 1024 736 S 0.0 0.8 0:00 dhclient 476 root 15 0 532 532 444 S 0.0 0.4 0:00 syslogd 480 root 15 0 432 432 376 S 0.0 0.3 0:00 klogd 497 rpc 15 0 528 528 452 S 0.0 0.4 0:00 portmap 516 rpcuser 18 0 816 816 696 S 0.0 0.6 0:00 rpc.statd 597 root 16 0 488 488 436 S 0.0 0.3 0:00 apmd 635 root 16 0 1428 1428 1208 S 0.0 1.1 0:00 sshd 649 root 15 0 916 916 788 S 0.0 0.7 0:00 xinetd and from /sbin/hdparm -tT /dev/hda: Timing buffer-cache reads: 128 MB in 3.37 seconds = 37.98 MB/sec Timing buffered disk reads: 64 MB in 5.19 seconds = 12.33 MB/sec Any help would be appreciated... |
That buffer-cache stat looks a little bogus to me. I just run this on my P270 Compaq laptop with 96MB of RAM (running RH8) and my results are:
/dev/hda: Timing buffer-cache reads: 128 MB in 1.86 seconds = 68.98 MB/sec Timing buffered disk reads: 64 MB in 8.15 seconds = 7.85 MB/sec Bearing in mind this is a _very_ old machine your stats look bizarre. Flibble |
Looks like your not running any DMA on that drive.
Do:- /sbin/hdparm /dev/hda to see whats enabled. Mine gives: Code:
[root@criten wayne]# /sbin/hdparm /dev/hda Code:
[root@criten wayne]# more /etc/sysconfig/harddisks Checkout your drives capabilities with /sbin/hdparm -i /dev/hda like so:- Code:
[root@criten wayne]# /sbin/hdparm -i /dev/hda |
newb here...
"top" results:
Code:
12:41am up 14 min, 1 user, load average: 0.12, 0.30, 0.18 [root@localhost root]# /sbin/hdparm -tT /dev/hda Code:
/dev/hda: |
JesusCow -> hdparm is run on a drive not a partition. ie. /dev/hda
Looks good though, your running DMA obviously. |
Quote:
|
man hdparm, and heed the warnings!
|
All times are GMT -5. The time now is 03:25 PM. |