Use real-time scheduling and mlockall to improve timing