summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSebastian Schmelzer2011-02-28 19:34:55 +0100
committerSebastian Schmelzer2011-02-28 19:34:55 +0100
commit904058731fe2bb2607114fcc4347be543429240e (patch)
tree05f360fa0e2c1f49b624e660a41e9fc2283644b6 /src
parentadd noldsc flag (diff)
downloadcore-904058731fe2bb2607114fcc4347be543429240e.tar.gz
core-904058731fe2bb2607114fcc4347be543429240e.tar.xz
core-904058731fe2bb2607114fcc4347be543429240e.zip
tune tmpfs/ramzswap
Diffstat (limited to 'src')
-rw-r--r--src/os-plugins/plugins/vmchooser/files/run-virt.sh2
-rw-r--r--src/os-plugins/plugins/vmware/init-hooks/80-after-plugins/adapt-tmpfs.sh4
2 files changed, 3 insertions, 3 deletions
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