[OpenAFS] Re: Tuning the client and server
Timothy Balcer
timothy@telmate.com
Mon, 28 Jan 2013 15:50:02 -0800
--00151747bd0c9092a104d461efc6
Content-Type: text/plain; charset=ISO-8859-1
The files are being not being read after they are written.. its a bulk
write operation.
Thanks or that tip on dcache.. I somehow didn't catch it was for a memory
cache only...
On Mon, Jan 28, 2013 at 2:05 PM, Andrew Deason <adeason@sinenomine.net>wrote:
> On Mon, 28 Jan 2013 12:58:17 -0800
> Timothy Balcer <timothy@telmate.com> wrote:
>
> > I am looking at afsmonitor on the client involved, and I am seeing a
> > large number of vcache misses in afsmonitor (519000 misses vs 6251
> > hits, at the moment).
>
> Based on the rest of your email, I assume you know which files/accesses
> are generating those hits and misses.
>
> Do you know how frequently you are accessing these files? How many
> clients would be reading/stat'ing them at around the same time? Do these
> files ever change?
>
> > The product of dcache and chunksize is equal to less than 95% of the
> > cache partition size, which is 5 Gigabytes. I am not dealing with
> > loads of volumes at once in these operations... two to four at a time.
>
> -dcache just sets the number of in-memory dcache entries, not the number
> of chunks for the whole cache. The afsd manpage makes a few references
> to multiplying the dcache and chunksize together, but that's for a
> memory cache. I don't think you want to set -dcache; I would just
> configure the cache size and the chunksize if you want.
>
> --
> Andrew Deason
> adeason@sinenomine.net
>
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>
--
Timothy Balcer / IT Services
Telmate / San Francisco, CA
Direct / (415) 300-4313
Customer Service / (800) 205-5510
--00151747bd0c9092a104d461efc6
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
The files are being not being read after they are written.. its a bulk writ=
e operation.<br><br>Thanks or that tip on dcache.. I somehow didn't cat=
ch it was for a memory cache only...<br><br><div class=3D"gmail_quote">On M=
on, Jan 28, 2013 at 2:05 PM, Andrew Deason <span dir=3D"ltr"><<a href=3D=
"mailto:adeason@sinenomine.net" target=3D"_blank">adeason@sinenomine.net</a=
>></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"im">On Mon, 28 Jan 2013 12:58:=
17 -0800<br>
Timothy Balcer <<a href=3D"mailto:timothy@telmate.com">timothy@telmate.c=
om</a>> wrote:<br>
<br>
> I am looking at afsmonitor on the client involved, and I am seeing a<b=
r>
> large number of vcache misses in afsmonitor (519000 misses vs 6251<br>
> hits, at the moment).<br>
<br>
</div>Based on the rest of your email, I assume you know which files/access=
es<br>
are generating those hits and misses.<br>
<br>
Do you know how frequently you are accessing these files? How many<br>
clients would be reading/stat'ing them at around the same time? Do thes=
e<br>
files ever change?<br>
<div class=3D"im"><br>
> The product of dcache and chunksize is equal to less than 95% of the<b=
r>
> cache partition size, which is 5 Gigabytes. I am not dealing with<br>
> loads of volumes at once in these operations... two to four at a time.=
<br>
<br>
</div>-dcache just sets the number of in-memory dcache entries, not the num=
ber<br>
of chunks for the whole cache. The afsd manpage makes a few references<br>
to multiplying the dcache and chunksize together, but that's for a<br>
memory cache. I don't think you want to set -dcache; I would just<br>
configure the cache size and the chunksize if you want.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
--<br>
Andrew Deason<br>
<a href=3D"mailto:adeason@sinenomine.net">adeason@sinenomine.net</a><br>
<br>
_______________________________________________<br>
OpenAFS-info mailing list<br>
<a href=3D"mailto:OpenAFS-info@openafs.org">OpenAFS-info@openafs.org</a><br=
>
<a href=3D"https://lists.openafs.org/mailman/listinfo/openafs-info" target=
=3D"_blank">https://lists.openafs.org/mailman/listinfo/openafs-info</a><br>
</font></span></blockquote></div><br><br clear=3D"all"><br>-- <br><span sty=
le=3D"border-collapse:collapse;color:rgb(102,102,102);font-family:verdana,s=
ans-serif;font-size:x-small">Timothy Balcer / IT Services<br>Telmate / San =
Francisco, CA<br>
Direct / </span><span style=3D"border-collapse:collapse;font-family:verdana=
,sans-serif;font-size:x-small"><font color=3D"#1155cc">(415) 300-4313</font=
><br><font color=3D"#666666">Customer Service /=A0</font><a value=3D"+18002=
055510" style=3D"color:rgb(17,85,204)">(800) 205-5510</a></span>
--00151747bd0c9092a104d461efc6--