Skip to content

riscv64: Support errno - #2699

Open
sbutz wants to merge 1 commit into
hermit-os:mainfrom
sbutz:sb/riscv_errno
Open

riscv64: Support errno#2699
sbutz wants to merge 1 commit into
hermit-os:mainfrom
sbutz:sb/riscv_errno

Conversation

@sbutz

@sbutz sbutz commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Partly fixes #2636.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Benchmark Results

Details
Benchmark Current: ee20673 Previous: 2e23902 Performance Ratio
startup_benchmark Build Time 91.55 s 80.34 s 1.14
startup_benchmark File Size 0.79 MB 0.80 MB 0.99
Startup Time - 1 core 0.71 s (±0.01 s) 0.75 s (±0.02 s) 0.95
Startup Time - 2 cores 0.71 s (±0.01 s) 0.74 s (±0.02 s) 0.97
Startup Time - 4 cores 0.72 s (±0.02 s) 0.74 s (±0.02 s) 0.97
multithreaded_benchmark Build Time 90.33 s 82.11 s 1.10
multithreaded_benchmark File Size 0.88 MB 0.86 MB 1.02
Multithreaded Pi Efficiency - 2 Threads 67.62 % (±6.36 %) 85.89 % (±6.61 %) 0.79
Multithreaded Pi Efficiency - 4 Threads 42.17 % (±1.88 %) 43.43 % (±2.56 %) 0.97
Multithreaded Pi Efficiency - 8 Threads 20.56 % (±1.17 %) 25.76 % (±1.53 %) 0.80
micro_benchmarks Build Time 224.26 s 80.40 s 2.79
micro_benchmarks File Size 0.88 MB 0.86 MB 1.02
Scheduling time - 1 thread 174.35 ticks (±40.41 ticks) 62.65 ticks (±4.06 ticks) 2.78
Scheduling time - 2 threads 99.41 ticks (±20.76 ticks) 34.08 ticks (±4.10 ticks) 2.92
Micro - Time for syscall (getpid) 7.79 ticks (±4.48 ticks) 3.45 ticks (±0.58 ticks) 2.26
Memcpy speed - (built_in) block size 4096 56580.31 MByte/s (±40042.10 MByte/s) 82448.38 MByte/s (±56997.13 MByte/s) 0.69
Memcpy speed - (built_in) block size 1048576 14861.87 MByte/s (±12427.47 MByte/s) 30585.98 MByte/s (±24707.84 MByte/s) 0.49
Memcpy speed - (built_in) block size 16777216 11994.14 MByte/s (±9938.27 MByte/s) 26340.06 MByte/s (±21720.96 MByte/s) 0.46
Memset speed - (built_in) block size 4096 56682.30 MByte/s (±40102.50 MByte/s) 82292.76 MByte/s (±56891.50 MByte/s) 0.69
Memset speed - (built_in) block size 1048576 15135.36 MByte/s (±12532.24 MByte/s) 31323.85 MByte/s (±25145.86 MByte/s) 0.48
Memset speed - (built_in) block size 16777216 12201.76 MByte/s (±10019.40 MByte/s) 27104.68 MByte/s (±22209.94 MByte/s) 0.45
Memcpy speed - (rust) block size 4096 52966.47 MByte/s (±38592.54 MByte/s) 74097.96 MByte/s (±51811.44 MByte/s) 0.71
Memcpy speed - (rust) block size 1048576 13804.72 MByte/s (±11287.65 MByte/s) 30361.60 MByte/s (±24602.37 MByte/s) 0.45
Memcpy speed - (rust) block size 16777216 12345.70 MByte/s (±10306.80 MByte/s) 27625.34 MByte/s (±22806.88 MByte/s) 0.45
Memset speed - (rust) block size 4096 53403.43 MByte/s (±38820.45 MByte/s) 74373.47 MByte/s (±51976.48 MByte/s) 0.72
Memset speed - (rust) block size 1048576 14083.95 MByte/s (±11412.00 MByte/s) 31110.89 MByte/s (±25033.24 MByte/s) 0.45
Memset speed - (rust) block size 16777216 12623.40 MByte/s (±10440.87 MByte/s) 28386.93 MByte/s (±23265.03 MByte/s) 0.44
alloc_benchmarks Build Time 208.38 s 74.76 s 2.79
alloc_benchmarks File Size 0.87 MB 0.87 MB 0.99
Allocations - Allocation success 91.38 % 91.31 % 1.00
Allocations - Deallocation success 100.00 % 100.00 % 1
Allocations - Pre-fail Allocations 61.60 % 61.44 % 1.00
Allocations - Average Allocation time 26016.61 Ticks (±1684.63 Ticks) 5860.58 Ticks (±98.43 Ticks) 4.44
Allocations - Average Allocation time (no fail) 26844.43 Ticks (±1959.18 Ticks) 6554.81 Ticks (±92.86 Ticks) 4.10
Allocations - Average Deallocation time 5210.97 Ticks (±1260.64 Ticks) 1805.01 Ticks (±250.35 Ticks) 2.89
mutex_benchmark Build Time 214.21 s 79.82 s 2.68
mutex_benchmark File Size 0.88 MB 0.86 MB 1.02
Mutex Stress Test Average Time per Iteration - 1 Threads 32.60 ns (±7.94 ns) 12.10 ns (±0.41 ns) 2.69
Mutex Stress Test Average Time per Iteration - 2 Threads 31.56 ns (±8.95 ns) 40.26 ns (±1.68 ns) 0.78

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

@sbutz
sbutz marked this pull request as ready for review September 4, 2026 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Some PCI setups are broken on RISC-V

1 participant