Skip to content

benchmark_malta_20220819T0808.md

Emil Koutanov edited this page Aug 18, 2022 · 1 revision

fb98fbc0c55f3eb4f03053785f223dcbdb32468e

cargo run --bin rwlock --release -- 0:36:9 0:36:9 5 5 2 2
   Compiling libmutex v0.1.0 (/home/emil/code/libmutex/libmutex)
   Compiling libmutex-bench v0.0.0 (/home/emil/code/libmutex/libmutex-bench)
    Finished release [optimized] target(s) in 1.75s
     Running `target/release/rwlock '0:36:9' '0:36:9' 5 5 2 2`
- Running with 0 writer threads and 9 reader threads
- 5 iterations inside lock, 5 iterations outside lock
- 2 seconds per test
libmutex::multilock::MultiLock[WriteBiased] - [write]      0.000 kHz          [read]   4644.446 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]      0.000 kHz          [read]   4740.315 kHz
std::sync::RwLock                           - [write]      0.000 kHz          [read]   8664.123 kHz
parking_lot::RwLock                         - [write]      0.000 kHz          [read]  23642.663 kHz
- Running with 0 writer threads and 18 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write]      0.000 kHz          [read]   5030.218 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]      0.000 kHz          [read]   4996.909 kHz
std::sync::RwLock                           - [write]      0.000 kHz          [read]   8264.714 kHz
parking_lot::RwLock                         - [write]      0.000 kHz          [read]  20436.426 kHz
- Running with 0 writer threads and 27 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write]      0.000 kHz          [read]   4439.344 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]      0.000 kHz          [read]   4388.023 kHz
std::sync::RwLock                           - [write]      0.000 kHz          [read]   7312.499 kHz
parking_lot::RwLock                         - [write]      0.000 kHz          [read]  20362.867 kHz
- Running with 0 writer threads and 36 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write]      0.000 kHz          [read]   4434.230 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]      0.000 kHz          [read]   4381.045 kHz
std::sync::RwLock                           - [write]      0.000 kHz          [read]   7310.967 kHz
parking_lot::RwLock                         - [write]      0.000 kHz          [read]  20297.743 kHz
- Running with 9 writer threads and 0 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write]   1436.253 kHz          [read]      0.000 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]   1306.763 kHz          [read]      0.000 kHz
std::sync::RwLock                           - [write]   5940.273 kHz          [read]      0.000 kHz
parking_lot::RwLock                         - [write]   9246.245 kHz          [read]      0.000 kHz
- Running with 9 writer threads and 9 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write]    895.943 kHz          [read]    277.341 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]    358.252 kHz          [read]   2212.514 kHz
std::sync::RwLock                           - [write]   2721.550 kHz          [read]   1650.204 kHz
parking_lot::RwLock                         - [write]   9965.474 kHz          [read]   1418.480 kHz
- Running with 9 writer threads and 18 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write]    665.119 kHz          [read]    284.351 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]      0.384 kHz          [read]   4318.465 kHz
std::sync::RwLock                           - [write]   1518.634 kHz          [read]   3585.376 kHz
parking_lot::RwLock                         - [write]   9283.526 kHz          [read]   2148.810 kHz
- Running with 9 writer threads and 27 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write]    411.685 kHz          [read]    530.888 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]      0.084 kHz          [read]   4390.527 kHz
std::sync::RwLock                           - [write]   1055.610 kHz          [read]   4472.278 kHz
parking_lot::RwLock                         - [write]   8347.464 kHz          [read]   3097.518 kHz
- Running with 9 writer threads and 36 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write]    181.349 kHz          [read]   2156.621 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]      0.063 kHz          [read]   4403.086 kHz
std::sync::RwLock                           - [write]    822.525 kHz          [read]   4931.656 kHz
parking_lot::RwLock                         - [write]   7700.359 kHz          [read]   3697.604 kHz
- Running with 18 writer threads and 0 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write]   1458.034 kHz          [read]      0.000 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]   1433.577 kHz          [read]      0.000 kHz
std::sync::RwLock                           - [write]   5992.219 kHz          [read]      0.000 kHz
parking_lot::RwLock                         - [write]  11705.117 kHz          [read]      0.000 kHz
- Running with 18 writer threads and 9 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write]   1090.539 kHz          [read]    117.351 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]    810.922 kHz          [read]   1310.125 kHz
std::sync::RwLock                           - [write]   3148.950 kHz          [read]   1329.688 kHz
parking_lot::RwLock                         - [write]  10605.985 kHz          [read]    922.331 kHz
- Running with 18 writer threads and 18 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write]    847.846 kHz          [read]    149.025 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]      1.893 kHz          [read]   4320.293 kHz
std::sync::RwLock                           - [write]   2301.392 kHz          [read]   2393.495 kHz
parking_lot::RwLock                         - [write]   9894.364 kHz          [read]   1511.218 kHz
- Running with 18 writer threads and 27 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write]    636.510 kHz          [read]    207.740 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]      0.306 kHz          [read]   4396.657 kHz
std::sync::RwLock                           - [write]   1767.683 kHz          [read]   3312.719 kHz
parking_lot::RwLock                         - [write]   9081.629 kHz          [read]   2058.206 kHz
- Running with 18 writer threads and 36 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write]    465.363 kHz          [read]    480.855 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]      0.235 kHz          [read]   4415.456 kHz
std::sync::RwLock                           - [write]   1427.479 kHz          [read]   3878.502 kHz
parking_lot::RwLock                         - [write]   8502.363 kHz          [read]   2535.197 kHz
- Running with 27 writer threads and 0 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write]   1450.179 kHz          [read]      0.000 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]   1424.672 kHz          [read]      0.000 kHz
std::sync::RwLock                           - [write]   5996.150 kHz          [read]      0.000 kHz
parking_lot::RwLock                         - [write]  11739.382 kHz          [read]      0.000 kHz
- Running with 27 writer threads and 9 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write]   1186.635 kHz          [read]     65.924 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]    976.062 kHz          [read]    881.277 kHz
std::sync::RwLock                           - [write]   3511.610 kHz          [read]   1082.034 kHz
parking_lot::RwLock                         - [write]  10732.072 kHz          [read]    685.601 kHz
- Running with 27 writer threads and 18 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write]    975.994 kHz          [read]     98.387 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]      6.981 kHz          [read]   4298.138 kHz
std::sync::RwLock                           - [write]   2718.169 kHz          [read]   1858.293 kHz
parking_lot::RwLock                         - [write]  10030.309 kHz          [read]   1159.261 kHz
- Running with 27 writer threads and 27 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write]    766.510 kHz          [read]    100.627 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]      0.382 kHz          [read]   4403.612 kHz
std::sync::RwLock                           - [write]   2255.866 kHz          [read]   2547.363 kHz
parking_lot::RwLock                         - [write]   9383.960 kHz          [read]   1559.383 kHz
- Running with 27 writer threads and 36 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write]    596.134 kHz          [read]    134.085 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]      3.676 kHz          [read]   4381.381 kHz
std::sync::RwLock                           - [write]   1909.868 kHz          [read]   3113.985 kHz
parking_lot::RwLock                         - [write]   8985.391 kHz          [read]   1894.394 kHz
- Running with 36 writer threads and 0 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write]   1448.900 kHz          [read]      0.000 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]   1420.378 kHz          [read]      0.000 kHz
std::sync::RwLock                           - [write]   5994.091 kHz          [read]      0.000 kHz
parking_lot::RwLock                         - [write]  11548.476 kHz          [read]      0.000 kHz
- Running with 36 writer threads and 9 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write]   1238.840 kHz          [read]     41.483 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]   1057.330 kHz          [read]    650.170 kHz
std::sync::RwLock                           - [write]   3810.870 kHz          [read]    933.987 kHz
parking_lot::RwLock                         - [write]  10659.851 kHz          [read]    538.426 kHz
- Running with 36 writer threads and 18 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write]   1064.690 kHz          [read]     70.162 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]     47.401 kHz          [read]   4154.471 kHz
std::sync::RwLock                           - [write]   3046.517 kHz          [read]   1486.187 kHz
parking_lot::RwLock                         - [write]  10078.104 kHz          [read]    923.703 kHz
- Running with 36 writer threads and 27 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write]    895.068 kHz          [read]     76.077 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]      0.668 kHz          [read]   4384.858 kHz
std::sync::RwLock                           - [write]   2544.257 kHz          [read]   2046.811 kHz
parking_lot::RwLock                         - [write]   9473.061 kHz          [read]   1278.162 kHz
- Running with 36 writer threads and 36 reader threads
libmutex::multilock::MultiLock[WriteBiased] - [write]    708.478 kHz          [read]     83.832 kHz
libmutex::multilock::MultiLock[ReadBiased]  - [write]      0.945 kHz          [read]   4397.100 kHz
std::sync::RwLock                           - [write]   2235.324 kHz          [read]   2570.298 kHz
parking_lot::RwLock                         - [write]   9031.231 kHz          [read]   1572.373 kHz