Skip to content

Instantly share code, notes, and snippets.

@lightydo
Created May 14, 2018 08:59
Show Gist options
  • Save lightydo/8a46218977cfd9ffea8f04f43312bdca to your computer and use it in GitHub Desktop.
Save lightydo/8a46218977cfd9ffea8f04f43312bdca to your computer and use it in GitHub Desktop.
Linux Centos68-daniel 2.6.32-642.el6.x86_64 #1 SMP Tue May 10 17:27:01 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
[root@Centos68-daniel ~]# stap -e 'probe vfs.write,vfs.read{}' -c 'dd bs=4K count=1M if=/dev/zero of=/dev/null'
1048576+0 records in
1048576+0 records out
4294967296 bytes (4.3 GB) copied, 3.40183 s, 1.3 GB/s
[root@Centos68-daniel ~]# dd bs=4K count=1M if=/dev/zero of=/dev/null
1048576+0 records in
1048576+0 records out
4294967296 bytes (4.3 GB) copied, 0.603636 s, 7.1 GB/s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment