Page MenuHomeSoftware Heritage

Improve indexer workers performance
Closed, MigratedEdits Locked

Description

We are regularly noticed about elevated load on indexer workers since we migrated to journal client.

Possible improvments:

  • D8167: Dedicate journal client services per node
  • D8169: Use tmpfs
  • failed: D8170: Activate swap on local disk
  • Activate swap another way

Event Timeline

ardumont triaged this task as Normal priority.Aug 1 2022, 5:45 PM
ardumont created this task.

I've landed and deployed the diffs to make /tmp a tmpfs partition and activated the swap (as swapfile) on their local disk /mnt.

root@pergamon:~# clush -b -w @indexer-workers mount | grep /tmp
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noexec,relatime,size=4k,nr_inodes=209715200)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noexec,relatime,size=4k,nr_inodes=209715200)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noexec,relatime,size=4k,nr_inodes=209715200)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noexec,relatime,size=4k,nr_inodes=209715200)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noexec,relatime,size=4k,nr_inodes=209715200)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noexec,relatime,size=4k,nr_inodes=209715200)
root@pergamon:~# clush -b -w @indexer-workers grep SwapSize /etc/waagent.conf
---------------
indexer-worker[01-06].euwest.azure (6)
---------------
ResourceDisk.SwapSizeMB=14336
root@pergamon:~# clush -b -w @indexer-workers grep Swap /etc/waagent.conf
---------------
indexer-worker[01-06].euwest.azure (6)
---------------
ResourceDisk.EnableSwap=y
ResourceDisk.SwapSizeMB=14336

It seems to no longer be a problem now.
So closing.

ardumont claimed this task.
ardumont moved this task from deployed/landed/monitoring to done on the System administration board.