Change I/O scheduler to NOOP when installing in SSD Drive or virtual machines

Bug #390247 reported by Cleber Santz
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Nominated for Karmic by Cleber Santz

Bug Description

  When install Linux in SSD Drives ( EeePC, pendrive, etc ) or Virtual machines the default Linux I/O scheduler ( CFQ ) make disk access very slower, causing sometimes system/application freeze.

  If the scheduler is changed to NOOP the access to disk have a big improvement :

  Kernel compilation
  CFQ : 4161 seconds
  NOOP: 3653 seconds ( 13% faster )


  "The NOOP scheduler is a simple FIFO queue and uses the minimal amount of CPU/instructions per I/O to accomplish the basic merging and sorting functionality to complete the I/O. It assumes performance of the I/O has been or will be optimized at the block device (memory-disk) or with an intelligent HBA or externally attached controller."


  But, the most end-users don't know about this option/tunning and will very helpful automatic add "elevator=noop" to kernel initialization when ubiquity is installing Ubuntu in this devices.

description: updated
tags: added: feature request
Phillip Susi (psusi)
Changed in ubiquity (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubiquity (Ubuntu):
status: New → Confirmed
Revision history for this message
Marius B. Kotsbak (mariusko) wrote :

I saw a very easy way to add this here:

using a udev rule like this:

ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="noop"

Revision history for this message
Pander (pander) wrote :

There are multiple tips and tricks to improve performance and longevity of SSD such as and and Could these be included in the installer?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers