Why is it better to split files into small pieces when writing?

Viewed 138

I'm reading the book "O'Reilly Java IO" and there is a recommendation:

Files аrе often best written in small multiples of the block size of the disk, typically 512, 1024, or 2048 bytes.

I tried to find any explanation, but I couldn't. I have just some ideas. But it would be great if someone explained or shared the link, why it is a good practice. Thanks.

1 Answers
Related