Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enabled gdal multirange, needs ulimit -n 8192 #345

Merged
merged 2 commits into from
Oct 16, 2023
Merged

enabled gdal multirange, needs ulimit -n 8192 #345

merged 2 commits into from
Oct 16, 2023

Conversation

elidwa
Copy link
Contributor

@elidwa elidwa commented Oct 12, 2023

GDAL_HTTP_MULTIRANGE has been enabled but it requires larger than default per process max file descriptor limit.
On ubuntu add entry to /etc/security/limits.conf

  • soft nofile 8192

Do something similar for docker images.

With multirange enabled GDAL curl driver will open several tcp sockets and request ranges data over multiple connections. This can speed up downloads up to 25% to 30% for some data sets (ESA worldcover).

With multirange enabled and default nofile set to 1024 both selftest and subset_perf_test fail. They should pass after nofile limit has been increased.

@jpswinski jpswinski merged commit 839c29f into main Oct 16, 2023
6 checks passed
@jpswinski jpswinski deleted the ulimit8192 branch October 16, 2023 14:48
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.

None yet

2 participants