- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to know, if I create some child processes to do a work,is it has
the same performance with creating some child threads to do? Is "Multi
Processes" Equals to "Multi Threads" in multi core platform?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This would depend on the application.
Multi-threads by typical deffinition share memory in the same virtual address spacewhereas multi processes have different independent virtual address spaces.
If the application can be divided into processies that do not require rapid consolidation of results data then either system may be equally fast. The less the frequency of consolidation of results data might favor muilti processes as they can be run on completely seperate systems (i.e. no sharing of memory bandwidth).
However, if there is a high degree of rapid consolidation of results data then multi threads with shared memory would perform better.
Jim Dempsey

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page