From 904058731fe2bb2607114fcc4347be543429240e Mon Sep 17 00:00:00 2001 From: Sebastian Schmelzer Date: Mon, 28 Feb 2011 19:34:55 +0100 Subject: tune tmpfs/ramzswap --- src/os-plugins/plugins/vmchooser/files/run-virt.sh | 2 +- .../plugins/vmware/init-hooks/80-after-plugins/adapt-tmpfs.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/os-plugins/plugins/vmchooser/files/run-virt.sh b/src/os-plugins/plugins/vmchooser/files/run-virt.sh index 4ba95db3..0be23ec1 100644 --- a/src/os-plugins/plugins/vmchooser/files/run-virt.sh +++ b/src/os-plugins/plugins/vmchooser/files/run-virt.sh @@ -283,7 +283,7 @@ VM_ID="00" cpu_cores=${cpu_cores:-"1"} # total amount of memory defined in stage 3 -permem=50 +permem=70 # get a result which can be divided through 4 mem=$(expr ${totalmem} / 100 \* ${permem} / 4 \* 4) if [ -n "${mainvirtmem}" ]; then diff --git a/src/os-plugins/plugins/vmware/init-hooks/80-after-plugins/adapt-tmpfs.sh b/src/os-plugins/plugins/vmware/init-hooks/80-after-plugins/adapt-tmpfs.sh index a28a8c6f..acc65f61 100644 --- a/src/os-plugins/plugins/vmware/init-hooks/80-after-plugins/adapt-tmpfs.sh +++ b/src/os-plugins/plugins/vmware/init-hooks/80-after-plugins/adapt-tmpfs.sh @@ -16,9 +16,9 @@ # adapt tmpfs size (overbook) case $(grep tmpfs /proc/mounts) in */tmp*) - mount -o remount,size=160% /mnt/tmp + mount -o remount,size=175% /mnt/tmp ;; */uniontmp*) - mount -o remount,size=160% /mnt/uniontmp + mount -o remount,size=175% /mnt/uniontmp ;; esac -- cgit v1.2.3-55-g7522