Remove c
article thumbnail

bpftrace (DTrace 2.0) for Linux 2018

Brendan Gregg

Screenshot: tracing read latency for PID 181: # bpftrace -e 'kprobe:vfs_read /pid == 30153/ { @start[tid] = nsecs; } kretprobe:vfs_read /@start[tid]/ { @ns = hist(nsecs - @start[tid]); delete(@start[tid]); }'. Hit Ctrl-C to end.n"); } self int last[dev_t]; /* * Process io start */ io:genunix::start /self->last[args[0]->b_edev] !=

C++ 110
article thumbnail

bpftrace (DTrace 2.0) for Linux 2018

Brendan Gregg

Screenshot: tracing read latency for PID 181: # bpftrace -e 'kprobe:vfs_read /pid == 30153/ { @start[tid] = nsecs; } kretprobe:vfs_read /@start[tid]/ { @ns = hist(nsecs - @start[tid]); delete(@start[tid]); }'. Hit Ctrl-C to end.n"); } self int last[dev_t]; /* * Process io start */ io:genunix::start /self->last[args[0]->b_edev] !=

C++ 40
article thumbnail

SQL Server I/O Basics Chapter #2

SQL Server According to Bob

The caching of data pages and grouping of log records helps remove much, if not all, of the command latency associated with a write operation. In versions ​​ earlier than ​​ SQL Server 2004 SP4, SQL Server latch enforcement protection involved more protection transitions.

Servers 40