NFS vs iSCSI stat cache perfomance test

time find /mnt/test -mtime +1000000000000000

minimun values of 3-4 runs:

local:+
real 0m0.027s
user 0m0.000s
sys 0m0.028s

nfs(remote):+
real 0m0.612s
user 0m0.032s
sys 0m0.160s

nfs+fscache(remote):
real 0m0.577s
user 0m0.028s
sys 0m0.152s

iscsi(remote)+ocfs2:+
real 0m0.070s
user 0m0.024s
sys 0m0.052s

PHP на NFS: решение проблемы с производительностью

Надо увеличить realpath_cache_size в php.ini:

realpath_cache_size=1M

Не работает с включеными safe_mode или open_basedir.

Big nfs_inode_cache

The workaround:

sync
echo 2 > /proc/sys/vm/drop_caches

User tags

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