Remove c
article thumbnail

A thorough introduction to bpftrace

Brendan Gregg

For example, iostat(1), or a monitoring agent, may tell you your average disk latency, but not the distribution of this latency. For smaller environments, it can be of more use helping eliminate latency outliers. Kernel dynamic tracing of read() bytes bpftrace -e 'kretprobe:vfs_read { @bytes = lhist(retval, 0, 2000, 200) }'.

Latency 68
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
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

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 ​​ SQL Server 2000 I/O Basics ​​ document is a prerequisite to ​​ the information contained in this ​​ document. and ​​ 2000. SQL Server 2000, and SQL Server 2005. ​​ Read it before you read this paper. SQL Server 6.

Servers 40
article thumbnail

Platform Adjacency Theory

Alex Russell

3] Oh, and it should be imperatively programmed with Lisp-in-C's-clothing. full TCP/IP & UDP networking, including local network discovery. full TCP/IP & UDP networking, including local network discovery. Other use-cases weren't addressable with early 2000's tech. high-color image raster.