Learn something EVERYTIME I watch one of your videos.
@jarredallen32285 жыл бұрын
One thing I like to use that wasn't mentioned here: If you renice your terminal, then all new jobs you run from within that terminal will inherit the new nice value from the ternal.
@syednadeembe3 жыл бұрын
I didn't know this... thanks man
@ZeeLegend5 жыл бұрын
most of the comments say: Nice video. so I'm going to go another way and say this video was a definite priority for me to watch.
@vladimirmikulic78605 жыл бұрын
Nice level of yours KZbin channel notification is -20 on my system.
@Hackenbaker3 жыл бұрын
Ohhh, man!!! What great content. Clear, clean, and direct to the point. Thanks a lot.
@syednadeembe3 жыл бұрын
amazingly done dude. I was always in doubt whether to set the priority or the nice or both. this helps
@GuitarreroDaniel3 жыл бұрын
This lecture is so freaking epic! Thank you very much man
@arpansrivastava5943 Жыл бұрын
Brilliant explanation! Thank you.
@jairahflores83935 жыл бұрын
Straightforward explanation. Good job, Engr :)
@ibanez77362 жыл бұрын
Super useful thxs! Now when I need a long task to be done I can selectively speed it up
@carina_lins4 жыл бұрын
Thanks for that ! I wish you has a video explaining about Swap memory and difference between memories, when to use them, how they are useful, etc. Cos you explain really well !
@khushitshah22155 жыл бұрын
Keep this work on! Learning something new every video 😊
@ericstevens6534 жыл бұрын
Awesome simple video man. Thank you. I can hope I can find this again when it comes time for implementation
@binbashbuddy5 жыл бұрын
I wish I'd known that a couple weeks ago. Glad I know now, thanks.
@chilusoftcorp77625 жыл бұрын
always love your videos engineer man.
@aishuwaryaaishu67942 жыл бұрын
Kandungan video sangat baik, tahniah
@antwanwimberly1729 Жыл бұрын
Niceness is real Rogue
@tobortine5 жыл бұрын
A long time ago, way before Unix had an L, we would use renice if we had to get a job done quickly during the day. We worked on the basis that if we could give it max priority it would finish before users bothered picking up the phone to moan at the IT dept.
@valiok98805 жыл бұрын
tobortine really cool
@glikar15 жыл бұрын
Brilliant and clear as usual!
@villakuyt5 жыл бұрын
Love your videos !
@azdinator2 жыл бұрын
Question : What could explain that htop shows "wrong" rt-priority value than what had been coded in the software ? You mentioned that at the end, the Kernel has the last word and decides what prio it will assign to which task. Suppose your application has all the rights needed, how could you explain that the prio "seen" by the kernel differs to what has been coded ? Cheers & congrats for your vid.
@aitchpea60115 жыл бұрын
Great video. One question: If I call a script with nice, will programs called from within that script also respect that nice value, or will they default?
@dmsalomon5 жыл бұрын
The nice value of a new process is inherited from its parent process, so yes.
@aitchpea60115 жыл бұрын
@@dmsalomon Perfect. Many thanks.
@iancullicott68675 жыл бұрын
Very nice
@j.48805 жыл бұрын
Nice video
@zinsy235 жыл бұрын
I'm assuming that in Windows, running a process in real time is basically the equivalent to running a nice value of -20 in Linux?
@vladimirmikulic78605 жыл бұрын
hahaha good one.
@fatemepourghaemi25873 жыл бұрын
you rock sir! thanks
@robertkathrein90555 жыл бұрын
notice that 1 CPU with 4 Cores still only can run 1 Process at any given time! It only can handle 4 threads concurrent. To archive true parallel computing you need multiple CPUs not multiple cores
@EngineerMan5 жыл бұрын
I believe you are mistaking CPUs and cores with threads. Each CPU core is independent from one another (including having its own registers and cache) and can handle tasks. A four core CPU can do four independent workloads in parallel. Often times we hear vendors advertising things like four core, eight thread CPUs. In this case, rather than the Linux kernel handling context switching for a four core CPU, it instead sees eight logical cores and the context switching is delegated to the hyper-threading mechanism in the CPU itself. A four core, eight thread machine can handle concurrent tasks better but can still only do four independent workloads.
@Grianan662 жыл бұрын
While this video is 3.5yrs old, it still helped clear my brain fog with nice and priority levels. On a side note, any clue why they chose "nice"? Is it an acronym or something?
@param9342 жыл бұрын
I didn't knew Mr Beast teaches Linux!!
@neelraval125 жыл бұрын
Can you please make a tutorial on how to become a superuser on Linux
@hauby1215 жыл бұрын
Wow I always wondered what ni was in top
@transatlant1c5 жыл бұрын
Nicely done
@syrefaen5 жыл бұрын
Good video!
@frannelk5 жыл бұрын
Very NICEZ 😉😉😉
@AshtonSnapp5 жыл бұрын
Nice!
@jaisonvjohn74975 жыл бұрын
Thanks for the video
@alexeiz5 жыл бұрын
taskset is next?
@DevDungeon5 жыл бұрын
Great example!
@matthewthecomposer5 жыл бұрын
Great video, can you do one on make files please?
@vapon5 жыл бұрын
*I think that a single core with 2 threads can do 2 things in parallel*
@NumbBanana5 жыл бұрын
That's not true. It just seems that way but in reality it is just smart scheduling.
@radiance45245 жыл бұрын
Which linux distro are you using ?
@novaardent45285 жыл бұрын
he uses xubuntu
@porlando125 жыл бұрын
The docker container is CentOS.
@carlesg0n5 жыл бұрын
what's the formula behind nice?
@transatlant1c5 жыл бұрын
Priority +/- Nice --> 20 +/- 0 by default
@transatlant1c5 жыл бұрын
Is that what you mean or the nice value itself specifically?
@DavidH130948 ай бұрын
Niceee
@buckweat4205 жыл бұрын
nice video
@Naleksuh5 жыл бұрын
why did you disable comments on "showing scammer who is boss with python" video
@kougsk3675 жыл бұрын
Noice!
@chriszep213 жыл бұрын
Really "nice" man!
@creeper34905 жыл бұрын
Very *nice*
@creeper34905 жыл бұрын
Hacker is hacking your pc? *boom* set she nice value to 19 The lag will make them stop!