Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp1291657rdb; Sun, 8 Oct 2023 00:20:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHT3DnZFnXM/n1GIU/TIFDxeKfrJKquDNWzsqIK6zQlX/DjlcEJxPk1BXZKan/L5SQW36rY X-Received: by 2002:a05:6a00:a84:b0:666:e1f4:5153 with SMTP id b4-20020a056a000a8400b00666e1f45153mr11595908pfl.0.1696749605271; Sun, 08 Oct 2023 00:20:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696749605; cv=none; d=google.com; s=arc-20160816; b=AI/Q6W8abcr1MkQhIEFGPLwXt9T5m6q2xzvMJSE1N4XZ/fPSG3TmRazPS2D7hNpzYp yY4nOlWgBeRnjpf3rgHdwmYsFW8DuQ3QNFaAOYymXnUtmG8VA03nITZrlAkp3iKnzw6Q CLhpG3GV+WZI4ZEH7jt2c5Z4n45341I5XGQUww93tcxfPYOLkID2oqQrKa/gwwxBm4r/ M592MPQHjn+yCdS5+mAdGeam/azkX8/CgY6H3tXxQJgTTVjmtDQ2Z8vuyVe2rduSWVPl Y7MOiruII48slQbndpngbXfqjJnRrAsVp5gPPg4gqVZTVzjWJgXdWRpuOtlb9BCRQ4sY V6hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=mlbySFY2OETVzaw2qF7+hbQweJBAOXK6J7ohW6Pp7q0=; fh=CDnVxfjYxEe4hIAMsX4+JEorjyrJNmrnosuD/iewpDQ=; b=BCz0s/Ua/iqSc67s9ZlYRUaG5KZn96DCOSiFMgiBlQN5tRcJ2UoLLCped7GhZyFxT0 9HpMIenl+krs96onP7fVi2feCMBRaxQVDUs11A08QHXVIDiGydKKDYNgsCAzIliGdRF3 gIOcWFfD2uAydn2k4rk8hVOFji1Dkgb06R/5v3pNX2NPnI/4RTjQi4D91NmB8OysBiHy nO+4OFbMOLSFkl0zPj15EP6QyYVuMM3sFSqTQALuFz9/0ws9euYq3uY1CII9Pgx5FeMO 7KoTdV7BjRkUO2/MFAsNmMvFvPJC8q/He1QkTS042L8wKm0Re151futPrcEI2BaFA1Hf qevA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id p21-20020a637415000000b0058ae63187e5si3577212pgc.830.2023.10.08.00.20.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Oct 2023 00:20:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 6E3CE809F3BD; Sun, 8 Oct 2023 00:20:02 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344485AbjJHHTt (ORCPT + 99 others); Sun, 8 Oct 2023 03:19:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229966AbjJHHTs (ORCPT ); Sun, 8 Oct 2023 03:19:48 -0400 Received: from out30-119.freemail.mail.aliyun.com (out30-119.freemail.mail.aliyun.com [115.124.30.119]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B981B9; Sun, 8 Oct 2023 00:19:45 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R471e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045176;MF=guwen@linux.alibaba.com;NM=1;PH=DS;RN=17;SR=0;TI=SMTPD_---0VtdMUrf_1696749581; Received: from 30.221.129.17(mailfrom:guwen@linux.alibaba.com fp:SMTPD_---0VtdMUrf_1696749581) by smtp.aliyun-inc.com; Sun, 08 Oct 2023 15:19:42 +0800 Message-ID: Date: Sun, 8 Oct 2023 15:19:40 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH net-next v4 00/18] net/smc: implement virtual ISM extension and loopback-ism To: Niklas Schnelle , kgraul@linux.ibm.com, wenjia@linux.ibm.com, jaka@linux.ibm.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: wintera@linux.ibm.com, gbayer@linux.ibm.com, pasic@linux.ibm.com, alibuda@linux.alibaba.com, tonylu@linux.alibaba.com, dust.li@linux.alibaba.com, linux-s390@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <1695568613-125057-1-git-send-email-guwen@linux.alibaba.com> From: Wen Gu In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=2.2 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS, UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Sun, 08 Oct 2023 00:20:02 -0700 (PDT) X-Spam-Level: ** On 2023/10/5 16:21, Niklas Schnelle wrote: > > Hi Wen Gu, > > I've been trying out your series with iperf3, qperf, and uperf on > s390x. I'm using network namespaces with a ConnectX VF from the same > card in each namespace for the initial TCP/IP connection i.e. initially > it goes out to a real NIC even if that can switch internally. All of > these look great for streaming workloads both in terms of performance > and stability. With a Connect-Request-Response workload and uperf > however I've run into issues. The test configuration I use is as > follows: > > Client Command: > > # host=$ip_server ip netns exec client smc_run uperf -m tcp_crr.xml > > Server Command: > > # ip netns exec server smc_run uperf -s &> /dev/null > > Uperf tcp_crr.xml: > > > > > > > > > > > > > > The workload first runs fine but then after about 4 GB of data > transferred fails with "Connection refused" and "Connection reset by > peer" errors. The failure is not permanent however and re-running > the streaming workloads run fine again (with both uperf server and > client restarted). So I suspect something gets stuck in either the > client or server sockets. The same workload runs fine with TCP/IP of > course. > > Thanks, > Niklas > > Hi Niklas, Thank you very much for the test. With the test example you provided, I've reproduced the issue in my VM. And moreover, sometimes the test complains with 'Error saying goodbye with ' I'll figure out what's going on here. Thanks! Wen Gu