Hardware platform details, the last column is the product of the two previous columns – you must use a machine with at least 4 total threads (i.e., TT, # OF CORES x # THREADS PER CORE >= 4). Java will report these as “cores”. All of your trials must be done on the same machine without any other programs running to avoid throwing off your results/analysis.
TOTAL RAM (GB) CPU MODEL # OF CORES # THREADS PER CORE TOTAL # OF THREADS (TT)
You have to pick a value for your upper limit (N) that takes about 3 minutes to run with a single thread, i.e., command line args are 0 and N, and then use it for your 5 runs (you may have to do some experimentation to find that value). All run in the bash shell using the time command.
Here is an example of one set of runs to help you. My N is 1,200,000 , and trial #5 is done with 1.5 x TT (e.g., I have 4 total number of threads – reported as cores by Java, so I created 6 threads via command line arguments). My first run defines what 100% is, the other values are computed by dividing the total seconds against the total seconds of the first trial (182 in my case).
6 freelancers are bidding on average ₹55555833/hour for this job
Hi, I'm a software architect and Java expert. Your project is easy for me. Please place your order and I'll deliver it as per your schedule. Thanks and cheers! Kevin.