Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp370297pxk; Thu, 3 Sep 2020 01:42:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxpGYgjy/i81EoT94AD5PeaNhvK8FU4fZ3vapnqYHBS2kfXyT2tHxavVSS9uO0BKjmUwxde X-Received: by 2002:a50:f1d1:: with SMTP id y17mr522004edl.231.1599122549116; Thu, 03 Sep 2020 01:42:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599122549; cv=none; d=google.com; s=arc-20160816; b=ZraqfhapSlkb4RwK1QaNMo8KBoyUX3GWE0WzYHiTLl1W2a6F+aFbIKjPhkvWnNRtGu J6aIdm41wI7l08C4lfAK08fYylA37VlqR+oRYsmDTybZErvCmU58u4FyQGb/ZwXJ+He7 u5g5ghU7RwCIZH46JZvUxWjcb+H5pwlGkCB1CslJQec58tmanws/w9OxdxTWDElvxlIL nl7jCwEvhCSlxNW+PJ/S5h4fMmVNpFiyLlf4ho3ygCXzNlkm6QLs4u3UNBAU6ErkiikN wdiLJT2qosK8LrxWhRAxiSsdpSW7MHoyIAb/IFmaHkm4Yv0OPf9oEZeCIsKmc+Miex60 A/UQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=nkompj5IxHGnEPikK3tjox7kn9DQzhQmyMUxr6MfduU=; b=uuHNyD9XV4Mv+n4fz1YacUQSIeesIhzUW1ChNRmrlkXoQ8dnhqRTQ+HcZCLRT4gMDj 5vfMkhwXLng6sM+byDjJWLnW8pmT0AgEr+gjsWq3hKYyVHOPbC8tDBJeKjq0crWDE1t6 Mcz+Xtn8LofYRMFrj6NteTRtvHcprXiZmcyB30GzGkwxfLKFHLRGGw1DtFOgyR2HKaSz kINartaG7OI7UG1UrZVusrs5Gmds14twhdpzBZCIjdh6t8muRPFXvaRKX+dGD4Cc5Oq2 89r2/+PEeBzvn1/DKeuoKPqJsoCaoQbzbghr5e5MZzBEADlooAtG/voawXNVxuytWx4Y Yebg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gAU2dhcj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a12si1367523ejd.417.2020.09.03.01.42.06; Thu, 03 Sep 2020 01:42:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gAU2dhcj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728305AbgICIkH (ORCPT + 99 others); Thu, 3 Sep 2020 04:40:07 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:55866 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726543AbgICIkG (ORCPT ); Thu, 3 Sep 2020 04:40:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1599122405; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nkompj5IxHGnEPikK3tjox7kn9DQzhQmyMUxr6MfduU=; b=gAU2dhcjCXjB9cRCksONNpnCKv4McCDvFKn0UhXVG71jKwCDfgobKQ3PxkBJLrol6bDa+u mjMFORjpWQA+VB4v6ceD690oUlY1B4la6cPduX8OdawuLwAuhbkLGGTLZDzGcw8TIVrPG3 dOSfezF/A9LItZgwmgQAdCA780C6TuE= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-326-wYAvPqxcMZWIiuS14GZ_bg-1; Thu, 03 Sep 2020 04:40:00 -0400 X-MC-Unique: wYAvPqxcMZWIiuS14GZ_bg-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 9CFF58015F6; Thu, 3 Sep 2020 08:39:58 +0000 (UTC) Received: from ovpn-115-2.ams2.redhat.com (ovpn-115-2.ams2.redhat.com [10.36.115.2]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8309A19C59; Thu, 3 Sep 2020 08:39:55 +0000 (UTC) Message-ID: Subject: Re: Packet gets stuck in NOLOCK pfifo_fast qdisc From: Paolo Abeni To: Cong Wang , Kehuan Feng Cc: Hillf Danton , Jike Song , Josh Hunt , Jonas Bonn , Michael Zhivich , David Miller , John Fastabend , LKML , Netdev Date: Thu, 03 Sep 2020 10:39:54 +0200 In-Reply-To: References: <465a540e-5296-32e7-f6a6-79942dfe2618@netrounds.com> <20200623134259.8197-1-mzhivich@akamai.com> <1849b74f-163c-8cfa-baa5-f653159fefd4@akamai.com> <7fd86d97-6785-0b5f-1e95-92bc1da9df35@netrounds.com> <500b4843cb7c425ea5449fe199095edd5f7feb0c.camel@redhat.com> <25ca46e4-a8c1-1c88-d6a9-603289ff44c3@akamai.com> <20200822032800.16296-1-hdanton@sina.com> <20200825032312.11776-1-hdanton@sina.com> <20200825162329.11292-1-hdanton@sina.com> <5f46032e.1c69fb81.9880c.7a6cSMTPIN_ADDED_MISSING@mx.google.com> <20200827125747.5816-1-hdanton@sina.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5 (3.36.5-1.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2020-09-02 at 22:01 -0700, Cong Wang wrote: > Can you test the attached one-line fix? I think we are overthinking, > probably all > we need here is a busy wait. I think that will solve, but I also think that will kill NOLOCK performances due to really increased contention. At this point I fear we could consider reverting the NOLOCK stuff. I personally would hate doing so, but it looks like NOLOCK benefits are outweighed by its issues. Any other opinion more than welcome! Cheers, Paolo