rmuir commented on issue #14315:
URL: https://github.com/apache/lucene/issues/14315#issuecomment-2691684579

   easy to reproduce on linux if you want to dive in more:
   
   terminal 1: for monitoring whole system and locating PID
   ```console
   $ sudo perf top --sort overhead,overhead_us,overhead_sys,pid,dso,symbol 
--demangle-kernel
   ```
   
   terminal 2: execute test:
   ```console
   $ ./gradlew :lucene:misc:test --tests 
"org.apache.lucene.misc.store.TestDirectIODirectory" -Ptests.jvms=4 
-Ptests.jvmargs= -Ptests.seed=DEE483D0402DBE52 -Ptests.multiplier=2 
-Ptests.useSecurityManager=true -Ptests.nightly=true -Ptests.vectorsize=512 
-Ptests.forceintegervectors=true
   ```
   
   After starting test, watch "terminal 1" for the test to show up and grab its 
pid:
   ```
   Samples: 241K of event 'cycles:P', 4000 Hz, Event count (approx.): 
45392862505 lost: 0/0 drop: 0/0
   Overhead       usr       sys      Pid:Command          Shared Object         
                          Symbol
      6.01%     0.00%     7.68%    10783:TEST-TestDirect  [kernel]              
                          [k] rep_stos_alternative <-- in this example PID 10783
   ```
   
   terminal 3: strace PID of test when you see it climb to the top of `perf top`
   ```console
   $ strace -p 10783
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to