Group Selection Page HELP DOC Controls Group Data Analysis Group ITDM WP76 DET Vacuum XRO EEE WP78 WP74 FXE SCS SPB MID HED SQS SXP Sample Environment Photon Commissioning Team Operation PSPO XO TS
General electronics MicroTCA EEE Electronics Lab EEE Rack Room
  MicroTCA Logbook  Not logged in ELOG logo
Message ID: 52     Entry time: 20 Nov 2013, 08:48
Author: Frank Babies 
Type: Configuration 
Category: Software 
Subject: exflutcadev swappiness config changed 

/proc/sys/vm/swappiness from 60 to 10 changed.

I put a script "swappiness" to /usr/sbin/.

#!/bin/bash
echo "swappiness betraegt im Moment `cat /proc/sys/vm/swappiness`%"
echo "swappiness wird auf 10% gestellt"
echo "10" > /proc/sys/vm/swappiness
echo "Swappines ist nun auf `cat /proc/sys/vm/swappiness`% gestellt!"

To replace the default config put in this:

echo "vm.swappiness=10" >> /etc/sysctl.conf

to your sysctl.conf.

 

ELOG V3.1.4-7c3fd00