1 |
Recently I did hdparm on my Ultra5 box with one standard hdd on-board |
2 |
(hde), one ATA66 hdd pluged on an IDE expansion card (hde). Result given |
3 |
below. |
4 |
|
5 |
One question: why all of my other boxes (all my boxes using default |
6 |
value for hdds) shows "buffered cached read" speed, but this box |
7 |
"O_DIRECT cached read"? |
8 |
|
9 |
I googled around and tracked some mailing list arguements, it seems |
10 |
O_DIRECT is just another mode than "buffered", which is very close in |
11 |
performance (said so by a hacker on year 2001), and I could just keep it |
12 |
as is. But I just put this question on the list in case I am wrong and |
13 |
could get knowledge from experts ^_^ |
14 |
|
15 |
sappho zhangweiwu # hdparm -tT /dev/hde /dev/hda |
16 |
|
17 |
/dev/hde: |
18 |
Timing O_DIRECT cached reads: 576 MB in 2.00 seconds = 288.00 MB/sec |
19 |
Timing O_DIRECT disk reads: 66 MB in 3.04 seconds = 21.71 MB/sec |
20 |
|
21 |
/dev/hda: |
22 |
Timing O_DIRECT cached reads: 576 MB in 2.00 seconds = 288.00 MB/sec |
23 |
Timing O_DIRECT disk reads: 20 MB in 3.30 seconds = 6.06 MB/sec |
24 |
|
25 |
|
26 |
|
27 |
|
28 |
-- |
29 |
gentoo-sparc@g.o mailing list |