Skip to content

Conversation

jounathaen
Copy link
Member

This feature delegates all /tmp file accesses to uhyve, which can handle them since hermit-os/uhyve#783
This might be desirable, if the tempfiles are larger than the assigned memory, and it is not desirable when high-performance is required.

This depends on #1976

CC @n0toose

Copy link
Member

@n0toose n0toose left a comment

Choose a reason for hiding this comment

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

lgtm

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: 8530622 Previous: 72feee1 Performance Ratio
startup_benchmark Build Time 110.93 s 111.53 s 0.99
startup_benchmark File Size 0.91 MB 0.91 MB 1.01
Startup Time - 1 core 0.88 s (±0.02 s) 0.91 s (±0.02 s) 0.96
Startup Time - 2 cores 0.90 s (±0.02 s) 0.92 s (±0.03 s) 0.98
Startup Time - 4 cores 0.91 s (±0.01 s) 0.93 s (±0.02 s) 0.98
multithreaded_benchmark Build Time 106.33 s 113.03 s 0.94
multithreaded_benchmark File Size 1.01 MB 1.01 MB 1.00
Multithreaded Pi Efficiency - 2 Threads 3.03 % (±14.55 %) 3.76 % (±18.05 %) 0.81
Multithreaded Pi Efficiency - 4 Threads 1.82 % (±8.75 %) 1.60 % (±7.68 %) 1.14
Multithreaded Pi Efficiency - 8 Threads 0.96 % (±4.61 %) 1.01 % (±4.83 %) 0.96
micro_benchmarks Build Time 106.51 s 112.62 s 0.95
micro_benchmarks File Size 1.02 MB 1.01 MB 1.00
Scheduling time - 1 thread 2.56 ticks (±12.27 ticks) 2.79 ticks (±13.40 ticks) 0.92
Scheduling time - 2 threads 1.37 ticks (±6.59 ticks) 1.98 ticks (±9.48 ticks) 0.70
Micro - Time for syscall (getpid) 0.10 ticks (±0.50 ticks) 0.15 ticks (±0.73 ticks) 0.69
Memcpy speed - (built_in) block size 4096 1838.24 MByte/s (±8823.53 MByte/s) 1516.99 MByte/s (±7281.55 MByte/s) 1.21
Memcpy speed - (built_in) block size 1048576 804.88 MByte/s (±3863.41 MByte/s) 721.98 MByte/s (±3465.52 MByte/s) 1.11
Memcpy speed - (built_in) block size 16777216 234.71 MByte/s (±1126.59 MByte/s) 221.28 MByte/s (±1062.12 MByte/s) 1.06
Memset speed - (built_in) block size 4096 1935.48 MByte/s (±9290.32 MByte/s) 1621.62 MByte/s (±7783.78 MByte/s) 1.19
Memset speed - (built_in) block size 1048576 1029.04 MByte/s (±4939.41 MByte/s) 990.56 MByte/s (±4754.71 MByte/s) 1.04
Memset speed - (built_in) block size 16777216 1024.99 MByte/s (±4919.95 MByte/s) 967.95 MByte/s (±4646.14 MByte/s) 1.06
Memcpy speed - (rust) block size 4096 1428.57 MByte/s (±6857.14 MByte/s) 1212.12 MByte/s (±5818.18 MByte/s) 1.18
Memcpy speed - (rust) block size 1048576 793.02 MByte/s (±3806.50 MByte/s) 756.76 MByte/s (±3632.44 MByte/s) 1.05
Memcpy speed - (rust) block size 16777216 232.62 MByte/s (±1116.58 MByte/s) 223.83 MByte/s (±1074.36 MByte/s) 1.04
Memset speed - (rust) block size 4096 1875.00 MByte/s (±9000.00 MByte/s) 1818.18 MByte/s (±8727.27 MByte/s) 1.03
Memset speed - (rust) block size 1048576 1013.35 MByte/s (±4864.08 MByte/s) 995.62 MByte/s (±4778.97 MByte/s) 1.02
Memset speed - (rust) block size 16777216 1019.23 MByte/s (±4892.31 MByte/s) 950.07 MByte/s (±4560.34 MByte/s) 1.07
alloc_benchmarks Build Time 107.27 s 105.50 s 1.02
alloc_benchmarks File Size 0.97 MB 0.97 MB 1.01
Allocations - Allocation success 2.00 % (±13.86 %) 2.00 % (±13.86 %) 1
Allocations - Deallocation success 1.40 % (±9.69 %) 1.39 % (±9.65 %) 1.00
Allocations - Pre-fail Allocations 2.00 % (±13.86 %) 2.00 % (±13.86 %) 1
Allocations - Average Allocation time 248.53 Ticks (±1722.20 Ticks) 228.34 Ticks (±1582.32 Ticks) 1.09
Allocations - Average Allocation time (no fail) 248.53 Ticks (±1722.20 Ticks) 228.34 Ticks (±1582.32 Ticks) 1.09
Allocations - Average Deallocation time 18.53 Ticks (±128.44 Ticks) 17.31 Ticks (±119.99 Ticks) 1.07
mutex_benchmark Build Time 112.59 s 102.87 s 1.09
mutex_benchmark File Size 1.02 MB 1.02 MB 1.00
Mutex Stress Test Average Time per Iteration - 1 Threads 0.26 ns (±1.80 ns) 0.24 ns (±1.66 ns) 1.08
Mutex Stress Test Average Time per Iteration - 2 Threads 0.30 ns (±2.08 ns) 0.28 ns (±1.94 ns) 1.07

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.

2 participants