Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
What is your speed of disks in Gentoo
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
DZello
n00b
n00b


Joined: 09 Feb 2003
Posts: 46
Location: Québec, Canada

PostPosted: Tue Apr 19, 2005 7:01 pm    Post subject: Reply with quote

Raising the PCI clock speed when overclocking can decrease your hard disk performance. I've got this problem with an onboard Promise IDE controller.
_________________
PC (Gentoo): Athlon 64 @2.5 Ghz, A8V, 1 GB ram, ATI 9600XT, 160 + 250 GB HDD
Laptop (ArchLinux): IBM Thinkpad R40, Intel Centrino 1.4 GHz, 512 MB ram, 40 GB HDD
Kernel: 2.6.19-Beyond2
Linux apostle since 1998
Back to top
View user's profile Send private message
Rumil
Tux's lil' helper
Tux's lil' helper


Joined: 08 Dec 2003
Posts: 108
Location: Krakow, Poland

PostPosted: Wed Apr 20, 2005 6:39 am    Post subject: Reply with quote

DZello wrote:
Raising the PCI clock speed when overclocking can decrease your hard disk performance. I've got this problem with an onboard Promise IDE controller.

Yes, but most of modern mainboards has locked frequency of pci bus (I mean it's independent form fsb). Or at least nforce has it..... not so sure about VIA(acually I think they just have different pci/fsb dividers), pretty sure all modern intel has it as well.
Back to top
View user's profile Send private message
Lucky B
Apprentice
Apprentice


Joined: 01 Apr 2005
Posts: 235
Location: Florida

PostPosted: Wed Apr 20, 2005 7:21 am    Post subject: Reply with quote

Here's my system so you can compare

Code:

beast ~ # hdparm -Tt /dev/hda

/dev/hda:
 Timing cached reads:   3520 MB in  2.00 seconds = 1759.39 MB/sec
 Timing buffered disk reads:  156 MB in  3.01 seconds =  51.82 MB/sec
beast ~ # hdparm -Tt /dev/hdb

/dev/hdb:
 Timing cached reads:   3320 MB in  2.00 seconds = 1659.42 MB/sec
 Timing buffered disk reads:  122 MB in  3.02 seconds =  40.44 MB/sec
beast ~ # hdparm -Tt /dev/hda

/dev/hda:
 Timing cached reads:   3448 MB in  2.00 seconds = 1723.40 MB/sec
 Timing buffered disk reads:  158 MB in  3.01 seconds =  52.45 MB/sec
beast ~ # hdparm -Tt /dev/hdb

/dev/hdb:
 Timing cached reads:   3496 MB in  2.00 seconds = 1745.65 MB/sec
 Timing buffered disk reads:  134 MB in  3.02 seconds =  44.39 MB/sec


default scheduler

Here's my tests:

Code:

beast home # cat /etc/mtab (snipped for clarity)
/dev/hdb6 / ext3 rw,noatime 0 0
/dev/hdb7 /usr reiserfs rw,noatime,notail 0 0
/dev/hdb8 /var reiserfs rw,noatime,notail 0 0
/dev/hdb9 /opt reiserfs rw,noatime,notail 0 0
/dev/hdb12 /home reiserfs rw,noatime,notail 0 0
/dev/hdb10 /boot ext3 rw,noatime 0 0
/dev/hda5 /mnt/win_C ntfs rw,noexec,nosuid,nodev,umask=0007,gid=100 0 0
/dev/hda2 /mnt/win_D ntfs rw,noexec,nosuid,nodev 0 0


Code:

beast temp # pwd
/home/temp
beast temp # ls -lak /mnt/win_D/pagefile.sys
-rw-------  1 root root 1572864 Apr 10 09:24 /mnt/win_D/pagefile.sys
beast temp # time cp /mnt/win_D/pagefile.sys .

real    1m16.224s
user    0m0.026s
sys     0m7.200s

20 MB/s from NTFS to reiserfs on different drives (same channel)

Code:

beast temp # time cp pagefile.sys pagewhat.sys

real    1m54.987s
user    0m0.013s
sys     0m5.620s


13.6 MB/s from reiser to itself (but note less system time used)

Code:
beast temp # time cp pagewhat.sys /var/

real    1m41.232s
user    0m0.021s
sys     0m5.204s

15.5 MB/s from reiser to reiser on the same drive different partitions


unfortunatelly I do not have an ext or reiser partition on /dev/hda

EDIT: Interestingly enough, check this out:

Code:

beast temp # time cat pagefile.sys > pagewhat.sys

real  1m49.922s
user  0m0.008s
sys   0m4.889s


this was after I deleted the files.
Back to top
View user's profile Send private message
Ard Righ
Guru
Guru


Joined: 24 Jun 2002
Posts: 337
Location: Wellington, NZ

PostPosted: Wed Apr 20, 2005 8:49 am    Post subject: Reply with quote

Does hdparm support SATA drives yet ? I cannot enable hdparm, because it doesn't like my two WD Raptor SATA drives
_________________
Answer a simple question with a simple answer!
Back to top
View user's profile Send private message
zieloo
Veteran
Veteran


Joined: 28 Mar 2004
Posts: 1337

PostPosted: Wed Apr 20, 2005 9:02 am    Post subject: Reply with quote

Ard Righ wrote:
Does hdparm support SATA drives yet ? I cannot enable hdparm, because it doesn't like my two WD Raptor SATA drives


:? :o Not really:
Code:
# /sbin/hdparm -cd /dev/sda

/dev/sda


Code:
# /sbin/hdparm -i /dev/sda

/dev/sda:
 HDIO_GET_IDENTITY failed: Invalid argument
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Wed Apr 20, 2005 10:59 am    Post subject: Reply with quote

Code:
/dev/hdc:
 Timing cached reads:   1320 MB in  2.00 seconds = 658.45 MB/sec
 Timing buffered disk reads:  160 MB in  3.02 seconds =  53.02 MB/sec

I have a Seagate Barracuda 80G ATA "100MB/s" drive which I think has a 2M buffer.

last night I copied 3.9G from reiserfs to ext3 on the same disk , it took just under 20min.

If my calcs are correct that makes about 3.3MB/s , :cry:

As for hdparm and SATA , does that even make sense? If the kernel module for the sata card / onboard controller uses DMA it may help but I dont see how you can have a _serial_ interface disk using DMA unless you have serial-DDR memory!!
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
Rumil
Tux's lil' helper
Tux's lil' helper


Joined: 08 Dec 2003
Posts: 108
Location: Krakow, Poland

PostPosted: Wed Apr 20, 2005 11:30 am    Post subject: Reply with quote

Gentree wrote:

As for hdparm and SATA , does that even make sense? If the kernel module for the sata card / onboard controller uses DMA it may help but I dont see how you can have a _serial_ interface disk using DMA unless you have serial-DDR memory!!

I don't quite get what you mean here: what have DDR memory to do with hard drive's DMA??

And there is no need for hdparm to support manually setting DMA for sata drives - it was possible for IDE becouse there wasn't one standard of detecting if hd supports DMA, but SATA standard defines one.
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Wed Apr 20, 2005 12:08 pm    Post subject: Reply with quote

ext3 ->R4
Code:
bash-3.00#time cp -a * /tmpd

real    3m21.093s
user    0m0.564s
sys     0m19.085s

umount /tmpd && mkfs.reiser4 /dev/hdc8 && mount /tmpd



reiserfs->R4
Code:
bash-3.00#time cp -a * /tmpd

real    3m16.486s
user    0m0.573s
sys     0m19.083s

du -h /tmpd
835M    /tmpd


About 4.25 MB/s

now as 'tuned' ext3
reiserfs->ext3
Code:
 mkfs.ext3 -b 1024 -O dir_index /dev/hdc8


Code:

real    6m31.590s
user    0m0.492s
sys     0m16.802s

du -h /tmpd
849M    /tmpd


8O

It took so long on ext3 I thought I had done some dumb mistake.

Frankly I'm surprised, I did not expect much diff either way.

I dont want to get into over-worn discussions about the merits/defects of R4 here. I've used it for over a year and it works for me. But on the basis of what I see above you may want to test it (on non-critical data if you will) and see if speeds things.

I'd like to see some comparative data for NTFS, shame kernel support is still only ro.

Maybe I'll find time to reinstall my broken win2k ...
8)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86


