Hi. I am using Proxmox 3 for OpenVZ containers and moved to LXC in Proxmox 4. These containers are Debian8 mysql database servers with a lot of queries that are executed by PHP scripts (nginx + php5-fpm). There are 2000-5000 connections to PHP per second depending on time of a day. I am executing calculations basing on database entries (millions od records) periodicaly.
I have spent a lot of time to make decision that I have to downgrade to version 3.4. I will try to explain you why. But first, my configuration. I have tested on two identical dedicated machines in OVH:
Intel Xeon E3-1245v5 (8 x 3.50 GHz)
32 GB ram
2 x HGST HUS726020ALA610 SATA 2 TB
Software Raid 1 + LVM on ext3 filesystem
Latest Proxmox 3 or 4 versions with latest package updates
Have a look at FSYNC/SECOND in pveperf for Proxmox 3:
and the same for Proxmox 4:
The increase of IO delay in Proxmox panel was the first thing I have seen in 24h after upgrade to LXC on Promox 4. Yesterday, after a week I have downgraded Proxmox to version 3 and moved back to OpenVZ. See the difference in CPU load (which depends also on io delays):
I have also tested on Proxmox 4 the following configurations:
- No software Raid - only LVM
- No LVM - only software Raid
- No software Raid and no LVM
- ext3, ext4, zfs (with its raid 1) filesystems
and there was no difference in performance on Proxmox 4. The periodical database operations on millions of records have taken 8-10x more time than in case of Proxmox 3. So I decided to move back to previous Proxmox version and now all is fine.
Maybe there are some kernel 4.x problems i Proxmox 4? I can't explain it but I see the facts above.
I have to say that I have tested Proxmox 4 on OVH machines with hardware LSI megaraid and on SSD disk with software raid. In both cases FSYNCS/SECOND was at the level of 5000 and the whole system performance was very good.