Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Running ElasticSearch on ZFS

Running ElasticSearch on ZFS

A few hint learned from running ElasticSearch on the zettabyte filesytem (ZFS) on Linux / Ubuntu 14.04 at Tradeshift.

Avatar for Troels Nørgaard

Troels Nørgaard

May 10, 2016
Tweet

Other Decks in Technology

Transcript

  1. 2

  2. 3

  3. 5

  4. 7

  5. • “True” enterprise file system from Solaris • Copy on

    Write (CoW) design • End to end checksum (SHA256) • Variable block size (recordsize) • Compression • Constant time Snapshots • Multi-level cache (ARC) • [...] ZFS Features 9
  6. • Recordsize=8k • atime=off • compression=off (lz4: 1.05x) • echo

    1073741824 >> /sys/module/zfs/parameters/zfs_ar c_max • primarycache=metadata ZFS configuration for ElasticSearch on Linux 11
  7. 12

  8. 13