On 08/08/16 14:17, Steve Litt wrote:
On Mon, 8 Aug 2016 14:00:48 +0800
Brad Campbell <[email protected]> wrote:
Just for the record, so does KVM if you turn on ksm. It actually
works very well for a free solution.
I use Qemu all the time, with hardware assist. How would I turn on ksm?
KSM=/sys/kernel/mm/ksm
echo 500 > $KSM/sleep_millisecs
echo 1000 > $KSM/pages_to_scan
echo 1 > $KSM/run
I do it by putting this in a script that gets run at bootup. My numbers
are relatively arbitrary and are designed to work slowly with a low load
on the system. Redhat published a daemon to do it called ksmtuned, but
for my use case it just made things more complex for no real gain.
_______________________________________________
Dng mailing list
[email protected]
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng