2015.08.19 13:52 "[Tiff] Large files under Windows", by Bob Friesenhahn

2015.08.19 14:56 "Re: [Tiff] Large files under Windows", by Olivier Paquet

2015-08-19 9:52 GMT-04:00 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>:

returns 'int' as the count of the bytes written. Personally I think that 2147483647 bytes is over-generous and that libtiff should be chunking large writes to a far smaller value (e.g. 256k or much less) in order to not overwhelm the CPU caches and I/O subsystem. Please express any opinion/experience you may have.

I doubt the chunk size will make a significant difference once above 1 MB or so (to limit syscall overhead) but if it does, larger is likely to be better. There's no good reason to make it tiny anyway.