java multi threading expert needed


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.


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).

Note: Trial # 4 uses command line args 0 to N/2 and N/2 to N, trial #5 repeats args 0 to N TT x 1.5 times.

Use this form to record your information – I’ve filled in much of your information already.

N (runs for @ 3 minutes) = ___________ Total # of Threads (TT) = ___ TTx1.5 = _______

# Threads Args Trial Mins Secs Total Secs Percent

1 0 N #1 100%

2 0 N 0 N #2

3 0 N 0 N 0 N #3

2 0 N/2 N/2 N #4

TT x 1.5 0 N x (TTx1.5) #5

Answer these as clearly and succinctly as possible. Add your answers below each question. Answers that are clear, organized and non-rambling will earn you more points that those that are. When comparing you’ll be referring to percentages generally.

1. Did you get similar results in terms of percentages as show in the example? Why/Why not – what do you think?

2. In the example shown (and perhaps your own), why do you think trials #2 and #3 take more time than #1 – shouldn’t they be close in time? What did your runs show? What do you conclude?

3. In the example, why does trial #4 not take close to half the time of #1? After all you have two threads doing the work of one? ( <- I consider this probably the most important question)

4. In the example, why is trial #5 so much worse?

5. What happens if you comment out the code that executes the .join() calls? Carefully explain. Provide a pair of screenshots that show a simple example (once with and once w/o join()) using three threads? Paste them right below, you’ll be pasting other runs in Part III.

Screenshot with join() using 3 threads

Screenshot without join() using 3 threads repeating above command line arguments

Skills: C Programming, Java, Javascript, MySQL, SQL

See more: system multi java, simple multi threading chat java, public relations needed expert, expert system project java, send receive data mulit threading sockets java, send data serversocket client socket mulit threading sockets java, parameters needed pass viop client java code, java clear memory, needed expert network, online multi java, java clear memory buffer, code ftp upload multiple threading code java, factory server threading socket java, programmer needed expert advisor, multi java, multi java games

Project ID: #12238485

5 freelancers are bidding on average ₹335/hour for this job


Hi there, I’d like to be considered for your job position. I’m a Software Developer with a strong background developing window application as well Android app development. I can turn your requirement in a way that More

₹388 INR / hour
(9 Reviews)

Hi, I am a technically strong person could write any piece of code on Java, PHP and Android based technologies. In fact some of the projects which I developed and delivered quite challenging in terms of logic and thi More

₹400 INR / hour
(16 Reviews)

A proposal has not yet been provided

₹333 INR / hour
(9 Reviews)

Hi, I'm a software architect and Java developer. I have no problem working on your projects as you specified. Please contact me and I look forward to hearing from you soon!

₹277 INR / hour
(0 Reviews)

Dear Sir, Your have recently advertised for website developer . After reading the job description I am confident that I would be a perfect fit for this position as my experience and abilities precisely match your requ More

₹277 INR / hour
(0 Reviews)

Hello my name is Leonardo , I have experience with JavaEE 10 years ( JSP , SPring , JSF , Struts2, SPring BOOT, Primefaces )JPA (Hibernate, eclipselink) Bootstratp , html5 . ecomerce , CRUD , Reports (IReport and Ja More

₹277 INR / hour
(0 Reviews)