From owner-freebsd-hackers Wed Feb 17 10:59:34 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp03.primenet.com (smtp03.primenet.com [206.165.6.133]) by hub.freebsd.org (Postfix) with ESMTP id 4EC6A113CE for <hackers@FreeBSD.ORG>; Wed, 17 Feb 1999 10:59:27 -0800 (PST) (envelope-from tlambert@usr07.primenet.com) Received: (from daemon@localhost) by smtp03.primenet.com (8.8.8/8.8.8) id LAA12237; Wed, 17 Feb 1999 11:59:17 -0700 (MST) Received: from usr07.primenet.com(206.165.6.207) via SMTP by smtp03.primenet.com, id smtpd012005; Wed Feb 17 11:59:03 1999 Received: (from tlambert@localhost) by usr07.primenet.com (8.8.5/8.8.5) id LAA21748; Wed, 17 Feb 1999 11:58:40 -0700 (MST) From: Terry Lambert <tlambert@primenet.com> Message-Id: <199902171858.LAA21748@usr07.primenet.com> Subject: Re: vm_page_zero_fill To: dyson@iquest.net Date: Wed, 17 Feb 1999 18:58:38 +0000 (GMT) Cc: tlambert@primenet.com, toasty@home.dragondata.com, mike@smith.net.au, hackers@FreeBSD.ORG In-Reply-To: <199902171844.NAA69882@y.dyson.net> from "John S. Dyson" at Feb 17, 99 01:44:19 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > This is robbing Peter to pay Paul; in a way. The base assumption > > that you are hiding is that you aren't constrained by memory > > bandwidth. This isn't true if you are nearly saturating a PCI > > bus with 4 BT848's (to pick the highest memory bandwidth application > > I know about). > > Prezeroing doesn't take any significant CPU if there are no cycles > available. It does increase latency slightly, if zeroing is allowed > to happen. He's strapped on memory bandwidth, not CPU cycles. He's willing to eat zeroing on in those cases where he has no choice because it impacts base functionality. > > Maybe we need to go back to first principles, and examine the > > assumptions about what constraints are in effect under various > > usage models, and make trades like these optional instead of > > mandatory. I think that's all he wants, anyway. > > The prezeroing isn't adding any cost to him, the ability to support > returning non-initialized data from the kernel would be useful. In > that case, turning off prezeroing *might* help (but probably won't.) Again, he's wanting to reclaim memory bandwidth from the prezeroing of pages that are prezeroed not because they need to be, but for security reasons that he doesn't care about. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message