https://wiki.linuxfoundation.org/realtime/documentation/howt...
But beware, "scheduling latency" has very little to do with responsiveness as it would appear to a user of some desktop environment.