Skip to content

Conversation

@wlan0
Copy link
Contributor

@wlan0 wlan0 commented Jun 25, 2025

Metric 1MB Buffer 4MB Buffer Unbounded Zero-Copy
Build Time 149.33s 138.57s 139.79s
Max RAM Used 2.16 GB 3.02 GB 3.52 GB
Peak Memory Footprint 8.30 GB 8.17 GB 10.21 GB
Page Reclaims 1,085,559 1,039,677 1,619,943
Page Faults 115 148 143
CPU Usage (User+Sys) 53.71s 53.12s 60.44s

@wlan0 wlan0 force-pushed the streaming-tar branch 2 times, most recently from 179b018 to a810641 Compare June 25, 2025 07:59
@wlan0 wlan0 linked an issue Jun 25, 2025 that may be closed by this pull request
3 tasks
- Addresses #166
- Memory utilization explodes since there is no mechanism for backpressure
- Using a synchronous buffered reader seem to provide similar performance without the memory explosion issue
- 4MB buffer seems to provide the best results

| Metric                   | 1MB Buffer | 4MB Buffer | Unbounded Zero-Copy |
|--------------------------|------------|------------|---------------------|
| Build Time               | 149.33s    | 138.57s    | 139.79s             |
| Max RAM Used             | 2.16 GB    | 3.02 GB    | 3.52 GB             |
| Peak Memory Footprint    | 8.30 GB    | 8.17 GB    | 10.21 GB            |
| Page Reclaims            | 1,085,559  | 1,039,677  | 1,619,943           |
| Page Faults              | 115        | 148        | 143                 |
| CPU Usage (User+Sys)     | 53.71s     | 53.12s     | 60.44s              |
@wlan0 wlan0 merged commit c7c88c2 into main Jun 25, 2025
2 checks passed
@wlan0 wlan0 deleted the streaming-tar branch June 25, 2025 20:51
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.

[Bug]: Transferring context fails with out of space error

2 participants