iSCSI dd Speed with Openfiler/Proxmox

ellenverheyen

Member
Jun 3, 2009
55
0
6
Hello,

I'm having some strange issues with our iscsi lun.

On the openfiler box I have an ISCSI Lun, where on top of it there's a LVM volume created with the proxmox webinterface.

When I create a new VM KVM on it, and copy over one of the master images with dd (like= dd if=/dev/disks/vm-999-disk-1 of=/dev/disks/vm-101-disk-1) i only get a speed of about 11 MB/s

It takes about 2 hours to complete a 50 Gb image.

BUT....
When booting both VM's with clonezilla and using local-remote clone i get a speed of 670 Mb/s... (passing through the vmbr etc...)

Any idea why dd is so slow from the commandline?

Kindly regards

Ellen
 
Does nobody has an idea about this?
We like to find a solution for the dd problem but as far as now we don't have any...

Ellen
 
Sorry for resuming this tread after years (!).

I've the some problem.

HN1:~# dd if=nameserver.243.img of=/dev/iscsi-vg/vm-106-disk-1
12582912+0 records in
12582912+0 records out
6442450944 bytes (6.4 GB) copied, 615.338 s, 10.5 MB/s

Tried to set BS=1024:
HN1:~# dd if=vm-105-disk-1.raw of=/dev/iscsi-vg/vm-105-disk-1 bs=1024
4194304+0 records in
4194304+0 records out
4294967296 bytes (4.3 GB) copied, 395.953 s, 10.8 MB/s


Tested connection to san with iperf:
HN1:~# iperf -c 192.168.105.101
------------------------------------------------------------
Client connecting to 192.168.105.101, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.105.1 port 37179 connected with 192.168.105.101 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 697 MBytes 584 Mbits/sec


Both server and nas are using a bond connection over 802.1q vlan. 2 e1000 nic used in bond.
 
Last edited: