Learn about the Linux kernel schedule processes and threads and how you can control them.
- [Instructor] So when we talk about scheduling,…we're talking about having the Linux kernel…and it's the scheduler function in the kernel…choosing which thread or process,…or in the kernel they use the word, task,…which thing to run when a CPU becomes available.…And if there's more things ready to run than cores,…then that can be an important decision.…It's the scheduling class nice value,…priority and potentially other factors…can be taken into account in the scheduler's decision.…
Some of the other factors include the User ID.…One user that's already running some processes…when they try to run something else in addition,…they get aggregate the same amount of time as somebody else…so one particular user can't dominate the system…by trying to run lots of stuff.…And a process that's been using the CPU a lot already…will get a little less time in the future.…So every task is associated with a scheduling class.…
And these names correspond to what can be done in the code.…But for the most part, it's other,…the class for most processes.…
- Timing techniques
- Packages for performance
- Identifying and optimizing CPU bottlenecks
- Finding memory bottlenecks
- Diagnosing disk bottlenecks
Skill Level Advanced
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.