Static And Dynamic Scheduling For Effective Use Of Multicore Systems