On Monday September 9 2002 09:30 pm, L.V.Gandhi wrote:
> Thanks for the detailed reply.
> I will explain a little more about my HDD confiuration.
> Seagate is 5400rpm only. From model no I checked it in Seagate site.
> Samsung is 7200 rpm as per the box with model no given to me.
> Seagate is connected as Primary master(hda). and Samsung is connected 
> secondary(hdc) master. This I did as I have read for video editing
> and getting independent good transfe rates both HDDs are in separate
> IDE channel. Unfortunately, Secondarey cable which is connected to HP
> 9100c CDWriter as slave may not be 80 wire connector cable. Whether
> connector cable can change the ATA standard of the HDD?

   If I understand your statement... yes. Even if the drive is set to 
ata/100 (udma5), and all other requirements are good to go, if the 
proper 80w cable is not used, the drive will default to ata/33. As to 
your arrangement, IME you might be better off putting, or at least 
tryin both hardrives on ide0 (primary channel), and the cd-rw on ide1 
(secondary channel).  Keep the non?-80w cable on ide1 (secondary) for 
the cd-rw, use your 80w cable for the harddrives on ide0 (primary).  If 
you didn't have a CDr drive, or if you had more ide channels, then what 
you've read about putting HDD's on separate channels is true.

> I give the value of haparm -i and Tt for both HDD.
>
> seagate HDD 20Gb data
> /dev/hda:
>  Model=ST320413A, FwRev=3.39, SerialNo=6ED1JBLC
>  Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
>  RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=0
>  BuffType=unknown, BuffSize=512kB,

    5400rpm with a 512k buffer just isn't gonna perform .... not real 
world anyhow.....

 MaxMultSect=16, MultSect=16
>  CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=39102336
>  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 udma0 udma1 udma2 udma3 udma4 *udma5
.                                                             ^^^^^^^
   ... even at ata100 

>  AdvancedPM=no WriteCache=enabled
>  Drive Supports : Reserved : ATA-1 ATA-2 ATA-3 ATA-4
> [root@localhost HDDdetails]# hdparm /dev/hda
> /dev/hda:
>  multcount    = 16 (on)
>  I/O support  =  0 (default 16-bit)

    no 32bit support, needs 'hdparm -c1 /dev/hda'   Think of it in terms 
of a highway.  In light traffic, a 2 lane road can handle as many 
vehicles as a 4 lane.  But come rush hour, the more lanes the better ;)  
Right now you've got 16 lanes, you need to enable 32 lanes.

>  unmaskirq    =  0 (off)
>  using_dma    =  1 (on)
>  keepsettings =  0 (off)
>  nowerr       =  0 (off)
>  readonly     =  0 (off)
>  readahead    =  8 (on)
>  geometry     = 2434/255/63, sectors = 39102336, start = 0
>  busstate     =  1 (on)
> [root@localhost HDDdetails]# hdparm -Tt /dev/hda
> /dev/hda:
>  Timing buffer-cache reads:   128 MB in  1.43 seconds = 89.51 MB/sec

     This is low, 140 to 180mb/s would be more like it, but it's a bogus 
bench, so no worries.

>  Timing buffered disk reads:  64 MB in  2.17 seconds = 29.49 MB/sec

     This is OK for a 5400rpm drive, actually it's about as good as 
5400rpm can do.

>
>
> Samsung HDD 40Gb data
> /dev/hdc:
>  Model=SAMSUNG SP4002H, FwRev=QU100-60, SerialNo=0411J1FT811301
>  Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
>  RawCHS=16383/16/63, TrkSize=34902, SectSize=554, ECCbytes=4
>  BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=16
>  CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=78242976
>  IORDY=yes, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
>  PIO modes: pio0 pio1 pio2 pio3 pio4
>  DMA modes: mdma0 mdma1 mdma2 udma0 udma1 *udma2
.                                           ^^^^^^
   drive is only capable of ata/33 :(  Odd that a 40gig 7200 rpm HDD 
tops out at ata/33 capable.  I'm curious, what does 'hdparm -I'  say?  
It could be the drive _is_ stuck on an old ata/33 cable.  The -I switch 
will read directly from the drives bios. If it then reports higher udma 
capability, you definitely need to get it on an 80w cable, or move it 
to ide0. 

>  AdvancedPM=no WriteCache=enabled
>  Drive Supports : fastATA-1 ATA-2 ATA-3 ATA-4 ATA-5 ATA-6
> root@localhost HDDdetails]# hdparm /dev/hdc
> /dev/hdc:
>  multcount    = 16 (on)
>  I/O support  =  0 (default 16-bit)

    here again, 32bit is not enabled, needs -c1  (more lanes ;)

>  unmaskirq    =  0 (off)
>  using_dma    =  1 (on)
>  keepsettings =  0 (off)
>  nowerr       =  0 (off)
>  readonly     =  0 (off)
>  readahead    =  8 (on)
>  geometry     = 4870/255/63, sectors = 78242976, start = 0
>  busstate     =  1 (on)
> [root@localhost HDDdetails]# hdparm -Tt /dev/hdc
> /dev/hdc:
>  Timing buffer-cache reads:   128 MB in  1.34 seconds = 95.52 MB/sec
>  Timing buffered disk reads:  64 MB in  2.27 seconds = 28.19 MB/sec

     The saving grace here is the 7200rpms and 2mb buffer.  Most 7200, 
2mb drives are udma5 capable tho, and then this number would be 
40+mb/sec.  Actually your numbers for either drive aren't bad at all.
The -T number is mostly useless, the -t number begins to count, but 
still isn't very real world significant.  For judging huge data 
crunching (video editing?) capability you might wanna look at some 
benches like 'bonnie'.

>
> I have PIII 866 256 MB SDRAM on KOBian 815MB.
> How to know whether MB supports which udma?
> Any more finetuning is possible? How to know the connecting cable is
> 80 wire? Whether with 80 wire connecting cable be used for HP 9100c
> CDWriter?

    I can't tell you how to tell for sure, since I have seen plain 
vanilla 80w cables. You also can't go by the connectors since all ide 
cables are 40 pin.  Usually tho, the new 80w cables are grey, with a 
blue connector. The old ata/33 cables are vanilla colored. If you have 
one of each, a visual comparison begins to become more obvious. Both 
have 40 actual connecting wires, but the 80w cable has 'fake' wires in 
between the 'real' wires for the sole purpose of dampening inductance 
between the real wires. That should be about as clear as mud, huh? 
In any case they're cheap, if in doubt ... replace.

   As to fine tuning, you could try gettin both HDD's on primary, and 
the cd-rw by itself on secondary.  BUT to tell ya the truth, I wouldn't 
bother if that Samsung is really only ata/33. At ~29 mb/sec from both 
drives, then I'd say your doin about as well as could be expected with 
what you've got.  If you ever get a 7200rpm ata/100 drive, then think 
about gettin off the cd-rw ide1 (secondary). If you often use the 
Samsung while you're also usin the cd-rw, consider gettin the Samsung 
moved to primary (ide0), and isolate the cd-rw on secondary (ide1). 

    BTW, use hdparm to check your cd-rw setting too, make sure 32bit and 
dma are enabled.   

-- 
    Tom Brinkman                  Corpus Christi, Texas

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to