10 May 2018, FINKI Amphitheatre
starting at 18:15

Turbo Charge CPU Utilization in Fork/Join Using the ManagedBlocker

Dr. Heinz Kabutz

Fork/Join is a framework for parallelizing calculations using recursive decomposition, also called divide and conquer. These algorithms occasionally end up duplicating work, especially at the beginning of the run. We can reduce wasted CPU cycles by implementing a reserved caching scheme. Before a task starts its calculation, it tries to reserve an entry in the shared map. If it is successful, it immediately begins. If not, it blocks until the other thread has finished its calculation. Unfortunately this might result in a significant number of blocked threads, decreasing CPU utilization. In this talk we will demonstrate this issue and offer a solution in the form of the ManagedBlocker. Combined with the Fork/Join, it can keep parallelism at the desired level.

About the speaker

Heinz is the mastermind behind The Java Specialists' Newsletter. He has a PhD in Computer Science. Heinz has programmed significant portions of several large Java applications and has taught Java to thousands of professional programmers. He is a regular speaker at all the major Java conferences. Java ChampionsHeinz was chosen as a Java Champion by Sun Microsystems, the inventors of Java, for his work in advancing Java. Heinz presents our Java training courses anywhere in the world, either in person or via remote teaching technologies. He is the author of all our courses, including Java Specialist Master, Design Patterns and Concurrency Specialist Courses. Heinz is fluent in English and German.

How to post on jug.mk

Organized events

2018

Tech session #23

10 May 2018, FINKI Amphitheatre

JavaSkop 2018

31 March 2018, Cineplexx, Skopje City Mall, Halls 5 & 6

Tech session #22

30 January 2018, FINKI Small Amphitheatre

2017

Tech session #21

09 November 2017, FINKI Small Amphitheatre

JavaSkop 2017

11 March 2017, Cineplexx, Skopje City Mall, Halls 5 & 6

Tech session #20

25 January 2017, FINKI Small Amphitheatre

2016

Tech session #19

20 October 2016, FINKI Small Amphitheatre

2015

JavaSkop 2015

13 December 2015, Cineplexx, Skopje City Mall, Halls 5 & 6

Tech session #18

04 November 2015, FINKI Small Amphitheatre

Tech talk by Endava #2

24 September 2015, Endava Offices, top floor

Tech talk by Endava

21 July 2015, Endava Offices, top floor

Tech session #17

25 March 2015, Broz Cafe (1-st) floor

2014

Java Day #4

22 November 2014, Cineplexx, Skopje city mall

Tech Session #16

30 September 2014, Club of Journalists (Клуб на новинари)

Tech Session #15

19 June 2014, PMF Building

Tech Session #14

26 February 2014, Club of Journalists (Клуб на новинари)

2013

Java Day #3

22 December 2013, Cineplexx, Skopje city mall

Tech Session #13

02 October 2013, FINKI

Java Day #2

23 February 2013, Skopje Fair

2012

Tech Session #12

06 June 2012, PMF Building

Tech Session #11

08 February 2012, FINKI

2011

10 years Eclipse Birthday Party

23 November 2011, Cafe Opera

Tech Session #10

05 October 2011, Club of Journalists (Клуб на новинари)

Java 7 Macedonia

20 July 2011, Skopje Fair Business Hall

Tech Session #9

20 April 2011, FEIT (Conference hall)

2010

Java Day #1

18 December 2010, EU Info Center

Tech Session #8

03 March 2010, FEIT (Conference hall)

2009

Tech Session #7

15 July 2009, FEIT (Conference hall)

Tech Session #6

17 June 2009, FEIT (211)

Tech Session #5

13 May 2009, ETF (Amphitheater)

Tech Session #4

08 April 2009, ETF (Amphitheater)

Tech Session #3

04 March 2009, ETF (Amphitheater)

Tech Session #2

26 January 2009, ETF (Conference hall)

2008

Tech Session #1

24 December 2008, ETF (Conference hall)

Sponsors

Supporters

Fork me on GitHub