Skip to content

ElasticSearch, NUMA and swap #399

@clintongormley

Description

@clintongormley

Hiya

There is an interesting article about MySQL and swap when running on linux systems with NUMA architecture - may be relevant to ES as well:

http://jcole.us/blog/archives/2010/09/28/mysql-swap-insanity-and-the-numa-architecture/

The summary is:

with a single large process running on linux with NUMA, it is possible that the process will swap because memory usage is unbalanced between processors, and a single processor's local memory is full.

By starting the command with: numactl --interleave all $command instead, memory usage is balanced and you avoid swapping while memory is available.

Metadata

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