From owner-freebsd-hackers@FreeBSD.ORG Sat Aug 2 01:00:45 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4849037B401 for ; Sat, 2 Aug 2003 01:00:45 -0700 (PDT) Received: from heron.mail.pas.earthlink.net (heron.mail.pas.earthlink.net [207.217.120.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB4A143FAF for ; Sat, 2 Aug 2003 01:00:44 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from user-38lc17n.dialup.mindspring.com ([209.86.4.247] helo=mindspring.com) by heron.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 19irJf-0000ry-00; Sat, 02 Aug 2003 01:00:40 -0700 Message-ID: <3F2B6F55.DDF626C3@mindspring.com> Date: Sat, 02 Aug 2003 00:59:17 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: John-Mark Gurney References: <200307311219.h6VCJLVG053962@spider.deepcore.dk> <20030801082658.GQ10708@funkthat.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a4f2af19f176dfbe9787dd6d3c7fdbb796350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c cc: Ruben de Groot cc: freebsd-hackers@freebsd.org cc: mh Subject: Re: Ultra ATA card doesn't seem to provide Ultra speeds. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Aug 2003 08:00:45 -0000 John-Mark Gurney wrote: > Ruben de Groot wrote this message on Fri, Aug 01, 2003 at 10:15 +0200: > > On Fri, Aug 01, 2003 at 04:33:08AM +0200, mh typed: > > The following comparison is probably bogus, but can anybody explain the > > huge difference? > > It's called micro optimization. Linux feels the need to special case > /dev/zero to /dev/null, and instead of even reading/writing the data, > It just ignores the user request, (or does something like set the pages > in the user space to be zero'd. > > Also, dual procs won't help your performance when you run a single > process like this. They will if you interleave the page zero'ing they do on both CPU's... 8^p. -- Terry