public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alexander Skwar <listen@alexander.skwar.name>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user]  Absymal IDE performance with gentoo-sources-2.6.22 and why hda instead of sda?
Date: Wed, 11 Jul 2007 10:01:44 +0200	[thread overview]
Message-ID: <2262129.MyGpgaN8yZ@kn.gn.rtr.message-center.info> (raw)

Hello.

Yesterday, I installed gentoo-sources-2.6.22. When I now boot this new
kernel, I notice that all of a sudden my SATA disk is addressed with
/dev/hda, whereas it used to be addressed with /dev/sda in 2.6.21. Why's
that?

But much more important: The IDE performance is now extremely bad.

,----[ hdparm  -tT  /dev/hda, kernel 2.6.22 ]
| /dev/hda:
|  Timing cached reads:   2414 MB in  2.00 seconds = 1208.28 MB/sec
|  Timing buffered disk reads:    8 MB in  3.99 seconds =   2.00 MB/sec
`----

With 2.6.21, it's A LOT faster:

,----[ hdparm -tT /dev/sda, kernel 2.6.21 ]
| /dev/sda:
|  Timing cached reads:   2414 MB in  2.00 seconds = 1207.80 MB/sec
|  Timing buffered disk reads:  150 MB in  3.01 seconds =  49.76 MB/sec
`----

The drive is (is?) running with udma5 in both cases, according to
hdparm:

,----[ hdparm -Him  /dev/sda, kernel 2.6.21 ]
| /dev/sda:
|  drive temperature (celsius) is:  42
|  drive temperature in range:  yes
|  HDIO_GET_MULTCOUNT failed: Inappropriate ioctl for device
| 
|  Model=Hitachi HTS721010G9SA00                 , FwRev=MCZOC10H, SerialNo=      MPCZN7Y0H7E5VL
|  Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
|  RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
|  BuffType=DualPortCache, BuffSize=7538kB, MaxMultSect=16, MultSect=?8?
|  CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=195371568
|  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: mode=0x80 (128) WriteCache=enabled
|  Drive conforms to: ATA/ATAPI-7 T13 1532D revision 1:  ATA/ATAPI-2,3,4,5,6,7
| 
|  * signifies the current active mode
`----

,----[ hdparm -Him  /dev/hda, kernel 2.6.22 ]
| /dev/hda:
|  drive temperature (celsius) is:  41
|  drive temperature in range:  yes
|  multcount     = 16 (on)
| 
|  Model=Hitachi HTS721010G9SA00, FwRev=MCZOC10H, SerialNo=MPCZN7Y0H7E5VL
|  Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
|  RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
|  BuffType=DualPortCache, BuffSize=7538kB, MaxMultSect=16, MultSect=16
|  CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=195371568
|  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: mode=0x80 (128) WriteCache=enabled
|  Drive conforms to: ATA/ATAPI-7 T13 1532D revision 1:  ATA/ATAPI-2,3,4,5,6,7
| 
|  * signifies the current active mode
`----

What do I have to do, so that the drive is fast in kernel 2.6.22 as
well?

I'm booting the 2.6.22 kernel with this entry in grub menu.lst:

,----[ kernel 2.6.22 ]
| title Gentoo GNU/Linux (zuletzt gebauter Kernel mit hda)
|         root (hd0,2)
|         kernel /vmlinuz root=/dev/hda6 lapic libata.atapi_enabled=1 combined_mode=libata
`----

Kernel 2.6.21 is started with the following entry in grub:

,----[ kernel 2.6.21 ]
| title Gentoo GNU/Linux (vorletzter gebauter Kernel)
|         root (hd0,2)
|         kernel /vmlinuz.old root=/dev/sda6 lapic libata.atapi_enabled=1 combined_mode=libata
`----

Thanks,

Alexander Skwar

-- 
gentoo-user@gentoo.org mailing list



             reply	other threads:[~2007-07-11  8:07 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-11  8:01 Alexander Skwar [this message]
2007-07-11 12:30 ` [gentoo-user] Absymal IDE performance with gentoo-sources-2.6.22 and why hda instead of sda? Florian Philipp
2007-07-11 20:57   ` Florian Philipp
2007-07-12  6:37   ` [gentoo-user] " Alexander Skwar
2007-07-12  7:54     ` Alexander Skwar
2007-07-11 14:51 ` [gentoo-user] " Dan Farrell
2007-07-11 17:53   ` [gentoo-user] " Alexander Skwar
2007-07-11 18:42     ` Florian Philipp
2007-07-11 18:52       ` Alexander Skwar
2007-07-11 19:26         ` Florian Philipp
2007-07-12  2:12     ` Dan Farrell
2007-07-12  6:32   ` Alexander Skwar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2262129.MyGpgaN8yZ@kn.gn.rtr.message-center.info \
    --to=listen@alexander.skwar.name \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox