Multiprocessor scheduling optimization