Last edited by Gentree on Wed Apr 20, 2005 12:31 pm; edited 1 time in total
Back to top
View user's profile Send private message
zieloo
Veteran
Veteran


Joined: 28 Mar 2004
Posts: 1337

PostPosted: Wed Apr 20, 2005 12:13 pm    Post subject: Reply with quote

So he should be happy with his 7 or 8mb/sec...
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Wed Apr 20, 2005 12:41 pm    Post subject: Reply with quote

Rumil wrote:
Gentree wrote:

As for hdparm and SATA , does that even make sense? If the kernel module for the sata card / onboard controller uses DMA it may help but I dont see how you can have a _serial_ interface disk using DMA unless you have serial-DDR memory!!

I don't quite get what you mean here: what have DDR memory to do with hard drive's DMA??

And there is no need for hdparm to support manually setting DMA for sata drives - it was possible for IDE becouse there wasn't one standard of detecting if hd supports DMA, but SATA standard defines one.



DMA = direct memory access . The memory is accessed via a _parallel_ bus . Selecting " Use PCI DMA by default when available " will enable it for the ATA/ATAPI modules .

It's down to the SATA driver whether the SATA controller uses DMA, but the disk cannot access memory directly: it is a serial interface device. 8)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Wed Apr 20, 2005 12:47 pm    Post subject: Reply with quote

