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 as 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?
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, 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
 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)
 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
 Timing buffered disk reads:  64 MB in  2.17 seconds = 29.49 MB/sec


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
 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)
 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

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?


On Monday 09 Sep 2002 9:00 pm, Tom Brinkman wrote:
> On Saturday September 7 2002 08:26 pm, L.V.Gandhi wrote:
> > A few harddisk questions.
> > How to know whether enabling dma is OK for a harddisk?
> > I have two harddisks
> > one Seagate 20 gb ata 100
> > other Samsung 40 gb ata 33
> > What will the effect ata value on data transfer?
> > I have PIII 866 machine with 256 MB sdram.
>
>     Run (as root) 'hdparm -i /dev/hdx' on it (also try 'hdparm -I' to
> read the drive info directly from the drive's firmware), for example
>
> tom# hdparm -i /dev/hdb
>
> /dev/hdb:
>
>  Model=MAXTOR 6L040J2, FwRev=A93.0500, SerialNo=362206526273
>  Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
>  RawCHS=16383/16/63, TrkSize=32256, SectSize=21298, ECCbytes=4
>  BuffType=DualPortCache, BuffSize=1819kB, MaxMultSect=16, MultSect=16
>  CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=78177792
>  IORDY=on/off, tPIO={min:120,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 udma6
>
>    ^^^^   this line tells you what pio/dma modes the drive is capable
> of. Whichever mode is preceded by an asterisk is the mode the drive is
> currently set to. While my drive and 80wire cable is udma6 capable, my
> mother board controller is not. Mandrake 8.x and 9.0 recongnize this
> and set the drive to udma5 (ata/100).
>
>  AdvancedPM=no WriteCache=enabled
>  Drive conforms to: ATA/ATAPI-5 T13 1321D revision 1:  1 2 3 4 5
> ~~~~~~~~~~~
>
>    See 'info hdparm'.  If your drive wasn't automagically setup by
> Mandrake to use it's full udma potential, it could signify hardware or
> other issues. You can forcibly set the drive by usin the -d (enable
> dma) and -X switches. For the -X switch (udma mode) add the mode you
> want to try to 64.  For example (udma5, 5+64) a typical line for your
> Seagate ata/100 is      hdparm -d1 -c1 -X69 /dev/hdx
>
>  -d1 enables dma, -c1 enables 32bit, -X69 sets the drive to udma5
>
>   Use -X66, or no -X entry at all for your  Samsung ata/33   EG,
>         hdparm -d1 -c1 /dev/hdx
>
>     If this is successful, and after you've tested it for a while, you
> can make these settings permanent by adding the hdparm line(s) to the
> end of /etc/rc.d/rc.local. It will then have these settings after every
> boot.  You don't have to re-boot tho, you can just run rc.local, EG,
>     <root> # /etc/rc.d/rc.local
>
>     If all's well, your Seagate should get 36 to 40+ MB's/second from
> 'hdparm -t /dev/hdx'. Your Samsung will probly be around 10+ MB/sec.
> ata/33 to /66 is a big jump in performance (more than double), some more
> for ata/100, but little or nothin for ata/133. The increased
> performance is also just for burst speeds, and doesn't neccessarily
> reflect real world gains.  Actual tranfers will be _much_ slower and
> varied.
>
>     Also, I suspect your Samsung is 5400rpm, while your Seagate is more
> likely 7200rpm. RPM's make a big difference, real world difference. So
> does cache (buffer).  Look back to my example for "BuffSize=1819kB".
> The drive is advertised as having a 2mb buffer.  Most all HDD
> manufacturers use some of this for firmware tho (the drive's bios). So
> only 1819K is left.  Still, the more buffer the better. 2MB is fairly
> standard now.

-- 
L.V.Gandhi
203, Soundaryalahari Apartments, Lawsons Bay colony, Visakhapatnam, 530017
MECON, 5th Floor, RTC Complex, Visakhapatnam AP 530020 INDIA








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

Reply via email to