LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   The Beuty of Linux (https://www.linuxquestions.org/questions/linux-software-2/the-beuty-of-linux-215115/)

raxxal 08-08-2004 06:27 PM

The Beuty of Linux
 
I just bought a new hard drive, the salesperson told me that it has 8MB buffer, etc. Well I did not see the hard drive being labeled that way, however, the sales man said don't worry,if it is not what I teling you, just bring it back, and you get your money back. I came home Installed the new HD, run hdparm -i /dev/hda, and bingo! I have all the info about my new hard drive, including the buffer size:

Model=WDC WD800JD-00HKA0, FwRev=13.03G13, SerialNo=WD-WMA
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=58
BuffType=unknown, BuffSize=8192kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=156301488
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2
AdvancedPM=no WriteCache=enabled
Drive conforms to: device does not report version:

* signifies the current active mode

Really don't know how to check these information in Windows, let's say XP.
The whole idea of getting this new hard drive is because I am on the road to switch to Linux for ever and ever! As I read somewhere on the net, Linux is fun!

win32sux 08-08-2004 06:44 PM

awesome! how's it running??

hdparm -tT /dev/hda

raxxal 08-08-2004 07:02 PM

Quote:

Originally posted by win32sux
awesome! how's it running??

hdparm -tT /dev/hda

hdparm -tT reports the following:

/dev/hda:
Timing buffer-cache reads: 1696 MB in 2.00 seconds = 846.01 MB/sec
Timing buffered disk reads: 178 MB in 3.02 seconds = 58.87 MB/sec

Raxxal

win32sux 08-08-2004 07:17 PM

that's pretty cool... mine sucks:

bash-2.05b# hdparm -tT /dev/hda

/dev/hda:
Timing buffer-cache reads: 636 MB in 2.00 seconds = 318.00 MB/sec
Timing buffered disk reads: 80 MB in 3.07 seconds = 26.06 MB/sec


LOL

of course it's only a 2mb cache and the disk spins at 5400rpm

Tinkster 08-08-2004 07:31 PM

Code:

Hitachi TravelStar, 40GB, 5.400rpm, 8MB cache
[root@diggn:~]$ hdparm -tT /dev/hda

/dev/hda:
 Timing buffer-cache reads:  1336 MB in  2.00 seconds = 668.00 MB/sec
 Timing buffered disk reads:  106 MB in  3.00 seconds =  36.30 MB/sec

Cheers ;)

J.W. 08-08-2004 07:43 PM

FWIW - Model=WDC WD800JB, 8Mg cache

/dev/hda:
Timing buffer-cache reads: 984 MB in 2.00 seconds = 491.83 MB/sec
Timing buffered disk reads: 112 MB in 3.03 seconds = 36.93 MB/sec

-- J.W.

amosf 08-08-2004 07:51 PM

That's the SATA version, right? I just got the same drive in IDE wd800jb and it's nice, but nowhere near as fast on IDE on my old box :) I should have got a SATA card and the SATA drive and aimed for the future I suppose...

raxxal 08-08-2004 09:15 PM

Quote:

Originally posted by amosf
That's the SATA version, right? I just got the same drive in IDE wd800jb and it's nice, but nowhere near as fast on IDE on my old box :) I should have got a SATA card and the SATA drive and aimed for the future I suppose...
Yeap! We got the same hard drive. So far I am am a happy camper.

Raxxal

amosf 08-08-2004 09:47 PM

Yep it's nice, even on my slow old box... Tho I forgot to install the VIA DMA module in the last kernel compile and it was really slow for a bit until I realised. Now with dma it's running nice. I didn't even really look what I was getting. I just needed an 80 gig drive and quick and that was what the guy had cheap (tho the seagate was a bit cheaper maybe but went for the WD). Didn't really know anything about the buffer or speed til I started playing with it...

I do like linux and the info. I ran hdparm and realized I wasn't getting dma and couldn't switch it on... So that let me track down the screw up with the kernel compile... :)


All times are GMT -5. The time now is 12:27 PM.