Minimizing total busy time in parallel scheduling with application to optical networks