@ Lucky B

Quote:
20 MB/s from NTFS to reiserfs on different drives (same channel)


Code:

beast temp # time cp pagefile.sys pagewhat.sys

real 1m54.987s
user 0m0.013s
sys 0m5.620s


What disks do you have. SATA? Also are you using captive to get rw access to NTFS.?

Thx 8)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Wed Apr 20, 2005 12:59 pm    Post subject: Reply with quote

zieloo wrote:
So he should be happy with his 7 or 8mb/sec...


Happy , no ; less worried maybe.

me's getting worried tho' !

100MB/s ATA disks do not give that on bulk read/write tx , they dont claim to and I have seen hdparm timings in the 50MB/s range as often quoted.

[EDIT]From Seagate.com: Avg. Sustained Transfer Rate (Mbytes/sec) >58[/EDIT]

Also a copy is a read, a mem wr, a mem read and a disk write , so even with fast mem you need to divide by more than 2 again.

What I dont like is now seeing _an order of magnitude_ lower on file tx.

I am currently looking into a marked drop in system responciveness under heavy compile load , this may be a clue.
:?
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86


Last edited by Gentree on Wed Apr 20, 2005 11:19 pm; edited 1 time in total
Back to top
View user's profile Send private message
Lucky B
Apprentice
Apprentice


Joined: 01 Apr 2005
Posts: 235
Location: Florida

PostPosted: Wed Apr 20, 2005 3:18 pm    Post subject: Reply with quote

Gentree wrote:
@ Lucky B

Quote:
20 MB/s from NTFS to reiserfs on different drives (same channel)


Code:

beast temp # time cp pagefile.sys pagewhat.sys

real 1m54.987s
user 0m0.013s
sys 0m5.620s


What disks do you have. SATA? Also are you using captive to get rw access to NTFS.?

Thx 8)


Kernel driver, I only read from the drive but mount it rw. And btw, you quoted the wrong times =P
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Wed Apr 20, 2005 4:22 pm    Post subject: Reply with quote

Thanks,


Is there any reason you mount NTFS rw? Last time I looked the kernel ntfs support could only write if the file was exactly the same size!

In any case if you use linux ntfs it does not mean much (ie anything at all) as a comparison of read or write performance of NTFS.

What HD do you have , its odd that you have about the same for buffer reads as my Barracuda but nearly 4x faster on cached reads.

8)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
Lucky B
Apprentice
Apprentice


Joined: 01 Apr 2005
Posts: 235
Location: Florida

PostPosted: Wed Apr 20, 2005 5:48 pm    Post subject: Reply with quote

Gentree wrote:
Is there any reason you mount NTFS rw? Last time I looked the kernel ntfs support could only write if the file was exactly the same size!


I find myself tweaking 0's and 1's in config files for sticks and giggles.

Gentree wrote:

In any case if you use linux ntfs it does not mean much (ie anything at all) as a comparison of read or write performance of NTFS.


I wanted a partition on a different drive, although it's not on a different channel. I have hdtach'd that drive and I only get 30MB/s max, which I think it's a bit deeper check than hdparm -t (or T, the non-buffered one).

Gentree wrote:

What HD do you have , its odd that you have about the same for buffer reads as my Barracuda but nearly 4x faster on cached reads.


