2 ms·
Zero application level parallelism? What about multiple posix threads on a multicore machine manipulating the same mapped page at the same time?
by jjtheblunt 6y ago
Zero application level parallelism?
What about multiple posix threads on a multicore machine manipulating the same mapped page at the same time?
- pengaru 6y ago> Not without the use of threads, which brings a host of other issues.
- wtallis 6y agoMultiple threads touching the same mapped page at the same time won't give you IO parallelism. You need different threads to be faulting on different pages at the same time in order to get multiple simultaneous IO requests sent to the storage device. But the IO queue depth is still limited by your thread count, and that limit can still be a serious problem even on the latest processors with the highest core counts.