Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I built a 2.6.0 kernel and have been testing it with my installed slackware 9.1 which normally uses a 2.4.22 kernel. I noticed that it seemed slow, especially disk-intensive things. Testing with hdparm shows it is MUCH slower than 2.4.22 --
hdparm -t on 2.4.22:
buffered disk read: 64 MB in 1.61 seconds
hdparm -t on 2.6.0:
buffered disk read: 64 MB in 34.01 seconds
Naturally both runs are using the same disk/partition, nothing else running, tried mutliple times, etc. I can't find anything left to enable in the kernel config that seems like it might help. Any suggestions as to what might explain this?
Are you sure you compiled in chipset-specific support in 2.6? The specific chipset support allows the kernel to manipulate the PIO, DMA, UDMA and IRQ settings of the IDE core, which allows you to increase performance without having to run hdparm every time the system boots.
Thanks for that tip, helped me to finally solve this... I had the chipset (VIA) support configured as a module instead of built-in, and had most of the other chipsets also enabled as modules, plus the "generic" ide was enabled. Changed to VIA as built-in, and removed all other chipset support including "generic", and now it uses the correct driver. Before it was not enabling dma (couldn't even get hdparm to enable it), now it is. However it's still not enabled multiple-sector transfers, but that can be enabled with hdparm. (Dma accounts for most of the speed-up anyway.)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.