From owner-freebsd-arch@FreeBSD.ORG Thu Jun 14 17:04:04 2007 Return-Path: X-Original-To: freebsd-arch@freebsd.org Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 686B616A480 for ; Thu, 14 Jun 2007 17:04:04 +0000 (UTC) (envelope-from cadastrosonline@yahoo.com.br) Received: from web57302.mail.re1.yahoo.com (web57302.mail.re1.yahoo.com [66.196.100.38]) by mx1.freebsd.org (Postfix) with SMTP id 1E27813C448 for ; Thu, 14 Jun 2007 17:04:03 +0000 (UTC) (envelope-from cadastrosonline@yahoo.com.br) Received: (qmail 24717 invoked by uid 60001); 14 Jun 2007 17:04:03 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.br; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=HMN+o8v0Eicz5cZafTfC0KRbBl/KlW22257TU+HAMIzH12BH6wsYP3QcVNSUCBOAhn7sca3u0QML5QuPtMt+2jaT/cwfRzVSFjt4ZTph3+wha+2UtKL5pRi/nnbrwSp0SsPM4ebtRUKeEPl0ic/UuX3Gq4ffvm7BPLkCPLHD6kI=; X-YMail-OSG: SHQd9aIVM1kcqJd5XECxPAHCyokLxGksvpdIjtDVbpw1SHLiu9feGF2p9ejpD0VGZj_wwCRw0ljYDH5K_3hLz4RHBO2QrGuADAvD Received: from [69.147.97.214] by web57302.mail.re1.yahoo.com via HTTP; Thu, 14 Jun 2007 10:04:03 PDT X-Mailer: YahooMailRC/651.29 YahooMailWebService/0.7.41.16 Date: Thu, 14 Jun 2007 10:04:03 -0700 (PDT) From: cadastrosonline cadastrosonline To: fbsd arch MIME-Version: 1.0 Message-ID: <497837.24344.qm@web57302.mail.re1.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: VM X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2007 17:04:04 -0000 "FreeBSD's memory allocation code implements page coloring optimizations, w= hich means=0Athat the memory allocation code will attempt to locate free pa= ges that are contiguous=0Afrom the point of view of the cache. For example,= if page 16 of physical memory is=0Aassigned to page 0 of a process's virtu= al memory and the cache can hold 4 pages, the page=0Acoloring code will not= assign page 20 of physical memory to page 1 of a process's virtual=0Amemor= y."=0A=0AFrom fbsd books, I don't understand why it links page 16 of physic= al memory to page 0 then talks about page 20 of physcal memory to page 1, o= k it will say it will sign to page 21 because of the page coloring, but tha= ts not what i didnt get.=0A=0AIf the cache holds 4 pages, why wouldn't the = physical page 20 sign to page 4 or 8 instead? Why 1? lol :> i see its signi= ng the VM as 0,1,2,3,4 and the physical as 4,8,16,20...could anyone explain= that?=0A=0A=0A=0A=0A =0A____________________________________________= ________________________________________=0ANovo Yahoo! Cad=EA? - Experiment= e uma nova busca.=0Ahttp://yahoo.com.br/oqueeuganhocomisso