diff options
Diffstat (limited to 'doc/examples/io-cache.vol')
-rw-r--r-- | doc/examples/io-cache.vol | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/doc/examples/io-cache.vol b/doc/examples/io-cache.vol index 5f3eca4c527..a71745017a2 100644 --- a/doc/examples/io-cache.vol +++ b/doc/examples/io-cache.vol @@ -5,21 +5,27 @@ volume client option remote-subvolume brick # name of the remote volume end-volume -## In normal clustered storage type, any of the cluster translators can come here. +## In normal clustered storage type, any of the cluster translators can come +# here. # # Definition of other clients -# -# Definition of cluster translator (may be unify, replicate, or unify over replicate) -# +# +# Definition of cluster translator (may be distribute, replicate, or distribute +# over replicate) +# -### 'IO-Cache' translator is best used on client side when a filesystem has file which are not modified frequently but read several times. For example, while compiling a kernel, *.h files are read while compiling every *.c file, in these case, io-cache translator comes very handy, as it keeps the whole file content in the cache, and serves from the cache. +### 'IO-Cache' translator is best used on client side when a filesystem has file +# which are not modified frequently but read several times. For example, while +# compiling a kernel, *.h files are read while compiling every *.c file, in +# these case, io-cache translator comes very handy, as it keeps the whole file +# content in the cache, and serves from the cache. # One can provide the priority of the cache too. volume ioc type performance/io-cache - subvolumes client # In this example it is 'client' you may have to change it according to your spec file. - option page-size 1MB # 128KB is default + subvolumes client # In this example it is 'client' you may have to + # change it according to your spec file. option cache-size 64MB # 32MB is default - option force-revalidate-timeout 5 # 1second is default + option force-revalidate-timeout 5 # 1second is default option priority *.html:2,*:1 # default is *:0 end-volume |