Re: Approaches to making io_submit not block

From: Ulrich Drepper
Date: Wed Aug 31 2011 - 07:05:38 EST


On 08/30/2011 07:11 PM, Andrew Morton wrote:
> I don't know. Uli cc'ed.

glibc has to create the parallelism of the operations through threads.
More threads mean more overhead. There are insane people out there who
wrote code which pushed the number of helper threads into the hundreds
(at that time a high number, today this would be in the thousands).
Anyway, any scheme which is worth changing the code for would be in the
kernel. Only the kernel knows which requests can actually be handled
concurrently.

Attachment: signature.asc
Description: OpenPGP digital signature