课程: Linux Performance Tuning

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

The Linux kernel and responsiveness

The Linux kernel and responsiveness - Linux教程

课程: Linux Performance Tuning

The Linux kernel and responsiveness

- [Instructor] The key factor with the Linux kernel when it comes to having your system be responsive is whether the kernel is preemptable or not. This is particularly important when you have few processors. If you have lots of processors, lots of cores. Then there's a good chance one's available and things can be fast. But when processes are competing. If all the processors are busy then something important needs to run. That means you have to preempt something that's less important and that's the kernel's decision. When the kernel's configured, there are three ordinary choices for preemption and some kernels have a special option that's not part of most mainline kernels yet. The real time preempt option, which is the fastest and best for some situations but ordinarily not an option. And if you cannot build in your own kernel then you're just limited to whatever way your current kernel's configured. The idea of…

内容