From owner-cvs-all@FreeBSD.ORG Tue Sep 30 22:39:05 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 7C48A16A4B3; Tue, 30 Sep 2003 22:39:05 -0700 (PDT) Received: from mail.chesapeake.net (chesapeake.net [208.142.252.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43FDE43FB1; Tue, 30 Sep 2003 22:39:04 -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 h915d3s38487; Wed, 1 Oct 2003 01:39:03 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Wed, 1 Oct 2003 01:39:03 -0400 (EDT) From: Jeff Roberson To: Jeff Roberson In-Reply-To: <200310010525.h915PRwl062742@repoman.freebsd.org> Message-ID: <20031001013745.K99666-100000@mail.chesapeake.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org 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 05:39:05 -0000 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. 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 >