From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 13 02:54:58 2009 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F00E5106566B for ; Tue, 13 Jan 2009 02:54:58 +0000 (UTC) (envelope-from ota@j.email.ne.jp) Received: from mail.asahi-net.or.jp (mail1.asahi-net.or.jp [202.224.39.197]) by mx1.freebsd.org (Postfix) with ESMTP id C24E88FC08 for ; Tue, 13 Jan 2009 02:54:57 +0000 (UTC) (envelope-from ota@j.email.ne.jp) Received: from localhost (pool-141-151-81-192.phlapa.east.verizon.net [141.151.81.192]) by mail.asahi-net.or.jp (Postfix) with ESMTP id 040E062173; Tue, 13 Jan 2009 11:54:55 +0900 (JST) Date: Mon, 12 Jan 2009 21:53:22 -0500 From: Yoshihiro Ota To: Christoph Mallon Message-Id: <20090112215322.1c284010.ota@j.email.ne.jp> In-Reply-To: <496B1E47.1030403@gmx.de> References: <20090109.095027.-1672857892.imp@bsdimp.com> <20090111041710.GB5661@server.vk2pj.dyndns.org> <20090112050537.f423215c.ota@j.email.ne.jp> <496B1E47.1030403@gmx.de> X-Mailer: Sylpheed 2.6.0 (GTK+ 2.12.11; i386-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: ota@j.email.ne.jp, hackers@freebsd.org Subject: Re: gcache [was: Re: 3x read to write ratio on dump/restore] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jan 2009 02:54:59 -0000 On Mon, 12 Jan 2009 11:41:11 +0100 Christoph Mallon wrote: > Yoshihiro Ota schrieb: > > Try GEOM Cache(gcache). > > Just a side note: gcache does not seem to have any documentation. "man > gcache" is unsuccessful, geom(8) does not mention it (geom and gcache > are the same hardlinked binary). Is there information about it somewhere? The CVS log was the best document available I took a look back in one year ago: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/geom/cache/g_cache.h?rev=1.1 About the link, it is also true for many other providors, too. That is based on how GEOM library were implemented and so on. % ls -i /sbin/g* 590 /sbin/gbde 495 /sbin/ggatel 520 /sbin/gpt 592 /sbin/gcache 592 /sbin/gjournal 592 /sbin/graid3 592 /sbin/gconcat 592 /sbin/glabel 524 /sbin/growfs 592 /sbin/geli 592 /sbin/gmirror 592 /sbin/gshsec 592 /sbin/geom 592 /sbin/gmultipath 592 /sbin/gstripe 258 /sbin/ggatec 592 /sbin/gnop 528 /sbin/gvinum 440 /sbin/ggated 592 /sbin/gpart 592 /sbin/gvirstor Hiro