Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: Multiple Single Process Dual Core CPU Thread Threaded
WinBatch is mostly a single threaded application - it usually does not spawn more than one thread of execution to perform tasks. However, this does not mean that WinBatch does take advantage of multi-core processing in several ways.
For example, the newer multi-core CPUs are very sophisticated animals. The latest Xeon processor 5500 series CPUs can actual take certain tasks within a single threaded process and split the work between multiple threads, when it can determine that it would be an advantage to do so. Very cool stuff.
And single threaded applications almost always gets a performance boost on Multi-core systems because they do not have as much competition from other applications and the OS itself.
Also keep in mind that multiple threads does not necessarily means improved performance. Multi-threading a task can actually make it run slower. It requires careful analysis to determine when multi-threading a given task is the right thing to do.
If you really think you have a WinBatch script that will benefit from multiple threads you can always divide the work up between two WinBatch processes. Of course, this means you are responsible for spitting the work up and putting it back together again if necessary.
Article ID: W17983
Filename: WinBatch on Mutliple Core CPU.txt
File Created: 2009:04:23:09:53:22
Last Updated: 2009:04:23:09:53:22