Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751860AbWCECIO (ORCPT ); Sat, 4 Mar 2006 21:08:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751846AbWCECIO (ORCPT ); Sat, 4 Mar 2006 21:08:14 -0500 Received: from dsl027-180-168.sfo1.dsl.speakeasy.net ([216.27.180.168]:61622 "EHLO sunset.davemloft.net") by vger.kernel.org with ESMTP id S1750837AbWCECIN (ORCPT ); Sat, 4 Mar 2006 21:08:13 -0500 Date: Sat, 04 Mar 2006 18:08:19 -0800 (PST) Message-Id: <20060304.180819.44228793.davem@davemloft.net> To: johnpol@2ka.mipt.ru Cc: jengelh@linux01.gwdg.de, christopher.leech@intel.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH 0/8] Intel I/O Acceleration Technology (I/OAT) From: "David S. Miller" In-Reply-To: <20060305014324.GA20026@2ka.mipt.ru> References: <20060304.134144.122314124.davem@davemloft.net> <20060305014324.GA20026@2ka.mipt.ru> X-Mailer: Mew version 4.2.53 on Emacs 21.4 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 979 Lines: 20 From: Evgeniy Polyakov Date: Sun, 5 Mar 2006 04:43:25 +0300 > According to investigation made for kevent based FS AIO reading, > get_user_pages() performange graph looks like sqrt() function > with plato starting on about 64-80 pages on Xeon 2.4Ghz with 1Gb of ram, > while memcopy() is linear, so it can be noticebly slower than > copy_to_user() if get_user_pages() is used aggressively, so userspace > application must reuse the same, already grabbed buffer for maximum > performance, but Intel folks did not provide theirs usage case and any > benchmarks as far as I know. Of course, and programming the DMA controller has overhead as well. This is why would would not use I/O AT with small transfer sizes. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/