Skip to content

feat(fs/mem): tarfs implementation without FDT integration#2400

Open
fogti wants to merge 1 commit intohermit-os:mainfrom
fogti:tarfs-v2-minimal
Open

feat(fs/mem): tarfs implementation without FDT integration#2400
fogti wants to merge 1 commit intohermit-os:mainfrom
fogti:tarfs-v2-minimal

Conversation

@fogti
Copy link
Copy Markdown
Contributor

@fogti fogti commented Apr 28, 2026

This is split from #2390 which currently doesn't work due to memory management issues.

TODO: An unit test would be nice to have.

Copy link
Copy Markdown

@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

Details
Benchmark Current: f1793c8 Previous: 615429b Performance Ratio
startup_benchmark Build Time 91.60 s 89.51 s 1.02
startup_benchmark File Size 0.80 MB 0.80 MB 1.00
Startup Time - 1 core 0.80 s (±0.03 s) 0.81 s (±0.03 s) 1.00
Startup Time - 2 cores 0.80 s (±0.03 s) 0.82 s (±0.03 s) 0.98
Startup Time - 4 cores 0.82 s (±0.02 s) 0.82 s (±0.03 s) 1.00
multithreaded_benchmark Build Time 92.50 s 92.20 s 1.00
multithreaded_benchmark File Size 0.91 MB 0.91 MB 1.00
Multithreaded Pi Efficiency - 2 Threads 89.00 % (±8.80 %) 88.88 % (±7.29 %) 1.00
Multithreaded Pi Efficiency - 4 Threads 44.66 % (±2.93 %) 43.88 % (±3.08 %) 1.02
Multithreaded Pi Efficiency - 8 Threads 26.09 % (±1.84 %) 25.36 % (±1.50 %) 1.03
micro_benchmarks Build Time 106.09 s 99.93 s 1.06
micro_benchmarks File Size 0.91 MB 0.92 MB 1.00
Scheduling time - 1 thread 70.49 ticks (±4.34 ticks) 71.72 ticks (±4.05 ticks) 0.98
Scheduling time - 2 threads 40.73 ticks (±6.63 ticks) 41.38 ticks (±6.38 ticks) 0.98
Micro - Time for syscall (getpid) 3.79 ticks (±0.34 ticks) 3.03 ticks (±0.29 ticks) 1.25
Memcpy speed - (built_in) block size 4096 80302.34 MByte/s (±55464.23 MByte/s) 77965.54 MByte/s (±54063.23 MByte/s) 1.03
Memcpy speed - (built_in) block size 1048576 29979.63 MByte/s (±24646.91 MByte/s) 30200.06 MByte/s (±24888.67 MByte/s) 0.99
Memcpy speed - (built_in) block size 16777216 24975.51 MByte/s (±20690.72 MByte/s) 24462.68 MByte/s (±20453.66 MByte/s) 1.02
Memset speed - (built_in) block size 4096 80468.86 MByte/s (±55568.32 MByte/s) 78509.58 MByte/s (±54370.39 MByte/s) 1.02
Memset speed - (built_in) block size 1048576 30802.67 MByte/s (±25138.54 MByte/s) 30967.08 MByte/s (±25321.38 MByte/s) 0.99
Memset speed - (built_in) block size 16777216 25315.81 MByte/s (±20826.38 MByte/s) 25135.18 MByte/s (±20867.30 MByte/s) 1.01
Memcpy speed - (rust) block size 4096 70654.70 MByte/s (±49479.79 MByte/s) 66870.91 MByte/s (±46861.99 MByte/s) 1.06
Memcpy speed - (rust) block size 1048576 30102.32 MByte/s (±24705.60 MByte/s) 30187.98 MByte/s (±24852.29 MByte/s) 1.00
Memcpy speed - (rust) block size 16777216 25297.74 MByte/s (±20898.60 MByte/s) 25884.94 MByte/s (±21602.71 MByte/s) 0.98
Memset speed - (rust) block size 4096 71409.95 MByte/s (±49994.13 MByte/s) 67369.99 MByte/s (±47191.80 MByte/s) 1.06
Memset speed - (rust) block size 1048576 30955.35 MByte/s (±25222.74 MByte/s) 30949.74 MByte/s (±25278.89 MByte/s) 1.00
Memset speed - (rust) block size 16777216 25505.54 MByte/s (±20963.09 MByte/s) 26639.52 MByte/s (±22078.84 MByte/s) 0.96
alloc_benchmarks Build Time 94.08 s 91.57 s 1.03
alloc_benchmarks File Size 0.87 MB 0.87 MB 1.00
Allocations - Allocation success 100.00 % 100.00 % 1
Allocations - Deallocation success 100.00 % 100.00 % 1
Allocations - Pre-fail Allocations 100.00 % 100.00 % 1
Allocations - Average Allocation time 8832.78 Ticks (±548.90 Ticks) 8539.12 Ticks (±120.92 Ticks) 1.03
Allocations - Average Allocation time (no fail) 8832.78 Ticks (±548.90 Ticks) 8539.12 Ticks (±120.92 Ticks) 1.03
Allocations - Average Deallocation time 1097.71 Ticks (±406.87 Ticks) 1672.89 Ticks (±188.54 Ticks) 0.66
mutex_benchmark Build Time 95.47 s 92.47 s 1.03
mutex_benchmark File Size 0.91 MB 0.91 MB 1.00
Mutex Stress Test Average Time per Iteration - 1 Threads 13.20 ns (±0.80 ns) 13.06 ns (±0.79 ns) 1.01
Mutex Stress Test Average Time per Iteration - 2 Threads 17.16 ns (±14.08 ns) 15.44 ns (±8.54 ns) 1.11

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

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