From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rik van Riel Subject: Re: [RFC] Heterogeneous memory management (mirror process address space on a device mmu). Date: Tue, 06 May 2014 12:47:16 -0400 Message-ID: <53691214.80906@redhat.com> References: <1399038730-25641-1-git-send-email-j.glisse@gmail.com> <20140506102925.GD11096@twins.programming.kicks-ass.net> <20140506150014.GA6731@gmail.com> <20140506153315.GB6731@gmail.com> <53690E29.7060602@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Jerome Glisse , Peter Zijlstra , linux-mm , Linux Kernel Mailing List , linux-fsdevel , Mel Gorman , "H. Peter Anvin" , Andrew Morton , Linda Wang , Kevin E Martin , Jerome Glisse , Andrea Arcangeli , Johannes Weiner , Larry Woodman , Dave Airlie , Jeff Law , Brendan Conoboy , Joe Donohue , Duncan Poole , Sherry Cheung , Subhash Gutti , John Hubbard Return-path: In-Reply-To: Sender: owner-linux-mm@kvack.org List-Id: linux-fsdevel.vger.kernel.org On 05/06/2014 12:34 PM, Linus Torvalds wrote: > On Tue, May 6, 2014 at 9:30 AM, Rik van Riel wrote: >> >> The GPU runs a lot faster when using video memory, instead >> of system memory, on the other side of the PCIe bus. > > The nineties called, and they want their old broken model back. > > Get with the times. No high-performance future GPU will ever run > behind the PCIe bus. We still have a few straggling historical > artifacts, but everybody knows where the future is headed. > > They are already cache-coherent because flushing caches etc was too > damn expensive. They're getting more so. I suppose that VRAM could simply be turned into a very high capacity CPU cache for the GPU, for the case where people want/need an add-on card. With a few hundred MB of "CPU cache" on the video card, we could offload processing to the GPU very easily, without having to worry about multiple address or page table formats on the CPU side. A new generation of GPU hardware seems to come out every six months or so, so I guess we could live with TLB invalidations to the first generations of hardware being comically slow :) -- All rights reversed -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org