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: ead4a07 Previous: ee6e5d2 Performance Ratio
startup_benchmark Build Time 134.02 s 135.29 s 0.99
startup_benchmark File Size 0.90 MB 0.90 MB 1.00
Startup Time - 1 core 0.94 s (±0.02 s) 0.93 s (±0.02 s) 1.01
Startup Time - 2 cores 0.94 s (±0.02 s) 0.94 s (±0.02 s) 1.00
Startup Time - 4 cores 0.94 s (±0.02 s) 0.97 s (±0.02 s) 0.98
multithreaded_benchmark Build Time 137.56 s 141.88 s 0.97
multithreaded_benchmark File Size 1.00 MB 1.00 MB 1.00
Multithreaded Pi Efficiency - 2 Threads 2.94 % (±14.14 %) 2.83 % (±13.59 %) 1.04
Multithreaded Pi Efficiency - 4 Threads 1.84 % (±8.83 %) 1.60 % (±7.68 %) 1.15
Multithreaded Pi Efficiency - 8 Threads 0.89 % (±4.27 %) 0.78 % (±3.74 %) 1.14
micro_benchmarks Build Time 221.88 s 195.06 s 1.14
micro_benchmarks File Size 1.01 MB 1.01 MB 1.00
Scheduling time - 1 thread 3.45 ticks (±16.54 ticks) 3.06 ticks (±14.68 ticks) 1.13
Scheduling time - 2 threads 1.51 ticks (±7.25 ticks) 1.58 ticks (±7.57 ticks) 0.96
Micro - Time for syscall (getpid) 0.20 ticks (±0.95 ticks) 0.16 ticks (±0.79 ticks) 1.20
Memcpy speed - (built_in) block size 4096 1192.75 MByte/s (±5725.19 MByte/s) 1680.11 MByte/s (±8064.52 MByte/s) 0.71
Memcpy speed - (built_in) block size 1048576 708.91 MByte/s (±3402.75 MByte/s) 559.39 MByte/s (±2685.09 MByte/s) 1.27
Memcpy speed - (built_in) block size 16777216 206.85 MByte/s (±992.88 MByte/s) 201.86 MByte/s (±968.91 MByte/s) 1.02
Memset speed - (built_in) block size 4096 1621.62 MByte/s (±7783.78 MByte/s) 1518.99 MByte/s (±7291.14 MByte/s) 1.07
Memset speed - (built_in) block size 1048576 939.01 MByte/s (±4507.25 MByte/s) 1283.86 MByte/s (±6162.54 MByte/s) 0.73
Memset speed - (built_in) block size 16777216 820.81 MByte/s (±3939.87 MByte/s) 869.39 MByte/s (±4173.09 MByte/s) 0.94
Memcpy speed - (rust) block size 4096 1188.12 MByte/s (±5702.97 MByte/s) 685.71 MByte/s (±3291.43 MByte/s) 1.73
Memcpy speed - (rust) block size 1048576 681.13 MByte/s (±3269.42 MByte/s) 547.47 MByte/s (±2627.87 MByte/s) 1.24
Memcpy speed - (rust) block size 16777216 205.11 MByte/s (±984.51 MByte/s) 206.17 MByte/s (±989.64 MByte/s) 0.99
Memset speed - (rust) block size 4096 1463.41 MByte/s (±7024.39 MByte/s) 1304.35 MByte/s (±6260.87 MByte/s) 1.12
Memset speed - (rust) block size 1048576 969.53 MByte/s (±4653.76 MByte/s) 1280.41 MByte/s (±6145.97 MByte/s) 0.76
Memset speed - (rust) block size 16777216 851.75 MByte/s (±4088.41 MByte/s) 881.11 MByte/s (±4229.33 MByte/s) 0.97
alloc_benchmarks Build Time 207.68 s 186.50 s 1.11
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.41 % (±9.77 %) 1.39 % (±9.66 %) 1.01
Allocations - Pre-fail Allocations 2.00 % (±13.86 %) 2.00 % (±13.86 %) 1
Allocations - Average Allocation time 228.58 Ticks (±1583.96 Ticks) 241.20 Ticks (±1671.42 Ticks) 0.95
Allocations - Average Allocation time (no fail) 228.58 Ticks (±1583.96 Ticks) 241.20 Ticks (±1671.42 Ticks) 0.95
Allocations - Average Deallocation time 16.24 Ticks (±112.52 Ticks) 16.83 Ticks (±116.64 Ticks) 0.96
mutex_benchmark Build Time 211.19 s 186.85 s 1.13
mutex_benchmark File Size 1.01 MB 1.01 MB 1.00
Mutex Stress Test Average Time per Iteration - 1 Threads 0.34 ns (±2.36 ns) 0.34 ns (±2.36 ns) 1
Mutex Stress Test Average Time per Iteration - 2 Threads 0.42 ns (±2.91 ns) 0.36 ns (±2.49 ns) 1.17

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

@valopok valopok marked this pull request as draft September 28, 2025 14:35
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.

1 participant