Re: RFR: JDK-8299336 - InputStream::DEFAULT_BUFFER_SIZE should be 16384

2022-12-24 Thread Johannes Lichtenberger
I'm also looking forward to io_uring support on Linux kernels which support it and the Windows equivalent :-) The first one should come with one of the project Loom updates sometime. Kind regards Johannes Markus KARG schrieb am Sa., 24. Dez. 2022, 10:11: > I/O had always been much slower than

RFR: JDK-8299336 - InputStream::DEFAULT_BUFFER_SIZE should be 16384

2022-12-24 Thread Markus KARG
I/O had always been much slower than CPU and memory access, and thanks to physical constraints, always will be. While CPUs can get shrinked more and more, and can hold more and more memory cache on or nearby a CPU core, the distance between CPU core and I/O device cannot get reduced much: It