[ceph-users] Re: High swap usage on one replication node

2019-12-09 Thread Anthony D'Atri
I’ve had one or two situations where swap might have helped a memory consumption problem, but others in which it would have *worsened* cluster performance. Sometimes it’s better for the *cluster* for an OSD to die / restart / get OOMkilled than for it to limp along sluggishly. In the past RAM

[ceph-users] Re: High swap usage on one replication node

2019-12-08 Thread Martin Verges
Without reading the links: from more then 20y Linux server and datacenter hosting environment, around 7y of Ceph, and hundreds of different systems all configured without swap. I never ever had a problem with noswap that would be solved using swap. But on my Linux desktop swap helps me a bit. bt

[ceph-users] Re: High swap usage on one replication node

2019-12-08 Thread Nigel Williams
On Sun, 8 Dec 2019 at 00:53, Martin Verges wrote: > Swap is nothing you want to have in a Server as it is very slow and can cause > long downtimes. Given the commentary on this page advocating at least some swap to enable Linux to manage memory when under pressure: https://utcc.utoronto.ca/~cks

[ceph-users] Re: High swap usage on one replication node

2019-12-07 Thread Martin Verges
Hello, I would suggest to: ~# swapoff -a ~# vi /etc/fstab ... remove swap line ... and buy additional ram if required. Without knowing your exact use case, 128GB would be our minimum ram for simple use cases and most likely not for EC and complex configurations. Swap is nothing you want to have

[ceph-users] Re: High swap usage on one replication node

2019-12-07 Thread Xavier Trilla
Hi there, I think we have our OSD nodes setup with vm.swappiness = 0 If I remember correctly few years ago vm.swappiness = 0 was changed and now it does not prevent swapping it just reduces the changes of memory being send to swap. Cheers, Xavier. -Mensaje original- De: Götz Reinicke