RFR: JDK-8299336 - InputStream::DEFAULT_BUFFER_SIZE should be 16384
Markus KARG
duke at openjdk.org
Mon Jan 2 21:09:46 UTC 2023
On Mon, 2 Jan 2023 10:03:02 GMT, Peter Levart <plevart at openjdk.org> wrote:
> Here, the benefit of increasing buffer from 8k to 16k gets from about 10% (doing IO) up to 20% (reading from cache) increase in performance.
I think 10% to 20% is good enough as an argument to go with 16k instead of 8k.
-------------
PR: https://git.openjdk.org/jdk/pull/11783
More information about the core-libs-dev
mailing list