Re: Optimizing Fedora Core 3

From: Yves Bellefeuille (yan_at_storm.ca)
Date: 10/20/05


Date: Wed, 19 Oct 2005 19:32:01 -0400

On Tue, 18 Oct 2005, JesusFreak wrote:

> Reading the / and launching programs primarily, my hdd runs at 7200
> rpm, so I don't think that that is the problem, maybe some more RAM or
> faster CPU

OK, here are a couple of things to check.

Run "top". Is cpu usage (user + system + nice) often 100%? If so,
consider getting a faster processor. (If you're running a
"distributed computing" program like Gimps, stop it first.)

Is a task with "swap" in its name requiring a lot of time? If so, add
memory.

Do "hdparm /dev/hda". Here are my results:

/dev/hda:
 multcount = 16 (on)
 IO_support = 1 (32-bit)
 unmaskirq = 1 (on)
 using_dma = 1 (on)
 keepsettings = 0 (off)
 readonly = 0 (off)
 readahead = 256 (on)
 geometry = 16383/255/63, sectors = 40020664320, start = 0

Note that multiple sector I/O is set at 16 sectors, 32-bit I/O
support is on and using_dma is on.

Run "hdparm -Tt" to test the drives. Here are my results for comparison:

/dev/hda:
 Timing cached reads: 1452 MB in 2.00 seconds = 724.51 MB/sec
 Timing buffered disk reads: 124 MB in 3.00 seconds = 41.33 MB/sec

Run "prelink -avR". I think that Fedora 3 does this by default.

-- 
Yves Bellefeuille <yan@storm.ca>
"America is less a beacon of hope than a dangerous force to be 
countered." -- US State Department