Skip to content

Instantly share code, notes, and snippets.

@JJJollyjim
Created January 7, 2020 23:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JJJollyjim/4001439bf1918e3ace05f5320ec5fea7 to your computer and use it in GitHub Desktop.
Save JJJollyjim/4001439bf1918e3ace05f5320ec5fea7 to your computer and use it in GitHub Desktop.
```
~/M/rio ❯❯❯ target/release/examples/o_direct ✘ 130
[examples/o_direct.rs:57] post_submit - pre = 33.978026152s
[examples/o_direct.rs:57] post_complete - post_submit = 2.136211581s
rio profile:
op | min (us) | med (us) | 90 (us) | 99 (us) | 99.9 (us) | 99.99 (us) | max (us) | count | sum (s)
--------------------------------------------------------------------------------------------------------------------------------------
sq:
sq_mu_hold | 0.2 | 3.0 | 4.0 | 4.9 | 615.4 | 864.6 | 946.0 | 10243 | 0.046
sq_mu_wait | 0.1 | 0.8 | 1.1 | 1.4 | 2.0 | 21.4 | 24.3 | 10243 | 0.007
ticket q pop | 0.0 | 0.1 | 0.1 | 0.2 | 0.9 | 19.5 | 21.6 | 10241 | 0.001
enter sqe | 0.0 | 0.0 | 0.1 | 0.1 | 0.1 | 0.1 | 0.1 | 41 | 0.000
--------------------------------------------------------------------------------------------------------------------------------------
cq:
enter cqe | 0.0 | 0.1 | 0.1 | 0.2 | 0.3 | 0.5 | 24.6 | 10241 | 0.001
ticket q push | 0.0 | 0.1 | 0.1 | 0.1 | 0.3 | 0.9 | 21.6 | 10240 | 0.001
cq_mu_wait | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 0 | 0.000
cq_mu_hold | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 0 | 0.000
--------------------------------------------------------------------------------------------------------------------------------------
reaping and waiting:
reap_ready | 0.0 | 0.7 | 0.9 | 1.1 | 1.6 | 55.8 | 66.2 | 10241 | 0.006
wait | 0.0 | 0.0 | 0.0 | 0.3 | 0.5 | 2.0 | 20.7 | 20480 | 0.001
--------------------------------------------------------------------------------------------------------------------------------------
```
```
~/M/rio ❯❯❯ target/release/examples/nop
[examples/nop.rs:34] post_submit - pre = 900.779417ms
[examples/nop.rs:34] post_complete - post_submit = 269.995269ms
rio profile:
op | min (us) | med (us) | 90 (us) | 99 (us) | 99.9 (us) | 99.99 (us) | max (us) | count | sum (s)
--------------------------------------------------------------------------------------------------------------------------------------
sq:
sq_mu_hold | 0.1 | 0.2 | 0.2 | 0.2 | 103.8 | 121.8 | 231.0 | 1048579 | 0.543
sq_mu_wait | 0.0 | 0.0 | 0.1 | 0.1 | 0.1 | 30.3 | 43.5 | 1048579 | 0.055
ticket q pop | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.2 | 39.3 | 1048577 | 0.031
enter sqe | 0.0 | 0.0 | 0.0 | 0.0 | 0.1 | 0.2 | 0.2 | 4097 | 0.000
--------------------------------------------------------------------------------------------------------------------------------------
cq:
enter cqe | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.1 | 39.3 | 55492 | 0.002
ticket q push | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.2 | 37.4 | 55491 | 0.002
cq_mu_wait | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 0 | 0.000
cq_mu_hold | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 0 | 0.000
--------------------------------------------------------------------------------------------------------------------------------------
reaping and waiting:
wait | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 37.4 | 2097152 | 0.054
reap_ready | 0.0 | 0.0 | 0.0 | 0.1 | 0.1 | 0.2 | 37.8 | 55492 | 0.002
--------------------------------------------------------------------------------------------------------------------------------------
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment