disk IO kills network IO, +A doesn't work as I hoped

Bjorn Gustavsson bjorn@REDACTED
Wed Aug 17 09:13:49 CEST 2005


I don't know the optimal number of threads, but it should definitely
be more than 3. Maybe 30 or 40.

/Bjorn

Reto Kramer <kramer@REDACTED> writes:

> Cool! Enabling the threading during the build did the trick and made
> +A effective.
> 
> Perhaps the OTP team could add a warning to erl in the future, should
> a weeny like me use the +A switch on a binary that wasn't compiled to
> support threading :-)
> 
> Thanks,
> - Reto
> 
> On Aug 16, 2005, at 6:00 PM, Vance Shipley wrote:
> 
> > On Tue, Aug 16, 2005 at 04:25:46PM -0700, Reto Kramer wrote:
> > }
> > }  >telco02$ erl +A3 -sname disk
> > }  >Erlang (BEAM) emulator version 5.4.3 [source] [hipe]
> >
> >
> > If you really had threads you should see:
> >
> > Erlang (BEAM) emulator version 5.4.8 [source] [threads:3]
> >
> >
> >     -Vance
> >
> >
> 

-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB



More information about the erlang-questions mailing list