View previous topic :: View next topic |
Author |
Message |
gillan_cz n00b
Joined: 02 May 2004 Posts: 51 Location: Czech Republic
|
Posted: Mon Apr 18, 2005 11:01 am Post subject: What is your speed of disks in Gentoo |
|
|
I would like to know how high is your speed of yours disks in Gentoo. I have average speed about 10MB/s when I copy form ide0 to ide1 ... I think that is VERY BAD, becaouse I had speed about 40MB/s on NTFS. Now I have ReiserFS 3. I tried ext3, ext2, XFS, but it was +/- same speed.
Can anyone advise me, how to increase disk speed at least to 25MB/s? _________________ ASUS A7N8X Deluxe|Athlon XP 2500+|512MB RAM|Genius Wonder III|2.6.7-gentoo-r16|KDE 3.4.0 |
|
Back to top |
|
|
Cagnulein l33t
Joined: 18 Sep 2003 Posts: 861 Location: Modena, Italy
|
Posted: Mon Apr 18, 2005 11:08 am Post subject: |
|
|
paste me your Quote: | hdparm -i /dev/hdx |
|
|
Back to top |
|
|
Hackeron Guru
Joined: 01 Nov 2002 Posts: 307
|
Posted: Mon Apr 18, 2005 11:09 am Post subject: Re: What is your speed of disks in Gentoo |
|
|
gillan_cz wrote: | I would like to know how high is your speed of yours disks in Gentoo. I have average speed about 10MB/s when I copy form ide0 to ide1 ... I think that is VERY BAD, becaouse I had speed about 40MB/s on NTFS. Now I have ReiserFS 3. I tried ext3, ext2, XFS, but it was +/- same speed.
Can anyone advise me, how to increase disk speed at least to 25MB/s? | Heh, I have some benchmarks that show quite the opposite, still, lets see some figures to backup your claims |
|
Back to top |
|
|
gillan_cz n00b
Joined: 02 May 2004 Posts: 51 Location: Czech Republic
|
Posted: Mon Apr 18, 2005 11:10 am Post subject: |
|
|
/dev/hda:
Code: |
bash-2.05b# hdparm -i /dev/hda
/dev/hda:
Model=IC35L120AVV207-1, FwRev=V24OA66A, SerialNo=VNVD01G4CPWA5X
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=52
BuffType=DualPortCache, BuffSize=7965kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=241254720
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
|
/dev/hdb:
Code: |
/dev/hdb:
Model=ST340823A, FwRev=3.32, SerialNo=7EF0VMSQ
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=512kB, MaxMultSect=16, MultSect=16
CurCHS=4047/16/255, CurSects=16511760, LBA=yes, LBAsects=78165360
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=no WriteCache=enabled
Drive conforms to: device does not report version: 1 2 3 4
* signifies the current active mode
|
_________________ ASUS A7N8X Deluxe|Athlon XP 2500+|512MB RAM|Genius Wonder III|2.6.7-gentoo-r16|KDE 3.4.0 |
|
Back to top |
|
|
gillan_cz n00b
Joined: 02 May 2004 Posts: 51 Location: Czech Republic
|
Posted: Mon Apr 18, 2005 11:15 am Post subject: Re: What is your speed of disks in Gentoo |
|
|
Hackeron wrote: | gillan_cz wrote: | I would like to know how high is your speed of yours disks in Gentoo. I have average speed about 10MB/s when I copy form ide0 to ide1 ... I think that is VERY BAD, becaouse I had speed about 40MB/s on NTFS. Now I have ReiserFS 3. I tried ext3, ext2, XFS, but it was +/- same speed.
Can anyone advise me, how to increase disk speed at least to 25MB/s? | Heh, I have some benchmarks that show quite the opposite, still, lets see some figures to backup your claims |
It starts at 12Mb/s but than speed fall down...
http://www.gillanuv.net/all/diskspeed.png
this two dirs are on independent disks _________________ ASUS A7N8X Deluxe|Athlon XP 2500+|512MB RAM|Genius Wonder III|2.6.7-gentoo-r16|KDE 3.4.0 |
|
Back to top |
|
|
Hackeron Guru
Joined: 01 Nov 2002 Posts: 307
|
Posted: Mon Apr 18, 2005 11:23 am Post subject: Re: What is your speed of disks in Gentoo |
|
|
gillan_cz wrote: | Hackeron wrote: | gillan_cz wrote: | I would like to know how high is your speed of yours disks in Gentoo. I have average speed about 10MB/s when I copy form ide0 to ide1 ... I think that is VERY BAD, becaouse I had speed about 40MB/s on NTFS. Now I have ReiserFS 3. I tried ext3, ext2, XFS, but it was +/- same speed.
Can anyone advise me, how to increase disk speed at least to 25MB/s? | Heh, I have some benchmarks that show quite the opposite, still, lets see some figures to backup your claims |
It starts at 12Mb/s but than speed fall down...
http://www.gillanuv.net/all/diskspeed.png
this two dirs are on independent disks | The filesystems on both disks are reiser3? |
|
Back to top |
|
|
gillan_cz n00b
Joined: 02 May 2004 Posts: 51 Location: Czech Republic
|
Posted: Mon Apr 18, 2005 11:25 am Post subject: Re: What is your speed of disks in Gentoo |
|
|
Hackeron wrote: | gillan_cz wrote: | Hackeron wrote: | gillan_cz wrote: | I would like to know how high is your speed of yours disks in Gentoo. I have average speed about 10MB/s when I copy form ide0 to ide1 ... I think that is VERY BAD, becaouse I had speed about 40MB/s on NTFS. Now I have ReiserFS 3. I tried ext3, ext2, XFS, but it was +/- same speed.
Can anyone advise me, how to increase disk speed at least to 25MB/s? | Heh, I have some benchmarks that show quite the opposite, still, lets see some figures to backup your claims |
It starts at 12Mb/s but than speed fall down...
http://www.gillanuv.net/all/diskspeed.png
this two dirs are on independent disks | The filesystems on both disks are reiser3? |
/data/tmp Reiser3
/mnt/tmp ext3
... but it is same if i copy reiser->reiser or reiser->ext3 ( +/- few MB/s) _________________ ASUS A7N8X Deluxe|Athlon XP 2500+|512MB RAM|Genius Wonder III|2.6.7-gentoo-r16|KDE 3.4.0 |
|
Back to top |
|
|
zieloo Veteran
Joined: 28 Mar 2004 Posts: 1337
|
Posted: Mon Apr 18, 2005 11:28 am Post subject: |
|
|
I guess DMA is enabled?
Code: | /sbin/hdparm -c -d /dev/hda /dev/hdb |
Also post the output of hdparm with -Tt options. Real transfer may differ depending on the system and IO load.
When I'm copying a really big file (separate drives, SATA) I hardly ever get tranfer rates > 20Mb/sek. |
|
Back to top |
|
|
gillan_cz n00b
Joined: 02 May 2004 Posts: 51 Location: Czech Republic
|
Posted: Mon Apr 18, 2005 11:32 am Post subject: |
|
|
zieloo wrote: | I guess DMA is enabled?
Code: | /sbin/hdparm -c -d /dev/hda /dev/hdb |
Also post the output of hdparm with -Tt options. Real transfer may differ depending on the system and IO load.
When I'm copying a really big file (separate drives, SATA) I hardly ever get tranfer rates > 20Mb/sek. |
I have DMA enabled of course.
Code: | bash-2.05b# /sbin/hdparm -c -d /dev/hda /dev/hdb
/dev/hda:
IO_support = 1 (32-bit)
using_dma = 1 (on)
/dev/hdb:
IO_support = 1 (32-bit)
using_dma = 1 (on)
bash-2.05b# |
_________________ ASUS A7N8X Deluxe|Athlon XP 2500+|512MB RAM|Genius Wonder III|2.6.7-gentoo-r16|KDE 3.4.0 |
|
Back to top |
|
|
zieloo Veteran
Joined: 28 Mar 2004 Posts: 1337
|
Posted: Mon Apr 18, 2005 11:52 am Post subject: |
|
|
As I said, this doesn't really mean there's sth wrong with your drive. (i would like to see hdparm -Tt, too).
If you had transfers < 5MB/sek, that would be a problem.
[url]gra00000.republika.pl/foty/io.jpg[/url]
Is THAT much for a sata drive? |
|
Back to top |
|
|
gillan_cz n00b
Joined: 02 May 2004 Posts: 51 Location: Czech Republic
|
Posted: Mon Apr 18, 2005 11:57 am Post subject: |
|
|
Code: | bash-2.05b# hdparm -Tt /dev/hdb
/dev/hdb:
Timing cached reads: 1644 MB in 2.00 seconds = 821.30 MB/sec
Timing buffered disk reads: 78 MB in 3.06 seconds = 25.48 MB/sec
bash-2.05b# hdparm -Tt /dev/hda
/dev/hda:
Timing cached reads: 1652 MB in 2.00 seconds = 825.71 MB/sec
Timing buffered disk reads: 152 MB in 3.00 seconds = 50.61 MB/sec
|
It is only reading speed...... maybe writting is problem :-/
Copying is really slow... average about 10MB/s ... if I watch time needed for copying large file manualy it goes to 10MB/s
i wish i have at least 25MB/s too... 50MB/s will be better _________________ ASUS A7N8X Deluxe|Athlon XP 2500+|512MB RAM|Genius Wonder III|2.6.7-gentoo-r16|KDE 3.4.0 |
|
Back to top |
|
|
Hackeron Guru
Joined: 01 Nov 2002 Posts: 307
|
Posted: Mon Apr 18, 2005 12:02 pm Post subject: |
|
|
gillan_cz wrote: | Code: | bash-2.05b# hdparm -Tt /dev/hdb
/dev/hdb:
Timing cached reads: 1644 MB in 2.00 seconds = 821.30 MB/sec
Timing buffered disk reads: 78 MB in 3.06 seconds = 25.48 MB/sec
bash-2.05b# hdparm -Tt /dev/hda
/dev/hda:
Timing cached reads: 1652 MB in 2.00 seconds = 825.71 MB/sec
Timing buffered disk reads: 152 MB in 3.00 seconds = 50.61 MB/sec
|
It is only reading speed...... maybe writting is problem :-/
Copying is really slow... average about 10MB/s ... if I watch time needed for copying large file manualy it goes to 10MB/s
i wish i have at least 25MB/s too... 50MB/s will be better | Why is 1 drive reporting 25MB/sec on hdpram -Tt? -- that is very slow. All my drives are about 55MB/sec...
Last edited by Hackeron on Mon Apr 18, 2005 12:08 pm; edited 1 time in total |
|
Back to top |
|
|
zieloo Veteran
Joined: 28 Mar 2004 Posts: 1337
|
Posted: Mon Apr 18, 2005 12:03 pm Post subject: |
|
|
hdb has only a 512Kb-buffer so when writing data from one disk to another (this's what you try to do, right?) may be slown down by that. |
|
Back to top |
|
|
gillan_cz n00b
Joined: 02 May 2004 Posts: 51 Location: Czech Republic
|
Posted: Mon Apr 18, 2005 12:04 pm Post subject: |
|
|
Quote: | Why is 1 drive reporting 25MB/sec on hdpram -Tt? -- that is very slow. All my drives are above 55MB/sec... |
it's 4years old 40GB disk with 512kB cache... that is maybe problem. But copying at 25MB/s is dream...... _________________ ASUS A7N8X Deluxe|Athlon XP 2500+|512MB RAM|Genius Wonder III|2.6.7-gentoo-r16|KDE 3.4.0 |
|
Back to top |
|
|
gillan_cz n00b
Joined: 02 May 2004 Posts: 51 Location: Czech Republic
|
Posted: Mon Apr 18, 2005 12:06 pm Post subject: |
|
|
zieloo wrote: | hdb has only a 512Kb-buffer so when writing data from one disk to another (this's what you try to do, right?) may be slown down by that. |
Yes, but 10MB/s is slow even with 512kb buffer. I had at NTFS 25MB/s and higher speed.
It is possible that kernel doesnt support my kernel very well? I have nforce2. _________________ ASUS A7N8X Deluxe|Athlon XP 2500+|512MB RAM|Genius Wonder III|2.6.7-gentoo-r16|KDE 3.4.0 |
|
Back to top |
|
|
Hackeron Guru
Joined: 01 Nov 2002 Posts: 307
|
Posted: Mon Apr 18, 2005 12:14 pm Post subject: |
|
|
gillan_cz wrote: | zieloo wrote: | hdb has only a 512Kb-buffer so when writing data from one disk to another (this's what you try to do, right?) may be slown down by that. |
Yes, but 10MB/s is slow even with 512kb buffer. I had at NTFS 25MB/s and higher speed.
It is possible that kernel doesnt support my kernel very well? I have nforce2. | Are you absolutely sure you got 25MB/sec on NTFS? -- Try copying a large file and timing how long it takes using your watch (ignore what you see on the screen). Windows often overestimates transfer rates.
Also, nforce2 support is really good on linux. |
|
Back to top |
|
|
zieloo Veteran
Joined: 28 Mar 2004 Posts: 1337
|
Posted: Mon Apr 18, 2005 12:14 pm Post subject: |
|
|
Ok - older WDC-20Gb. Saving data on that disc. Reading from Samsung SATA 80Gb, f*^%^* fast.
Transfer <10Mb/sek., average writing speed=8-9Mb/sek... |
|
Back to top |
|
|
gillan_cz n00b
Joined: 02 May 2004 Posts: 51 Location: Czech Republic
|
Posted: Mon Apr 18, 2005 12:21 pm Post subject: |
|
|
Quote: | Are you absolutely sure you got 25MB/sec on NTFS? -- Try copying a large file and timing how long it takes using your watch (ignore what you see on the screen). Windows often overestimates transfer rates.
Also, nforce2 support is really good on linux. |
I don't have NTFS anymore. I'am sure that was about 25Mb/s ...
Screenshot I posted is when i copied to faster disk and 7MB/s for IBM 180GXP with 8MB cache is very low. _________________ ASUS A7N8X Deluxe|Athlon XP 2500+|512MB RAM|Genius Wonder III|2.6.7-gentoo-r16|KDE 3.4.0 |
|
Back to top |
|
|
zieloo Veteran
Joined: 28 Mar 2004 Posts: 1337
|
Posted: Mon Apr 18, 2005 12:31 pm Post subject: |
|
|
A guy asked why his disk under Win-you-know-what writes files 80MB/sec and under Linux only at 50Mb/sec.
You've proven the writing speed under Linux is unsatisfactory, ok. Can you send us a link or whatever showing the mentioned 25mb/sec? Or maybe that was 25Mbit/sec?
What about copying files and saving them on the same drive? How fast is that? |
|
Back to top |
|
|
gillan_cz n00b
Joined: 02 May 2004 Posts: 51 Location: Czech Republic
|
Posted: Mon Apr 18, 2005 12:44 pm Post subject: |
|
|
zieloo wrote: | A guy asked why his disk under Win-you-know-what writes files 80MB/sec and under Linux only at 50Mb/sec.
You've proven the writing speed under Linux is unsatisfactory, ok. Can you send us a link or whatever showing the mentioned 25mb/sec? Or maybe that was 25Mbit/sec?
What about copying files and saving them on the same drive? How fast is that? |
Copying files is on the same drive (IBM 180GXP, 120GB, 8MB cache) is about 13MB/s. I watched it manualy, with clock.
I don't say that linux is bad, it has slow FSs, I am asking what I have wrong, that my drives are so slow. _________________ ASUS A7N8X Deluxe|Athlon XP 2500+|512MB RAM|Genius Wonder III|2.6.7-gentoo-r16|KDE 3.4.0 |
|
Back to top |
|
|
zieloo Veteran
Joined: 28 Mar 2004 Posts: 1337
|
Posted: Mon Apr 18, 2005 1:00 pm Post subject: |
|
|
I got 11,74MB/sec on a ATA drive and 23MB/sec on a SATA. Also half-manually counted.
The numbers you're getting are not that unsual...
Well... You change the IO scheduler, choosing the right one may have a great impact on writing speed. |
|
Back to top |
|
|
gillan_cz n00b
Joined: 02 May 2004 Posts: 51 Location: Czech Republic
|
Posted: Mon Apr 18, 2005 1:08 pm Post subject: |
|
|
zieloo wrote: | I got 11,74MB/sec on a ATA drive and 23MB/sec on a SATA. Also half-manually counted.
The numbers you're getting are not that unsual...
Well... You change the IO scheduler, choosing the right one may have a great impact on writing speed. |
How can I change that, please? _________________ ASUS A7N8X Deluxe|Athlon XP 2500+|512MB RAM|Genius Wonder III|2.6.7-gentoo-r16|KDE 3.4.0 |
|
Back to top |
|
|
gillan_cz n00b
Joined: 02 May 2004 Posts: 51 Location: Czech Republic
|
Posted: Mon Apr 18, 2005 1:14 pm Post subject: |
|
|
I did some benchmarks manualy counted:
HDA - IBM 180GPX (120GB)
HDB - some old seagate shit 5200rpms, 40GB
Code: |
hdb (reiser3) -> hda (reiser3) 7,78MB/s <-- from slow to fast
hda5 (reiser3) -> hdb5 (reiser3) 13,9MB/s
hda (reiser3) -> hdb (reiser3) 15,3MB/s
hda (reiser3) -> hdb (ext3) 19,9MB/s <-- interesting from fast to slow
hda5 (reiser3) -> hda4 (reiser3) 13,6MB/s
hdb (ext3) -> hda (reiser3) 8,4MB/s
hdb (ext3) -> hdb (reiser3) 8,6MB/s
hdb2 (ext3) -> hdb2 (ext3) 10,4MB/s
|
_________________ ASUS A7N8X Deluxe|Athlon XP 2500+|512MB RAM|Genius Wonder III|2.6.7-gentoo-r16|KDE 3.4.0 |
|
Back to top |
|
|
zieloo Veteran
Joined: 28 Mar 2004 Posts: 1337
|
Posted: Mon Apr 18, 2005 1:20 pm Post subject: |
|
|
reiserfs an ext3 caches the data. Try to rerun the same benchmark and you'll see an noticeable improvement.
IO schedulers are chosen in the kernel. Go to:Device Drivers ->Block devices -> IO Schedulers.
So difficult to look for it by yourself? |
|
Back to top |
|
|
gillan_cz n00b
Joined: 02 May 2004 Posts: 51 Location: Czech Republic
|
Posted: Mon Apr 18, 2005 1:22 pm Post subject: |
|
|
zieloo wrote: | reiserfs an ext3 caches the data. Try to rerun the same benchmark and you'll see an noticeable improvement.
IO schedulers are chosen in the kernel. Go to:Device Drivers ->Block devices -> IO Schedulers.
So difficult to look for it by yourself? |
I copied allways another file. I know that it cahes data.
I never heard about IO schedulers so I don't know where to look for that Now I know, I try to experiment with that. Thank you for advice. _________________ ASUS A7N8X Deluxe|Athlon XP 2500+|512MB RAM|Genius Wonder III|2.6.7-gentoo-r16|KDE 3.4.0 |
|
Back to top |
|
|
|