Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp348683ybg; Sun, 26 Jul 2020 06:34:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwb8m3IOr7YbxPkgtLWNWPIxAKzGaI/qAKlb04/REFg1Gnmr8p+g/DIoeI250mKPkeDjtrZ X-Received: by 2002:aa7:d654:: with SMTP id v20mr6570526edr.314.1595770485194; Sun, 26 Jul 2020 06:34:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595770485; cv=none; d=google.com; s=arc-20160816; b=sLo/h/u0aKZr1MR0oTdpUePdDdbx8EH0uqqvRFeX0CzPbeJtb5a9zrdL/0lqTyOZDf YKS0iJiqKtQgWIL4BNLUB0xHcgHZDTCknk9sSvtncBvT2joUr7YaYjIX2X+8F3rkTHFl JgWj/kGgANFp7B9JwkcngWf4lpUnQ0eGpnAljUd8GlpW5dRJtgOqG8Blj/f8oUHVZ4TB kd/n20d7a62EJjjVq5av2Jv3ciwH0Jtc3pBiCPyzeG4s/igA1yVW5EHpCMpoWQBWMzmI STuSzXTMh4ptNCHy+W/NDt3Yh4aKrDnJ1MYuzvH/2WdOfYe0OgrtjQXjZ6qJ+4pwxl8h Ur1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature; bh=6OYGw4D4bRHTs94W/KIim7m9ZKb/h7KQHS8nUr7yvwA=; b=dQI3YRPgCnjHaASkZoaY6k3Ng/kItXkDvJbUJvyDSCEf0ComSrsr/vpJ7lE1InMRSQ guWf90fi0FwkTMeMCmYGtNZ6nFwdH8cEhDXFvZc5Pkh7fRwuVLnqVXD2N0BMzX+ALyzo OQcKiEBmcivXb4uUVKQYRxN4puv4YPgPpXRWT80YtXnYqCs/BWDdvcGUfLino6c7v2+2 DE84dX0+8BNrQAHSAhS1cNdOry5eEYwx6QwGc2qEA3Bx0/A1gAub7PjhVRz50LmK2XNS utXriQE7xTWjwr6QWGkri7sEzxSQkX2oVRG+H5q0PDfULZrDgBaB8bsXyqmu05derhxx vyDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hostfission.com header.s=mail header.b=YR0m+DJD; 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=REJECT sp=REJECT dis=NONE) header.from=hostfission.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g18si3836478ejb.224.2020.07.26.06.33.52; Sun, 26 Jul 2020 06:34:45 -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=@hostfission.com header.s=mail header.b=YR0m+DJD; 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=REJECT sp=REJECT dis=NONE) header.from=hostfission.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727894AbgGZNcQ (ORCPT + 99 others); Sun, 26 Jul 2020 09:32:16 -0400 Received: from mail1.hostfission.com ([139.99.139.48]:33700 "EHLO mail1.hostfission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726711AbgGZNcQ (ORCPT ); Sun, 26 Jul 2020 09:32:16 -0400 Received: from www1.hostfission.com (www1.hostfission.com [139.99.139.52]) by mail1.hostfission.com (Postfix) with ESMTP id A70DD41706; Sun, 26 Jul 2020 23:32:13 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hostfission.com; s=mail; t=1595770333; bh=Ei6BfRGykR1J1/uO3qHywXb/eaVBzQPhnXKWAmqXoAQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=YR0m+DJDdyVO4xMw4NCM6nfi5o4aJVXCO464gc/q61cIJroTszJs2XpadXaNUhzCu 1UXm4wafflGokMGl/Vgal52QMYbaBq8aMB65JVGmev0OuWzp3bOITolpqwNEQKBIXq GCyvdia5FeiQJna0yp5pNuqQpATtrg0KqYGv6MVk= Received: from mail.hostfission.com (www1.hostfission.com [127.0.0.1]) by www1.hostfission.com (Postfix) with ESMTP id 95F045392C; Sun, 26 Jul 2020 23:32:13 +1000 (AEST) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 26 Jul 2020 23:32:13 +1000 From: Geoffrey McRae To: Alex Williamson Cc: hdanton@sina.com, tj@kernel.org, jiangshanlai@gmail.com, linux-kernel@vger.kernel.org Subject: Re: Poor windows VFIO performance, GPU stalls (bisected) In-Reply-To: <20200726073052.284dadb2@x1.home> References: <30452714b2935b530b9c2bbf2d20854a@hostfission.com> <20200726073052.284dadb2@x1.home> Message-ID: X-Sender: geoff@hostfission.com User-Agent: Roundcube Webmail/1.3.8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-07-26 23:30, Alex Williamson wrote: > On Sun, 26 Jul 2020 17:49:07 +1000 > Geoffrey McRae wrote: > >> Hi All, >> >> The commit 22540ca3d00d2990a4148a13b92209c3dc5422db causes a Windows >> KVM >> guest running under QEMU with a VFIO passthrough GPU to randomly stall >> when using the GPU leading to the guest assuming that the driver has >> hung. Reverting this commit resolves the problem. > > Please double check this commit ID, I can't find it in mainline or > linux-next. Thanks, > > Alex Confirmed: https://github.com/torvalds/linux/commit/22540ca3d00d2990a4148a13b92209c3dc5422db > >> The host system is configured with the following kernel arguments >> which >> may be related: >> isolcpus=0-5,24-29,6-11,30-35 rcu_nocbs=0-5,24-29,6-11,30-35 >> >> The system is an AMD Threadripper 2970WX on a Gigabyte x399 AORUS >> Gaming >> 7 board. >> It has two GPUs each being passed through to two separate KVM guests, >> one is an AMD Radeon 7 in a Linux guest, the other is a GeForce 1080Ti >> in a Windows guest. >> The cores used for these two guests are isolated from the host for >> performance reasons. >> >> Any insight as to why this is occurring would be appreciated. If you >> need any more information or would like to test patches please let me >> know. >> >> Kind Regards, >> Geoffrey McRae >> HostFission >> >> https://hostfission.com >>