redis - disable Transparent Huge Pages THP - Wie löst Ihr das?

tony blue

Well-Known Member
Dec 26, 2017
79
2
48
52
Hallo,

redis wird im Hintergrund für viele Anwendungen benötigt (z. B. nextcloud, rspamd, etc.). Wenn man redis auf einem LXC-Container installiert meckert er immer beim Start:

Code:
176:M 13 May 17:49:58.864 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to ret
ain the setting after a reboot. Redis must be restarted after THP is disabled.

Wie geht Ihr denn damit um?

1. Die Fehlermeldung akzeptieren und redis "meckern" lassen

2. Transparent Huge Pages (THP abschalten

Wenn ich https://forum.proxmox.com/threads/d...e-pages-inside-a-container.55997/#post-257999 richtig verstehe, kann man das aber nur am Host (Proxmox) deaktivieren. Dann ist es für alle LXC Container deaktiviert.

3. andere Lösung?

Hier wird noch etwas berichtet: https://forum.proxmox.com/threads/f...uge-pages-in-lxc-container.67209/#post-301641

Damit komme ich aber nicht weiter.

Wie habt Ihr das gelöst?


Vielen Dank!


Tony
 
Last edited:
Hi,

So mir bekannt ist kann man THP am host kernel global ein oder auschalten.
Also entweder keiner oder alle.

Die Frage ist, inwieweit das die anderen VM verlangsamt, wenn es ausschalten ist?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!