ros-realtime / ros-realtime-rpi4-image

An image for the Raspberry Pi 4 with ROS 2 and Linux RT preinstalled
Apache License 2.0
224 stars 41 forks source link

Turn off memory compaction #71

Closed shuhaowu closed 1 year ago

shuhaowu commented 1 year ago

I noticed the real-time linux documentation are being changed over the last week and this has appeared on https://wiki.linuxfoundation.org/realtime/documentation/known_limitations

image

We should do this as well.

LanderU commented 1 year ago

@shuhaowu, do we need to update the kernel config or only apply that on the user-space? I'll open an MR on this to apply that.

shuhaowu commented 1 year ago

Should be similar to how we turn off real-time throttling. In fact you can extend that service https://github.com/ros-realtime/ros-realtime-rpi4-image/blob/master/image_builder/data/jammy-rt/rootfs/opt/ros2-rt-rpi4/rt-throttling