2023년 2월 8일 수요일

SAP JVM Profiler 사용방법 및 메뉴정리

SAP PO의 JVM Profiler의 화면에 대해서 간략하게 정리를 하였는데 일반적으로 BC쪽에서 보는 화면같고 PO담당자가 보는 화면은 아닌것 같습니다.

NWDS의 SAP JVM Profiler 설치는 아래 내용을 참고

Manage Hosts에 PO정보 :1099를 추가하게 되면 VM Explorer에 각 JVM(노드별)정보가 나오며 아래 옵션의 항목에 지정된 값에 따라 분석결과(Snapshot)를 볼수 있는것 같습니다.

Analysis Options

User, Session, Request, Application, Tenant, Class

각 분석메뉴마다 실행된 결과를 볼수 있는데 PO모니터터링 화면에서 볼수 없는 클래스,메서드,메모리 등의 성능적인 부분도 확인할수 있는것 같고 대부분 커스텀으로 개발된 PO환경인경우 해당메뉴는 필수적으로 체크를 해봐야되는 부분일것 같습니다(개인적인 생각)

Analysis settings

Allocation Analysis

Show the number, size and type of the allocated objects and the methods allocating them.
할당된 Class, Bytes, Objects 정보를 볼수 있습니다. 

Performance Hotspot Analysis

Shows the most time-consuming methods and execution paths.
각 메서드의 CPU Time 정보를 볼수 있습니다.

Method Parameter Analysis

Shows the values of selected method parameters

Synchronization Analysis

Shows the most contended locks and the threads waiting for or holding them.
각 메서드의 Bloked의 카운터와 타임을 볼수 있습니다.

File I/O Analysis

Shows the number of transferred I/O bytes and the methods transferring them.
각 파일(.jar 등)에 대한 Opened, Read와 Write 등의 바이트,타임 정보를 볼수 있습니다.

Network I/O Analysis

Shows the number of transferred I/O bytes and the methods transferring them.
Service, Hosts, Sockets 등의 Address, Port 정보에 대한 Opened, Read, Write 등에 대한 바이트, 타임정보를 볼수 있습니다.

Thread Dump Analysis

Shows conspicuous system Behaviour and resource consumption on the basis of thread dumps.
이 스레드 메뉴같은경우 앞에서 보았던 메뉴들과 다르게 리포트 형식으로 데이터를 볼수 있으며 하단에 스레드 덤프를 클릭 시 각 스레드에 대한 자바 아이디, 스레드상태와 CPU, Elapsed 타임과 할당된 바이트정보를 볼수 있습니다.
SAP MMC의 채널에 행 현상 발생 시 같이 보면 좀더 자세한 원인을 찾을수 있지 않을까 생각이 듭니다.

Gabage Collection Analysis

Shows the recorded grabage collections and detailed statisical and graphical information about them.
리포트 형식으로 GC 구성정보와 설정된 파라메터 정보를 볼수 있으며 세부적으로는 각 GC타입에 대한 실행시간,  GC가 실행되기 전과 후의 자바힙 메모리의 변화, CPU타임 등의 정보를 볼수 있습니다.

Heap Dump Analysis

Shows the objects taken from a snapshot of the java heap
힙 덤프파일(.hprof)을 다운로드 하거나 볼수 있는데 사이즈가 약 GB가정도 되서 볼수 가 없었습니다. 

Class Statistic Analysis

Show the number, size and type of objects in the young/oldperm generation and the metaspace.


각 메뉴의 하위기능들

Methods(Flat), Methods(Hierachical), Threads by ID, Threads by Name, User, Sessions Request, Applications, Tenants, Components(Flat), Components(Hierachical)

SAP JVM Profiler의 기능들은 SAP PO내 자바관련 확인이나 성능 이슈 등을 확인할때 유용해보이긴 하나 운영서버에서 잘 못 사용 시 성능에 영향을 줄수 있을것 같아 주의가 필요해보입니다.

댓글 없음:

댓글 쓰기

최근글

9월 태안~천안 아이와 3박4일 가족 여행지