AbstractThe CPU scheduling is the basis of multi-programming operating systems. By switching the CPU among processes, the operating system can make the computer more productive. The scheduler controls the way processes are managed in the operating system. Linux supports preemptive multitasking, this means that the process scheduler decides which process runs and when. Balance performance across different computer configurations is one challenge in modern operating systems.Linux has two separate process-scheduling algorithms. If a Linux system performs similar tasks in a regular manner, it could be useful to implement optimizations to the Linux scheduler to optimize the performance of those tasks. In this project, we analyze and evaluate the impact of changing the kernel values on the performance of the calculation of 8,765,4321 digits of pi using the Leibniz formula measuring the time that the system takes to perform the calculation.