how to interpret these results ?

Ulf Wiger (TN/EAB) ulf.wiger@REDACTED
Mon Aug 7 23:11:45 CEST 2006


For one thing, Erlang applications traditionally haven't been that
dependent on stdin/stdout. They've been embedded systems managing tens
of thousand signaling sessions at a time. Optimizing the performance of
stdin/stdout hasn't been an important requirement for any (paying)
customer.

This also means that Erlang can never do a blocking wait on stdin.
Non-blocking I/O is much slower than blocking I/O, esp in low-level
benchmarks. But soft real-time characteristics is much more important
than raw speed in telecoms applications.

The SMP version of Erlang may be able to improve things, I think. You
can have I/O threads in blocking wait, and won't have to suspend the
Erlang processes in order to poll descriptors.

Just my half-educated guesses. Someone else may have a better theory.

BR,
Ulf W

> -----Original Message-----
> From: owner-erlang-questions@REDACTED 
> [mailto:owner-erlang-questions@REDACTED] On Behalf Of James Hague
> Sent: den 7 augusti 2006 22:47
> To: Erlang Users' List
> Subject: Re: how to interpret these results ?
> 
> >erlang is REALLY bad at using stdin/stdout
> 
> I've wonderered before why this is.  Ditto for line-oriented 
> I/O being slow in Erlang.  What's the fundamental reason for this?
> 



More information about the erlang-questions mailing list