Page MenuHomeVyOS Platform

Add system image sometimes slower than wget
Open, NormalPublicBUG

Description

Add system image sometimes slower than wget, so updating process increases in times.
The chunk_size 8KB seems very low value.

It should be increased for example to 64KB per chunk (65536) or do another approach.

Details

Version
rolling
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

Viacheslav triaged this task as Normal priority.Feb 24 2026, 2:31 PM

I think this might be related to some problems I’ve noticed as well.

It seems CPU spikes happen with the default add system image. I’m assuming something with the progress bar is causing this. I’ve seen forward traffic latency increase significantly during an image download with this function.

If you do add system image vrf, no progress bar is shown and the update is significantly faster. There also doesn’t seem to be added latency on the forwarding traffic when doing it this way.

Can we make the progress bar optional to alleviate this?

Suggested patch to test

Not a thorough test, but I tried it on a 1.5.0-S1 Proxmox VM. The patch didn't change the chunk size, but it did patch the progressbar.py file.

I had a ping going, watched top, and had an iperf3 -c <host> -P 8 -t 30 going at the same time.

Ping did not fluctuate much at all, seemed normal. The latency I was seeing previously was like 100s of ms at least.

Pulled the file quickly from the LAN, and was ready to apply updates.

When I get some time this week I'll downgrade a live router that's forwarding traffic and try this patch again to confirm it's not affecting forwarding traffic.

Tested on a 1.5.1-S1 router that is forwarding traffic. Manually patched the CHUNK_SIZE, but the patch applied to progressbar.py fine.

Image downloaded quickly over LAN. No impact to latency of forwarded traffic.