How to measure I / O time for a java application running on ubuntu?

I would like to collect the time during which my application waits for I / O. I am running this java application on ubuntu / linux. I am using yourkit profiler. Suggest if there is another profiling tool for measuring I / O time.

+3
source share
3 answers

Youtkit is great for using a zoom microscope in your application. In these situations, you often have to look at the macroscopic gaze from the outside and take very rough measurements to see if you are associated with CPU binding or IO binding.

, , "" 10% (, , 90% -), , -, , . , , 90%, , . top, iostat vmstat .

strace , , ..... grep perl , .

, . vmstat, , .

, , , ... , .

+1

RotateRight/Zoom LTProf. , , 10 20 lsstack , I/O, Java.

+1

Use straceto view I / O system calls. Read the manintroduction page .

0
source

Source: https://habr.com/ru/post/1761569/


All Articles