Originally posted by kraftman
View Post
looks like there are 2 things going on;
the VM is really busy, as well as the disk writeback threads. Based on the SVG it looks like the VM indeed swaps some stuff out (bigger delays), but once in a while, the writeback threads are so active that the CPU gets starved and you get scheduler delays of about 5 msec. (This is not per se the fault of the scheduler; with 2 logical cpus, and 3 tasks, one of the three will have to wait by definition)
it's a tough situation with not very many tunables, but you could try to bump
/proc/sys/vm/dirty_ratio and /proc/sys/vm/dirty_background_ratio to 50 and 70 respectively, and see if that helps
alternative try 5 and 10 as values
(this tunable sort of can go both ways)
Comment