Re: [expert] hdparm values

2003-09-26 Thread Thomas Backlund
From: L.V.Gandhi [EMAIL PROTECTED]
 On Thursday 25 Sep 2003 9:08 pm, Thomas Backlund wrote:
  From: L.V.Gandhi [EMAIL PROTECTED]
 
   I have two hard disks 20 gb seagate and 40 gb samsung. I see in BIOS
they
 
  are
 
   100 ATA. However when I use hdparm, i get follwing results.
   [EMAIL PROTECTED] lvgandhi]# hdparm /dev/hda
  
   /dev/hda:
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 = 2434/255/63, sectors = 39102336, start = 0
   [EMAIL PROTECTED] lvgandhi]# hdparm -tT /dev/hda
  
   /dev/hda:
Timing buffer-cache reads:   128 MB in  0.37 seconds =345.95 MB/sec
Timing buffered disk reads:  64 MB in  4.17 seconds = 15.35 MB/sec
   [EMAIL PROTECTED] lvgandhi]# hdparm -i /dev/hda
  
   /dev/hda:
  
Model=ST320413A, FwRev=3.39, SerialNo=6ED1JBLC
Config={ HardSect NotMFM HdSw15uSec Fixed DTR10Mbs 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
UDMA modes: udma0 udma1 *udma2 udma3 udma4 udma5
AdvancedPM=no WriteCache=enabled
Drive conforms to: device does not report version:  1 2 3 4
  
   I have following lines in dmesg.
   blk: queue c03cb420, I/O limit 4095Mb (mask 0x)
   ide0: Speed warnings UDMA 3/4/5 is not functional.
   blk: queue c03cb55c, I/O limit 4095Mb (mask 0x)
   ide0: Speed warnings UDMA 3/4/5 is not functional.
  
   hdparm -X 69 /dev/hda also doesn't help.
  
   but for the same hdd, with mercury mb and 815 chipset, in mdk91, I
used
   to
 
  get
 
   buffered disk reads nearly 29 MB/s.
 
  How about telling what kernel version you are running,
  and what m/b and chipset do you have...?

 I am running mandrake 9.1 with the shipped kernel, in asus a7n8x deluxe
 motherboard with nvidia nforce2 chipset and amd athlon 2400+ with 256 mb
ram.
 I was only wondering when the same system is giving good transfer rate
with
 knoppix, what tweaking is needed in mandrake9.1 to get it?


Upgrade your kernel to the 0.25mdk from security updates,
or Danny's 0.22mdk, you can find at:
ftp://sunsite.uio.no/linux/Mandrake/Mandrake-devel/unsupported/MandrakeClub/9.1/i586/kernel-2.4.21.0.22mdk-1-1mdk.i586.rpm
ftp://sunsite.uio.no/linux/Mandrake/Mandrake-devel/unsupported/MandrakeClub/9.1/i586/kernel-source-2.4.21-0.22mdk.i586.rpm

or from your local Mandake mirror in it's path:

Mandrake/Mandrake-devel/unsupported/MandrakeClub/9.1/i586/


Regards

Thomas



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


[expert] hdparm values

2003-09-25 Thread L.V.Gandhi
I have two hard disks 20 gb seagate and 40 gb samsung. I see in BIOS they are 
100 ATA. However when I use hdparm, i get follwing results.
[EMAIL PROTECTED] lvgandhi]# hdparm /dev/hda

/dev/hda:
 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 = 2434/255/63, sectors = 39102336, start = 0
[EMAIL PROTECTED] lvgandhi]# hdparm -tT /dev/hda

/dev/hda:
 Timing buffer-cache reads:   128 MB in  0.37 seconds =345.95 MB/sec
 Timing buffered disk reads:  64 MB in  4.17 seconds = 15.35 MB/sec
[EMAIL PROTECTED] lvgandhi]# hdparm -i /dev/hda

