From owner-freebsd-current@FreeBSD.ORG Fri Jul 25 23:52:00 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E3B637B401 for ; Fri, 25 Jul 2003 23:52:00 -0700 (PDT) Received: from stork.mail.pas.earthlink.net (stork.mail.pas.earthlink.net [207.217.120.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0525B43F75 for ; Fri, 25 Jul 2003 23:52:00 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from user-2ivfj2b.dialup.mindspring.com ([165.247.204.75] helo=mindspring.com) by stork.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 19gIts-0001w7-00; Fri, 25 Jul 2003 23:51:29 -0700 Message-ID: <3F22249A.41DA5C47@mindspring.com> Date: Fri, 25 Jul 2003 23:50:02 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Ahmed Al-Hindawi References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a43bce394abff1334354327f713cb4fae2350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c cc: mezz7@cox.net cc: freebsd-current@freebsd.org cc: wmoran@potentialtech.com cc: kientzle@acm.org Subject: Re: Memory Mangement Problem in 5.1-RELEASE X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jul 2003 06:52:00 -0000 Ahmed Al-Hindawi wrote: > dude, I have a third of my memory free!! Dude, there's a difference between "free" and "available". Dude, what makes you think that the swap in use doesn't refer to pages that are also in main memory, but marked clean because they've already been written to a backing store, but can be instantly reactivated in main memory without reading from swap? Dude, why do you thing FreeBSD is ever reading from swap at all when you are in this situation, and is not just writing it, in case you have a demand spike for memory so it can satisfy it immediately, instead of having to futz around with delaying your request until it can write the dirty things in main memory to swap? Dude, have you ever been through a drive through or even in line inside at a fast food place like Wendy's, where they send order takers into the line to proactively take your orders, so that all you have to do when you get to the front of the line is hand them your order ticket, instead of stating your order and delaying the whole line behind you by however long they were already delayed plus the time it takes you to give them your order? Dude, have you ever heard of "queueing theory" or have you ever google'd for "pool retention time" and "latency" in the same query? Dude, stop saying "dude". 8-) 8-). There are good reasons that FreeBSD acts the way it does, and why it is more responsive under a high load than certain other OS's written by people who are at best undergraduates and at worst High school students, and never cracked open a copy of "Knuth's Algorithms" in their lives, let alone owned one and put it up on their bookshelf. -- Terry