View previous topic :: View next topic |
Author |
Message |
greg32 Apprentice
Joined: 26 Mar 2003 Posts: 259 Location: Australia
|
Posted: Tue Jul 29, 2003 10:38 pm Post subject: hdparm results?? |
|
|
Do these hdparm results look right to you? Especially the cache reads:
Both drives are Western Digital 80gig drives , 7200rpm and *mb cache.
localhost root # hdparm -tT /dev/hda
/dev/hda:
Timing buffer-cache reads: 2764 MB in 2.00 seconds = 1380.14 MB/sec
Timing buffered disk reads: 138 MB in 3.01 seconds = 45.87 MB/sec
localhost root # hdparm -tT /dev/hdc
/dev/hdc:
Timing buffer-cache reads: 2768 MB in 2.00 seconds = 1384.21 MB/sec
Timing buffered disk reads: 140 MB in 3.02 seconds = 46.29 MB/sec
localhost root # |
|
Back to top |
|
|
Verteron Apprentice
Joined: 23 Jul 2003 Posts: 189
|
Posted: Tue Jul 29, 2003 10:43 pm Post subject: |
|
|
Looks very good for an IDE driver to me. There's a big thread on this, let me find it for you a second... |
|
Back to top |
|
|
Verteron Apprentice
Joined: 23 Jul 2003 Posts: 189
|
Posted: Tue Jul 29, 2003 10:47 pm Post subject: |
|
|
Have a look here: The Filesystem Of Choice. Most people seem to be getting b/w 40-45MB/s with all the correct DMA/IO options turned on.
FWIW, your buffer cache reads look much better than a lot I've seen, maybe you've got a WD special edition with the 8MB cache? Nice disk... |
|
Back to top |
|
|
greg32 Apprentice
Joined: 26 Mar 2003 Posts: 259 Location: Australia
|
Posted: Tue Jul 29, 2003 11:05 pm Post subject: |
|
|
yeah, so disk reads are about normal, but I would think the cache reads must be inaccurate!?? They are a little high. The drive does have an 8mb cache, but I still think hdparm is inacurate.
I am running reiserfs btw.
greg |
|
Back to top |
|
|
idl Retired Dev
Joined: 24 Dec 2002 Posts: 1728 Location: Nottingham, UK
|
Posted: Tue Jul 29, 2003 11:43 pm Post subject: |
|
|
I have the same drive (Caviar) and my buffer cache reads are no way near yours. I've never seen reads that high!
Code: | /dev/hdb:
Timing buffer-cache reads: 996 MB in 2.01 seconds = 496.34 MB/sec
Timing buffered disk reads: 138 MB in 3.01 seconds = 45.85 MB/sec |
|
|
Back to top |
|
|
sindre Guru
Joined: 01 Nov 2002 Posts: 315 Location: Norway
|
Posted: Wed Jul 30, 2003 12:15 am Post subject: |
|
|
this is on a seagate baracuda v5 IDE 7200rpm 80GB 2MB cache disk.
Code: | /dev/hda:
Timing buffer-cache reads: 2024 MB in 2.00 seconds = 1012.00 MB/sec |
|
|
Back to top |
|
|
Moled l33t
Joined: 09 Jul 2003 Posts: 635
|
Posted: Wed Jul 30, 2003 12:48 am Post subject: |
|
|
highest mine have done is 1066.67 mb/sec and ~56mb/sec |
|
Back to top |
|
|
Ian l33t
Joined: 28 Oct 2002 Posts: 834 Location: Somerville, MA
|
Posted: Wed Jul 30, 2003 4:07 am Post subject: |
|
|
i'm getting horrible readings with 2.6.0-test1...
hdparm -tT /dev/hdb
Code: |
/dev/hdb:
Timing buffer-cache reads: 480 MB in 2.00 seconds = 239.92 MB/sec
Timing buffered disk reads: 16 MB in 3.17 seconds = 5.04 MB/sec
|
settings...
Code: |
hdparm /dev/hdb
/dev/hdb:
multcount = 16 (on)
IO_support = 3 (32-bit w/sync)
unmaskirq = 1 (on)
using_dma = 0 (off)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 13872/16/63, sectors = 80043264, start = 0
|
i'm not sure if this is just the new kernel, but i'll wait until 2.6 stable comes out before i start digging into the cause (mostly because i'm lazy and have some other stuff to do ). |
|
Back to top |
|
|
Moled l33t
Joined: 09 Jul 2003 Posts: 635
|
Posted: Wed Jul 30, 2003 4:21 am Post subject: |
|
|
using_dma = 0 (off)
O_o |
|
Back to top |
|
|
Moled l33t
Joined: 09 Jul 2003 Posts: 635
|
Posted: Wed Jul 30, 2003 10:01 am Post subject: |
|
|
\o/
my box fixed itself,
/dev/sda:
Timing buffer-cache reads: 3892 MB in 2.00 seconds = 1946.00 MB/sec
Timing buffered disk reads: 164 MB in 3.00 seconds = 54.67 MB/sec |
|
Back to top |
|
|
Ian l33t
Joined: 28 Oct 2002 Posts: 834 Location: Somerville, MA
|
Posted: Wed Jul 30, 2003 10:42 pm Post subject: |
|
|
I think there's definitely something wrong with 2.6-pre series, as I can't use hdparm to enabled DMA. Either that, or there's a new kernel option...
I'll try playing with the kernel, see what I come up with. |
|
Back to top |
|
|
nike n00b
Joined: 30 Jul 2003 Posts: 12
|
Posted: Wed Jul 30, 2003 10:57 pm Post subject: |
|
|
whap parameters shoud i give hdparm to get best perfomance
hdparm ?
now i have:
/dev/hda7:
Timing buffer-cache reads: 128 MB in 1.08 seconds =118.52 MB/sec
Timing buffered disk reads: 64 MB in 3.18 seconds = 20.13 MB/sec |
|
Back to top |
|
|
nike n00b
Joined: 30 Jul 2003 Posts: 12
|
Posted: Wed Jul 30, 2003 11:00 pm Post subject: |
|
|
forgoten ----
/dev/hda7:
multcount = 16 (on)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 2434/255/63, sectors = 3694887, start = 35407323 |
|
Back to top |
|
|
sindre Guru
Joined: 01 Nov 2002 Posts: 315 Location: Norway
|
Posted: Thu Jul 31, 2003 12:12 am Post subject: |
|
|
I have no problems with 2.6, remember to compile for your chipset. |
|
Back to top |
|
|
Mr. Hahn Apprentice
Joined: 05 Apr 2003 Posts: 250
|
Posted: Thu Jul 31, 2003 2:49 am Post subject: |
|
|
hdparm -tT /dev/sda
/dev/sda:
Timing buffer-cache reads: 128 MB in 0.30 seconds =426.67 MB/sec
Timing buffered disk reads: 64 MB in 0.91 seconds = 70.33 MB/sec
My disk read is great but my cache isn't as high as some of you. Could this be because hdparm is mainly for ide disks, or because I have my write caching off? How would I turn it on> (don't say hdparm -W because that is only for ide disks). |
|
Back to top |
|
|
Ian l33t
Joined: 28 Oct 2002 Posts: 834 Location: Somerville, MA
|
Posted: Thu Jul 31, 2003 3:04 am Post subject: |
|
|
sindre wrote: | I have no problems with 2.6, remember to compile for your chipset. |
i thought it would be something like that, except that in 2.4 i don't think i ever had that problem (although i didn't really try hdparm with 2.4 much).
in any case, how can i determine my chipset, without opening the case? i have an AMD Athlon-Tbird, 800 Mhz, if that helps anyone. I'd like to fix this, so I can have it all working, so yeah, any help is appreciated . |
|
Back to top |
|
|
madchaz l33t
Joined: 01 Jul 2003 Posts: 993 Location: Quebec, Canada
|
Posted: Thu Jul 31, 2003 3:08 am Post subject: |
|
|
anyone as a nice doc to get on how to configure it to get best performance?
Right now I have some performance probs and I'm suspecting it's because I didn't configure this. _________________ Someone asked me once if I suffered from mental illness. I told him I enjoyed every second of it.
www.madchaz.com A small candle of a website. As my lab specs on it. |
|
Back to top |
|
|
Qweasda Apprentice
Joined: 04 Feb 2003 Posts: 152
|
Posted: Thu Jul 31, 2003 5:41 am Post subject: |
|
|
I'd like a good configure howto as well...here' my VERY bad results!:
# hdparm -tT /dev/hda
/dev/hda:
Timing buffer-cache reads: 696 MB in 2.00 seconds = 348.00 MB/sec
Timing buffered disk reads: 8 MB in 3.37 seconds = 2.37 MB/sec
# hdparm /dev/hda
/dev/hda:
multcount = 16 (on)
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 0 (off)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 4865/255/63, sectors = 78165360, start = 0
I see some of you with readahead 256 and stuff, looks like I need to configure this |
|
Back to top |
|
|
TerminalAddict Tux's lil' helper
Joined: 13 Feb 2003 Posts: 119
|
Posted: Thu Jul 31, 2003 7:30 am Post subject: |
|
|
Code: |
trinity root # hdparm -tT /dev/hda
/dev/hda:
Timing buffer-cache reads: 636 MB in 2.00 seconds = 318.00 MB/sec
Timing buffered disk reads: 18 MB in 3.12 seconds = 5.77 MB/sec
trinity root #
|
Code: |
trinity root # hdparm -d1 /dev/hda
/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)
trinity root #
|
there are no options in bios to turn on/off DMA but my bios reports udma66 when booting.
I have this board http://www.giga-byte.com/MotherBoard/Products/Products_GA-6VXD7.htm
and a brand new seagate 120gig with 8mb cache
here's a bit of my kernel config
Code: |
x x [*] PCI IDE chipset support x x
x x [*] Generic PCI IDE Chipset Support x x
x x [*] Sharing PCI IDE interrupts support x x
x x [*] Generic PCI bus-master DMA support x x
x x [ ] Boot off-board chipsets first support x x
x x [ ] Force enable legacy 2.0.X HOSTS to use DMA x x
x x [*] Use PCI DMA by default when available x x
x x [ ] Enable DMA only for disks x x
x x [ ] ATA Work(s) In Progress (EXPERIMENTAL) x x
|
can anybody help? |
|
Back to top |
|
|
Qweasda Apprentice
Joined: 04 Feb 2003 Posts: 152
|
Posted: Fri Aug 01, 2003 8:30 am Post subject: |
|
|
That's my problem, only I have an ECS K7AMA.
When the kernel is loading at boot it says "DMA disabled (bios)" but I see nothing in bios! |
|
Back to top |
|
|
|