** Changed in: ureadahead (Ubuntu)
Importance: Medium => Wishlist
** Changed in: ureadahead (Ubuntu)
Status: New => Triaged
** Summary changed:
- ureadahead slows down boot on cheap SSDs (e.g. EeePC 900 SSD)
+ ureadahead should have config option to disable or force ssd/hdd mode
** Description changed:
- Binary package hint: ureadahead
-
- Description of the problem:
- Using ureadahead in hdd mode on an SSD can slow down boot (at least on
cheap/first-generation SSDs). As some SSDs lie and don't tell the kernel about
their non-rotational properties this means that by default ureadahead causes a
slower boot on them.
-
- Steps to reproduce:
- 1. Install Ubuntu 10.04 on SSD EeePC 900 SSD's second "disk". Ensure that
autologin is set up. Boot the system.
- 2. Install bootchart .
- 3. Run
- /usr/bin/sudo rm /var/lib/ureadahead/pack
- 4. Reboot.
- 5. Wait for bootchart to write out information to /var/log/bootchart/ .
- 6. Reboot.
- 7. Compare the bootcharts.
-
- Expected results:
- The bootchart created after step 6 to show the boot took the same or shorter
amount of time to the bootchart created after step 4.
-
- Actual results:
- Step 6's bootchart shows booting took longer than in step 4 (i.e. after
profiling the boot became slower).
-
- How reproducible is the problem?
- It is reproducible every time.
-
- Version information:
- EeePC 900 SSD
- Ubuntu 10.04
- ureadahead 0.100.0-4.1
-
- ProblemType: Bug
- DistroRelease: Ubuntu 10.04
- Package: ureadahead 0.100.0-4.1
- ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
- Uname: Linux 2.6.32-21-generic i686
- Architecture: i386
- Date: Sun May 9 11:05:12 2010
- InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
- PackDump: Error: command ['ureadahead', '--dump'] failed with exit code 4:
ureadahead:/var/lib/ureadahead/pack: Permission denied
- PackDumpTmp: Error: command ['ureadahead', '--dump'] failed with exit code 4:
ureadahead:/var/lib/ureadahead/pack: Permission denied
- ProcEnviron:
- LANG=en_GB.utf8
- SHELL=/bin/bash
- SourcePackage: ureadahead
+ Some cheap/old SSDs fail to report their non rotational nature to the
+ kernel. This results in ureadahead treating them as a rotational disk,
+ which can actually cause slower boot times than not using ureadahead at
+ all. There should be a config option to allow affected users to correct
+ this by either forcing ureadahead to ssd mode, or disabling it entirely.
+ Preferably this should be in /etc/default and/or configurable via
+ debconf so a simple dpkg-reconfigure will suffice.
--
ureadahead should have config option to disable or force ssd/hdd mode
https://bugs.launchpad.net/bugs/577763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs