From owner-freebsd-questions@FreeBSD.ORG Wed Sep 14 20:21:18 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B67E16A41F for ; Wed, 14 Sep 2005 20:21:18 +0000 (GMT) (envelope-from glenn@antimatter.net) Received: from cobalt.antimatter.net (cobalt.antimatter.net [69.55.224.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1791943D4C for ; Wed, 14 Sep 2005 20:21:17 +0000 (GMT) (envelope-from glenn@antimatter.net) Received: from glenn-mobile.antimatter.net (cpe-66-27-86-22.san.res.rr.com [66.27.86.22]) (authenticated bits=0) by cobalt.antimatter.net (8.13.4/8.13.4) with ESMTP id j8EKLG8b022908 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 14 Sep 2005 13:21:17 -0700 X-MailKey: purple frogs are falling from the sky Message-Id: <6.2.3.4.2.20050914131834.09a3bb80@cobalt.antimatter.net> X-Mailer: QUALCOMM Windows Eudora Version 6.2.3.4 Date: Wed, 14 Sep 2005 13:20:45 -0700 To: dmarshall@gmail.com, freebsd-questions@freebsd.org From: Glenn Dawson In-Reply-To: <53f1586305091412443a993251@mail.gmail.com> References: <53f1586305091412443a993251@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: Subject: Re: File-Backed Memory Disks: Performance and Manipulation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2005 20:21:18 -0000 At 12:44 PM 9/14/2005, David Marshall wrote: >Hi, > >Scenario: We have millions of little (almost all < 10 kB), about 30 GB >total. It takes > 24 hours to either tar them up or then untar them. >It finally occured to us to put them into a file-backed memory disk. > >Questions: > >1. How does the performance of a file-backed memory disk change as it >becomes large? > >2. Is there a clever way to make such a file-backed memory disk bigger >after the fact? If I want to expand my 30 GB file to 50 GB, am I >stuck with just making a new one and copying it over? I've done that by concatenating an empty file of the size I wish to add on to the end of the existing backing store file, editing the disk label and then using growfs to expand into the new space. -Glenn >TIA! >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"