Improving OOTB performance

Сергей Давыдов shnatsel at
Fri May 18 22:41:22 UTC 2012

Hi Euro,

Thanks for testing out my proposals! Ulatency supports per-cgroup
swappiness control, so it can set swappiness to zero for media apps
(given the following kernel parameters:

Everything else can be zramswapped out of the way of media apps
(ubuntu has swappiness 60 by default so it *will* be zramswapped out
of the way).

Alternatively, it should be fairly easy to write an LD_PRELOAD
override for malloc() that also applies memlock() to that region, but
I'm afraid it can slow down malloc() calls so controlling swap with
ulatencyd is preferable.

Sergey "Shnatsel" Davidoff
OS integrator @ elementary

More information about the Ubuntu-Studio-devel mailing list