Warning: chmod(): Operation not permitted in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [0] in function chmod in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [1] in function include_once in /var/www/hopeinstoughton_www/wp-settings.php on line 560 [2] in function require_once in /var/www/hopeinstoughton_www/wp-config.php on line 85 [3] in function require_once in /var/www/hopeinstoughton_www/wp-load.php on line 50 [4] in function require_once in /var/www/hopeinstoughton_www/wp-blog-header.php on line 13 [5] in function require in /var/www/hopeinstoughton_www/index.php on line 17
| Server IP : 94.177.8.99 / Your IP : 216.73.217.165 Web Server : Apache/2.4.58 (Ubuntu) System : Linux aries 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/share/doc/bpftrace/examples/ |
Upload File : |
Demonstrations of biostacks, the Linux BCC/eBPF version.
This tool shows block I/O latency as a histogram, with the kernel stack trace
that initiated the I/O. This can help explain disk I/O that is not directly
requested by applications (eg, metadata reads on writes, resilvering, etc).
For example:
# ./biostacks.bt
Attaching 5 probes...
Tracing block I/O with init stacks. Hit Ctrl-C to end.
^C
@usecs[
blk_account_io_start+1
blk_mq_make_request+1102
generic_make_request+292
submit_bio+115
_xfs_buf_ioapply+798
xfs_buf_submit+101
xlog_bdstrat+43
xlog_sync+705
xlog_state_release_iclog+108
_xfs_log_force+542
xfs_log_force+44
xfsaild+428
kthread+289
ret_from_fork+53
]:
[64K, 128K) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[...]
@usecs[
blk_account_io_start+1
blk_mq_make_request+707
generic_make_request+292
submit_bio+115
xfs_add_to_ioend+455
xfs_do_writepage+758
write_cache_pages+524
xfs_vm_writepages+190
do_writepages+75
__writeback_single_inode+69
writeback_sb_inodes+481
__writeback_inodes_wb+103
wb_writeback+625
wb_workfn+384
process_one_work+478
worker_thread+50
kthread+289
ret_from_fork+53
]:
[8K, 16K) 560 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[16K, 32K) 218 |@@@@@@@@@@@@@@@@@@@@ |
[32K, 64K) 26 |@@ |
[64K, 128K) 2 | |
[128K, 256K) 53 |@@@@ |
[256K, 512K) 60 |@@@@@ |
This output shows the most frequent stack was XFS writeback, with latencies
between 8 and 512 microseconds. The other stack included here shows an XFS
log sync.