Slow execution when running programs on mac for long periods of time

Asked 2 years ago, Updated 2 years ago, 38 views

I am running a program that takes a long time (more than 3 hours and less than 10 hours) on a Mac.
I set it so that the program doesn't go to sleep in the middle of the program, but after a while, the program seems to be running slower.
Does anyone have a similar experience?
Also, if you have any experience and have solved the problem, please let me know.

macos

2022-09-30 19:49

1 Answers

In UNIX-based operating systems, processes that have been using CPU for a long time have a nice value.*Priority drops
Administrator privileges are required, but lowering the nice value (higher priority) with the nice or lenice commands may improve the problem.
You can check the nice value by using the ps and top commands.

Is that the only program that feels slow?When the entire system feels heavy, it may be due to lack of memory and thrashing.

If you have data on memory usage and CPU time (*) just after the program starts and a few hours later, you will get a more accurate answer.
tYou can use the top command to check memory usage, CPU time, and nice values.


2022-09-30 19:49

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.