From owner-freebsd-doc@FreeBSD.ORG Thu Feb 24 22:20:22 2005 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3943816A4CE for ; Thu, 24 Feb 2005 22:20:22 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0124D43D46 for ; Thu, 24 Feb 2005 22:20:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j1OMKLfj019474 for ; Thu, 24 Feb 2005 22:20:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j1OMKLNN019472; Thu, 24 Feb 2005 22:20:21 GMT (envelope-from gnats) Resent-Date: Thu, 24 Feb 2005 22:20:21 GMT Resent-Message-Id: <200502242220.j1OMKLNN019472@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Lars Kristiansen" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7779D16A4CE for ; Thu, 24 Feb 2005 22:10:21 +0000 (GMT) Received: from mail.adventuras.no (mail.adventuras.no [194.63.250.215]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62C0043D3F for ; Thu, 24 Feb 2005 22:10:20 +0000 (GMT) (envelope-from lars+lister.freebsd@adventuras.no) Received: from mail.adventuras.no (seven [127.0.0.1]) by mail.adventuras.no (8.12.10/8.12.10) with ESMTP id j1OMA9vH002351 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 24 Feb 2005 23:10:09 +0100 Received: (from apache@localhost) by mail.adventuras.no (8.12.10/8.12.10/Submit) id j1OMA9Ar002349; Thu, 24 Feb 2005 23:10:09 +0100 Received: from 213.236.228.129 (SquirrelMail authenticated user lars) by mail.adventuras.no with HTTP; Thu, 24 Feb 2005 23:10:09 +0100 (CET) Message-Id: <55421.213.236.228.129.1109283009.squirrel@mail.adventuras.no> Date: Thu, 24 Feb 2005 23:10:09 +0100 (CET) From: "Lars Kristiansen" To: FreeBSD-gnats-submit@FreeBSD.org cc: Lars Kristiansen Subject: docs/78041: docs for md need further explanation of type swap X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2005 22:20:22 -0000 >Number: 78041 >Category: docs >Synopsis: docs for md need further explanation of type swap >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Feb 24 22:20:21 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Lars Kristiansen >Release: FreeBSD 5.3-RELEASE i386 >Organization: Adventuras >Environment: System: FreeBSD ladyda.master.local 5.3-RELEASE FreeBSD 5.3-RELEASE #1: Fri Nov 12 20:41:58 CET 2004 root@ladyda.master.local:/usr/obj/usr/src/sys/GENERIC i386 >Description: Documentation describes memory disks of type swap as allocated from swap space which leads to believe they are diskbound. This description in a mail from Scott Long to freebsd-fs explains otherwise: ( http://docs.freebsd.org/cgi/mid.cgi?41E01905.3040200 ) "With the swap option, pages are allocated from the buffer/cache and held there. They are only swapped to disk when the system is under memory pressure, otherwise they stay in RAM." or this one in a mail from Poul-Henning Kamp: ( http://docs.freebsd.org/cgi/mid.cgi?45044.1105365790 ) "Swap-backing is very different from RAM disks in that things get pushed out of RAM if better use can be made of the pages." >How-To-Repeat: >Fix: ############### suggested patch from Lowell Gilbert: ############### --- src/share/man/man4/md.4.ORIG Thu Feb 24 11:51:37 2005 +++ src/share/man/man4/md.4 Thu Feb 24 11:51:51 2005 @@ -50,7 +50,7 @@ This allows for mounting ISO images without the tedious detour over actual physical media. .It Cm swap -Backing store is allocated from swap space. +Backing store is allocated from virtual memory space. .El .Pp For more information, please see ############### end of patch ############### Note: Documents which could use corresponding changes includes the manpages for md, mdconfig and mdmfs, and also in this chapter of the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-virtual.html#DISKS-MD-FREEBSD5 >Release-Note: >Audit-Trail: >Unformatted: