[erlang-questions] Heavy duty UDP server performance

Jesper Louis Andersen jesper.louis.andersen@REDACTED
Tue Feb 9 16:19:07 CET 2016


On Tue, Feb 9, 2016 at 4:10 PM, Ameretat Reith <ameretat.reith@REDACTED>
wrote:

> I think problem is not using or not using gen_server, It's mostly because
> just getting UDP packets in 1Gbit/s takes that much CPU in Erlang.


Where is that time spent in the Erlang VM or in the Kernel? You are
potentially on a wakeup schedule of 81 wakeups per millisecond to handle
packets. Which suggests you need to understand where your CPU time is spent
in the system in order to tune it for lower CPU usage.

Many systems can show lower CPU load, until you are forced to do things
with the packets at which point they have to pay with CPU load in order to
organize the data. Chances are such organization has already been done for
you by the VM.



-- 
J.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160209/b1a76892/attachment.htm>


More information about the erlang-questions mailing list