Производительность glusterfs

rsync на gluster разделе работает очень медленно.
Если подмонтировать через NFS работает быстрее. Но вплоть до версии 3.3 есть баг, при монтировании на сервере, процесс glusterfsd через некоторое время зависает.

Надо обеспечить выполнение rsync на сервере, что бы сетевые задержки не тормозили процесс сканирования файлов.

Native gluster client на дефолтных настройках начинает грузить диски.

В данном случае помогают такие настройки:

performance.write-behind-window-size: 65535
performance.read-ahead: off
performance.cache-size: 1073741824

multithreaded parallel rsync

find -type d | xargs -I '{}' -P 10 -n1 rsync -a --no-r remote:path/'{}'/ '{}'/

rsync args:
--no-r No recursive

xargs args:
-P 10 Run up to 10 processes at a time.
-n 1 Use 1 argument per command line.

Compress RAM on linux

sudo apt-get install zram-config

MySQL Performance Tuning: EXPLAIN

EXPLAIN Types

system              The table has only one row 
const               At the most one matching row, treated as a constant 
eq_ref              One row per row from previous tables 
ref                 Several rows with matching index value 
ref_or_null         Like ref, plus NULL values 
index_merge         Several index searches are merged 
unique_subquery     Same as ref for some subqueries 
index_subquery      As above for non-unique indexes 
range               A range index scan 
index               The whole index is scanned 

dstat example

dstat -c --top-cpu -d --top-bio --top-latency

User tags

sysresccd SuperMicro slab virtualbox in-addr.arpa ulimit Salt elliptics HTTPS scsi glusterfs profiling htop tftp asoundrc wget StorMan sysctl idmapd oprofile video freedos etch groups KVM HDFS numa tar arp rsync conntrack bridge cluster gre cpu pam lenny centos 7 wordpress deb qemu sysctl.conf hotplug parallel storage iptables hdparm ansible tiger dstat debootstrap quagga su bacula soa performance leap second squeeze vtysh virt-install bscan tun rkhunter nfs4 noop taskset debian language rtsp pacemaker nginx usb gdb dhclient ipmitool gtk exim mount sublime grub mkfs security erase RT PTR pvmove alsa shorewall xhost dovecot cpanm source LVM xen cache dhcp bind ardour firefox fido7 opreport route rpm SYN 3Ware tin php pulseaudio CPAN zRam vrrp newgrp OpenStack jackd ssh xargs shellshock netfilter ip dpkg cpu usage perl .htaccess backtrace nvidia git ddos apt SSD lxc kernel ps ipmi xfs boot youtube puppet /etc/network/interfaces search X forwarding DRBD NFS iostat replication mdadm AMD top raid5 exim4 gpg find fail2ban LSI rtl8723be lts bonding lstat initrd SpamAssassin APU MODx glxinfo CentOS virsh docker-compose MegaRAID bug tool sftp swap openvpn cgroups vlan regex ha sysfs corosync arping equalizer iowait perlbrew build chroot raid docker tzdata routing arch Adaptec apache lubuntu mariadb qcow2 bash cfq drupal java dns mysql flash encrypt proxy chromium backup munin limit_conn core dump sg alien iSCSI sysrq fio iops Areca Swift graylog2 keyboard PXE vrrpd OpenSSL vim radeon ubuntu opcontrol