Session Details

JAX | 8. - 12. Mai 2017, Mainz

en

09 May 2017
14:45 - 15:45
Bis 23. Februar ✓ 5-Tages-Special ✓ Kollegenrabatt ✓ Bis 430€ sparen! Jetzt anmelden

Turbo Charge CPU Utilization in Fork/Join Using the ManagedBlocker

1475132088344_56fbe6a4cc5c896438affb69version1sizefull.png

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.

Weitere Sessions zum Thema

Behind the Tracks

Agile & Culture
Teamwork & Methoden

Big & Fast Data
Speicherung, Processing & mehr

Cloud Platforms & Container
Alles rund um Cloud

Core Java & JVM Languages
Ausblicke & Best Practices

DevOps & Continuous Delivery
Deployment, Docker & mehr

Microservices
Strukturen & Frameworks

Mobile & Internet of Things
iOS, Android, MQTT & mehr

Web Development & JavaScript
JS & Webtechnologien

Performance & Security
Sichere Webanwendungen

Serverside & Enterprise Java
Spring, JDK & mehr

Digital Transformation & Innovation
Technologien & Vorgehensweisen

Software Architecture
Best Practices