Skip to content

Eleveldb bug with non-default Erlang schedulers on Linux #260

Open
@maartenvanmalland

Description

It seems that there's a pretty hefty bug with Eleveldb when you're using non-default Erlang schedulers ( https://erlang.org/doc/man/erl.html#+sbt ). When you use one of those scheduler flags to start your Erlang application, all the Eleveldb threads are being scheduled to just one core! In our case, this completely trashed the performance of our application.

You can easily check this behavior yourself:

  • Run your Erlang application with another scheduler (i.e. erl +sbt nnts $application)
  • Check the affinity of the Eleveldb processes in /proc/sched_debug . You'll see that all the Eleveldb threads are bound to the same core.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions