From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lukas Doktor Subject: [KVM_AUTOTEST][PATCH] KSM_overcommit: dynamic reserve calculation (2) Date: Sat, 8 May 2010 18:01:07 +0100 Message-ID: <1273338071-8595-1-git-send-email-ldoktor@redhat.com> References: <[KVM_AUTOTEST][PATCH] KSM_overcommit: dynamic reserve calculation (2)> Cc: jzupka@redhat.com, kvm@vger.kernel.org, autotest@test.kernel.org, jasowang@redhat.com, lmr@redhat.com To: ldoktor@redhat.com Return-path: Received: from mx1.redhat.com ([209.132.183.28]:28479 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753882Ab0EHRBQ (ORCPT ); Sat, 8 May 2010 13:01:16 -0400 In-Reply-To: <[KVM_AUTOTEST][PATCH] KSM_overcommit: dynamic reserve calculation (2)> Sender: kvm-owner@vger.kernel.org List-ID: Hi, thanks for nice page about git workflow. I always wanted to try it but never had the time to sit down and learn... Booth the TMPFS and 0.055 guest_reserve constant are set empirically using various RHEL and Fedora guest/hosts. Smaller hosts can work with smaller (0.045) constant but we didn't want to make the code more complex to exactly fit the limits. Original changelog: * NEW: guest_reserve and host_reserve are now calculated based on used memory * NEW: tmpfs reserve is also evaluated to fit the overhead * NEW: VM alive check during split_guest() * FIX: In function split_guest() we used incorrect session * MOD: Increase number of VNC ports Best regards, Lukas