Running latest Proxmox 1.8 (we started with 1.7 on that system) we find unbelievable bad performance when using rsync at the host.
We are running kernel 2.6.32-4.
pveversion -v
pve-manager: 1.8-15 (pve-manager/1.8/5754)
running kernel: 2.6.32-4-pve
proxmox-ve-2.6.32: 1.8-32
pve-kernel-2.6.32-4-pve: 2.6.32-32
qemu-server: 1.1-30
pve-firmware: 1.0-11
libpve-storage-perl: 1.0-16
vncterm: 0.9-2
vzctl: 3.0.24-1pve4
vzdump: 1.2-11
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.14.0-2
ksm-control-daemon: 1.0-5
The system in use is a Supermicro "X8DTI-F" (or X8DT3?) board (very popular I think), 2 x Intel E5620, 12 GB RAM + Adaptec 5405 hardware RAID controller, 2 x 300GB SAS plus 2 x 1TB Sata as RAID1 each.
We have actually 3 of these systems running (one still Proxmox 1.7) and the problem is consistent. On the other hand, the performance for rsync is GOOD on an alternative testing system which is a lower end board, running an Intel Xeon X3430 processor and no hardware RAID controller, just Sata disks using the onboard controller.
For testing on the 'problem' platform, we swapped RAM and even removed the Adaptec controller but all that made no real difference so we have to believe it is a motherboard/kernel 2.6.32 related problem. Help from Super Micro through our hardware supplier is basically Zero. I suspect this is as soon as they hear Debian rather a commercial product.
We have tested one of the 'problem systems' with kernels 2.6.18 and 2.6.35 and the performance with 2.6.18 kernel was GOOD (!) 2.6.35 bad, only slightly better than 2.6.32 (it did not drop below 2MB throughput - but still very poor)
Below are details of both systems, performance data and testing results.
A) The 'problem' system:
pveversion -v
pve-manager: 1.8-15 (pve-manager/1.8/5754)
running kernel: 2.6.32-4-pve
proxmox-ve-2.6.32: 1.8-32
pve-kernel-2.6.32-4-pve: 2.6.32-32
qemu-server: 1.1-30
pve-firmware: 1.0-11
libpve-storage-perl: 1.0-16
vncterm: 0.9-2
vzctl: 3.0.24-1pve4
vzdump: 1.2-11
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.14.0-2
ksm-control-daemon: 1.0-5
pveperf /var/lib/vz
CPU BOGOMIPS: 76606.83
REGEX/SECOND: 867968
HD SIZE: 367.63 GB (/dev/mapper/pve-data)
BUFFERED READS: 226.38 MB/sec
AVERAGE SEEK TIME: 4.80 ms
FSYNCS/SECOND: 2912.92
DNS EXT: 257.44 ms
DNS INT: 0.91 ms (x.y.z)
Create an 8 GB test file (on the SAS disk):
dd if=/dev/zero of=/var/lib/vz/testfile_MDO bs=1024k count=8192 conv=fdatasync
8192+0 records in
8192+0 records out
8589934592 bytes (8.6 GB) copied, 71.4297 s, 120 MB/s
Rsync on SAS drives (aborted after several minutes due to slow speed):
rsync --progress /var/lib/vz/testfile_MDO /var/lib/vz/testfile_MDO2
testfile_MDO
592379904 6% 949.34kB/s 2:20:24 ^C
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(543) [sender=3.0.7]
Copy file on the SAS disk:
twt250sv:/var/lib/vz# date; cp testfile_MDO testfile_MDO2 ; date
Sun Apr 17 09:34:45 NZST 2011
Sun Apr 17 09:36:28 NZST 2011 = 103 secs
Copy file from SAS to Sata:
twt250sv:/backup# date; cp /var/lib/vz/testfile_MDO /backup/testfile_MDO ; date
Sun Apr 17 09:42:13 NZST 2011
Sun Apr 17 09:43:54 NZST 2011 = 101 secs
Copy file on Sata disk:
twt250sv:/backup# date; cp testfile_MDO testfile_MDO2 ; date
Sun Apr 17 09:45:30 NZST 2011
Sun Apr 17 09:48:58 NZST 2011 = 208 secs
Performance on the Sata disks for this system:
pveperf /backup/
CPU BOGOMIPS: 76606.83
REGEX/SECOND: 907656
HD SIZE: 458.02 GB (/dev/sdb2)
BUFFERED READS: 160.46 MB/sec
AVERAGE SEEK TIME: 9.71 ms
FSYNCS/SECOND: 3294.10
DNS EXT: 257.54 ms
DNS INT: 0.88 ms (x.y.nz)
Create 8 GB file; 81MB/s on Sata as compared to 120MB on SAS:
dd if=/dev/zero of=/backup/testfile_MDO bs=1024k count=8192 conv=fdatasync
8192+0 records in
8192+0 records out
8589934592 bytes (8.6 GB) copied, 105.088 s, 81.7 MB/s
Rsync on Sata (as bad as SAS), aborted.
rsync --progress /backup/testfile_MDO /backup/testfile_MDO2
testfile_MDO
2370535424 27% 556.12kB/s 3:06:23 ^C
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(543) [sender=3.0.7]
B) The low specd test system, Sata only:
pveversion -v
pve-manager: 1.8-15 (pve-manager/1.8/5754)
running kernel: 2.6.32-4-pve
proxmox-ve-2.6.32: 1.8-32
pve-kernel-2.6.32-4-pve: 2.6.32-32
qemu-server: 1.1-30
pve-firmware: 1.0-11
libpve-storage-perl: 1.0-16
vncterm: 0.9-2
vzctl: 3.0.24-1pve4
vzdump: 1.2-11
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.14.0-2
ksm-control-daemon: 1.0-5
pveperf /var/lib/vz
CPU BOGOMIPS: 19153.26
REGEX/SECOND: 770841
HD SIZE: 879.00 GB (/dev/mapper/pve-data)
BUFFERED READS: 118.36 MB/sec
AVERAGE SEEK TIME: 14.04 ms
FSYNCS/SECOND: 1375.59
DNS EXT: 277.88 ms
DNS INT: 0.90 ms (tw.co.nz)
Create 8 MB file - speed slightly better than Sata on higher end system!?
dd if=/dev/zero of=/var/lib/vz/testfile_MDO bs=1024k count=8192 conv=fdatasync
8192+0 records in
8192+0 records out
8589934592 bytes (8.6 GB) copied, 93.151 s, 92.2 MB/s
Successful rsync on test system - speed considered good compared with above.
rsync --progress /var/lib/vz/testfile_MDO /var/lib/vz/testfile_MDO2
testfile_MDO
8589934592 100% 47.32MB/s 0:02:53 (xfer#1, to-check=0/1)
sent 8590983242 bytes received 31 bytes 49515753.73 bytes/sec
total size is 8589934592 speedup is 1.00
Copy on test system Sata disk is faster than Sata copy on better system?
twt251sv:/var/lib/vz# date; cp testfile_MDO2 testfile_MDO3 ; date
Sun Apr 17 09:33:50 NZST 2011
Sun Apr 17 09:36:39 NZST 2011 = 169 secs
C) Tests inside a VM (CentOS 5.5) on the better system - rsync performance OK.
[root@tga1 tmp]# dd if=/dev/zero of=/tmp/testfile_MDO bs=1024k count=8192 conv=fdatasync
8192+0 records in
8192+0 records out
8589934592 bytes (8.6 GB) copied, 101.55 seconds, 84.6 MB/s
[root@tga1 tmp]#
[root@tga1 tmp]# rsync --progress testfile_MDO testfile_MDO2
testfile_MDO
8589934592 100% 36.98MB/s 0:03:41 (xfer#1, to-check=0/1)
Sorry for the long post. I would like some help otherwise it might help someone else.
At this stage I have to say (at least for us) to avoid that Super Micro board.
Michael
We are running kernel 2.6.32-4.
pveversion -v
pve-manager: 1.8-15 (pve-manager/1.8/5754)
running kernel: 2.6.32-4-pve
proxmox-ve-2.6.32: 1.8-32
pve-kernel-2.6.32-4-pve: 2.6.32-32
qemu-server: 1.1-30
pve-firmware: 1.0-11
libpve-storage-perl: 1.0-16
vncterm: 0.9-2
vzctl: 3.0.24-1pve4
vzdump: 1.2-11
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.14.0-2
ksm-control-daemon: 1.0-5
The system in use is a Supermicro "X8DTI-F" (or X8DT3?) board (very popular I think), 2 x Intel E5620, 12 GB RAM + Adaptec 5405 hardware RAID controller, 2 x 300GB SAS plus 2 x 1TB Sata as RAID1 each.
We have actually 3 of these systems running (one still Proxmox 1.7) and the problem is consistent. On the other hand, the performance for rsync is GOOD on an alternative testing system which is a lower end board, running an Intel Xeon X3430 processor and no hardware RAID controller, just Sata disks using the onboard controller.
For testing on the 'problem' platform, we swapped RAM and even removed the Adaptec controller but all that made no real difference so we have to believe it is a motherboard/kernel 2.6.32 related problem. Help from Super Micro through our hardware supplier is basically Zero. I suspect this is as soon as they hear Debian rather a commercial product.
We have tested one of the 'problem systems' with kernels 2.6.18 and 2.6.35 and the performance with 2.6.18 kernel was GOOD (!) 2.6.35 bad, only slightly better than 2.6.32 (it did not drop below 2MB throughput - but still very poor)
Below are details of both systems, performance data and testing results.
A) The 'problem' system:
pveversion -v
pve-manager: 1.8-15 (pve-manager/1.8/5754)
running kernel: 2.6.32-4-pve
proxmox-ve-2.6.32: 1.8-32
pve-kernel-2.6.32-4-pve: 2.6.32-32
qemu-server: 1.1-30
pve-firmware: 1.0-11
libpve-storage-perl: 1.0-16
vncterm: 0.9-2
vzctl: 3.0.24-1pve4
vzdump: 1.2-11
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.14.0-2
ksm-control-daemon: 1.0-5
pveperf /var/lib/vz
CPU BOGOMIPS: 76606.83
REGEX/SECOND: 867968
HD SIZE: 367.63 GB (/dev/mapper/pve-data)
BUFFERED READS: 226.38 MB/sec
AVERAGE SEEK TIME: 4.80 ms
FSYNCS/SECOND: 2912.92
DNS EXT: 257.44 ms
DNS INT: 0.91 ms (x.y.z)
Create an 8 GB test file (on the SAS disk):
dd if=/dev/zero of=/var/lib/vz/testfile_MDO bs=1024k count=8192 conv=fdatasync
8192+0 records in
8192+0 records out
8589934592 bytes (8.6 GB) copied, 71.4297 s, 120 MB/s
Rsync on SAS drives (aborted after several minutes due to slow speed):
rsync --progress /var/lib/vz/testfile_MDO /var/lib/vz/testfile_MDO2
testfile_MDO
592379904 6% 949.34kB/s 2:20:24 ^C
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(543) [sender=3.0.7]
Copy file on the SAS disk:
twt250sv:/var/lib/vz# date; cp testfile_MDO testfile_MDO2 ; date
Sun Apr 17 09:34:45 NZST 2011
Sun Apr 17 09:36:28 NZST 2011 = 103 secs
Copy file from SAS to Sata:
twt250sv:/backup# date; cp /var/lib/vz/testfile_MDO /backup/testfile_MDO ; date
Sun Apr 17 09:42:13 NZST 2011
Sun Apr 17 09:43:54 NZST 2011 = 101 secs
Copy file on Sata disk:
twt250sv:/backup# date; cp testfile_MDO testfile_MDO2 ; date
Sun Apr 17 09:45:30 NZST 2011
Sun Apr 17 09:48:58 NZST 2011 = 208 secs
Performance on the Sata disks for this system:
pveperf /backup/
CPU BOGOMIPS: 76606.83
REGEX/SECOND: 907656
HD SIZE: 458.02 GB (/dev/sdb2)
BUFFERED READS: 160.46 MB/sec
AVERAGE SEEK TIME: 9.71 ms
FSYNCS/SECOND: 3294.10
DNS EXT: 257.54 ms
DNS INT: 0.88 ms (x.y.nz)
Create 8 GB file; 81MB/s on Sata as compared to 120MB on SAS:
dd if=/dev/zero of=/backup/testfile_MDO bs=1024k count=8192 conv=fdatasync
8192+0 records in
8192+0 records out
8589934592 bytes (8.6 GB) copied, 105.088 s, 81.7 MB/s
Rsync on Sata (as bad as SAS), aborted.
rsync --progress /backup/testfile_MDO /backup/testfile_MDO2
testfile_MDO
2370535424 27% 556.12kB/s 3:06:23 ^C
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(543) [sender=3.0.7]
B) The low specd test system, Sata only:
pveversion -v
pve-manager: 1.8-15 (pve-manager/1.8/5754)
running kernel: 2.6.32-4-pve
proxmox-ve-2.6.32: 1.8-32
pve-kernel-2.6.32-4-pve: 2.6.32-32
qemu-server: 1.1-30
pve-firmware: 1.0-11
libpve-storage-perl: 1.0-16
vncterm: 0.9-2
vzctl: 3.0.24-1pve4
vzdump: 1.2-11
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.14.0-2
ksm-control-daemon: 1.0-5
pveperf /var/lib/vz
CPU BOGOMIPS: 19153.26
REGEX/SECOND: 770841
HD SIZE: 879.00 GB (/dev/mapper/pve-data)
BUFFERED READS: 118.36 MB/sec
AVERAGE SEEK TIME: 14.04 ms
FSYNCS/SECOND: 1375.59
DNS EXT: 277.88 ms
DNS INT: 0.90 ms (tw.co.nz)
Create 8 MB file - speed slightly better than Sata on higher end system!?
dd if=/dev/zero of=/var/lib/vz/testfile_MDO bs=1024k count=8192 conv=fdatasync
8192+0 records in
8192+0 records out
8589934592 bytes (8.6 GB) copied, 93.151 s, 92.2 MB/s
Successful rsync on test system - speed considered good compared with above.
rsync --progress /var/lib/vz/testfile_MDO /var/lib/vz/testfile_MDO2
testfile_MDO
8589934592 100% 47.32MB/s 0:02:53 (xfer#1, to-check=0/1)
sent 8590983242 bytes received 31 bytes 49515753.73 bytes/sec
total size is 8589934592 speedup is 1.00
Copy on test system Sata disk is faster than Sata copy on better system?
twt251sv:/var/lib/vz# date; cp testfile_MDO2 testfile_MDO3 ; date
Sun Apr 17 09:33:50 NZST 2011
Sun Apr 17 09:36:39 NZST 2011 = 169 secs
C) Tests inside a VM (CentOS 5.5) on the better system - rsync performance OK.
[root@tga1 tmp]# dd if=/dev/zero of=/tmp/testfile_MDO bs=1024k count=8192 conv=fdatasync
8192+0 records in
8192+0 records out
8589934592 bytes (8.6 GB) copied, 101.55 seconds, 84.6 MB/s
[root@tga1 tmp]#
[root@tga1 tmp]# rsync --progress testfile_MDO testfile_MDO2
testfile_MDO
8589934592 100% 36.98MB/s 0:03:41 (xfer#1, to-check=0/1)
Sorry for the long post. I would like some help otherwise it might help someone else.
At this stage I have to say (at least for us) to avoid that Super Micro board.
Michael