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

Investigate disabling memory over commit and/or the OOM killer #38

Open shuhaowu opened 2 years ago

shuhaowu commented 2 years ago

I think disabling these by default may have some negative side effects for non-RT applications. The benefit for RT application is rather minor, if the RT application is properly coded. Unless there's a good reason to enable this, I'm actually thinking of not enabling this for now. That said, we may consider this again in the future?

carlossvg commented 2 years ago

I think disabling these by default may have some negative side effects for non-RT applications. The benefit for RT application is rather minor, if the RT application is properly coded. Unless there's a good reason to enable this, I'm actually thinking of not enabling this for now. That said, we may consider this again in the future?

@shuhaowu I agree. This was more related to running benchmarks under heavy memory stress but you can always enable it specifically for the tests.