SMS dit: Minimizing cache usage with fixed-priority and earliest deadline first scheduling