Комментарии:
Your explanation is just amazing. I have a job interview next Thursday. I will comment if I get hired 😁.
And I have posted your channel link to Facebook group
Great videos mon ami!
ОтветитьThank you..
ОтветитьThanks a bunch. I have my Linux finals on 19th Jan. This was a godsent.
ОтветитьI didn't understand anything....Google Translator probably doesn't work well
ОтветитьBut I realized that Parallelism is more effective
ОтветитьWould your definition still hold true when there are multiple CPUs?
ОтветитьI know parallel used multiple core and thread is only one core
But I have question what is task
What is multiplthreds
When I was testing how the number of threads affects speed, I encountered a very strange behavior. With one thread the time is about 2s, with two the time is 10s!!!! And when adding more threads the time decreases (with 32 threads the time is about 4s).
I was running the code on a virtual machine with 4 cores. I didn't use any mutexes and sleep() functions.
What is the reason for that?
thanks man
Ответить