1 |
> The hdparm optimizations, the CFQ scheduler and maybe low latency |
2 |
> desktop in the kernel are the best way to make your desktop useable |
3 |
> under heavy disk usage.These are my hdparm settings: |
4 |
> |
5 |
> /dev/hda: |
6 |
> multcount = 16 (on) |
7 |
> IO_support = 1 (32-bit) |
8 |
> unmaskirq = 1 (on) |
9 |
> using_dma = 1 (on) |
10 |
> keepsettings = 0 (off) |
11 |
> readonly = 0 (off) |
12 |
> readahead = 256 (on) |
13 |
> geometry = 26310/16/63, sectors = 26520480, start = 0 |
14 |
> |
15 |
> cat /sys/block/hda/queue/scheduler |
16 |
> noop [cfq] |
17 |
> |
18 |
> Linux c-68-85-77-239 2.6.20-gentoo #4 PREEMPT Tue Feb 6 17:03:56 EST |
19 |
> 2007 i686 AMD Athlon(tm) XP 2000+ AuthenticAMD GNU/Linux |
20 |
|
21 |
Now i am in front of my PC. I already use the cfq scheduler and have |
22 |
low latency desktop enabled. I looked at the output of hdparm -I |
23 |
/dev/sda and all seems to be ok by default. |
24 |
|
25 |
> And check you have HZ set to 1000. |
26 |
> |
27 |
> $ grep HZ /usr/src/linux/.config |
28 |
> # CONFIG_HZ_100 is not set |
29 |
> # CONFIG_HZ_250 is not set |
30 |
> CONFIG_HZ_1000=y |
31 |
> CONFIG_HZ=1000 |
32 |
|
33 |
Thanks i will check if this helps, i have just set 250 HZ for timer |
34 |
frequency. |
35 |
|
36 |
> Could your problem be similar to this: |
37 |
> |
38 |
> http://marc.theaimsgroup.com/?l=gentoo-user&m=114252338111258&w=2 |
39 |
> |
40 |
> |
41 |
> Tom |
42 |
|
43 |
Maybe, today the gentoo-sources-2.6.19-r5 become stable so i will try |
44 |
the new kernel. I am also waiting for kernel 2.6.20 as it has a setting |
45 |
for the core 2 duo in processor settings. Maybe i try the testing |
46 |
version of it. |
47 |
Also the new gcc compilers will support the core 2 duo directly, but i |
48 |
think it will take some time till 4.2 or even 4.3 will become stable. |
49 |
|
50 |
I show up here again and tell you if something improves the performance |
51 |
of my system. |
52 |
|
53 |
Regards |
54 |
|
55 |
Daniel |
56 |
-- |
57 |
gentoo-user@g.o mailing list |