Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
hdparm -t Hmm.. suspicious results ???
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
crimson
Guru
Guru


Joined: 27 Apr 2002
Posts: 430
Location: Cedar Rapids, IA

PostPosted: Fri Mar 07, 2003 9:21 am    Post subject: hdparm -t Hmm.. suspicious results ??? Reply with quote

This is odd, I wanted to test my hard drive performance, and hdparm -t /dev/hda used to work, but now this is what I get :

/dev/hda:
Timing buffered disk reads: -84 MB in 0.00 seconds = -inf kB/sec
Hmm.. suspicious results: probably not enough free memory for a proper test.

I've got 186 / 256 MB free.. I don't quite understand. I've also tested it with the default PIO mode, and DMA off, and it still didn't work. Maybe this has to do with a new version of hdparm, because when I first installed Gentoo this worked. I can still set my transfer speeds, I just can't test them.

Also, this doesn't happen for /dev/hdb.
Back to top
View user's profile Send private message
Danrol
n00b
n00b


Joined: 23 Feb 2003
Posts: 23

PostPosted: Fri Mar 07, 2003 11:31 am    Post subject: Reply with quote

I get the same problem. Its only happened recently after an emerge -u world

If I specify the partition, e.g. 'hdparm -tT /dev/hda1' it works, if I just use /dev/hda it doesn't......
Back to top
View user's profile Send private message
crimson
Guru
Guru


Joined: 27 Apr 2002
Posts: 430
Location: Cedar Rapids, IA

PostPosted: Fri Mar 07, 2003 8:44 pm    Post subject: Reply with quote

I tried specifying /dev/hda1 and I still get the error :
/dev/hda1:
Timing buffer-cache reads: -106 MB in 0.00 seconds = -inf kB/sec
Timing buffered disk reads: -53 MB in 0.00 seconds = -inf kB/sec
Hmm.. suspicious results: probably not enough free memory for a proper test.
Back to top
View user's profile Send private message
TwistedKestrel
n00b
n00b


Joined: 02 Feb 2003
Posts: 29

PostPosted: Sat Mar 08, 2003 8:07 pm    Post subject: Reply with quote

This probably doesn't help, but my box has 32MB of RAM ... it swaps out just to call hdparm, I think :P ... but it provides coherent results.

hdparm -Tt /dev/hda

/dev/hda1:
Timing buffer-cache reads: 128 MB in 2.65 seconds = 48.30 MB/sec
Timing buffered disk reads: 64 MB in 7.92 seconds = 8.08 MB/sec
Back to top
View user's profile Send private message
Delphiki
Guru
Guru


Joined: 04 Oct 2002
Posts: 337
Location: A2

PostPosted: Sat Mar 08, 2003 10:33 pm    Post subject: Reply with quote

/dev/hda:
Timing buffer-cache reads: -3008 MB in 0.00 seconds = -inf kB/sec
Timing buffered disk reads: -1504 MB in 0.00 seconds = -inf kB/sec
Hmm.. suspicious results: probably not enough free memory for a proper test.

This is almost certainly a bug in the latest hdparm.. I'm running version 5.3-r2. What about everyone else?
_________________
Excellent..
Back to top
View user's profile Send private message
crimson
Guru
Guru


Joined: 27 Apr 2002
Posts: 430
Location: Cedar Rapids, IA

PostPosted: Sun Mar 09, 2003 1:31 am    Post subject: Reply with quote

I'm running hdparm 5.3-r2 as well. You're right, it must be a version bug, because before when I had the old version it worked fine, and I haven't made any significant changes since then.
Back to top
View user's profile Send private message
sa
Guru
Guru


Joined: 10 Jun 2002
Posts: 450

PostPosted: Sun Mar 09, 2003 3:42 am    Post subject: Reply with quote

ha!
mines slower than yours (or something)
/dev/hda:
Timing buffer-cache reads: -3458 MB in 0.00 seconds = -inf kB/sec
Timing buffered disk reads: -1729 MB in 0.00 seconds = -inf kB/sec

there is a bug report here.
https://bugs.gentoo.org/show_bug.cgi?id=16822
Back to top
View user's profile Send private message
crimson
Guru
Guru


Joined: 27 Apr 2002
Posts: 430
Location: Cedar Rapids, IA

PostPosted: Sun Mar 09, 2003 9:51 am    Post subject: Reply with quote

lol, well wouldn't you consider it to be really fast? I mean absolute value says negative MB is the same as positive MB. So basically this wonderful (buggy) new version of hdparm lets us know our hard drives are way too fast for it to even calculate. By the way, I unmerged and got the old version (5.2) and it worked just fine, so consider that.
Back to top
View user's profile Send private message
di1bert
l33t
l33t


Joined: 16 May 2002
Posts: 963
Location: Oslo, Norway

PostPosted: Fri Mar 14, 2003 11:00 pm    Post subject: it is a dodgy version I say.. Reply with quote

Yup...5.3 is a buggy release. I just emerged 5.2-r2 and it's working again.
Spoke to a friend of mine who uses a different fellow (don't feel sorry for him, it's his own choice) and he had the same thing.

Wonder if a bug report has been filed ?

Bye Bye :)

di1bert (~matt)
_________________
choff.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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