qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Possible approaches to limit csw overhead


From: Andrey Korolyov
Subject: [Qemu-devel] Possible approaches to limit csw overhead
Date: Mon, 17 Nov 2014 12:49:22 +0400

Hello,

I have a rather practical question, is it possible to limit amount of
vm-initiated events for single VM? As and example, VM which
experienced OOM and effectively stuck dead generates a lot of
unnecessary context switches triggering do_raw_spin_lock very often
and therefore increasing overall compute workload. This possibly can
be done via reactive limitation of the cpu quota via cgroup, but such
method is quite impractical because every orchestration solution will
need to implement its own piece of code to detect such VM states and
act properly. I wonder if there may be a proposal which will do this
job better than userspace-implemented perf statistics loop.

Thanks!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]