[erlang-questions] trying to understand i/o threading (erl +A)
Tue Nov 14 09:53:34 CET 2006
Using +A option can only speed up file I/O. It is typically used in embedded
system where you don't have any local file system, only NFS file systems.
You are unlikely to gain anything in other configurations.
"Count László de Almásy" <calmasy@REDACTED> writes:
> On 11/13/06, Bengt Kleberg <bengt.kleberg@REDACTED> wrote:
> > in your case i would suggest measuring the performance of your
> > application(s?) with increasing values for size, until the performance
> > stops increasing.
> I was hoping for a better understanding of +A as opposed to just using
> trial and error for every application.
> > that might sound like hard work. as an alternative, i think i saw
> > somewhere that _if_ your platform uses the async thread pool you could
> > try setting size to one more than the number of processors on your
> > system. in this day and age i could furthermore guess that processors
> > could be replaced with number of cores.
> In other words, no one else knows the answer to my question either.
> Cheers, László
> erlang-questions mailing list
Björn Gustavsson, Erlang/OTP, Ericsson AB
More information about the erlang-questions