Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
hdparm results??
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
greg32
Apprentice
Apprentice


Joined: 26 Mar 2003
Posts: 259
Location: Australia

PostPosted: Tue Jul 29, 2003 10:38 pm    Post subject: hdparm results?? Reply with quote

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
View user's profile Send private message
Verteron
Apprentice
Apprentice


Joined: 23 Jul 2003
Posts: 189

PostPosted: Tue Jul 29, 2003 10:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
Verteron
Apprentice
Apprentice


Joined: 23 Jul 2003
Posts: 189

PostPosted: Tue Jul 29, 2003 10:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
greg32
Apprentice
Apprentice


Joined: 26 Mar 2003
Posts: 259
Location: Australia

PostPosted: Tue Jul 29, 2003 11:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
idl
Retired Dev
Retired Dev


Joined: 24 Dec 2002
Posts: 1728
Location: Nottingham, UK

PostPosted: Tue Jul 29, 2003 11:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
sindre
Guru
Guru


Joined: 01 Nov 2002
Posts: 315
Location: Norway

PostPosted: Wed Jul 30, 2003 12:15 am    Post subject: Reply with quote

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
View user's profile Send private message
Moled
l33t
l33t


Joined: 09 Jul 2003
Posts: 635

PostPosted: Wed Jul 30, 2003 12:48 am    Post subject: Reply with quote

highest mine have done is 1066.67 mb/sec and ~56mb/sec
Back to top
View user's profile Send private message
Ian
l33t
l33t


Joined: 28 Oct 2002
Posts: 834
Location: Somerville, MA

PostPosted: Wed Jul 30, 2003 4:07 am    Post subject: Reply with quote

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
View user's profile Send private message
Moled
l33t
l33t


Joined: 09 Jul 2003
Posts: 635

PostPosted: Wed Jul 30, 2003 4:21 am    Post subject: Reply with quote

using_dma = 0 (off)
O_o
Back to top
View user's profile Send private message
Moled
l33t
l33t


Joined: 09 Jul 2003
Posts: 635

PostPosted: Wed Jul 30, 2003 10:01 am    Post subject: Reply with quote

\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
View user's profile Send private message
Ian
l33t
l33t


Joined: 28 Oct 2002
Posts: 834
Location: Somerville, MA

PostPosted: Wed Jul 30, 2003 10:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
nike
n00b
n00b


Joined: 30 Jul 2003
Posts: 12

PostPosted: Wed Jul 30, 2003 10:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
nike
n00b
n00b


Joined: 30 Jul 2003
Posts: 12

PostPosted: Wed Jul 30, 2003 11:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
sindre
Guru
Guru


Joined: 01 Nov 2002
Posts: 315
Location: Norway

PostPosted: Thu Jul 31, 2003 12:12 am    Post subject: Reply with quote

I have no problems with 2.6, remember to compile for your chipset.
Back to top
View user's profile Send private message
Mr. Hahn
Apprentice
Apprentice


Joined: 05 Apr 2003
Posts: 250

PostPosted: Thu Jul 31, 2003 2:49 am    Post subject: Reply with quote

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
View user's profile Send private message
Ian
l33t
l33t


Joined: 28 Oct 2002
Posts: 834
Location: Somerville, MA

PostPosted: Thu Jul 31, 2003 3:04 am    Post subject: Reply with quote

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
View user's profile Send private message
madchaz
l33t
l33t


Joined: 01 Jul 2003
Posts: 993
Location: Quebec, Canada

PostPosted: Thu Jul 31, 2003 3:08 am    Post subject: Reply with quote

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
View user's profile Send private message
Qweasda
Apprentice
Apprentice


Joined: 04 Feb 2003
Posts: 152

PostPosted: Thu Jul 31, 2003 5:41 am    Post subject: Reply with quote

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
View user's profile Send private message
TerminalAddict
Tux's lil' helper
Tux's lil' helper


Joined: 13 Feb 2003
Posts: 119

PostPosted: Thu Jul 31, 2003 7:30 am    Post subject: Reply with quote

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
View user's profile Send private message
Qweasda
Apprentice
Apprentice


Joined: 04 Feb 2003
Posts: 152

PostPosted: Fri Aug 01, 2003 8:30 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum