View previous topic :: View next topic |
Author |
Message |
sobers_2002 Veteran


Joined: 16 Mar 2004 Posts: 1128
|
Posted: Mon Oct 10, 2005 10:10 am Post subject: hard drive is giving pathetic performance |
|
|
Hi
i don't understand why this is happening, but this seagate drive is performing REAL badly. here are some of the outputs/settings
Code: | hdparm -t /dev/hdb
/dev/hdb:
Timing buffered disk reads: 6 MB in 3.16 seconds = 1.90 MB/sec
# hdparm -i /dev/hdb
/dev/hdb:
Model=ST340810A, FwRev=3.39, SerialNo=6FB0XR0Y
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=unknown, BuffSize=2048kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, 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=yes: unknown setting WriteCache=enabled
Drive conforms to: device does not report version:
* signifies the current active mode
|
now everything seems fine here, and the smart drive test says no problems either. The other drive /dev/hda is also a seagate drive and it gives 55.15 MB/sec!!
some1 plz tell me what could be wrong!!
thankx
Saurabh _________________ Pdict - dockable dictionary client for linux
FREE97WIN: Use this code on Dreamhost and you get $97 off !! |
|
Back to top |
|
 |
Cintra Advocate


Joined: 03 Apr 2004 Posts: 2111 Location: Norway
|
Posted: Mon Oct 10, 2005 10:29 am Post subject: |
|
|
and hdparm -d /dev/hdb ?
do the individual partitions (hdparm -t /dev/hdbx) show the same poor performance?
mvh _________________ "I am not bound to please thee with my answers" W.S. |
|
Back to top |
|
 |
sobers_2002 Veteran


Joined: 16 Mar 2004 Posts: 1128
|
Posted: Mon Oct 10, 2005 12:27 pm Post subject: |
|
|
i posted both the things above, dma is enabled and is in udma5 mode
and the other drive is giving 55mb/s performance _________________ Pdict - dockable dictionary client for linux
FREE97WIN: Use this code on Dreamhost and you get $97 off !! |
|
Back to top |
|
 |
widan Veteran


Joined: 07 Jun 2005 Posts: 1512 Location: Paris, France
|
Posted: Mon Oct 10, 2005 6:54 pm Post subject: |
|
|
sobers_2002 wrote: | i posted both the things above, dma is enabled and is in udma5 mode |
I really doubt DMA is in use given the speed. udma5 in "hdparm -i" is not enough... Check that DMA is really enabled with "hdparm /dev/hdb", and looking at the using_dma line. |
|
Back to top |
|
 |
Janne Pikkarainen Veteran


Joined: 29 Jul 2003 Posts: 1143 Location: Helsinki, Finland
|
Posted: Mon Oct 10, 2005 7:18 pm Post subject: |
|
|
I would also check the physical IDE cable. Also maybe some other peripheral connected to same bus is causing some kind of interference? Not that it should nowadays happen... _________________ Yes, I'm the man. Now it's your turn to decide if I meant "Yes, I'm the male." or "Yes, I am the Unix Manual Page.". |
|
Back to top |
|
 |
sobers_2002 Veteran


Joined: 16 Mar 2004 Posts: 1128
|
Posted: Tue Oct 11, 2005 2:43 am Post subject: |
|
|
widan wrote: | sobers_2002 wrote: | i posted both the things above, dma is enabled and is in udma5 mode |
I really doubt DMA is in use given the speed. udma5 in "hdparm -i" is not enough... Check that DMA is really enabled with "hdparm /dev/hdb", and looking at the using_dma line. |
Quote: | hdparm /dev/hdb
/dev/hdb:
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 = 77545/16/63, sectors = 78165360, start = 0
|
so the dma is enabled.
@ Janne : i'll try putting it on a separate cable and try, but it seems unlikely as both drives are of seagate and the other one is performing pretty well. _________________ Pdict - dockable dictionary client for linux
FREE97WIN: Use this code on Dreamhost and you get $97 off !! |
|
Back to top |
|
 |
UBek n00b


Joined: 07 Aug 2005 Posts: 56
|
Posted: Tue Oct 11, 2005 9:53 am Post subject: the same problem |
|
|
i had the same problem. my seagate transfer rate is 20-30 mb and i dont know what is wrong , i think that there is badly written for seagate's i replayed a post from mamy people whit this same proble .... ZONK!!! |
|
Back to top |
|
 |
Cintra Advocate


