Lädt...


🐧 How to properly set buff/cache consumption. Linux starts to swap memory, even that there is a lot lot "available" memory. For qemu kvm virtual host.


Nachrichtenbereich: 🐧 Linux Tipps
🔗 Quelle: reddit.com

How to properly set buff/cache consumption. Linux starts to swap memory, even that there is a lot lot "available" memory?

I have following free -h output

total: 125g

used: 54g

free: 1g

shared: 1,3g

buff/cache/: 70g

available: 67g

swap total: 151

swap used: 10gb

cat /proc/meminfo

buffers: 274496kb

cached: 69439892kb

I tried to set vm.swappiness=1

and tried vfs_cache_pressure=150

But I didn't understand vfs_cache_pressure meaning. Some sources say that the higher the value the faster the system reclaims cache, other sources say the other way around.

1) How do I determine what process (virtual mahine in my case) uses a lot of buff/cache?

2) What are the best ways to make Linux kernel to prefer reclaim cached memory before using swap?

I don't want to disable swap altogether because it can lead to OOM Killer.

And when swap is used - it leads to huge performance drops for some of my applications (related to machine learning)

3) What are kernel options that I can change to improve performance of disk caching?

4) What are the ways to change qemu kvm options to lessen use of cache?

Maybe disable writeback cache for virtual disks?

submitted by /u/glorsh66
[link] [comments] ...

🕵️ Linux Kernel up to 5.6 KVM Subsystem arch/s390/kvm/kvm-s390.c unknown vulnerability


📈 43.64 Punkte
🕵️ Sicherheitslücken

🐧 Can i drag and drop file from guest to host on Qemu/kvm with Spice?


📈 33.14 Punkte
🐧 Linux Tipps

🐧 Share Folder Between Guest and Host in virt-manager (KVM/Qemu/libvirt)


📈 33.14 Punkte
🐧 Linux Tipps

📰 Was bedeutet "buff"? Bedeutung und Verwendung


📈 32.59 Punkte
📰 IT Nachrichten

🕵️ Linux Kernel up to 4.14.7 KVM arch/x86/kvm/x86.c memory corruption


📈 32.29 Punkte
🕵️ Sicherheitslücken

🕵️ Linux Kernel up to 5.3 KVM Hypervisor /dev/kvm Out-of-Bounds memory corruption


📈 32.29 Punkte
🕵️ Sicherheitslücken

🪟 Get buff and stuff with the $200 PowerBlock Personal Trainer Set


📈 32.08 Punkte
🪟 Windows Tipps

🐧 qq2clone: make and manage copy-on-write clones of template QEMU/KVM virtual machines


📈 30.73 Punkte
🐧 Linux Tipps

🐧 I made a cute wallpaper for my Windows QEMU/KVM virtual machine. Just to tell Windows who's the boss here.


📈 30.73 Punkte
🐧 Linux Tipps

🔧 Cache-Control, Netlify-CDN-Cache-Control, Cache Invalidation, Oh My


📈 30.51 Punkte
🔧 Programmierung

🕵️ Linux Kernel bis 4.8.6 KVM arch/x86/kvm/emulate.c x86_decode_insn Denial of Service


📈 29.92 Punkte
🕵️ Sicherheitslücken

🕵️ Linux Kernel bis 4.8.6 KVM arch/x86/kvm/emulate.c x86_decode_insn Denial of Service


📈 29.92 Punkte
🕵️ Sicherheitslücken

🕵️ Linux Kernel bis 4.13.3 KVM Subsystem arch/x86/kvm/vmx.c Denial of Service


📈 29.92 Punkte
🕵️ Sicherheitslücken

🕵️ Linux Kernel bis 4.14.7 KVM arch/x86/kvm/x86.c Pufferüberlauf


📈 29.92 Punkte
🕵️ Sicherheitslücken

🕵️ Linux Kernel up to 4.18.11 on ARM64 KVM arch/arm64/kvm/guest.c privilege escalation


📈 29.92 Punkte
🕵️ Sicherheitslücken

🕵️ Linux Kernel up to 4.8.6 KVM arch/x86/kvm/emulate.c x86_decode_insn denial of service


📈 29.92 Punkte
🕵️ Sicherheitslücken

🕵️ Linux Kernel up to 4.13.3 KVM Subsystem arch/x86/kvm/vmx.c denial of service


📈 29.92 Punkte
🕵️ Sicherheitslücken

matomo