Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4748207rdb; Tue, 12 Dec 2023 08:15:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IHNXEVF6Lb1vo+AVMxb6HuH4RKOhDs+FeLSBvNlCwXnimu/vDvZFmgXBAVmhX3DJimZLuwz X-Received: by 2002:a17:902:ee52:b0:1d0:a0f2:73fc with SMTP id 18-20020a170902ee5200b001d0a0f273fcmr6435465plo.139.1702397754727; Tue, 12 Dec 2023 08:15:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702397754; cv=none; d=google.com; s=arc-20160816; b=VQYf+dmQ6c6TZU7+wK3/xVfncd+t8j4oZRjxU/7esaEWqyVcxSUQAqe85RwLLSrH9+ nk338EE8ARJqHirBY097+SbVvsP6PiOsnjzfC4r5RfJCxaygH4X6B/1UbwCBPBlfqnze IXmLe7NqNGhmhH6wVrrRFbxD8o0JKZEG/vCPzvbhn/7UiM0FCoekKXL7ZOWLwDxY2g/k J7CLbVW9XktaFFG1CnT93ToQZoDW1zFPPLcv6B4350oqxH54qWLxKxGf9B/2GNvOhtMK W0dJtEBXMghJkjgMyK5Ymbsnr9NCLD/xQl6VY7k95chkcc8UTz6gfudwPxvQLV03i15h edtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=q2Jz0Vih/peGcNEFAH1I/vwL9Zvjs9OTM4jvQXkmuKw=; fh=RmE8oP7oc8gpbZtAujcOOa4UaiYfJsDbMb/kkq5wBBw=; b=Egd643nY/iPK3v8MEF3vYk/JhrRutEFnDW+ozh9Y+FttiDBCPXsMGHES0U5E0BL/C8 K3Q6ipLN6D6FBm+MH3t7oE86l86bmg7NjGDVOoR+vwyehoxOqZ51nwcP2SExQb8kLtSV x0MrDnve6METZLeCaSa+WmKoM61LKbH4Swq9oP7O1gwyppsdJs6YOkEdZyKsC+u8oW6s 082o8MYscI1iWazfVqTf/2rm9oBVKLGea6RntPs9Sp3CrEIWWQGKXtG29NLq/3/zPmJm QMAuLfZRO+MD/Fc7P+BQxSZ1GaUsNIU61OJjMi+llyXjfniwLv70UxSkdQ5YkoDSKl5l 1m5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=fFO16y9F; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id j7-20020a654287000000b00578d3f8d4d4si7942114pgp.448.2023.12.12.08.15.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 08:15:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=fFO16y9F; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 7A5D48095DF7; Tue, 12 Dec 2023 08:15:20 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234944AbjLLQPG (ORCPT + 99 others); Tue, 12 Dec 2023 11:15:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232529AbjLLQPD (ORCPT ); Tue, 12 Dec 2023 11:15:03 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C712DC for ; Tue, 12 Dec 2023 08:15:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1702397709; 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=q2Jz0Vih/peGcNEFAH1I/vwL9Zvjs9OTM4jvQXkmuKw=; b=fFO16y9F2qN2JUXzDAZoz9j0yEJeQmSPdOnBRYWkRHbTKtJaVyJWY+AmLwRuQt/UuQYeg1 hTPYxllOoh5ftkW9e0nEfd6mVN4BVDHxMgRTnwB0iz9eFDQeiqaM7Z3YZa6juEkGvGRkmG 3lvvi8Q/KmuhL/LlgQkPpGaKl//m3RY= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-327-HsGHzzOBN6aczCVwNBJRAQ-1; Tue, 12 Dec 2023 11:15:07 -0500 X-MC-Unique: HsGHzzOBN6aczCVwNBJRAQ-1 Received: by mail-wr1-f71.google.com with SMTP id ffacd0b85a97d-3363101652bso395868f8f.1 for ; Tue, 12 Dec 2023 08:15:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702397706; x=1703002506; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=q2Jz0Vih/peGcNEFAH1I/vwL9Zvjs9OTM4jvQXkmuKw=; b=DGP2A2gXxaX8WC4fGIUjiTrQ1bR7mwtNpIgtCDBo2DtYNPIj2W1bgSMzSzDtLjUo0F YVgyslNtqGPgJij7+Qj6Gt5C3T8np7wxlpnN4KIvkC89QJ8SPFbvI9mtdjOvOZrPfKqd FommyA9IPPvuOPiXM8xP4vi3HAb6xUcJGXPSGIDkRtIbs/Sr+PRORHN7g0DREkxYTDzH rJOdQufIH2j1s2f+Jpv2dv/J1F+9MoxhlwxV2b2ecQGsPMulHUFBLnYxWTOXxDDvaiBj F9WmJWUDPs1V0U6f4QvWdTnDimisMPGGH2dAesMLTeFmn5RGIHqS7A2Y9R3GRHVc7iJ8 Bczg== X-Gm-Message-State: AOJu0Yz7ep4qCogG4aNTzmqmvb3bCUoofL7oCO+OawGk/2ew4imBMEYL 36kdah1PIBxTDv+k75pSocuvIfHY0eo/UpZZPfPhHn0kbQa4rcQiE5cWZ03imM+eAk1Maq+LpZO z1hHC/ZjAeIFhtut+DMLbp6JJ X-Received: by 2002:a05:600c:4fd3:b0:40b:5e56:7b44 with SMTP id o19-20020a05600c4fd300b0040b5e567b44mr3106311wmq.141.1702397706193; Tue, 12 Dec 2023 08:15:06 -0800 (PST) X-Received: by 2002:a05:600c:4fd3:b0:40b:5e56:7b44 with SMTP id o19-20020a05600c4fd300b0040b5e567b44mr3106296wmq.141.1702397705901; Tue, 12 Dec 2023 08:15:05 -0800 (PST) Received: from redhat.com ([2.52.23.105]) by smtp.gmail.com with ESMTPSA id gw18-20020a05600c851200b004053e9276easm19320264wmb.32.2023.12.12.08.15.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 08:15:05 -0800 (PST) Date: Tue, 12 Dec 2023 11:15:01 -0500 From: "Michael S. Tsirkin" To: Jason Wang Cc: Tobias Huschle , Abel Wu , Peter Zijlstra , Linux Kernel , kvm@vger.kernel.org, virtualization@lists.linux.dev, netdev@vger.kernel.org Subject: Re: Re: Re: EEVDF/vhost regression (bisected to 86bfbb7ce4f6 sched/fair: Add lag based placement) Message-ID: <20231212111433-mutt-send-email-mst@kernel.org> References: <07513.123120701265800278@us-mta-474.us.mimecast.lan> <20231207014626-mutt-send-email-mst@kernel.org> <56082.123120804242300177@us-mta-137.us.mimecast.lan> <20231208052150-mutt-send-email-mst@kernel.org> <53044.123120806415900549@us-mta-342.us.mimecast.lan> <20231209053443-mutt-send-email-mst@kernel.org> <20231211115329-mutt-send-email-mst@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.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 (morse.vger.email [0.0.0.0]); Tue, 12 Dec 2023 08:15:20 -0800 (PST) On Tue, Dec 12, 2023 at 11:00:12AM +0800, Jason Wang wrote: > On Tue, Dec 12, 2023 at 12:54 AM Michael S. Tsirkin wrote: > > > > On Mon, Dec 11, 2023 at 03:26:46PM +0800, Jason Wang wrote: > > > > Try reducing the VHOST_NET_WEIGHT limit and see if that improves things any? > > > > > > Or a dirty hack like cond_resched() in translate_desc(). > > > > what do you mean, exactly? > > Ideally it should not matter, but Tobias said there's an unexpectedly > long time spent on translate_desc() which may indicate that the > might_sleep() or other doesn't work for some reason. > > Thanks You mean for debugging, add it with a patch to see what this does? Sure - can you post the debugging patch pls? > > > > -- > > MST > >