3 Jul
2020
3 Jul
'20
9:34 a.m.
On 03/07/2020 07:01, Lloyd via Boost-users wrote:
Does boost iostreamĀ mapped_file_source support concurrent read from multiple threads? What is the best way to implement concurrent read on a performance sensitiveĀ application?
The file is a read only one and its size is in gigabytes/terabytes
For memory mapped files in general, reads served from kernel cache will parallelise at CPU concurrency level, whereas reads served from the storage layer will parallelise at device concurrency level. This means that i/o which is not served from cache will synchronise CPUs during i/o submission and completion. Niall