Hi,
Can anyone recommend an appropriate vm.swappiness value to configure on the
machine/server where VPP is running?
We are observing that VPP is moving some unused memory to swap, causing the
overall swap memory consumption on the server to reach 100%.
# sar -S -f /var/log/sa/sa31
Linux 4.18.0-553.22.1.el8_10.x86_64 (fe01) 05/31/2026 _x86_64_
(80 CPU)
12:00:00 AM kbswpfree kbswpused %swpused kbswpcad %swpcad
12:10:00 AM 3343752 30210676 90.03 17800180 58.92
12:20:00 AM 3344264 30210164 90.03 17800176 58.92
12:30:00 AM 3344264 30210164 90.03 17800180 58.92
12:40:00 AM 3344264 30210164 90.03 17800180 58.92
12:50:00 AM 3344264 30210164 90.03 17799712 58.92
01:00:00 AM 3344264 30210164 90.03 17799712 58.92
01:10:00 AM 3338096 30216332 90.05 17804532 58.92
# ps -ef| grep -w 3164414 | grep -v grep
opt 3164414 3164391 99 Apr23 ? 1493-02:58:03
/opt/tools/vpp/bin/vpp -c /opt/tools/vpp/conf/startup.conf
#
# grep -E "VmRSS|VmSwap" /proc/3164414/status
VmRSS: 108039772 kB
VmSwap: 25393128 kB
# free -g
total used free shared buff/cache
available
Mem: 503 173 5 4 324
320
Swap: 31 24 7
The vm.swappiness value of the server is:
# sysctl vm.swappiness
vm.swappiness = 10
Please share your recommendations or any known best practices for
VPP/DPDK-based systems.
Thanks,
Sunil
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#27148): https://lists.fd.io/g/vpp-dev/message/27148
Mute This Topic: https://lists.fd.io/mt/120935055/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/14379924/21656/631435203/xyzzy
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-