Kernel compilation, (GCS and TimerFreq) improves response speed
Source: Internet
Author: User
Kernel compilation, (GCS and TimerFreq) to improve the response speed-general Linux technology-Linux programming and kernel information. The following is a detailed description. From the Gentoo kernel of 2.6.24, we noticed that the default option will affect the system response speed. The 'group CPU scheduler 'didn't expect kernel 2.6.25 to be the same. I missed the manual compilation twice before I remembered it. Then I checked it on Google and confirmed it. In addition, the 'timer Frequency 'is set to 1000Hz. I don't know if it is a psychological effect. It feels faster than the previous response. However, it is quite certain that the changes to these two options significantly increase the system response time.
Why? I don't know much about Group CPU Scheduler, but I have seen some people explain on the forum that when multiple users run multiple threads at the same time, the role of scheduler is to ensure that threads in different groups (such as user groups) can share a relatively uniform CPU. It is mainly to ensure that threads in A group do not occupy too much CPU. As you can imagine, the limitation of fairness often slows down the whole system on a personal desktop.
While 250Hz is the highest Timer Frequency, the help in Make menuconfig mentioned this is the recommended value for the desktop or other systems that need to respond quickly, but the default configuration of the Gentoo kernel source code is Hz, is the value recommended by the kernel for the server.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.