From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753300Ab0JMVcV (ORCPT ); Wed, 13 Oct 2010 17:32:21 -0400 Received: from terminus.zytor.com ([198.137.202.10]:51216 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751675Ab0JMVcV (ORCPT ); Wed, 13 Oct 2010 17:32:21 -0400 Message-ID: <4CB62543.7000605@zytor.com> Date: Wed, 13 Oct 2010 14:31:47 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100921 Fedora/3.1.4-1.fc13 Thunderbird/3.1.4 MIME-Version: 1.0 To: miaox@cn.fujitsu.com CC: "Ma, Ling" , Ingo Molnar , Andi Kleen , Thomas Gleixner , "Zhao, Yakui" , Linux Kernel Subject: Re: [PATCH V2 -tip] lib,x86_64: improve the performance of memcpy() for unaligned copy References: <4CAEC81C.1070108@cn.fujitsu.com> <4CAEDE0D.2040009@cn.fujitsu.com> In-Reply-To: <4CAEDE0D.2040009@cn.fujitsu.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/08/2010 02:02 AM, Miao Xie wrote: > On Fri, 8 Oct 2010 15:42:45 +0800, Ma, Ling wrote: >> Could you please give us full address for each comparison result,we will do some tests on my machine. >> For unaligned cases older cpus will crossing cache line and slow down caused by load and store, but for nhm, no necessary to care about it. >> By the way in kernel 64bit mode, our access mode should be around 8byte aligned. > > Would you need my benchmark tool? I think it is helpful for your test. > If you could post the benchmark tool that would be great. -hpa