Permalink
Commits on Jan 18, 2011
  1. release 0.3.1

    poelzi committed Jan 18, 2011
    - bugfixes mainly
    - add system flags changed signal
    - cleanup script for cgroups
    - debian package
  2. add debian controll files

    poelzi committed Jan 18, 2011
  3. add missing changes

    poelzi committed Jan 18, 2011
  4. add cleanup agent, cgroups cleanup

    poelzi committed Jan 18, 2011
    add release agent when a cgroup is not needed anymore.
    cleanup the cgroup caches on unused cgroups
    centralize path definition in config.h
Commits on Jan 17, 2011
  1. add license headers

    poelzi committed Jan 17, 2011
    cleanup some old comments
  2. iterate all processes pressure situations

    poelzi committed Jan 17, 2011
    in pressure situations the filters are exected without filtering
  3. add system_flags_changed marker

    poelzi committed Jan 17, 2011
    add state so system_flags changes can be detected.
    fix compile warnings
  4. update readme

    poelzi committed Jan 17, 2011
  5. fix cmake file

    poelzi committed Jan 17, 2011
  6. bump version to 0.3

    poelzi committed Jan 17, 2011
  7. add install rules.

    poelzi committed Jan 17, 2011
    ulatencyd can now be installed and run normally.
    
    fix bug in config parsing
  8. add configs for xwatch poll/user list

    poelzi committed Jan 17, 2011
    add a config variable for the poll interval
    of the xwatch module.
    
    made the active process list length configurable
  9. xserver plugin, initial dbus support, bugfixes

    poelzi committed Jan 17, 2011
    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. Have core.lua installed by default

    losinggeneration committed Jan 14, 2011
    * lib/ulatency may not be the best place for it. Perhaps libexec, even
      though it seems that only gcc really uses that...
  2. Fix INSTALL_PREFIX

    losinggeneration committed Jan 14, 2011
    * CMAKE_INSTALL_PREFIX is a variable. It wasn't being called as one
      though.
  3. remove verbose print

    poelzi committed Jan 14, 2011
  4. fix label timeout of 0

    poelzi committed Jan 14, 2011
    labels with timeout of 0 got removed, but it means no timeout at all
  5. commit cgroup changes more often

    poelzi committed Jan 14, 2011
  6. run check also when labels match

    poelzi committed Jan 14, 2011
    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
  7. add system rules

    poelzi committed Jan 14, 2011
    rules for default system daemons
  8. update netlink, lua bindings, memory protection

    poelzi committed Jan 14, 2011
    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
    trees.
    
    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. define __GNU_SOURCE for O_NOFOLLOW

    ghedo committed Jan 13, 2011
  2. add system flags api

    poelzi committed Jan 13, 2011
    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.
  3. add process_list_group function

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

    poelzi committed Jan 11, 2011
  2. die swap of death die

    poelzi committed Jan 11, 2011
    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

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

    poelzi committed Jan 10, 2011