1 |
> I think my real reason for posting this is I'm unhappy with my IO |
2 |
> performance. I've got a 320GB Seagate SATAII drive. How much better |
3 |
> can I do with conventional hard disks? Is there a test I can run to |
4 |
> make sure my Seagate is performing as it should? |
5 |
How about you go to single user mode issue the command hdparm -tT |
6 |
/dev/<yourdisk> three times, and post the results here? |
7 |
|
8 |
Second, here are some basic hints about disk performance. |
9 |
1) Disk speed is faster in the beginning of the disk (because the |
10 |
beginning of the disk is stored in the outer border of the disk, which |
11 |
has greater linear velocity than the inner border). It may be a good |
12 |
idea to put you swap partition first (and don't exaggerate on its |
13 |
size, since it is occupying valuable space in the beginning of the |
14 |
disk), then your main partition, then other partitions. |
15 |
2) Your filesystem should not be too full; one of the problems this |
16 |
causes is fragmentation |
17 |
3) If your filesystem is very old, it is probably fragmented. While |
18 |
fragmentation in LInux is a much smaller problem than in Windows |
19 |
(specially Windows 95/98/ME), it happens over time, specially if the |
20 |
filesystem is too full. I don't know how easily you can defragment in |
21 |
Linux though. Have other people in this list tried sys-fs/shake? I am |
22 |
afraid of it because it is ~x86 and would operate on important areas |
23 |
of my filesystem. |
24 |
4) file access is slower if there are too many files in the directory. |
25 |
Consider cleaning up your system (such as by wiping out software you |
26 |
never use, and unmerging software you rarely use after creating a |
27 |
package of it with quickpkg) |
28 |
5) Use lighter-weight software such as Xfce (yeah, obvious). |