Package: ulatencyd
Version: 0.5.0-5
Severity: normal

--- Please enter the report below this line. ---

Dear maintainer, 

Default "desktop" scheduler sets blkio.weight = 1 for cgroups where it
moves "idle priority" processes (those tagged as daemon.idle/user.idle
in ulatencyd rules) and "poisonous" processes. This fails because
allowed range for blkio.weight values is 10-1000 (on kernel 3.2.0). The
range seems to be changing between kernel versions, used to be
100-1000 in past.

This renders poisonous and idle processes having no penalty on disk
usage. I.e. idle cgroup stays with blkio.weight=500 on my system,
unfortunately audio/video players and other processes are scheduled
with blkio.weight=300.

Other schedulers are trying to set incorrect value too:
$ grep -rn blkio\.weight.*\"1\" .
./scheduler/30-single-task.lua:191:    param = { ["blkio.weight"]="1" },
./scheduler/20-desktop.lua:263:    param = { ["blkio.weight"]="1" },
./scheduler/20-desktop.lua:288:    param = { ["blkio.weight"]="1" },
./scheduler/30-game.lua:178:    param = { ["blkio.weight"]="1" }


--- System information. ---
Architecture: amd64
Kernel:       Linux 3.2.0-2-amd64

Debian Release: wheezy/sid
  990 unstable        www.deb-multimedia.org 
  990 unstable        ftp.gajim.org 
  990 unstable        ftp.cz.debian.org 
  990 testing         security.debian.org 
  990 testing         ftp.cz.debian.org 
  990 stable          ftp.cz.debian.org 
  600 experimental    ftp.cz.debian.org 
  500 testing         www.deb-multimedia.org 
  500 stable          www.deb-multimedia.org 
  500 stable          deb.opera.com 

--- Package information. ---
Depends                     (Version) | Installed
=====================================-+-============
libc6                        (>= 2.7) | 2.13-33
libdbus-1-3                (>= 1.0.2) | 1.6.0-1
libdbus-glib-1-2            (>= 0.78) | 0.98-1
libglib2.0-0              (>= 2.22.0) | 2.32.3-1
liblua5.1-0                           | 5.1.5-2
libpolkit-gobject-1-0       (>= 0.99) | 0.105-1
libxau6                               | 1:1.0.7-1
libxcb1                               | 1.8.1-1
dbus                                  | 1.6.0-1
lua5.1                                | 5.1.5-2
 OR lua                               | 
lua-posix                             | 5.1.19-2


Package's Recommends field is empty.

Package's Suggests field is empty.


-- 
S pozdravem,
Petr Gajdůšek





--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to