On Tue, 25 Jul 2023 02:09:29 GMT, Brian Burkhalter <b...@openjdk.org> wrote:

> It's based on micro-benchmarks. Having the loops in Java reduces throughput 
> but allocating memory using `malloc(len)` also reduces throughput as `len` 
> gets larger and this threshold appears to balance the two.

Are these micro benchmarks dropping the file system cache so there is real file 
I/O? I wasn't expecting to see a buffer larger than 1Mb so curious what the 
benchmarks say.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/14981#discussion_r1273028051

Reply via email to