From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Edwards Subject: Fwd: Forcing release of rx on CentOS 6 Date: Thu, 28 Aug 2014 15:53:42 +0100 Message-ID: <53FF4276.3010006@linguamatics.com> References: <53FF3FDD.7040400@linguamatics.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <53FF3FDD.7040400@linguamatics.com> Sender: stgt-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: stgt@vger.kernel.org Hi, I'm suffering some serious performance issues with a pair of iSCSI servers based on CentOS 6 and tgtg. VMs using the storage regularly lock up for a while before returning to normal operation. I have matched up VM lockups to errors like this in the logs of the iSCSI servers. Aug 28 14:32:26 delia-mgt tgtd: conn_close(101) connection closed, 0x1264a88 1 Aug 28 14:32:26 delia-mgt tgtd: conn_close(107) sesson 0x1242330 1 Aug 28 14:32:26 delia-mgt tgtd: conn_close(101) connection closed, 0x1249068 4 Aug 28 14:32:26 delia-mgt tgtd: conn_close(107) sesson 0x1244520 1 Aug 28 14:32:26 delia-mgt tgtd: conn_close(165) Forcing release of rx task 0x1255210 e000001a Aug 28 14:32:26 delia-mgt tgtd: conn_close(101) connection closed, 0x12647b8 3 Aug 28 14:32:26 delia-mgt tgtd: conn_close(107) sesson 0x1255fe0 1 Aug 28 14:32:26 delia-mgt tgtd: conn_close(165) Forcing release of rx task 0x1255770 b000004d DD tests from within the VMs show very poor write performance, the DD tests also trigger the above errors: [root@centos65 ~]# dd if=/dev/zero of=/dev/drbd0 bs=1M count=1024 conv=sync 1024+0 records in 1024+0 records out 1073741824 bytes (1.1 GB) copied, 176.358 s, 6.1 MB/s But iperf tests between VMs and the iSCSI server show ~800Mbs and the raw sequential writes to the DRBD volume is ~1.8Gbs To elaborate on my setup I have: * 2 CentOS 6 servers in a Red Hat Cluster (CMAN) cluster o They operate in a Primary/Secondary configuration o They replicate using DRBD o They only serve a single target to a pool of 3 xenservers My targets.conf is very simple: default-driver iscsi backing-store /dev/drbd0 initiator-address 10.252.15.0/24 incominguser iscsi $secret_goes_here Here is my cluster conf if it is of any use: