Skip to content

feat(net): TCP segmentation offload#2308

Open
cagatay-y wants to merge 1 commit intohermit-os:mainfrom
cagatay-y:segmentation-offload
Open

feat(net): TCP segmentation offload#2308
cagatay-y wants to merge 1 commit intohermit-os:mainfrom
cagatay-y:segmentation-offload

Conversation

@cagatay-y
Copy link
Contributor

@cagatay-y cagatay-y commented Mar 10, 2026

Closes #1861.

Copy link

@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: 20b7fb7 Previous: fdad7b9 Performance Ratio
startup_benchmark Build Time 88.43 s 99.53 s 0.89
startup_benchmark File Size 0.75 MB 0.75 MB 1.00
Startup Time - 1 core 0.94 s (±0.04 s) 0.97 s (±0.03 s) 0.96
Startup Time - 2 cores 0.94 s (±0.04 s) 1.04 s (±0.04 s) 0.90
Startup Time - 4 cores 0.97 s (±0.03 s) 1.05 s (±0.03 s) 0.93
multithreaded_benchmark Build Time 90.17 s 96.40 s 0.94
multithreaded_benchmark File Size 0.86 MB 0.86 MB 1.00
Multithreaded Pi Efficiency - 2 Threads 88.49 % (±7.94 %) 90.17 % (±10.02 %) 0.98
Multithreaded Pi Efficiency - 4 Threads 44.68 % (±3.07 %) 44.84 % (±3.27 %) 1.00
Multithreaded Pi Efficiency - 8 Threads 25.40 % (±1.53 %) 25.76 % (±1.71 %) 0.99
micro_benchmarks Build Time 99.92 s 112.36 s 0.89
micro_benchmarks File Size 0.86 MB 0.86 MB 1.00
Scheduling time - 1 thread 65.98 ticks (±2.79 ticks) 71.35 ticks (±5.90 ticks) 0.92
Scheduling time - 2 threads 36.29 ticks (±3.55 ticks) 38.38 ticks (±4.04 ticks) 0.95
Micro - Time for syscall (getpid) 2.97 ticks (±0.40 ticks) 3.33 ticks (±0.37 ticks) 0.89
Memcpy speed - (built_in) block size 4096 66980.95 MByte/s (±47732.77 MByte/s) 59141.93 MByte/s (±42155.36 MByte/s) 1.13
Memcpy speed - (built_in) block size 1048576 29642.26 MByte/s (±24704.62 MByte/s) 30401.31 MByte/s (±25552.10 MByte/s) 0.98
Memcpy speed - (built_in) block size 16777216 25507.93 MByte/s (±21471.19 MByte/s) 18341.16 MByte/s (±15866.43 MByte/s) 1.39
Memset speed - (built_in) block size 4096 67286.22 MByte/s (±47921.97 MByte/s) 59854.14 MByte/s (±42637.78 MByte/s) 1.12
Memset speed - (built_in) block size 1048576 30404.52 MByte/s (±25129.06 MByte/s) 31197.32 MByte/s (±25968.12 MByte/s) 0.97
Memset speed - (built_in) block size 16777216 26269.18 MByte/s (±21938.08 MByte/s) 19097.59 MByte/s (±16493.26 MByte/s) 1.38
Memcpy speed - (rust) block size 4096 58642.39 MByte/s (±43542.81 MByte/s) 53053.28 MByte/s (±39154.81 MByte/s) 1.11
Memcpy speed - (rust) block size 1048576 29830.58 MByte/s (±24870.20 MByte/s) 30466.90 MByte/s (±25665.47 MByte/s) 0.98
Memcpy speed - (rust) block size 16777216 25060.67 MByte/s (±21083.51 MByte/s) 18261.97 MByte/s (±15789.67 MByte/s) 1.37
Memset speed - (rust) block size 4096 58946.87 MByte/s (±43709.21 MByte/s) 53807.69 MByte/s (±39617.33 MByte/s) 1.10
Memset speed - (rust) block size 1048576 30601.78 MByte/s (±25294.20 MByte/s) 31246.57 MByte/s (±26099.44 MByte/s) 0.98
Memset speed - (rust) block size 16777216 25819.19 MByte/s (±21564.06 MByte/s) 18401.39 MByte/s (±15837.36 MByte/s) 1.40
alloc_benchmarks Build Time 91.66 s 113.86 s 0.81
alloc_benchmarks File Size 0.82 MB 0.82 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 14125.81 Ticks (±187.19 Ticks) 14598.49 Ticks (±323.80 Ticks) 0.97
Allocations - Average Allocation time (no fail) 14125.81 Ticks (±187.19 Ticks) 14598.49 Ticks (±323.80 Ticks) 0.97
Allocations - Average Deallocation time 1424.55 Ticks (±1121.09 Ticks) 1496.91 Ticks (±1132.41 Ticks) 0.95
mutex_benchmark Build Time 92.71 s 108.58 s 0.85
mutex_benchmark File Size 0.86 MB 0.86 MB 1.00
Mutex Stress Test Average Time per Iteration - 1 Threads 13.22 ns (±0.78 ns) 13.76 ns (±0.88 ns) 0.96
Mutex Stress Test Average Time per Iteration - 2 Threads 18.18 ns (±8.72 ns) 22.58 ns (±13.74 ns) 0.81

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

@cagatay-y cagatay-y force-pushed the segmentation-offload branch from e521116 to 362d976 Compare March 11, 2026 15:21
@mkroening mkroening self-assigned this Mar 11, 2026
@cagatay-y cagatay-y force-pushed the segmentation-offload branch from 362d976 to 11095cd Compare March 12, 2026 12:47
@cagatay-y cagatay-y force-pushed the segmentation-offload branch from 11095cd to 20b7fb7 Compare March 17, 2026 14:37
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.

Support segmentation offload

2 participants