bad default swappiness for desktop systems
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Lubuntu default settings |
New
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
linux (openSUSE) |
New
|
Undecided
|
Unassigned | ||
procps (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
Bug Description
I am reporting this as a kubuntu-desktop bug, but I imagine it will apply equally to all desktop flavours.
I did a clean install of Kubuntu on my laptop, which has 3GB RAM. I didn't create a swap partition. Afterwards I installed swapd and set it running. The performance was terrible. There was an awful lot of unnecessary memory swapping which slowed the machine to a crawl.
I fixed this by changing the swappiness from 60 to 10, and making the change permanent in /etc/sysctl.conf. The gratuitous swapping stopped and the machine is responsive, as it should be. In other words the default swappiness value is not appropriate for a desktop system. Ubuntu should find a way to install itself that allows variables such as swappiness to be preconfigured to values appropriate to the use for which the particular flavour of Ubuntu is intended.
ProblemType: Bug
Architecture: amd64
Date: Thu Feb 4 01:09:24 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Kubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
Package: kubuntu-desktop 1.154
ProcEnviron:
LANGUAGE=
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: kubuntu-meta
Uname: Linux 2.6.31-9-rt x86_64
Changed in procps (Ubuntu): | |
status: | New → Confirmed |
tags: | added: patch |
Changed in linux (Ubuntu): | |
status: | New → Incomplete |
tags: | removed: kj-expired kj-triage patch |
tags: | added: patch |
tags: | removed: patch |
tags: | added: patch |
Changed in linux (Ubuntu): | |
status: | Confirmed → Won't Fix |
/etc/sysctl.conf belongs to procps, so that's presumably where the change would have to be made.