Skip to content

Conversation

valopok
Copy link

@valopok valopok commented Sep 28, 2025

I added NVMe driver support by using an adapted version of the vroom driver.
Alongside this pull request, I will open another pull request in hermit-rs to add an example testing the driver.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark Results

Benchmark Current: 32757ce Previous: 412ca76 Performance Ratio
startup_benchmark Build Time 140.30 s 132.45 s 1.06
startup_benchmark File Size 0.90 MB 0.90 MB 1.00
Startup Time - 1 core 0.98 s (±0.03 s) 0.91 s (±0.02 s) 1.08
Startup Time - 2 cores 0.95 s (±0.02 s) 0.92 s (±0.02 s) 1.03
Startup Time - 4 cores 0.97 s (±0.03 s) 0.94 s (±0.03 s) 1.03
multithreaded_benchmark Build Time 140.78 s 134.01 s 1.05
multithreaded_benchmark File Size 1.01 MB 1.01 MB 1.00
Multithreaded Pi Efficiency - 2 Threads 2.85 % (±13.66 %) 2.75 % (±13.21 %) 1.03
Multithreaded Pi Efficiency - 4 Threads 1.65 % (±7.91 %) 1.58 % (±7.60 %) 1.04
Multithreaded Pi Efficiency - 8 Threads 0.90 % (±4.32 %) 0.91 % (±4.37 %) 0.99
micro_benchmarks Build Time 370.15 s 333.17 s 1.11
micro_benchmarks File Size 1.01 MB 1.01 MB 1.00
Scheduling time - 1 thread 4.44 ticks (±21.32 ticks) 2.70 ticks (±12.95 ticks) 1.65
Scheduling time - 2 threads 3.31 ticks (±15.87 ticks) 2.66 ticks (±12.78 ticks) 1.24
Micro - Time for syscall (getpid) 0.19 ticks (±0.92 ticks) 0.16 ticks (±0.76 ticks) 1.20
Memcpy speed - (built_in) block size 4096 1230.31 MByte/s (±5905.51 MByte/s) 1313.03 MByte/s (±6302.52 MByte/s) 0.94
Memcpy speed - (built_in) block size 1048576 737.45 MByte/s (±3539.76 MByte/s) 771.07 MByte/s (±3701.13 MByte/s) 0.96
Memcpy speed - (built_in) block size 16777216 210.93 MByte/s (±1012.47 MByte/s) 223.57 MByte/s (±1073.15 MByte/s) 0.94
Memset speed - (built_in) block size 4096 1379.31 MByte/s (±6620.69 MByte/s) 1666.67 MByte/s (±8000.00 MByte/s) 0.83
Memset speed - (built_in) block size 1048576 982.56 MByte/s (±4716.29 MByte/s) 881.35 MByte/s (±4230.47 MByte/s) 1.11
Memset speed - (built_in) block size 16777216 892.38 MByte/s (±4283.41 MByte/s) 891.78 MByte/s (±4280.54 MByte/s) 1.00
Memcpy speed - (rust) block size 4096 1176.47 MByte/s (±5647.06 MByte/s) 1200.00 MByte/s (±5760.00 MByte/s) 0.98
Memcpy speed - (rust) block size 1048576 767.72 MByte/s (±3685.08 MByte/s) 766.43 MByte/s (±3678.87 MByte/s) 1.00
Memcpy speed - (rust) block size 16777216 211.27 MByte/s (±1014.08 MByte/s) 224.99 MByte/s (±1079.94 MByte/s) 0.94
Memset speed - (rust) block size 4096 1621.62 MByte/s (±7783.78 MByte/s) 1621.62 MByte/s (±7783.78 MByte/s) 1
Memset speed - (rust) block size 1048576 945.96 MByte/s (±4540.62 MByte/s) 990.30 MByte/s (±4753.42 MByte/s) 0.96
Memset speed - (rust) block size 16777216 880.56 MByte/s (±4226.69 MByte/s) 889.55 MByte/s (±4269.83 MByte/s) 0.99
alloc_benchmarks Build Time 322.40 s 311.09 s 1.04
alloc_benchmarks File Size 0.97 MB 0.97 MB 1.00
Allocations - Allocation success 2.00 % (±13.86 %) 2.00 % (±13.86 %) 1
Allocations - Deallocation success 1.40 % (±9.67 %) 1.40 % (±9.68 %) 1.00
Allocations - Pre-fail Allocations 2.00 % (±13.86 %) 2.00 % (±13.86 %) 1
Allocations - Average Allocation time 324.43 Ticks (±2248.21 Ticks) 257.96 Ticks (±1787.57 Ticks) 1.26
Allocations - Average Allocation time (no fail) 324.43 Ticks (±2248.21 Ticks) 257.96 Ticks (±1787.57 Ticks) 1.26
Allocations - Average Deallocation time 17.54 Ticks (±121.55 Ticks) 17.62 Ticks (±122.13 Ticks) 1.00
mutex_benchmark Build Time 318.79 s 308.35 s 1.03
mutex_benchmark File Size 1.01 MB 1.01 MB 1.00
Mutex Stress Test Average Time per Iteration - 1 Threads 0.32 ns (±2.22 ns) 0.30 ns (±2.08 ns) 1.07
Mutex Stress Test Average Time per Iteration - 2 Threads 0.38 ns (±2.63 ns) 0.40 ns (±2.77 ns) 0.95

This comment was automatically generated by workflow using github-action-benchmark.

@valopok valopok marked this pull request as draft September 28, 2025 14:35
@valopok valopok marked this pull request as ready for review October 2, 2025 14:59
@mkroening mkroening self-assigned this Oct 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants