Home > OS >  Windows server 2008, 8 core CPU, to an exe start within eight times, is run in parallel?
Windows server 2008, 8 core CPU, to an exe start within eight times, is run in parallel?

Time:10-20

Windows server 2008, 8 core CPU, to an exe start within eight times, is run in parallel?
Is there any way to test?

CodePudding user response:

Is not depends on the scheduling system, of course, can't really run in parallel, the system itself and other programs need scheduling,
Scheduling time and just staggered, test, precision test is impossible, the operating system cannot make valuable
CPU spent on computing time, anyway, just look like a run in parallel, can't just wake up together, sleep together

CodePudding user response:

reference 1st floor dustpg response:
is not depends on the scheduling system, of course can't really run in parallel, the system itself and other programs need scheduling,
Scheduling time and just staggered, test, precision test is impossible, the operating system cannot make valuable
CPU spent on computing time, anyway, just look like a run in parallel, can't just wake up together, sleep together



Threads within a process can be truly parallel (openMP), the process level is not? Is not very understanding

CodePudding user response:

OpenMP real parallel? I say true is strictly true, there can be no,
How is it possible that in a few threads start together, end,
But his accuracy is reduced to the level of milliseconds, that is general,
Before and after 1 milliseconds, a number of threads started

CodePudding user response:

reference dustpg reply: 3/f
OpenMP real parallel? I say true is strictly true, there can be no,
How is it possible that in a few threads start together, end,
But his accuracy is reduced to the level of milliseconds, that is general,
1 milliseconds, before and after several threads start


The level of process, with the thread on the same parallel OpenMP, can achieve? Is the operating system automatically?

CodePudding user response:

Said to the operating system, it is impossible for manual control, unless you develop a special deal with the situation of the operating system,
Are likely to be a humble daemon robbed a time slice,

CodePudding user response:

reference 5 floor dustpg reply:
said to operating system, is unlikely to manual control, unless you develop a special deal with the situation of the operating system,
Are likely to be a humble daemon robbed a time slice,


That the practice of the following, which is more efficient on Windows system?
A: 1 computer, A network card, 8 core CPU, 8 parallel threads to start A program, to get A lot of data from A server efficiency,
B: 1 computer, a network card, 8 core CPU, starting eight program each one thread, to get a lot of data from a server efficiency,

CodePudding user response:

Don't talk about efficiency without profiler!! Especially in the cloud computing, virtual machine, simulator, CUDA, multi-core, multistage cache, command line, a variety of storage media,... In the age of flying!