Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jan 17, 2011
  1. update readme

  2. fix cmake file

  3. bump version to 0.3

  4. add install rules.

    ulatencyd can now be installed and run normally.
    fix bug in config parsing
  5. add configs for xwatch poll/user list

    add a config variable for the poll interval
    of the xwatch module.
    made the active process list length configurable
  6. xserver plugin, initial dbus support, bugfixes

    add initial support for dbus.
    add module that observes the local running xservers and tries
    to find out which windows have focus and adding the pids to the
    actives list.
    fixed bug in macro that wrongly set the changed flags rendering the
    optimization useless. dropping cpu usage massivly. next target is the
    proc parser. currently using 80% of a full run run time.
    added scheduling rule for active window
    small bugfixes
Commits on Jan 15, 2011
Commits on Jan 14, 2011
  1. @losinggeneration

    Have core.lua installed by default

    losinggeneration authored
    * lib/ulatency may not be the best place for it. Perhaps libexec, even
      though it seems that only gcc really uses that...
  2. @losinggeneration


    losinggeneration authored
    * CMAKE_INSTALL_PREFIX is a variable. It wasn't being called as one
  3. remove verbose print

  4. fix label timeout of 0

    labels with timeout of 0 got removed, but it means no timeout at all
  5. run check also when labels match

    if a label match is set, the check function can filter procs prefiltered by
    the label.
    if no label is set, all procs are run
  6. add system rules

    rules for default system daemons
  7. update netlink, lua bindings, memory protection

    implemented a new process cache, so new processes are only scheduled after
    n milliseconds. this reduces the load on ulatencyd on high exec rates, but
    there seems to be problems that parents die quicker then they should causing
    parents to be missing. so better not enable this until you wanna debug it ;-)
    implement memory containers for large sessions.
    now the memory pressure detection will not only isolate the largest single
    processes, but also the largest sessions. this protects agains very large process
    fix a bug typo from cleanup causing fiters not to be run without precheck method.
    lots of bugfixes, removed verbose output,...
Commits on Jan 13, 2011
  1. @ghedo
  2. @ghedo
  3. add system flags api

    add api to add flags to the hole system rather then processes.
    this allows rules to set system stats like memory pressure that can
    be received everywhere. the api is like the normal flags api, but proc
    is NULL. there are calls to ulatency.add_flag, etc from lua.
    added api for mass pids update.
    rebuild the proc->node after all processes, so new updates don't fail if
    the parent pid is added after the child.
  4. add process_list_group function

    it allows to group the current processes by common criteria
Commits on Jan 11, 2011
  1. remove debug print

  2. die swap of death die

    implement timeout of flags
    add lua api to calculate timeout flags
    add protector rule for detecting memory pressure
    it detects memory pressure when caches and free ram drops below a
    configureable percent of ram
    it selects the target of isolation based on the rss size and caps
    their limit of allowed physical ram with of the size of the detection
    reduced with some percent.
    swapping itself is not the only problem. if the filesystem caches drop
    to low, the system becomes irresponsible because every read to every file
    requires io traffic.
    it sucessfull protects agains the memleak test program and compiling pypy
    works great.
Commits on Jan 10, 2011
  1. add postcheck hooks

    add a postcheck hook that is executed after all process checks.
    this allows final filtering in rules
  2. make call iterate from lua save

  3. start iteration on init

  4. split scheduler and mapping configure

    add config option to select mapping to use
  5. add memory leak test program

    add a test program to write rules against memory hogging
  6. add memory leak test program

    add a test program to write rules against memory hogging
Commits on Jan 8, 2011
  1. fix scheduler tree

    only numeric works as it will preserve the order correctly
  2. add realtime api and scheduler update

    add api to set realtime priority.
    fix some missmatches on the scheduler code. x server is now
    categoriesed correctly and removed the ul group as it is now
    handled directly.
    add api to force updates on processes
  3. fix filter_stop flag

  4. add link to rules howto

  5. suggest debug, not trace level

  6. add dependencies to readme

Something went wrong with that request. Please try again.