how greedy are your processes? | Linux niceness
Vložit
- čas přidán 13. 08. 2023
- Discovering Backend Bottlenecks: Unlocking Peak Performance
performance.husseinnasser.com
In this video I explain linux Nice processes and how to change the priority of a process.
In the Linux operating system, processes manage and execute applications and tasks. One of the key utilities for managing processes on Linux is the `nice` command, which adjusts the priority of a process. Every process on Linux is assigned a 'niceness' value, which ranges from -20 (highest priority) to 19 (lowest priority). The default niceness value for processes is 0. By adjusting this value, users can influence the scheduler's decisions, giving more CPU time to crucial tasks and less to background jobs. The related command, `renice`, allows users to modify the priority of an already running process. Both utilities, when used correctly, provide users with fine-grained control over system resources, ensuring that the system remains responsive and efficient in multitasking environments.
Fundamentals of Backend Engineering Design patterns udemy course (link redirects to udemy with coupon)
backend.husseinnasser.com
Fundamentals of Networking for Effective Backends udemy course (link redirects to udemy with coupon)
network.husseinnasser.com
Fundamentals of Database Engineering udemy course (link redirects to udemy with coupon)
database.husseinnasser.com
Follow me on Medium
/ membership
Introduction to NGINX (link redirects to udemy with coupon)
nginx.husseinnasser.com
Python on the Backend (link redirects to udemy with coupon)
python.husseinnasser.com
Become a Member on CZcams
/ @hnasr
Buy me a coffee if you liked this
www.buymeacoffee.com/hnasr
Arabic Software Engineering Channel
/ @husseinnasser
🔥 Members Only Content
• Members-only videos
🏭 Backend Engineering Videos in Order
backend.husseinnasser.com
💾 Database Engineering Videos
• Database Engineering
🎙️Listen to the Backend Engineering Podcast
husseinnasser.com/podcast
Gears and tools used on the Channel (affiliates)
🖼️ Slides and Thumbnail Design
Canva
partner.canva.com/c/2766475/6...
Stay Awesome,
Hussein - Věda a technologie
Fundamentals of Operating Systems course oscourse.win
nice processes finish last
shut up 😭
hahaha
In Windows I like re-prioritize certain CPU hogs, often as a workaround until the root cause can be properly addressed.
I’ve heard people talking about “re-nicing” Linux processes for over 20 years but have never seen it done. Thank for sharing 🙏
I knew about this nice thing, but the way you have demonstrated is plain awesome.
Linux is awesome, windows is meh...
Hello Hussein! Thank you for the great videos throughout the years.
I just wanted to share another cool way to demonstrate this. The htop command allows to update the priority of a process interactively with the characters [ and ]. That way you can assign different priority values to processes and see the effects in real time.
Thanks again!
Very Entertaining, good to see operating systems are NOT Ghosts. They live a life like human beings & They do not have powers of Ghosts etc.,
Hey Hussein, nice topic and nice talk. In the end, the dessert of philosophical wisdom is also nice 😀
Thanks for talking about nice....and being wise and nice and you never fail to entice us with your awesome knowledge... You are Mr. Nice19
Keep bringing value dude 💪
really appreciate this kind of content.
Learnt something new.. thank you sir
Cool. Didn't know about this.
Hi hussein
This things are really beautiful
Do u have a course on operating systems teaching these kinds of stuff. If not then I will be the first student of that course 😅
Unlock your backend performance - check out new course performance.husseinnasser.com
How did you get that emoji???
nice
when are you doing crash course on "vitess"
From where you read this stuff?
'nice' and 'swap'... two things that rank amateurs shouldn't mess with, but often do.
so, this is why nice guys finish last 😛😂
can anyone please give me link to discord server?
I never noticed your accent until now