Skip to content

What exactly does "http.chunk-size" in the config file do? #6882

Closed Answered by mikf
kookie99 asked this question in Q&A
Discussion options

You must be logged in to vote

They both influence memory buffer size (or chunk size).

http.chunk-size

Determines how much data gets stored in memory before it is written to disk. Higher values increase memory usage but might cause better disk I/O performance.

hash.chunk-size

Determines how much data is read from disk at once and stored in memory when computing hash digests. Higher values increase memory usage but might speed up hash computation.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by mikf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants