how greedy are your processes? | Linux niceness @hnasr
how greedy are your processes? | Linux niceness  @hnasr
Uploaded August 2023 | Updated November 2026, 2 hours ago
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
medium.com/@hnasr/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 YouTube
youtube.com/channel/UC_ML5xP23TOWKUcc-oAE_Eg/join

Buy me a coffee if you liked this
buymeacoffee.com/hnasr

Arabic Software Engineering Channel
youtube.com/channel/UChWZsjdoRvZ0T9QWZOD6UpA

🔥 Members Only Content
youtube.com/playlist?list=UUMO_ML5xP23TOWKUcc-oAE_Eg



🏭 Backend Engineering Videos in Order
backend.husseinnasser.com

💾 Database Engineering Videos
youtube.com/playlist?list=PLQnljOFTspQXjD0HOzN7P2tgzu7scWpl2

🎙️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/647168/10068


Stay Awesome,
Hussein
how greedy are your processes? | Linux nicenessThe importance of HTTP 2 Go Away FrameDatabase Background WritersWhy first memory access is always slowMemory Management UnitHow HTTP/2 frees connectionsThe cost of virtual memoryYour SSD lies and thats ok .. I thinkThe rule of CPU in the KernelMy New Book: Root Cause, Two Decades of Backend EngineeringAddress Resolution ProtocolPostgres, JSON and TOAST #database
Hussein Nasser |

how greedy are your processes? | Linux niceness

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER