Hello all,
A server with a “4 cores, 8 threads” microprocessor can run 4 or 8 applications really simultaneously?
Greetings
olivier
Hello all,
A server with a “4 cores, 8 threads” microprocessor can run 4 or 8 applications really simultaneously?
Greetings
olivier
Well… There’s not a “really simultaneously”. But a fast time sharing is “simultaneously” from our point of view, and with more cores it becomes “more simultaneously” because we get real overlapping simultaneous processing. Not only your apps uses the cores but the OS too. So, to simplify…
Does a dual core processor cal run 2 apps “really simultaneously” ?
No, because in a rudimentary point of view they are running 3 apps , the OS is another one, and the OS interferes all the time in the global processing.
Does a single core run just one app?
No, they can run as much the OS supports. The OS distributes/shares processing time between all the processes allowing multiple tasks to run pseudo-simultaneously.
Do a server with a “4 cores, 8 threads” microprocessor can run 4 or 8 applications really simultaneously?
Really simultaneously no. But they have an excellent performance for 4 to 7 (depends on host and apps). All they share the same data bus, so they have some wait times loading content to cache/pipelines and returning data to memory.
It sounds like a CPU with hyper threading. That’s simply a way to use one physical CPU to create two virtual ones. So while one app on one virtual CPU waits for data from RAM, the other one can use CPU to do calculations.
ok, thank you Rick and Christian!
It’s like my brain. It can only focus on one thing at once.