From owner-cvs-all@FreeBSD.ORG Wed Oct 1 01:40:37 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 19BC416A4B3; Wed, 1 Oct 2003 01:40:37 -0700 (PDT) Received: from mail.chesapeake.net (chesapeake.net [208.142.252.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F42143FEA; Wed, 1 Oct 2003 01:40:35 -0700 (PDT) (envelope-from jroberson@chesapeake.net) Received: from localhost (jroberson@localhost) by mail.chesapeake.net (8.11.6/8.11.6) with ESMTP id h918eYn32137; Wed, 1 Oct 2003 04:40:34 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Wed, 1 Oct 2003 04:40:34 -0400 (EDT) From: Jeff Roberson To: Alan Cox In-Reply-To: <20031001082834.GT20747@cs.rice.edu> Message-ID: <20031001043125.P99666-100000@mail.chesapeake.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: Jeff Roberson cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/i386 support.s src/sys/i386/include md_var.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2003 08:40:37 -0000 On Wed, 1 Oct 2003, Alan Cox wrote: > On Wed, Oct 01, 2003 at 01:39:03AM -0400, Jeff Roberson wrote: > > This moves data 3.8x faster than bzero on my laptop. In a moment I will > > commit pmap bits to make use of it. This improved my 'make kernel' times > > by almost 2%. It will do even better in workloads that demand a lot of > > zero pages. > > > > An sfence at the end of sse2_pagezero() is probably prudent. > > Alan Thanks. I misunderstood the manual the first time and thought it was only necessary if the memory was accessed using different MTRR types. > > > On Tue, 30 Sep 2003, Jeff Roberson wrote: > > > > > jeff 2003/09/30 22:25:27 PDT > > > > > > FreeBSD src repository > > > > > > Modified files: > > > sys/i386/i386 support.s > > > sys/i386/include md_var.h > > > Log: > > > - Add ss2_pagezero() for zeroing pages using the movnti instruction. This > > > instruction is enabled with SSE2 but does not use SSE registers. It is a > > > "non-temporal" move which bypasses the cache and does not dirty lines. > > > > > > Revision Changes Path > > > 1.98 +14 -0 src/sys/i386/i386/support.s > > > 1.65 +1 -0 src/sys/i386/include/md_var.h > > > >