Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="fFO16y9F" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA784E9 for ; Tue, 12 Dec 2023 08:15:09 -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-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-550-rzCZdJBRMvO0igQdZ9_RBQ-1; Tue, 12 Dec 2023 11:15:07 -0500 X-MC-Unique: rzCZdJBRMvO0igQdZ9_RBQ-1 Received: by mail-wm1-f70.google.com with SMTP id 5b1f17b1804b1-40a4c765d3bso28676955e9.0 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=hNsN+n7hRI7kq/Hf56PFYA2i0jFFsSOF8+UBwRt8SvK5kfbyC9Il7ZJ51dGmRdjj9P cJkJ1SEbDMEVyOasOUTtodTqcKd4fiW2k1pXbUhQPA/jPW1EpQbG+stsYLLcH2IWlZTj eIuVMNT7VASSzbFD2vuEZQdag6DXy0JaZd5GWVKEOLXanGN3GaVGyUc1rNBNJ+zFOhLN wT/87QtaVvhUyjbvCEdyW1Hfqi19jVSrFUJCfeB/4yqxfpfKhmzIhQHNZ0guTvV4MoG8 7XAFYoucMKp0AHMQ9i5fWYAsxnebD+2Z0oegPay6YlEXqyd4mcfVdDQJ6SOwapquqWVU OvbQ== X-Gm-Message-State: AOJu0YxditKzL33TIqZA6K5A7zloAWnMomrTKVoDm2zaorcY/xpp3E0n oEqfc3H6IgIl0en3Dw2uyyQKhB7Ntn08pk+V0XAjor58GOIDY496/Bd26YheV3uneQqExvDtXq7 ob+Fu55Cj1oUn X-Received: by 2002:a05:600c:4fd3:b0:40b:5e56:7b44 with SMTP id o19-20020a05600c4fd300b0040b5e567b44mr3106310wmq.141.1702397706193; Tue, 12 Dec 2023 08:15:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IEfYaO9aerEATODsvvXvfPwf/DmeS9S4RdZVSfiTQn3TL+p+4u6edQ/gY6/zAQL0WCJWMCW2A== 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> Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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 > >