Results 1 to 4 of 4
Thread: multi-core
- 02-24-2012, 04:30 PM #1
Member
- Join Date
- Oct 2011
- Posts
- 6
- Rep Power
- 0
multi-core
Hi all,
I'm currently doing a project which require me to run multiple instance of the same Jar on multiple core. I'm running it on a 6-core with hyper-threading, which makes it effectively 12 cores.
Right now, I tried to run 12 instances of the jar on the the processor, effective it is 1 instance on 1 core by setting the affinity. since I'm triggering the processes as a independent JVM, i believe each process is allocated it's own memory. however, the time taken for each instances under the this condition to complete takes roughly around 20 mins, while the time taken for 1 instance to complete when only 1 instances is running is about 65 seconds.
Some how I think that the execution time doesn't make sense.
does any one had any idea why this is happening?
Regards
bernerd
- 02-24-2012, 05:13 PM #2
Re: multi-core
How does running the java program differ from running any other program in your testing?
- 02-25-2012, 03:55 AM #3
Member
- Join Date
- Oct 2011
- Posts
- 6
- Rep Power
- 0
Re: multi-core
well, the purpose of running multiple instances of that java program is to be able to generate multiple instances of Plans.
Each instances of plans created by the java program was suppose to be randomized, as the current version of the program only create 1 plan. but that part isn't worrying. It is done this way so that all the Cores can actually be utelized to 100% efficient.
But right now, I'm triggering the process by using cmd to call the jar file created. I'm using a HP 12 core system with 12gb memory, when I only run a instance of that program on 1 core, it took about 65 seconds. But when I run 12 instance of the program on 12 core, setting affinity so that each process could have it's own core, the average time required to complete increased to about 20 mins. Even though i had trigger the 12 program under diffferent JVM. the computation time is still too long.
- 02-25-2012, 03:59 AM #4
Similar Threads
-
Multi-Panel multi-class GUI communication
By manji51 in forum AWT / SwingReplies: 4Last Post: 05-25-2011, 01:54 PM -
Multi core
By neeti in forum Threads and SynchronizationReplies: 2Last Post: 10-22-2009, 03:56 AM -
Order Management System Java Developer NYC-Core Java/Multi-threading/Socket Developer
By evanp in forum Jobs OfferedReplies: 0Last Post: 07-22-2008, 04:39 PM -
ckkl-core 0.3.1
By JavaBean in forum Java SoftwareReplies: 0Last Post: 11-12-2007, 06:05 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks