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: CONFIG_CGROUP_MEM_RES_CTLR_SWAP=y CONFIG_CGROUP_MEM_RES_CTLR_SWAP_ENABLED=y )
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 -- Ubuntu-Studio-devel mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-devel
