Improving I/O performance

Registered by Dimitri John Ledkov

Inline with https://blueprints.launchpad.net/ubuntu/+spec/desktop-r-targets-for-embedded

Can we benchmark and improve I/O performance with sensible defaults, by minimizing idle reads/writes and implementing hacks. By implementing this we are aiming to reduce wakups (increasing battery life) and improving responsiveness.

Here are some ideas, some of them may already been implement, some maybe worth implementing, please add your ideas:

* auto-enabling trim by default
* mount /tmp on tmpfs
* auto-enabling zram
* review and reduce amount of pointless writes (e.g. logs, cronjobs)
* auto-enabling / changing IO scheduling policies
* adjust swappiness to reduce swap usage
* increasing data sync to disk period (mount's commit option)
* moving high-use files into RAM
* _ your idea here _

Blueprint information

Status:
Complete
Approver:
Steve Langasek
Priority:
Undefined
Drafter:
Dimitri John Ledkov
Direction:
Needs approval
Assignee:
Dimitri John Ledkov
Definition:
Superseded
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Dimitri John Ledkov

Related branches

Sprints

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.