/dev/hda:

 Model=ST320413A, FwRev=3.39, SerialNo=6ED1JBLC
 Config={ HardSect NotMFM HdSw15uSec Fixed DTR10Mbs 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
 UDMA modes: udma0 udma1 *udma2 udma3 udma4 udma5
 AdvancedPM=no WriteCache=enabled
 Drive conforms to: device does not report version:  1 2 3 4

I have following lines in dmesg.
blk: queue c03cb420, I/O limit 4095Mb (mask 0x)
ide0: Speed warnings UDMA 3/4/5 is not functional.
blk: queue c03cb55c, I/O limit 4095Mb (mask 0x)
ide0: Speed warnings UDMA 3/4/5 is not functional.

hdparm -X 69 /dev/hda also doesn't help.

but for the same hdd, with mercury mb and 815 chipset, in mdk91, I used to get 
buffered disk reads nearly 29 MB/s.
Now also in knoppix32, I get the following.
[EMAIL PROTECTED]:~# 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)
[EMAIL PROTECTED]:~# hdparm -tT /dev/hda

/dev/hda:
 Timing buffer-cache reads:   128 MB in  0.36 seconds =355.56 MB/sec
 Timing buffered disk reads:  64 MB in  2.40 seconds = 26.67 MB/sec

[EMAIL PROTECTED]:~# hdparm -i /dev/hda

/dev/hda:

 Model=ST320413A, FwRev=3.39, SerialNo=6ED1JBLC
 Config={ HardSect NotMFM HdSw15uSec Fixed DTR10Mbs 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
 here it is udma5 where as in mdk it is udma2 only.
I tried /etc/sysconfig/harddisks with X 69. still no use. Any help to change 
udma and speed will be appreciated.
-- 
L.V.Gandhi
203, Soundaryalahari Apartments, Lawsons Bay colony, Visakhapatnam, 530017
MECON, 5th Floor, RTC Complex, Visakhapatnam AP 530020 INDIA
http://lvgandhi.tripod.com/



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


Re: [expert] hdparm values

2003-09-25 Thread Thomas Backlund
From: L.V.Gandhi [EMAIL PROTECTED]
 I have two hard disks 20 gb seagate and 40 gb samsung. I see in BIOS they
are
 100 ATA. However when I use hdparm, i get follwing results.
 [EMAIL PROTECTED] lvgandhi]# hdparm /dev/hda

 /dev/hda:
  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 = 2434/255/63, sectors = 39102336, start = 0
 [EMAIL PROTECTED] lvgandhi]# hdparm -tT /dev/hda

 /dev/hda:
  Timing buffer-cache reads:   128 MB in  0.37 seconds =345.95 MB/sec
  Timing buffered disk reads:  64 MB in  4.17 seconds = 15.35 MB/sec
 [EMAIL PROTECTED] lvgandhi]# hdparm -i /dev/hda

 /dev/hda:

  Model=ST320413A, FwRev=3.39, SerialNo=6ED1JBLC
  Config={ HardSect NotMFM HdSw15uSec Fixed DTR10Mbs 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
  UDMA modes: udma0 udma1 *udma2 udma3 udma4 udma5
  AdvancedPM=no WriteCache=enabled
  Drive conforms to: device does not report version:  1 2 3 4

 I have following lines in dmesg.
 blk: queue c03cb420, I/O limit 4095Mb (mask 0x)
 ide0: Speed warnings UDMA 3/4/5 is not functional.
 blk: queue c03cb55c, I/O limit 4095Mb (mask 0x)
 ide0: Speed warnings UDMA 3/4/5 is not functional.

 hdparm -X 69 /dev/hda also doesn't help.

 but for the same hdd, with mercury mb and 815 chipset, in mdk91, I used to
get
 buffered disk reads nearly 29 MB/s.

How about telling what kernel version you are running,
and what m/b and chipset do you have...?

--
Regards

Thomas



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


Re: [expert] hdparm values

2003-09-25 Thread L.V.Gandhi
On Thursday 25 Sep 2003 9:08 pm, Thomas Backlund wrote:
 From: L.V.Gandhi [EMAIL PROTECTED]

  I have two hard disks 20 gb seagate and 40 gb samsung. I see in BIOS they

 are

  100 ATA. However when I use hdparm, i get follwing results.
  [EMAIL PROTECTED] lvgandhi]# hdparm /dev/hda
 
  /dev/hda:
   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 = 2434/255/63, sectors = 39102336, start = 0
  [EMAIL PROTECTED] lvgandhi]# hdparm -tT /dev/hda
 
  /dev/hda:
   Timing buffer-cache reads:   128 MB in  0.37 seconds =345.95 MB/sec
   Timing buffered disk reads:  64 MB in  4.17 seconds = 15.35 MB/sec
  [EMAIL PROTECTED] lvgandhi]# hdparm -i /dev/hda
 
  /dev/hda:
 
   Model=ST320413A, FwRev=3.39, SerialNo=6ED1JBLC
   Config={ HardSect NotMFM HdSw15uSec Fixed DTR10Mbs 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
   UDMA modes: udma0 udma1 *udma2 udma3 udma4 udma5
   AdvancedPM=no WriteCache=enabled
   Drive conforms to: device does not report version:  1 2 3 4
 
  I have following lines in dmesg.
  blk: queue c03cb420, I/O limit 4095Mb (mask 0x)
  ide0: Speed warnings UDMA 3/4/5 is not functional.
  blk: queue c03cb55c, I/O limit 4095Mb (mask 0x)
  ide0: Speed warnings UDMA 3/4/5 is not functional.
 
  hdparm -X 69 /dev/hda also doesn't help.
 
  but for the same hdd, with mercury mb and 815 chipset, in mdk91, I used
  to

 get

  buffered disk reads nearly 29 MB/s.

 How about telling what kernel version you are running,
 and what m/b and chipset do you have...?

I am running mandrake 9.1 with the shipped kernel, in asus a7n8x deluxe 
motherboard with nvidia nforce2 chipset and amd athlon 2400+ with 256 mb ram. 
I was only wondering when the same system is giving good transfer rate with 
knoppix, what tweaking is needed in mandrake9.1 to get it?

-- 
L.V.Gandhi
203, Soundaryalahari Apartments, Lawsons Bay colony, Visakhapatnam, 530017
MECON, 5th Floor, RTC Complex, Visakhapatnam AP 530020 INDIA
http://lvgandhi.tripod.com/


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