vm.dirty_bytes should be set to something sane
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-lts-backport-oneiric (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Linux has developed a reputation for sluggish performance under heavy disk I/O, e.g. during system updates. This seems to be mostly due to its inability to distinguish urgent tasks from I/O hogs, resulting in preferential treatment of hogs (and thus sluggishness under load). This applies even on very high-end computers.
On a server, this (probably) doesn't matter a great deal. On a desktop, it matters a lot, because users will generally not tolerate sluggishness, especially on computers that are supposed to be fast (as a famous company from Redmond discovered when they released a shiny new OS in 2007). Since Ubuntu is primarily a desktop distribution, and currently the most popular, I think it would be a good idea to try and solve this issue.
The only solution that I know to work reliably is to set vm.dirty_bytes (and vm.dirty_
The only major issue I can see with this change is that it might increase wear on SSDs; but I'm not sure how much, or if it's worth making an exception for SSDs.