I have a pair of 200GB Western Digitals (PATA) with 8MB buffers. I used to have them hardware stripping raided until I killed my array with grub at 4am in the morning (grub + not paying attention + highpoint rocketraid + trying to fix it at 6am = 320GB of data (read: unlicensed anime, mpaa lawsuit worthy movies and licensed mp3s :twisted: ) down the drain)

The performance difference might be from hdparm tweaking.

If I could ssh to my box (I dun know what the heck I broke last night with my firewall) I'd paste my hdparm specs.

EDIT: ohh and in case you're interested my rocketraid peaked at 70MB/s average in hdtach.
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Wed Apr 20, 2005 7:00 pm    Post subject: Reply with quote

hdtach ? I'd like something better than hdparm to assess hd's.

[EDIT] Well I found hdtach, a windows only freeware , but it seems not to do much more than hdparm from what I see. Only does sequencial reads from the disk.

I have not tried it since I dont have a working win installation atm.

Why do you say it is "deeper"?
Thx 8)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
Lucky B
Apprentice
Apprentice


Joined: 01 Apr 2005
Posts: 235
Location: Florida

PostPosted: Fri Apr 22, 2005 8:10 pm    Post subject: Reply with quote

I say it's deeper because it takes into account random reads through the the hard drive (measuring speed as you fall away from the spindle) not just random accesses.

Also, about your tests, I don't think they're 100% accurate or very fair to compare to mine. Copying many files is not always sequential in nature so you're basically copying sparse files, this puts undue emphasis on the filesystem hierarchy more than the drive interface itself. (I know pagefile.sys is one big chunk because I created it that way :D)

I will do further tests tonight by repartitioning my FAT32 partitions to include an NTFS, ext3, reiser, r4, xfs and fat32 partition in each drive so that I can test all 36 combinations and report on it.

EDIT: actually I think there are 42 combinations total but I am not gonna do some of em =P
_________________
We are Dyslexic of Borg. Fusistance is retile. Your ass will be laminated.
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Sun Apr 24, 2005 9:01 am    Post subject: Reply with quote

OK, if you are sure hdtach does random reads I stand corrected , like I said , I did not actually install it because I dont have any win* at the moment. I had read that it only did sequencial reads but that may no have been reliable.

As for my test not being as "fair" as yours , I think we both indicated clearly what we were doing so both are as valid but tested different situations.

Your test on a big file will make it sequencial and will get a "best case" result for the fs under test. Which is fine and valid as such but something I hardy ever will do in reality.

What is more important to me is a slightly more "realistic use" test which is why I chose to time something I actually did .

The capability of a fs to create and delete a large number if variously sized (often small) files is an important factor in assessing what fs I am going to use.

Some fs will perform very well on big files but equally poorly on a "many small file" copy/move and vice versa.

What would interest me is to see some timings from a native NTFS copy under windoze and see how it compares to a similar copy under Linux. This would have to be stopwatch timings rather that the completely unrealistic data speeds shown by windows during copying.

BTW I think to test all poss combination of 6 filing systems you will have 6x5x4x3x2 tests to do . Good luck.

I dont think fat32 is very interesting since it is an non-journalling fs so you could poss divide you workload by a factor of 6 by dropping it.

The only real use I see for fat32 is as a common rw partition for a dual boot system, in which case it is the only choise so no need to compare timings.


Anyway good luck and I look forward to seeing your results.
8)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
Lucky B
Apprentice
Apprentice


Joined: 01 Apr 2005
Posts: 235
Location: Florida

PostPosted: Sun Apr 24, 2005 5:14 pm    Post subject: Reply with quote

actually it's 6x6x2 6x6 matrix for one drive then compare using two drives. And I can probably script it using nested loops.

I haven't done the test yet because I accidentally neutered my partitions when adding a new logical partition. Quick fix but didn't feel like testing anything afterwards =P
_________________
We are Dyslexic of Borg. Fusistance is retile. Your ass will be laminated.
Back to top
View user's profile Send private message
superboy2k
n00b
n00b


Joined: 30 Jan 2004
Posts: 17

PostPosted: Sun Apr 24, 2005 10:36 pm    Post subject: Pci suck Reply with quote

I've the same problem!! I tried everything change all hardware (mb, nic)
The pc is a 440Bx board, 256Mb, Celeron 450, ultrastard 10k disk:

/dev/sda:
Timing cached reads: 480 MB in 2.01 seconds = 238.25 MB/sec
Timing buffered disk reads: 104 MB in 3.03 seconds = 34.35 MB/sec

this is ok, but if i make a file transfert or a network one, throughput is ~5 Mb/s, why?
In win i get 10Mb/s of network transfer and more in filesystem one.

it seams like pci performances sucks, i don't know what is it! i've tried 2.6.11 gentoo and mm...
Back to top
View user's profile Send private message
kornhs4
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jun 2004
Posts: 86
Location: Austria

PostPosted: Wed Apr 27, 2005 11:11 am    Post subject: Asus 3800N Reply with quote

I also had a disk-speed on hda approx. 5Mb/s. After starting udma mode and rc-update add hdparm boot I get:

/dev/hda:
Timing cached reads: 2280 MB in 2.00 seconds = 1138.47 MB/sec
Timing buffered disk reads: 82 MB in 3.04 seconds = 26.98 MB/sec



/dev/hda:

Model=IC25N060ATMR04-0, FwRev=MO3OAD4A, SerialNo=MRG31YKCJPKB4H
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=DualPortCache, BuffSize=7884kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=117210240
IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 *udma2
AdvancedPM=yes: mode=0x80 (128) WriteCache=enabled
Drive conforms to: ATA/ATAPI-6 T13 1410D revision 3a:


/etc/conf.d/hdparm:

# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/files/hdparm-conf.d.3,v 1.2 2004/09/06 02:17:08 swegener Exp $

# You can either set hdparm arguments for each drive using hdX_args,
# discX_args, cdromX_args and genericX_args, e.g.
#
hda_args="-d1 -c1 -u1 -m16 -X66"
# disc1_args="-d1"
cdrom0_args="-d1 -c1 -u1 -X66"

# or, you can set hdparm options for ALL drives using all_args, e.g.
#
#all_args="-d1 -c1 -u1 -m16 -x66"




My System is a Asus Laptop A3800N, Centrino 1,6Ghz...
_________________
_________________
Life would be easier
if i had the source code
Back to top
View user's profile Send private message
opentaka
l33t
l33t


Joined: 18 Feb 2005
Posts: 840
Location: Japan

PostPosted: Wed Apr 27, 2005 11:53 am    Post subject: Reply with quote

Code:

linux root # hdparm -i /dev/hda

/dev/hda:

 Model=HDS722580VLAT20, FwRev=V32OA60A, SerialNo=VNR20AC2D9EK8S
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=52
 BuffType=DualPortCache, BuffSize=1794kB, MaxMultSect=16, MultSect=16
 CurCHS=4047/16/255, CurSects=16511760, LBA=yes, LBAsects=160836480
 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
 AdvancedPM=yes: disabled (255) WriteCache=enabled
 Drive conforms to: ATA/ATAPI-6 T13 1410D revision 3a:

 * signifies the current active mode



Code:

linux root # hdparm -Tt /dev/hda

/dev/hda:
 Timing cached reads:   3404 MB in  2.00 seconds = 1701.41 MB/sec
 Timing buffered disk reads:  174 MB in  3.03 seconds =  57.51 MB/sec



Is this good or bad??
average?
_________________
"Being defeated is often a temporary condition. Giving up is what makes it permanent" - Marilyn vos Savant
Back to top
View user's profile Send private message
superboy2k
n00b
n00b


Joined: 30 Jan 2004
Posts: 17

PostPosted: Wed Apr 27, 2005 1:58 pm    Post subject: Reply with quote

antiwmac wrote:


Code:

linux root # hdparm -Tt /dev/hda

/dev/hda:
 Timing cached reads:   3404 MB in  2.00 seconds = 1701.41 MB/sec
 Timing buffered disk reads:  174 MB in  3.03 seconds =  57.51 MB/sec



Is this good or bad??
average?


is good, but try to transfer a file in the same hd, i get only 5mb/s also if hdparms tells me 33 mb/s
Back to top
View user's profile Send private message
Zyne
Guru
Guru


Joined: 08 Jun 2004
Posts: 334

PostPosted: Wed Apr 27, 2005 2:40 pm    Post subject: Reply with quote

zieloo wrote:
Ard Righ wrote:
Does hdparm support SATA drives yet ? I cannot enable hdparm, because it doesn't like my two WD Raptor SATA drives


:? :o Not really:



hmm what are you talking about?

Code:

# hdparm -itT /dev/sdc

/dev/sdc:

 Model=WDC WD740GD-00FL31.0, FwRev=31.0, SerialNo=
 Config={ }
 RawCHS=9039/255/63, TrkSize=0, SectSize=0, ECCbytes=0
 BuffType=unknown, BuffSize=0kB, MaxMultSect=0
 (maybe): CurCHS=9039/255/63, CurSects=0, LBA=no
 IORDY=no
 PIO modes:  pio0
 AdvancedPM=no

 * signifies the current active mode

 Timing cached reads:   3116 MB in  2.00 seconds = 1555.90 MB/sec
 Timing buffered disk reads:  194 MB in  3.00 seconds =  64.59 MB/sec


Code:

# emerge -pv hdparm

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sys-apps/hdparm-5.7-r1  0 kB




edit: just to make this post not completely useless, I did a little timing too...

Code:

/mnt/windows $ time cp dvdr.img /mnt/data/test.img

real    1m45.865s
user    0m0.235s
sys     0m13.226s


Code:

/mnt/data $ du test.img
 4592552   test.img


which comes down to: 4485 MB in 106 seconds = 42.3 MB/sec from ntfs to ext2
maybe I should also add some more info about the hd's themselves...

/mnt/windows is on /dev/hda1 (source disk) made by IBM
Code:

# hdparm -i /dev/hda

/dev/hda:

 Model=IC35L040AVVA07-0, FwRev=VA2OA52A, SerialNo=VNC212A2C3VV8B
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=52
 BuffType=DualPortCache, BuffSize=1863kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=80418240
 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
 AdvancedPM=yes: disabled (255) WriteCache=enabled
 Drive conforms to: ATA/ATAPI-5 T13 1321D revision 1:

 * signifies the current active mode


/mnt/data is on /dev/sdb which is a sata drive on the nforce4 serial ata controller (Maxtor 160GB SATA)
Code:

# hdparm -i /dev/sdb

/dev/sdb:

 Model=Maxtor 6Y160M0  YAR5, FwRev=YAR5, SerialNo=
 Config={ }
 RawCHS=19929/255/63, TrkSize=0, SectSize=0, ECCbytes=0
 BuffType=unknown, BuffSize=0kB, MaxMultSect=0
 (maybe): CurCHS=19929/255/63, CurSects=0, LBA=no
 IORDY=no
 PIO modes:  pio0
 AdvancedPM=no

 * signifies the current active mode



appearantly I'm not getting any info on the dma status of the sata disks though, so my first comment was wrong...
sorry about that...
Back to top
View user's profile Send private message
#pfo
n00b
n00b


Joined: 25 Apr 2005
Posts: 16
Location: vienna

PostPosted: Wed Apr 27, 2005 5:49 pm    Post subject: Reply with quote

Code:

# hdparm -itT /dev/sdc

/dev/sdc:

 Model=WDC WD740GD-00FL31.0, FwRev=31.0, SerialNo=
 Config={ }
 RawCHS=9039/255/63, TrkSize=0, SectSize=0, ECCbytes=0
 BuffType=unknown, BuffSize=0kB, MaxMultSect=0
 (maybe): CurCHS=9039/255/63, CurSects=0, LBA=no
 IORDY=no
 PIO modes:  pio0
 AdvancedPM=no

 * signifies the current active mode

 Timing cached reads:   3116 MB in  2.00 seconds = 1555.90 MB/sec
 Timing buffered disk reads:  194 MB in  3.00 seconds =  64.59 MB/sec




it's intresting that u can issue a `hdparm -i` on a sata drive:

i get this results with my WD740GD (same disc as the one benchmarked above):
Code:
eistee pfo # hdparm -itT /dev/sda

/dev/sda:
 HDIO_GET_IDENTITY failed: Inappropriate ioctl for device
 Timing cached reads:   3684 MB in  2.00 seconds = 2042.28 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device
 Timing buffered disk reads:  206 MB in  3.02 seconds =  68.15 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device
eistee pfo #


Code:

eistee # emerge -pv hdparm

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sys-apps/hdparm-5.9  0 kB
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
Goto page Previous  1, 2
Page 2 of 2

 
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