From owner-freebsd-hackers Thu Dec 7 0:59:12 2000 From owner-freebsd-hackers@FreeBSD.ORG Thu Dec 7 00:59:10 2000 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (Postfix) with ESMTP id 2D03437B400 for ; Thu, 7 Dec 2000 00:59:10 -0800 (PST) Received: from newsguy.com (p31-dn02kiryunisiki.gunma.ocn.ne.jp [211.0.245.96]) by peach.ocn.ne.jp (8.9.1a/OCN/) with ESMTP id RAA29719; Thu, 7 Dec 2000 17:57:53 +0900 (JST) Message-ID: <3A2F5073.C8C1A2FE@newsguy.com> Date: Thu, 07 Dec 2000 17:55:15 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,pt-BR MIME-Version: 1.0 To: Matt Dillon Cc: News History File User , hackers@FreeBSD.ORG, usenet@tdk.net Subject: Re: vm_pageout_scan badness References: <200012011918.eB1JIol53670@earth.backplane.com> <200012020525.eB25PPQ92768@newsmangler.inet.tele.dk> <200012021904.eB2J4An63970@earth.backplane.com> <200012030700.eB370XJ22476@newsmangler.inet.tele.dk> <200012040053.eB40rnm69425@earth.backplane.com> <200012050545.eB55jL453889@crotchety.newsbastards.org> <200012060519.eB65JS910042@crotchety.newsbastards.org> <200012060713.eB67D8I91529@earth.backplane.com> <200012061355.eB6DtGS34255@crotchety.newsbastards.org> <200012061905.eB6J5XV96902@earth.backplane.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Matt Dillon wrote: > > One possible fix would be to have the kernel track cache hits and misses > on a file and implement a heuristic from those statistics which is used > to reduce the 'initial page weighting' for pages read-in from the > 'generally uncacheable file'. This would cause the kernel to reuse > those cache pages more quickly and prevent it from throwing away (reusing) > cache pages associated with more cacheable files like the .index and > .hash files. I don't have time to do this now, but it's definitely > something I am going to keep in mind for a later release. That sounds very, very clever. In fact, it sounds so clever I keep wondering what is the huge flaw with it. :-) Still, promising, to say the least. -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org capo@the.great.underground.bsdconpiracy.org "The bronze landed last, which canceled that method of impartial choice." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message