Skip to content

[GST] webkitwebsrc : Ensure minimum queue high watermark for small files - #1720

Open
asurdej-comcast wants to merge 1 commit into
WebPlatformForEmbedded:wpe-2.46from
asurdej-comcast:webkitwebsrc_queue_size
Open

[GST] webkitwebsrc : Ensure minimum queue high watermark for small files#1720
asurdej-comcast wants to merge 1 commit into
WebPlatformForEmbedded:wpe-2.46from
asurdej-comcast:webkitwebsrc_queue_size

Conversation

@asurdej-comcast

@asurdej-comcast asurdej-comcast commented Aug 20, 2026

Copy link
Copy Markdown

Current logic allows downloading of files smaller than 2MB in single request. Everything above that is subject to high/low watermarks that is 2% and 0.4% of file size. For files just above 2MB limit the high watermark is just above 40kb that results with frequent pause/resume cycles.

Make sure that high watermark is not less than 2MB
7522e66

Build-Tests Layout-Tests
✅ 🛠 wpe-246-amd64-build ✅ 🧪 wpe-246-amd64-layout
✅ 🛠 wpe-246-arm32-build ✅ 🧪 wpe-246-arm32-layout

Current logic allows downloading of files smaller than 2MB in single request.
Everything above that is subject to high/low watermarks that is 2% and 0.4% of file size.
For files just above 2MB limit the high watermark is just 50kb that results with
frequent pause/resume cycles.

Make sure that high watermark is not less than 2MB
@asurdej-comcast

Copy link
Copy Markdown
Author

Possibly we should also consider maximum queue size, current 2% for really big files, like 200GB, would be 2GB in memory buffer

@modeveci
modeveci requested a review from eocanha August 20, 2026 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants