Self-time management using Process Management
To achieve high throughput, efficient processor utilization, balanced use of various resources, short turnaround time, fast response time, and guaranteed cutoff time, the operating system has designed many processes for scheduling.Algorithm. However, the results of human thoughts can be migrated. These algorithms are also applicable in our daily lives and can help us to achieve higher efficiency.
Three queues of a process: waiting, ready, and executed.
These three queues correspond to all the things we need to do: what we can do now, what we need to do and what we are doing.
For what can be done now, that is, the list of transactions in the ready queue, we can take a short job-first processing method (I am used to this), because we can get a large throughput, that is, more things can be done. In fact, it is often necessary to sort these tasks according to a certain priority and adopt a high response ratio method to do important things well. AccordingProgramHow to grasp the principle of locality10%Is Causing90%Is the key factor for making decisions. The method for dividing the four quadrants by importance and urgency is very effective (the second quadrant work method ).
For what we cannot do now, we need certain conditions to do things. We can draw a dependency table. Instead of deadlocks on your own time, starting from the shortest layer of the dependency, we will continue to move the events in the waiting queue to the ready queue, and then assign priority to them for decision-making.
For ongoing tasks, you can use some methods to record the time of completing each project by yourself, compare it with the estimated time, and find out whether you are not easy-looking or time-conscious, as a feedback, you can modify your schedule habits as appropriate during future planning.
In addition, for tasks with high system requirements (time-consuming tasks), you can use the memory segmentation and paging mechanism. Divide tasks by function first, and then divide tasks by time or workload. Then, the large tasks are divided into small tasks to break them down one by one.