From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1I8XEf-0002ad-W5 for garchives@archives.gentoo.org; Wed, 11 Jul 2007 08:07:46 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l6B86VFI012360; Wed, 11 Jul 2007 08:06:31 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l6B82C3m007529 for ; Wed, 11 Jul 2007 08:02:13 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 7936365283 for ; Wed, 11 Jul 2007 08:02:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -0.686 X-Spam-Level: X-Spam-Status: No, score=-0.686 required=5.5 tests=[AWL=0.424, BAYES_05=-1.11] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KJmMoP3ZvzhU for ; Wed, 11 Jul 2007 08:02:09 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 92FCD64A21 for ; Wed, 11 Jul 2007 08:02:07 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1I8X92-0006NB-0F for gentoo-user@gentoo.org; Wed, 11 Jul 2007 10:01:56 +0200 Received: from zy-rieter.cyberlink.ch ([212.55.215.153]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Jul 2007 10:01:55 +0200 Received: from listen by zy-rieter.cyberlink.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Jul 2007 10:01:55 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Alexander Skwar 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 Organization: n/a Message-ID: <2262129.MyGpgaN8yZ@kn.gn.rtr.message-center.info> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: zy-rieter.cyberlink.ch User-Agent: KNode/0.10.5 Sender: news X-Archives-Salt: 9b5302b9-72e7-41ed-b8e3-a25ff06a2733 X-Archives-Hash: 1ef39f67d81d1d53a8975756610d4e0e 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