Hi. Just starting to investigate the joys of hdparm. I was doing some
data shifting between partitions and noticed (using mc, runlevel 3)
that the data transfer rate was only about 1.5MB/s (copying from an
ntfs partition to a reiserfs). Here's the output of
#hdparm -i /dev/hda

/dev/hda:

 Model=Maxtor 6Y200M0, FwRev=YAR51EW0, SerialNo=Y62B8KXE
 Config={ Fixed }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
 BuffType=DualPortCache, BuffSize=7936kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455
 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
 AdvancedPM=yes: disabled (255) WriteCache=enabled
 Drive conforms to: (null):

i.e. dma wasn't turned on at all. 
So as a newbie I follow a few leads on hd optimising among the few
options not listed as dangerous in man hdparm and settle on 
# hdparm -c 1 -X udma2
and transfer rate increased to about 2.8MB/s.

Questions: 
1. Just after this I got some corruption problems on my windows (ntfs)
partition. Not the same partition I was working with before and I'm
pretty sure it was not mounted at the time. Does this seem likely to be
related? I thought these options were pretty safe. I did use ntfsresize
on another partition. 
2. I haven't compared them properly but it still
seems to be running a lot slower than windows. Granted this is for a
windows partition but I haven't been that impressed with the speed of
transfers btw linux partitions on my system either. Is there some
obvious optimisation missing? 
3. Now when I reboot I get a warning that
fsck will be very slow because dma is turned off. I didn't used to get
this message before even though it seems dma was already turned off. 
I thought most newish hard drives managed to get optimal dma settings
turned on automatically. Any idea why mine isn't working?
What's the best way to get these set at boot?
I'm otherwise extremely happy with this drive

Hardware:
Motherboard Gigabyte 8PE1000, Intel 865PE chipset
Intel Corporation 82801EB (ICH5) SATA Controller (rev 02)

Using LFS 6.1, BLFS 6.1 with kernel 2.6.14.2. I think I have all the
right kernel chipset options enabled but happy to post config. 

Many thanks
David
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to