From owner-freebsd-performance@FreeBSD.ORG Fri Dec 22 04:35:34 2006 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 81BFF16A412 for ; Fri, 22 Dec 2006 04:35:34 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.224]) by mx1.freebsd.org (Postfix) with ESMTP id 43A7413C442 for ; Fri, 22 Dec 2006 04:35:34 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so2520909wxc for ; Thu, 21 Dec 2006 20:35:33 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=am3X+zUz5qUnJsAfgKLztZq8ruboybSPE8RS6hAHW6p2oP8/zsC6U310dTaAPlHmqJzzR5EpGuwNtIEigHpad6K+MOorS25d8yTF7+Mq8iVv2Tw+35ZQPLi/+3TFe70wLxDEJwRdN5ELZcVpo7hSGj79FwSK4uYgk5tgWkqn0jI= Received: by 10.90.49.19 with SMTP id w19mr9064152agw.1166760588204; Thu, 21 Dec 2006 20:09:48 -0800 (PST) Received: by 10.90.31.12 with HTTP; Thu, 21 Dec 2006 20:09:48 -0800 (PST) Message-ID: Date: Fri, 22 Dec 2006 13:09:48 +0900 From: "Adrian Chadd" Sender: adrian.chadd@gmail.com To: "David Xu" In-Reply-To: <458B3E0C.6090104@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <458B3651.8090601@paradise.net.nz> <458B3E0C.6090104@freebsd.org> X-Google-Sender-Auth: 471ea5e266d692cf Cc: freebsd-performance@freebsd.org, Mark Kirkwood Subject: Re: Cached file read performance X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Dec 2006 04:35:34 -0000 On 22/12/06, David Xu wrote: > I suspect in such a test, memory copying speed will be a key factor, > I don't have number to back up my idea, but I think Linux has lots > of tweaks, such as using MMX instruction to copy data. I had the oppertunity to study the AMD Athlon XP Optimisation guide and noted their example copy routine, optimised for the chipset, was quite a hell of a lot faster over a straight block copy. Has anyone here done any similar modifications to optimise copyin/copyout? I can't imagine it'd be a bad thing to have. Adrian