Building in random drivers hurts the majority
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Andy Whitcroft | ||
Karmic |
Won't Fix
|
Medium
|
Stefan Bader | ||
Lucid |
Fix Released
|
Medium
|
Andy Whitcroft |
Bug Description
In karmic there are 33 pata and 12 sata drivers built-in to the kernel. This may seem like a good idea, but in fact it causes more problems than it solves.
First off, including a driver that is only used by 0.1% of users will in fact hurt the other 99.9%. The extra amount of code loaded into memory will use up pages, and make it more likely to have a cache miss, and become detrimental to performance over-all.
The only real gain of making a hardware driver built-in, is to benefit the majority of users. Things that can fall into this category are ahci driver, which is in-use on almost all chipsets (this includes nvidia and intel).
In my case, the pata-acpi driver is built-in and it is getting bound to my promise pata before the promise driver can. I have to rebuild the kernel because I cannot disable pata-acpi.
Please, go back and remove all of these and review each inclusion based on the amount of users it benefits.
Changed in linux (Ubuntu): | |
assignee: | nobody → Stefan Bader (stefan-bader-canonical) |
status: | New → Triaged |
Changed in linux (Ubuntu Karmic): | |
assignee: | nobody → Stefan Bader (stefan-bader-canonical) |
status: | New → Triaged |
Changed in linux (Ubuntu Lucid): | |
assignee: | Stefan Bader (stefan-bader-canonical) → Andy Whitcroft (apw) |
Changed in linux (Ubuntu Karmic): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Lucid): | |
importance: | Undecided → Medium |
tags: | added: kernel-series-unknown |
tags: |
added: karmic lucid removed: kernel-series-unknown |
Changed in linux (Ubuntu Lucid): | |
milestone: | none → ubuntu-10.04-beta-1 |
Changed in linux (Ubuntu Lucid): | |
milestone: | ubuntu-10.04-beta-1 → ubuntu-10.04-beta-2 |
As part of the configuration review we have pulled out all of the PATA modules and most of the SATA modules which should resolve this.