Joined: 03 Apr 2004 Posts: 2111 Location: Norway
|
Posted: Tue Oct 11, 2005 6:31 pm Post subject: |
|
|
sobers_2002 wrote: | i posted both the things above, dma is enabled and is in udma5 mode
and the other drive is giving 55mb/s performance |
If you read my post carefully you would see I said 'partitions', by which I mean hdb3, hdb7, etc, e.g.
Code: | hdparm -t /dev/hdb3 |
A previous thread I was involved in had a poor hdb result because a single partition was pulling things down... if you have something similar it might give you a lead! _________________ "I am not bound to please thee with my answers" W.S. |
|
Back to top |
|
 |
Janne Pikkarainen Veteran


Joined: 29 Jul 2003 Posts: 1143 Location: Helsinki, Finland
|
Posted: Tue Oct 11, 2005 6:38 pm Post subject: |
|
|
Outer tracks of the disk platters gives better performance than the inner ones, thus performance depends where the partition is physically located. Speed difference between outer and inner tracks should not be very high, though. _________________ Yes, I'm the man. Now it's your turn to decide if I meant "Yes, I'm the male." or "Yes, I am the Unix Manual Page.". |
|
Back to top |
|
 |
sobers_2002 Veteran


Joined: 16 Mar 2004 Posts: 1128
|
|
Back to top |
|
 |
Gentree Watchman


Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Wed Oct 12, 2005 10:46 pm Post subject: |
|
|
sobers_2002 wrote: | there is a single partition on the disk.. so now what doido?? |
RTFM?
man hdparm wrote: |
-i Display the identification info that was obtained from the drive
at boot time, if available. This is a feature of modern IDE
drives, and may not be supported by older devices. The data
returned may or may not be current, depending on activity since
booting the system. However, the current multiple sector mode
count is always shown. For a more detailed interpretation of
the identification info, refer to AT Attachment Interface for
Disk Drives (ANSI ASC X3T9.2 working draft, revision 4a, April
19/93).
-I Request identification info directly from the drive, which is
displayed in a new expanded format with considerably more detail
than with the older -i flag.
|
It is possible that something is configured to set DMA for one drive and not the other. Get the _current_ info with -I .
Also check kernel for "use dma when available" , cant give it you exactly off my head but you'll find it.
Here's my 120G Barracuda IDE 8M cache for comparison.
Code: | bash-3.00#hdparm -tT /dev/hda
/dev/hda:
Timing cached reads: 1308 MB in 2.00 seconds = 653.77 MB/sec
Timing buffered disk reads: 160 MB in 3.02 seconds = 52.99 MB/sec
bash-3.00#hdparm -tT /dev/hda
/dev/hda:
Timing cached reads: 1304 MB in 2.00 seconds = 651.12 MB/sec
Timing buffered disk reads: 164 MB in 3.00 seconds = 54.58 MB/sec
bash-3.00#hdparm -tT /dev/hda1
/dev/hda1:
Timing cached reads: 1316 MB in 2.00 seconds = 657.44 MB/sec
Timing buffered disk reads: 156 MB in 3.00 seconds = 51.96 MB/sec
bash-3.00#hdparm -tT /dev/hda9
/dev/hda9:
Timing cached reads: 1308 MB in 2.00 seconds = 652.47 MB/sec
Timing buffered disk reads: 146 MB in 3.00 seconds = 48.66 MB/sec
bash-3.00#hdparm -tT /dev/hda20
/dev/hda20:
Timing cached reads: 1316 MB in 2.01 seconds = 656.13 MB/sec
Timing buffered disk reads: 104 MB in 3.03 seconds = 34.27 MB/sec
|
Drops off significantly near the end.
HTH  _________________ 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 |
|
 |
longodj Tux's lil' helper

Joined: 29 Aug 2003 Posts: 79 Location: New Jersey
|
Posted: Wed Oct 19, 2005 5:14 pm Post subject: |
|
|
I don't know if this will help but I have two raptors and I use and they work a good amount better than before
Code: | Pre-hdparm ( default hdparm -d1 )
/dev/sdb:
Timing cached reads: 4580 MB in 2.00 seconds = 2290.35 MB/sec
Timing buffered disk reads: 186 MB in 3.00 seconds = 61.95 MB/sec
Post-hdparm ( modified hdparm -d1 -A1 -M1 )
/dev/sdb:
Timing cached reads: 4832 MB in 2.00 seconds = 2416.37 MB/sec
Timing buffered disk reads: 186 MB in 3.00 seconds = 61.95 MB/sec |
_________________ Linux dreammachine 2.6.16-rc3-nitro1 #1 PREEMPT Thu Feb 23 15:56:10 EST 2006 x86_64 AMD Athlon(tm) 64 Processor 3800+ GNU/Linux
1Gb RAM
Quadro FX 1300
2 x 36Gb Raptors
1 x 400Gb
Plextor Slot-Load 16X DVD+/-RW
(Linux Friendly FSF Donor) |
|
Back to top |
|
 |
|