gcache [was: Re: 3x read to write ratio on dump/restore]

Yoshihiro Ota ota at j.email.ne.jp
Mon Jan 12 18:54:59 PST 2009


On Mon, 12 Jan 2009 11:41:11 +0100
Christoph Mallon <christoph.mallon at gmx.de> 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


More information about the freebsd-hackers mailing list