close, but not 100% :-)

LROC only needs a StatCache Object for files that don't have a Full OpenFile (maxFilestoCache) Object and you still want to be able to hold Metadata and/or Data in LROC.
e.g. you can have a OpenFile instance that has Data blocks in LROC, but no Metadata (as everything is in the OpenFile Object itself), then you don't need a maxStatCache Object for this one.
but you would need a StatCache object if we have to throw this file metadata or data out of the FileCache and/or Pagepool as we would otherwise loose all references to that file in LROC. the MaxStat Object is the most compact form to hold only references to the real data.
if its still unclear we might have to do a small writeup in form of a paper with a diagram to better explain it, but that would take a while due to a lot of other work ahead of that :-)

sven

------------------------------------------
Sven Oehme
Scalable Storage Research
email: oehmes@us.ibm.com
Phone: +1 (408) 824-8904
IBM Almaden Research Lab
------------------------------------------

Inactive hide details for Stephen Ulmer ---12/21/2016 04:17:55 PM---Sven, I’ve read this several times, and it will help me toStephen Ulmer ---12/21/2016 04:17:55 PM---Sven, I’ve read this several times, and it will help me to re-state it. Please tell me if this is no

From: Stephen Ulmer <ulmer@ulmer.org>
To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org>
Date: 12/21/2016 04:17 PM
Subject: Re: [gpfsug-discuss] LROC
Sent by: gpfsug-discuss-bounces@spectrumscale.org





Sven,

I’ve read this several times, and it will help me to re-state it. Please tell me if this is not what you meant:

You often see even common operations (like ls) blow out the StatCache, and things are inefficient when the StatCache is in use but constantly overrun. Because of this, you normally recommend disabling the StatCache with maxStatCache=0, and instead spend the memory normally used for StatCache on the FileCache.

In the case of LROC, there *must* be a StatCache entry for every file that is held in the LROC. In this case, we want to set maxStatCache at least as large as the number of files whose data or metadata we’d like to be in the LROC.

Close?

--
Stephen


_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss