-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
utils: use JFR events to track door interaction with other cells
Motivation: for slow transfers we want to be able to see how long cell communications took time. This information can be collected with java flight recorder. Modification: Update Transfer class to record JFR events when interaction with other cells takes place. The mover stop implementation uses an addition event holder, as mover kill uses notification, thus no callback. Result: message interaction information visible in JFR. ``` $ jfr print --categories dCache /tmp/dCacheDomain_12455560939331420208.jfr | head -20 (git)-[transfer-jfr] org.dcache.door.Messages { startTime = 09:45:35.672 duration = 37.8 ms message = "PnfsGetFileAttributes" Source = "NFS-nairi@dCacheDomain" Destination = "PnfsManager" eventThread = "proc-9" (javaThreadId = 73) stackTrace = [ org.dcache.util.Transfer.lambda$readNameSpaceEntryAsync$2(Transfer$MessageEvent, boolean, PnfsGetFileAttributes) line: 818 org.dcache.cells.CellStub.lambda$transformAsync$3(AsyncFunction, Message) line: 559 com.google.common.util.concurrent.AbstractTransformFuture$AsyncTransformFuture.doTransform(AsyncFunction, Object) line: 223 com.google.common.util.concurrent.AbstractTransformFuture$AsyncTransformFuture.doTransform(Object, Object) line: 210 com.google.common.util.concurrent.AbstractTransformFuture.run() line: 123 ] } ... ``` Acked-by: Lea Morschel Target: master Require-book: no Require-notes: yes
- Loading branch information
Showing
1 changed file
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters