[sheepdog-users] changing cache in run time

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Tue May 28 08:10:03 CEST 2013


At Mon, 27 May 2013 22:25:55 +0800,
Liu Yuan wrote:
> 
> On 05/27/2013 09:12 PM, Valerio Pachera wrote:
> > Hi, I tried to change cache size by 'collie node cache'.
> > I went from one opposite to the other
> >   -w size=20000
> > wrote some data
> >   -w size=1
> > wrote some more data
> >   -w size=20000
> > when I was writing some more files, guest went crazy with I/O errors.
> > 
> > May it because we have to 'cache flush' before shrinking?
> 
> I guess so.
> 
> > If yes, may this be done automatically?
> > 
> 
> Dynamic resizing object cache with running VM seems very easy to cause
> problems. Is this feature really needed? I can't think of a use case for
> it because formatted partition can't be sized lively.
> 
> Currently it is only safe to enlarge it dynamically. I am considering of
> removing 'collie node cache'.

I agree with that.

Thanks,

Kazutaka



More information about the sheepdog-users mailing list