Ottimizzazione prestazioni Dovecot: Difference between revisions

From RVM Wiki
Jump to navigation Jump to search
Created page with "Se un server Dovecot ha un load troppo alto dovuto a un IO costante, ottimizzare dei paramtri di dovecot e poi se su ZFS, del filesystem. La differenza si noterà modificando..."
 
mNo edit summary
Line 1: Line 1:
Se un server Dovecot ha un load troppo alto dovuto a un IO costante, ottimizzare dei paramtri di dovecot e poi se su ZFS, del filesystem.
Se un server Dovecot ha un load troppo alto dovuto a un IO costante, ottimizzare dei parametri di dovecot e poi se su ZFS, del filesystem.
La differenza si noterà modificando le opzioni del flesystem
 
La differenza si noterà modificando le opzioni del filesystem
 
Se non si risolve, modificare la gestione disk cache in proxomox della VM


=Ottimizzazioni Dovecot=
=Ottimizzazioni Dovecot=
Line 35: Line 38:
  sudo reboot
  sudo reboot


=Ottimizzazione Disk Cache Proxmox=
* Impostare la cache per i dischi a
writeback


=Riferimenti=
=Riferimenti=
*[https://wiki.dovecot.org/PerformanceTuning PerformanceTuning - Dovecot Wiki]
*[https://wiki.dovecot.org/PerformanceTuning PerformanceTuning - Dovecot Wiki]
*[https://icesquare.com/wordpress/how-to-improve-zfs-performance/#section20 How to Improve ZFS performance – ICESQUARE – Solve Computer Server Problems, Computer Help, Server Support, Server Help]
*[https://icesquare.com/wordpress/how-to-improve-zfs-performance/#section20 How to Improve ZFS performance – ICESQUARE – Solve Computer Server Problems, Computer Help, Server Support, Server Help]

Revision as of 16:16, 19 October 2022

Se un server Dovecot ha un load troppo alto dovuto a un IO costante, ottimizzare dei parametri di dovecot e poi se su ZFS, del filesystem.

La differenza si noterà modificando le opzioni del filesystem

Se non si risolve, modificare la gestione disk cache in proxomox della VM

Ottimizzazioni Dovecot

  • Fsync:
sudoedit /etc/dovecot/conf.d/10-mail.conf
mail_fsync = never
maildir_very_dirty_syncs = yes
sudoedit /etc/dovecot/conf.d/15-lda.conf 
protocol lda {
  # Enable fsyncing for LDA
  mail_fsync = optimized
}
sudoedit /etc/dovecot/conf.d/20-lmtp.conf
protocol lmtp {
  # Enable fsyncing for LMTP
  mail_fsync = optimized
}
sudo systemctl restart dovecot.service

Ottimizzazione ZFS

sudo zfs set atime=off DATA/home
sudo zfs set xattr=sa DATA/home
sudo reboot

Ottimizzazione Disk Cache Proxmox

  • Impostare la cache per i dischi a
writeback

Riferimenti