Re: aio: questions with ioctx_alloc() and large num_possible_cpus()

From: Benjamin LaHaise
Date: Wed Oct 05 2016 - 14:02:29 EST


On Tue, Oct 04, 2016 at 07:55:12PM -0300, Mauricio Faria de Oliveira wrote:
> Hi Benjamin, Kent, and others,
>
> Would you please comment / answer about this possible problem?
> Any feedback is appreciated.

I'd suggest increasing the default limit by changing how it is calculated.
The current number came about 13 years ago when machines had orders of
magnitude less RAM than they do today.

-ben
--
"Thought is the essence of where you are now."