Skip to content
Discussion options

You must be logged in to vote

yes this setting is for the RAM buffer. A higher buffer size will reduce syscalls as surge downloads into buffers from a pool of buffers and then writes the buffer into the disk using syscalls.
yes increasing the buffer size reduces the load on the disk but only up to an extent.

because if you keep increasing the buffer size then you are allotting more and more part of your RAM to surge buffers, something which you can use for other prgrams

Also the difference between using a 512KB buffer and a 1024KB buffer is not very signficant
Scenario A:
You want to write 2048KB and you are using 512KB buffers
total write calls around 2048/512 = 4

Scenario B:
You want to write 2048KB and you are usin…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by junaid2005p
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