On Thursday, May 30, a meeting of JUG.ru with Sergey Melnikov from Raiffeisenbank will take place at the Petersburg office of Oracle. Sergey will tell you how to get highly detailed profiles for your Java applications using standard perf and Intel Processor Trace technology.
Participation is free , registration is required. You can register here . Information about the topic of the meeting and the speaker - under the cut.
The topic of profiling Java applications is pretty much trashed. Can you find anything new in it?
Sergey Melnikov from Raiffeisenbank is sure that yes. Sergey will share his experience in profiling relatively small sections of code. Small, but very important, because the success of the entire application directly depends on the speed of execution of these sections of code!
Sergey will tell you how to use the standard Linux profiler, perf'om, to profile the most genuine applications in Java and how to squeeze the maximum out of perf'a in order to get an unprecedented detail profile.
Then Sergey will show how to use the Intel Processor Trace technology to get an even more detailed profile. To use this purely hardware technology, we have to write our own small profiler using the regular Linux kernel mechanism. The created profiler allows not only to build a very, very accurate profile, but also to show why our software sometimes works more slowly.
In practice, it turns out that developers at every step lurk danger. The fact that “on average” is fast, sometimes it works much slower! And such pitfalls are much more common than it seems. Moreover, our users see these rare cases much more often than we think. But now we will have a tool that allows you to profile not only the average case, but also these rare events. And if we can get the profile of this rare event, then we can fix it!
Sergey Melnikov has been working at Raiffeisenbank since 2016 on a high-frequency trading application. Mainly engaged in the acceleration of existing and writing new low-latency code in Java. Prior to that, he worked at Intel as a productivity engineer for compilers for C / C ++ / FORTRAN languages.
Participation is free, registration is required. You can register here .
Source: https://habr.com/ru/post/452764/
All Articles