Package: ulatencyd
Version: 0.5.0-8
Severity: normal

Hi
On "/etc/ulatencyd/simple.conf" added on last line
plugin-container        user.poison

Under /blkio is /psn_2275 which is gnome-shell not plugin-container.



-- System Information:
Debian Release: jessie/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.11.0-17-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ulatencyd depends on:
ii  dbus                   1.8.0-1
ii  dpkg                   1.17.6
ii  libc6                  2.17-97
ii  libdbus-1-3            1.8.0-1
ii  libdbus-glib-1-2       0.102-1
ii  libglib2.0-0           2.38.2-5
ii  liblua5.1-0            5.1.5-5
ii  libpolkit-gobject-1-0  0.105-4
ii  libxau6                1:1.0.8-1
ii  libxcb1                1.10-2
ii  lua-posix              29-7
ii  lua5.1 [lua]           5.1.5-5

Versions of packages ulatencyd recommends:
ii  consolekit  0.4.6-4

ulatencyd suggests no packages.

-- Configuration Files:
/etc/init.d/ulatencyd [Errno 2] No such file or directory: 
u'/etc/init.d/ulatencyd'
/etc/ulatencyd/scheduler/50-video_playback.lua changed:
--[[
    Copyright 2010,2011 ulatencyd developers
    This file is part of ulatencyd.
    License: GNU General Public License 3 or later
]]--
SCHEDULER_MAPPING_VIDEO_PLAYBACK = {
  info = {
    description = "a scheduler for video playback. EXPERIMENTAL",
    hidden = true
  }
}
-- cpu & memory configuration
SCHEDULER_MAPPING_VIDEO_PLAYBACK["cpu"] =
{
  {
    name = "rt_tasks",
    cgroups_name = "rt_tasks",
    param = { ["cpu.shares"]="3048", ["?cpu.rt_runtime_us"] = "949500" },
    check = function(proc)
          local rv = proc.received_rt or check_label({"sched.rt"}, proc) or 
proc.vm_size == 0
          return rv
        end,
  },
  {
    name = "system_essential",
    cgroups_name = "sys_essential",
    param = { ["cpu.shares"]="3048" },
    label = { "system.essential" }
  },
  {
    name = "user",
    cgroups_name = "usr_${euid}",
    check = function(proc)
              return ( proc.euid > 999 )
            end,
    param = { ["cpu.shares"]="3048",  ["?cpu.rt_runtime_us"] = "100" },
    children = {
      { 
        name = "poison",
        param = { ["cpu.shares"]="10" },
        label = { "user.poison" },
        cgroups_name = "psn_${pid}",
        children = {
                    
      },
      { 
        name = "poison_group",
        param = { ["cpu.shares"]="300" },
        cgroups_name = "pgr_${pgrp}",
        check = function(proc)
                  local rv = ulatency.find_flag(ulatency.list_flags(), {name = 
"user.poison.group",
                                                                    value = 
proc.pgrp})
                  return rv ~= nil
                end,
      },
      { 
        name = "media",
        param = { ["cpu.shares"]="3000", ["?cpu.rt_runtime_us"] = "1"},
        label = { "user.media" },
      },
      { 
        name = "bg_high",
        param = { ["cpu.shares"]="500",  ["?cpu.rt_runtime_us"] = "1"},
        label = { "user.bg_high" },
      },
      { 
        name = "ui",
        param = { ["cpu.shares"]="1000", ["?cpu.rt_runtime_us"] = "1"},
        label = { "user.ui" }
      },
      { 
        name = "idle",
        param = { ["cpu.shares"]="1"},
        label = { "user.idle" },
      },
      { 
        name = "group",
        param = { ["cpu.shares"]="50", ["?cpu.rt_runtime_us"] = "1"},
        cgroups_name = "grp_${pgrp}",
        check = function(proc)
                  return true
                end,
      },
    },
  },
  {
    name = "system",
    cgroups_name = "sys_idle",
    label = { "daemon.idle" },
    param = { ["cpu.shares"]="1"},
  },
  {
    name = "system",
    cgroups_name = "sys_bg",
    label = { "daemon.bg" },
    param = { ["cpu.shares"]="600"},
  },
  {
    name = "system",
    cgroups_name = "sys_daemon",
    check = function(proc)
              -- don't put kernel threads into a cgroup
              return (proc.ppid ~= 0 or proc.pid == 1)
            end,
    param = { ["cpu.shares"]="800",
              ["?cpu.rt_runtime_us"] = "1"},
  }
}
if ulatency.smp_num_cpus > 1 then
  local all_cpus = "0-"..tostring((ulatency.smp_num_cpus-1 or 0))
  local rest_cpu = "0"
  local media_label = { "user.media" }
  -- use special cases for low number of processors
  if ulatency.smp_num_cpus == 2 then
    essential_cpu = "0"
    other_cpu = "0"
    media_cpu = "1"
    media_exc = "1"
  else
    other_cpu = "0"
    media_label = { "user.media", "system.essential"}
    media_cpu = "1-"..tostring((ulatency.smp_num_cpus-1))
    media_exc = "1"
  end
  SCHEDULER_MAPPING_VIDEO_PLAYBACK["cpuset"] =
  {
      { 
        name = "media",
        param = { ["?cpuset.mems"] = "0",
                  ["?cpuset.cpus"] = media_cpu,
                  ["?cpuset.cpu_exclusive"] = media_exc,},
        label = media_label,
      },
      { 
        name = "essential",
        param = { ["?cpuset.mems"] = "0",
                  ["?cpuset.cpus"] = essential_cpu,
                  ["?cpuset.cpu_exclusive"] = essential_exc,},
        label = { "system.essential" },
      },
      { 
        name = "other",
        param = { ["?cpuset.mems"] = "0",
                  ["?cpuset.cpus"] = other_cpu,
                  ["?cpuset.cpu_exclusive"] = other_exc,},
        check = function(proc) return true end,
      },
  }
end
SCHEDULER_MAPPING_VIDEO_PLAYBACK["memory"] = 
merge_config(SCHEDULER_MAPPING_DESKTOP["memory"], 
  {
   replace = 
    {
      { 
        name = "media",
        param = { ["?memory.swappiness"] = "0" },
        label = { "user.media" },
      },
    }
 }
)
-- io configuration. blkio does not support hirarchies
SCHEDULER_MAPPING_VIDEO_PLAYBACK["blkio"] = 
merge_config(SCHEDULER_MAPPING_DESKTOP["blkio"], 
  {
   replace = 
    {
      {
      name = "media",
      param = { ["blkio.weight"]="1000" },
      cgroups_name = "grp_${pgrp}",
      label = { "user.media"},
      adjust = function(cgroup, proc)
            save_io_prio(proc, 7, ulatency.IOPRIO_CLASS_RT)
           end,
      },
    },
  }
)

/etc/ulatencyd/simple.conf changed:
plugin-container        user.poison
/etc/ulatencyd/simple.d/video.conf changed:
?mplayer*                     user.media
mplayer*                      user.media
xine                          user.media
?vlc                          user.poison
vlc                           user.poison
dragon                        user.media
totem                         user.media
kplayer                       user.media
kmplayer                      user.media
kaffeine                      user.media


-- no debconf information


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

Reply via email to