feat: add loader feature and make hermit-entry optional - #2546
Merged
Conversation
mkroening
force-pushed
the
hermit-entry-optional
branch
from
July 10, 2026 13:34
7fc6aa1 to
8ec95bc
Compare
There was a problem hiding this comment.
Benchmark Results
Details
| Benchmark | Current: ed85a9b | Previous: 2e23902 | Performance Ratio |
|---|---|---|---|
| startup_benchmark Build Time | 112.29 s |
80.34 s |
1.40 ❗ |
| startup_benchmark File Size | 0.77 MB |
0.80 MB |
0.97 ❗ |
| Startup Time - 1 core | 0.94 s (±0.03 s) |
0.75 s (±0.02 s) |
1.27 ❗ |
| Startup Time - 2 cores | 0.94 s (±0.03 s) |
0.74 s (±0.02 s) |
1.28 ❗ |
| Startup Time - 4 cores | 0.92 s (±0.06 s) |
0.74 s (±0.02 s) |
1.24 ❗ |
| multithreaded_benchmark Build Time | 107.09 s |
82.11 s |
1.30 ❗ |
| multithreaded_benchmark File Size | 0.86 MB |
0.86 MB |
1.01 ❗ |
| Multithreaded Pi Efficiency - 2 Threads | 89.37 % (±13.51 %) |
85.89 % (±6.61 %) |
1.04 |
| Multithreaded Pi Efficiency - 4 Threads | 44.20 % (±6.59 %) |
43.43 % (±2.56 %) |
1.02 |
| Multithreaded Pi Efficiency - 8 Threads | 25.30 % (±4.56 %) |
25.76 % (±1.53 %) |
0.98 |
| micro_benchmarks Build Time | 109.73 s |
80.40 s |
1.36 ❗ |
| micro_benchmarks File Size | 0.87 MB |
0.86 MB |
1.01 ❗ |
| Scheduling time - 1 thread | 83.84 ticks (±4.60 ticks) |
62.65 ticks (±4.06 ticks) |
1.34 ❗ |
| Scheduling time - 2 threads | 42.96 ticks (±1.62 ticks) |
34.08 ticks (±4.10 ticks) |
1.26 ❗ |
| Micro - Time for syscall (getpid) | 4.28 ticks (±0.35 ticks) |
3.45 ticks (±0.58 ticks) |
1.24 ❗ |
| Memcpy speed - (built_in) block size 4096 | 58404.46 MByte/s (±40495.83 MByte/s) |
82448.38 MByte/s (±56997.13 MByte/s) |
0.71 |
| Memcpy speed - (built_in) block size 1048576 | 29375.99 MByte/s (±23940.92 MByte/s) |
30585.98 MByte/s (±24707.84 MByte/s) |
0.96 |
| Memcpy speed - (built_in) block size 16777216 | 28712.80 MByte/s (±23762.05 MByte/s) |
26340.06 MByte/s (±21720.96 MByte/s) |
1.09 |
| Memset speed - (built_in) block size 4096 | 58760.03 MByte/s (±40734.86 MByte/s) |
82292.76 MByte/s (±56891.50 MByte/s) |
0.71 |
| Memset speed - (built_in) block size 1048576 | 30108.23 MByte/s (±24356.16 MByte/s) |
31323.85 MByte/s (±25145.86 MByte/s) |
0.96 |
| Memset speed - (built_in) block size 16777216 | 29452.90 MByte/s (±24173.16 MByte/s) |
27104.68 MByte/s (±22209.94 MByte/s) |
1.09 |
| Memcpy speed - (rust) block size 4096 | 52626.01 MByte/s (±37181.14 MByte/s) |
74097.96 MByte/s (±51811.44 MByte/s) |
0.71 |
| Memcpy speed - (rust) block size 1048576 | 29263.01 MByte/s (±23895.26 MByte/s) |
30361.60 MByte/s (±24602.37 MByte/s) |
0.96 |
| Memcpy speed - (rust) block size 16777216 | 28989.96 MByte/s (±24020.24 MByte/s) |
27625.34 MByte/s (±22806.88 MByte/s) |
1.05 |
| Memset speed - (rust) block size 4096 | 52905.04 MByte/s (±37361.59 MByte/s) |
74373.47 MByte/s (±51976.48 MByte/s) |
0.71 |
| Memset speed - (rust) block size 1048576 | 30000.80 MByte/s (±24310.49 MByte/s) |
31110.89 MByte/s (±25033.24 MByte/s) |
0.96 |
| Memset speed - (rust) block size 16777216 | 29724.96 MByte/s (±24421.88 MByte/s) |
28386.93 MByte/s (±23265.03 MByte/s) |
1.05 |
| alloc_benchmarks Build Time | 103.30 s |
74.76 s |
1.38 ❗ |
| alloc_benchmarks File Size | 0.85 MB |
0.87 MB |
0.97 ❗ |
| Allocations - Allocation success | 91.35 % |
91.31 % |
1.00 ❗ |
| Allocations - Deallocation success | 100.00 % |
100.00 % |
1 |
| Allocations - Pre-fail Allocations | 61.55 % |
61.44 % |
1.00 ❗ |
| Allocations - Average Allocation time | 5362.85 Ticks (±308.18 Ticks) |
5860.58 Ticks (±98.43 Ticks) |
0.92 ❗ |
| Allocations - Average Allocation time (no fail) | 6046.66 Ticks (±302.56 Ticks) |
6554.81 Ticks (±92.86 Ticks) |
0.92 ❗ |
| Allocations - Average Deallocation time | 1121.06 Ticks (±451.20 Ticks) |
1805.01 Ticks (±250.35 Ticks) |
0.62 ❗ |
| mutex_benchmark Build Time | 107.50 s |
79.82 s |
1.35 ❗ |
| mutex_benchmark File Size | 0.87 MB |
0.86 MB |
1.01 ❗ |
| Mutex Stress Test Average Time per Iteration - 1 Threads | 14.82 ns (±0.74 ns) |
12.10 ns (±0.41 ns) |
1.22 ❗ |
| Mutex Stress Test Average Time per Iteration - 2 Threads | 70.76 ns (±5.09 ns) |
40.26 ns (±1.68 ns) |
1.76 ❗ |
This comment was automatically generated by workflow using github-action-benchmark.
mkroening
force-pushed
the
hermit-entry-optional
branch
3 times, most recently
from
July 10, 2026 14:40
2c830f9 to
6096be7
Compare
mkroening
force-pushed
the
hermit-entry-optional
branch
6 times, most recently
from
August 2, 2026 14:35
1ccda42 to
ba20327
Compare
This was referenced Aug 2, 2026
mkroening
force-pushed
the
hermit-entry-optional
branch
2 times, most recently
from
August 4, 2026 09:07
615de1b to
f6316e8
Compare
This was referenced Aug 10, 2026
mkroening
force-pushed
the
hermit-entry-optional
branch
2 times, most recently
from
August 10, 2026 17:20
63f3d67 to
e56683f
Compare
mkroening
force-pushed
the
hermit-entry-optional
branch
2 times, most recently
from
August 10, 2026 20:28
2c1e524 to
c141532
Compare
mkroening
force-pushed
the
hermit-entry-optional
branch
3 times, most recently
from
August 11, 2026 12:03
7876502 to
1a3ccbc
Compare
…, `FdtStartInfo`, and `UhyveStartInfo` traits
mkroening
force-pushed
the
hermit-entry-optional
branch
from
August 11, 2026 12:05
e9b61d0 to
f9e440e
Compare
mkroening
marked this pull request as ready for review
August 11, 2026 12:05
mkroening
force-pushed
the
hermit-entry-optional
branch
2 times, most recently
from
August 11, 2026 13:02
a8b311e to
cbd31fe
Compare
mkroening
force-pushed
the
hermit-entry-optional
branch
from
August 11, 2026 14:29
cbd31fe to
4c87521
Compare
This makes hermit-entry optional.
mkroening
force-pushed
the
hermit-entry-optional
branch
from
August 11, 2026 14:36
4c87521 to
2b300da
Compare
hermit-entry optionalloader feature and make hermit-entry optional
This was referenced Aug 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a
loaderfeatures and makeshermit-entryoptional in preparation for #2366.Depends on:
start.stoexceptions.s#2594env::fdt()#2595make_p4_writable()#2597static KERNEL_ADDR_RANGE#2620This is needed for: