From: Konrad Rzeszutek Wilk Subject: [RFC SWIOTLB-0.4] Date: Wed, 3 Feb 2010 12:08:01 -0500 Message-ID: <1265216892-14230-1-git-send-email-konrad.wilk@oracle.com> References: <20100203110407H.fujita.tomonori@lab.ntt.co.jp> Return-path: In-Reply-To: <20100203110407H.fujita.tomonori@lab.ntt.co.jp> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: chrisw@sous-sol.org, fujita.tomonori@lab.ntt.co.jp, iommu@lists.linux-foundation.org, dwmw2@infradead.org Cc: Ian.Campbell@eu.citrix.com, jeremy@goop.org, xen-devel@lists.xensource.com, alex.williamson@hp.com List-Id: xen-devel@lists.xenproject.org > > Any ideas on a good benchmarking tool for that? > > Any tools with a system capable of fast I/Os like hundreds of SSDs? That will take some time, but I think I will be able to get some time on the Oracle's Exadata box. > I just want core functions to manage the swiotlb buffer (io_tlb) > there. Don't pass the address translation functions to swiotlb_map_*, > etc. Attached is a set of eleven RFC patches that split the SWIOTLB library in two layers: core, and dma_ops related functions. The set of eleven patches is also accessible on: git://git.kernel.org/pub/scm/linux/kernel/git/konrad/swiotlb-2.6.git swiotlb-rfc-0.4 An example of how this can be utilized in both bare-metal and Xen environments is this git tree: git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git swiotlb-xen-0.4 Sincerely, Konrad Rzeszutek Wilk P.S. The diffstat: Documentation/x86/x86_64/boot-options.txt | 6 +- include/linux/swiotlb.h | 45 ++- lib/Makefile | 2 +- lib/swiotlb-core.c | 572 ++++++++++++++++++++++++++++ lib/swiotlb.c | 579 +--------------------------- 5 files changed, 637 insertions(+), 567 deletions(-)