On 10/02/2022 20:32, Chuck Silvers wrote:
On Thu, Feb 10, 2022 at 02:36:30PM +0100, Mateusz Piotrowski wrote:
Did you have some specific way to measure the CPU overhead of DTrace here?
I'm interested in this kind of performance measurements and I wonder if
anything more sophisticated than observing top(1) was used to test this
change. Thanks!
I just looked at top and saw that the CPU usage of the dtrace process
dropped from 100% to around 13%. More importantly, when the fflush was
present dtrace would report that millions of output records were being
dropped, and after the fflush was removed then dtrace no longer reported
any dropped output.
Thanks!
Mateusz