Skip to content

Instantly share code, notes, and snippets.

@chrisvest
Last active January 7, 2020 10:47
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 chrisvest/69d0e97059a2e2e1d10df3bb7e022c6a to your computer and use it in GitHub Desktop.
Save chrisvest/69d0e97059a2e2e1d10df3bb7e022c6a to your computer and use it in GitHub Desktop.
[chris@flowerpot:~]$ git clone https://github.com/spacejam/rio.git
Cloning into 'rio'...
remote: Enumerating objects: 22, done.
remote: Counting objects: 100% (22/22), done.
remote: Compressing objects: 100% (16/16), done.
remote: Total 514 (delta 6), reused 14 (delta 5), pack-reused 492
Receiving objects: 100% (514/514), 112.48 KiB | 643.00 KiB/s, done.
Resolving deltas: 100% (274/274), done.
[chris@flowerpot:~]$ cd rio
[chris@flowerpot:~/rio (master)]$ cargo test
Updating crates.io index
Compiling libc v0.2.66
Compiling rio v0.5.3 (/home/chris/rio)
Finished test [unoptimized + debuginfo] target(s) in 16.75s
Running target/debug/deps/rio-5133c4439d3c1175
running 4 tests
test use_cases::broadcast ... ignored
test use_cases::cp ... ignored
test use_cases::logger ... ignored
test use_cases::sled_like ... ignored
test result: ok. 0 passed; 0 failed; 4 ignored; 0 measured; 0 filtered out
Doc-tests rio
running 2 tests
test src/lib.rs - (line 37) ... ok
test src/lib.rs - (line 68) ... ok
test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
[chris@flowerpot:~/rio (master)]$ ll examples/
total 4,0K
-rw-rw-r--. 1 chris chris 1,3K Jan 7 11:40 o_direct.rs
[chris@flowerpot:~/rio (master)]$ cargo run --example o_direct
Finished dev [unoptimized + debuginfo] target(s) in 0.00s
Running `target/debug/examples/o_direct`
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.7 | 1.0 | 1.5 | 2.2 | 416.6 | 488.9 | 498.8 | 10320 | 0.025
sq_mu_wait | 0.1 | 0.2 | 0.2 | 0.4 | 1.2 | 8.9 | 42.2 | 10320 | 0.002
enter sqe | 0.0 | 0.0 | 0.1 | 0.4 | 0.4 | 0.4 | 0.4 | 40 | 0.000
--------------------------------------------------------------------------------------------------------------------------------------
cq:
cq_mu_hold | 0.5 | 10.5 | 97.7 | 131.9 | 167.7 | 3541.3 | 8121.3 | 20413 | 0.815
cq_mu_wait | 0.1 | 0.5 | 8.6 | 10.4 | 54.2 | 128.0 | 7060.3 | 20374 | 0.086
enter cqe | 0.0 | 0.2 | 0.2 | 0.3 | 0.5 | 2.6 | 20.5 | 10135 | 0.002
--------------------------------------------------------------------------------------------------------------------------------------
reaping and waiting:
wait | 0.0 | 0.2 | 0.6 | 0.7 | 1.0 | 48.0 | 56.4 | 20480 | 0.006
reap_ready | 0.0 | 0.3 | 0.4 | 0.5 | 0.7 | 2.5 | 2.5 | 15294 | 0.004
--------------------------------------------------------------------------------------------------------------------------------------
[chris@flowerpot:~/rio (master)]$ uname -a
Linux flowerpot 5.4.7-200.fc31.x86_64 #1 SMP Tue Dec 31 22:25:12 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
[chris@flowerpot:~/rio (master)]$ hwloc-ls
Machine (31GB total)
Package L#0
NUMANode L#0 (P#0 31GB)
L3 L#0 (8192KB)
L2 L#0 (256KB) + L1d L#0 (32KB) + L1i L#0 (32KB) + Core L#0
PU L#0 (P#0)
PU L#1 (P#4)
L2 L#1 (256KB) + L1d L#1 (32KB) + L1i L#1 (32KB) + Core L#1
PU L#2 (P#1)
PU L#3 (P#5)
L2 L#2 (256KB) + L1d L#2 (32KB) + L1i L#2 (32KB) + Core L#2
PU L#4 (P#2)
PU L#5 (P#6)
L2 L#3 (256KB) + L1d L#3 (32KB) + L1i L#3 (32KB) + Core L#3
PU L#6 (P#3)
PU L#7 (P#7)
HostBridge
PCI 00:02.0 (VGA)
PCIBridge
PCI 02:00.0 (3D)
PCIBridge
PCI 04:00.0 (Network)
Net "wlp4s0"
PCIBridge
PCI 40:00.0 (NVMExp)
Block(Disk) "nvme0n1"
PCI 00:1f.6 (Ethernet)
Net "enp0s31f6"
[chris@flowerpot:~/rio (master)]$
On EXT4 with LVN drive encryption.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment