Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ahci performance problems [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
karlika
n00b
n00b


Joined: 13 Jan 2005
Posts: 8
Location: Graz/Austria

PostPosted: Thu Aug 28, 2008 8:54 pm    Post subject: ahci performance problems [solved] Reply with quote

Hi,

I just installed gentoo on my brand new FSC Xi2528.
I did everything as always, following the quick install guide. (Minimal install disk 2008.0 r1; Kernel 2.6.25 r7)

After rebooting I notice that the boot process is incredibly slow, reminding me somehow of the old days with my P2 400MHz...
Code:
hdparm -t /dev/sda

revealed the possible problem:
Code:
Timing buffered disk reads:         8 MB in    3.24 seconds =   2.47 MB/sec


Well, using the install CD I get something like 60MB/sec, so whats wrong?
Any ideas?

Chipset is Intel 82801H (ICH8)
Relevant parts of the .config look like this:
Code:

CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
CONFIG_BLK_DEV_IDECD=y
CONFIG_BLK_DEV_IDECD_VERBOSE_ERRORS=y
CONFIG_BLK_DEV_IDEACPI=y
CONFIG_IDE_PROC_FS=y
CONFIG_IDE_GENERIC=y
CONFIG_BLK_DEV_IDEDMA_SFF=y
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_PCIBUS_ORDER=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_BLK_DEV_PIIX=y

CONFIG_SCSI=y
CONFIG_SCSI_DMA=y

CONFIG_SATA_AHCI=y
CONFIG_ATA_PIIX=y


Not wanting to spam the forum with config files nobody is wantig/able to read, but always willing to give more information on demand. ;)

Thanks in advance for any suggestions,
Marko


Last edited by karlika on Fri Aug 29, 2008 8:29 am; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54830
Location: 56N 3W

PostPosted: Thu Aug 28, 2008 10:33 pm    Post subject: Reply with quote

karlika,

You need to set up your kernellike this
For some reason, you don't have DMA active.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
karlika
n00b
n00b


Joined: 13 Jan 2005
Posts: 8
Location: Graz/Austria

PostPosted: Fri Aug 29, 2008 8:28 am    Post subject: [solved] turns out ACPI is the culprit Reply with quote

Following a notion I disabled ACPI and voila: read speeds are back at 60 MB/sec.
I'm gonna go build some more kernels to find out the option that caused all of this.

@Neddy:
Thanks for your answer, but there is plenty of DMA ;)
Sorry for not posting any hdparm -I info.

Thanks, bye,
Marko
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum