[SOLVED] OpenVZ Speeds are Slow on NAS Share

Raymond Burns

Member
Apr 2, 2013
333
1
18
Houston, Texas, United States
Anything dealing with OpenVZ on shared storage is unbearable slow. Any way to speed up CT Creation, Backup, and Restoration for CT's?
What log file do I show to help solve this issue?

pveversion -v
Code:
root@zwtprox1:/var/log/vzdump# pveversion -vpve-manager: 3.0-23 (pve-manager/3.0/957f0862)
running kernel: 2.6.32-22-pve
proxmox-ve-2.6.32: 3.0-107
pve-kernel-2.6.32-20-pve: 2.6.32-100
pve-kernel-2.6.32-22-pve: 2.6.32-107
lvm2: 2.02.95-pve3
clvm: 2.02.95-pve3
corosync-pve: 1.4.5-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.0-1
pve-cluster: 3.0-4
qemu-server: 3.0-20
pve-firmware: 1.0-23
libpve-common-perl: 3.0-4
libpve-access-control: 3.0-4
libpve-storage-perl: 3.0-8
vncterm: 1.1-4
vzctl: 4.0-1pve3
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.4-13
ksm-control-daemon: 1.1-1
 
Last edited:
Is it safe to assume that if I purchase a license for my servers, this issue will be resolved? It is not specific to my server setup, and it is not specific to my NAS OS. I don't have the servers in full formation just yet to be able to buy the license, but I don't want there to be issues with my VPS Provisioning project, that could have been forseen.
 
That's ok.
NAS sync was still enabled for all the new datasets I created.
The original dataset I had created for ZFS had sync disabled, but I created new datasets for the new Containers, and the sync was still standard.
So if you have slow speeds, turn off sync. If it changes, reenable sync and purchase a SLOG device to combat the speed issue.
 
There is also one other setting which can improve speed providing at least a high speed duo core CPU. The trick is to enable the compression algorithm LZ4. Why does enabling compression improves speed? The reason is that using compression greatly reduces the amount of data needed to be written to the storage. LZ4 will in general be able to compress the data with 30% which also, roughly, will increase the speed by 25-30%. https://calomel.org/zfs_raid_speed_capacity.html
 
How do you set that with omnios?
Code:
[COLOR=#4D3E32][FONT=verdana]zpool set feature@lz4_compress=enabled poolname[/FONT][/COLOR]
Those are for freenas and nas4free, but I know there are a lot of differences with Illumos and Solaris directives.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!