The officially official Devuan Forum!

You are not logged in.

#1 2022-08-24 18:48:36

shazam
Member
Registered: 2022-08-13
Posts: 2  

How to change swappiness in Devuan with sysvint ?

How to change swappiness in Devuan with sysvint for reducing swapping in SSD ?
in debian with systemd
i follow  these steps:

pluma admin:///etc/sysctl.conf
then i add the following lines in sysctl.conf

# Reduce the swappiness from 60 default to 10
vm.swappiness=10

how to do this in devuan withsystvint?

Offline

#2 2022-08-24 19:20:26

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: How to change swappiness in Devuan with sysvint ?

vm.swappiness does not control when swap is used. It only mediates what type of swap is used once it is activated.

EDIT: but yes, configuring sysctl.conf is identical under sysvinit (or even runit-init or openrc-init).

Last edited by Head_on_a_Stick (2022-08-24 19:27:18)


Brianna Ghey — Rest In Power

Offline

Board footer