Explore how the Linux kernel preempts processes and how you can configure a kernel to change that behavior.
- [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 kernel preemption is when a…process wants to wake up.…
To respond to an event…and another process is currently…
- Timing techniques
- Packages for performance
- Identifying and optimizing CPU bottlenecks
- Finding memory bottlenecks
- Diagnosing disk bottlenecks
Skill Level Advanced
Learning Linux Shell Scripting (2017)with Sarath Lakshman8h 19m Intermediate
1. Performance Overview
2. CPU Bottlenecks
3. Memory Bottlenecks
4. Disk Bottlenecks
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.