I am experiencing a significant performance degradation after upgrading my kernel from version 6.6 to 6.7 and would appreciate any insights or suggestions. I have reported the issue here, but I am still looking forward to getting more feedback on this issue to see if it affects others as well.
Problem Description:
I am running a simulation application where most of the threads are using real-time scheduling (SCHED_RR), and the threads of a model are using SCHED_DEADLINE. After upgrading the kernel, I noticed that the execution time of my model has increased from 4.5ms to 6ms
@woshilcb Have you been able to identify root cause or possible fixes for the performance issue? We observing performance degradation with IO’s (read and write) when we upgraded from 6.5 to 6.8 kernel part of Jammy 22.04.
Check the What I Have Done So Far: section’s point 2, I reverted those two commits and the performance is better. But I am not sure how it is related to I/O operations, since those two changes about the RT and deadline scheduling, which my application is using.
Thank you @woshilcb for your timely reply. Our application uses SCHED_RR for few high priority threads and also RT Throttling settings to reserve some CPU time for low priority tasks.
I will try to revert commits listed and rerun performance benchmark. I was wondering if there is a way to overcome this perf issue with out kernel rebuild.
@ganjihal did you manage to resolve IO performance issue? We’re seeing the similar issue after upgrade from Ubuntu 22.04 (kernel 6.5) to Ubuntu 24.04 (either kernel 6.8 or 6.11). Downgrade would be obvious choice but kernel 6.8 has TCP improvements that really help our use case.