Choose style:

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - briggers

Pages: [1]
Advanced Topics / Re: Changed swappiness value ignored on boot
« on: September 24, 2018, 09:05:25 am »
Oh my gosh - and another way of being stupid is...

Thank you very much for spotting that. It explains why it worked when typed in for a session.

All good now  :)

Advanced Topics / Re: Changed swappiness value ignored on boot
« on: September 24, 2018, 07:01:42 am »
Thanks for the reply, but that is exactly what I have done.
This is the tail of sysctl.conf
Code: [Select]
richard@AOA110 ~ $ tail /etc/sysctl.conf
# Protected links
# Protects against creating or following links under certain conditions
# Debian kernels have both set to 1 (restricted)
# See

# Decrease swappiness to a more reasonable level for ssd
richard@AOA110 ~ $

After reboot :

Code: [Select]
richard@AOA110 ~ $ cat /proc/sys/vm/swappiness
richard@AOA110 ~ $

This suggests that it fails to read sysctl.conf on startup or there is a later process that rewrites the default value.
I've tried both
Code: [Select]
Code: [Select]
vm.swappinesss = 10
and it makes no difference

However i8f i change it for the session with
Code: [Select]
richard@AOA110 ~ $ sudo sysctl vm.swappiness=10
[sudo] password for richard:
vm.swappiness = 10
richard@AOA110 ~ $ cat /proc/sys/vm/swappiness
richard@AOA110 ~ $

It changes as you can see

It's always worked for me on other distros

Advanced Topics / [Solved] Changed swappiness value ignored on boot
« on: September 23, 2018, 08:09:40 am »
I've just installed peppermint 9 on an old acer aspire one AOA101 with 1mg of memory and want to set swappiness to 10 or lower.
I've added
vm.swappiness=10 to /etc/sysctl.conf
Then rebooted
when I issue command
cat /proc/sys/vm/swappiness
it reports
if issue command
cat /etc/sysctl.conf
it shows

So it seems to ignore the new value and continues with the default value of 60
Have I missed something?
Any help would be appreciated, thanks.

Pages: [1]