I think getting the stability necessary on the main tree was far more
important so I don't regret this.
>
> > >From what I can see, no matter how slow your cpu you will still get
> >
> > benefit from cc as the hard drives on those machines are
> > proportionately slower as well.
>
> I guess that, in the past, the gap was smaller, but still there.
>
> > The one limitation of cc is that it does require _some_ ram to
> > actually store swap pages in, and it seems that you need more than
> > 32Mb ram to start deriving benefit.
>
> I am not sure. It requires some ram, but it is only a few pages to
> avoid failed page allocations when it first needs to allocate pages. I
> have a report of running CC on a laptop with 8M RAM, that showed to be
> a little more responsive. I don't have a scientific results showing
> that is better on system with a lower amount of memory, but this
> feedback seems positive.
>
> > One minor thing, though - my vm hacks make compressed caching work
> > much less than it normally does as they try to avoid swapping quite
> > aggressively. It is when the vm attempts to start swapping that cc
> > looks to see if it should take pages into compressed cache instead.
>
> What exactly are your VM hacks concerning CC? The default behaviour is
> to compress pages only when the VM starts freeing pages, not in a
> compress-ahead fashion, pretty much what I think you said above.
Ok, I didn't look at your code, but that would make sense too because with my
hacks it will start even lower priority than the default VM freeing less
pages at a time unless the memory pressure gets high.
>
> > I've cc'ed the actual developer of cc as he has indicated that he is
> > actively working on compressed caching again.
>
> At a slower pace, but finally back to CC development. :-)
Excellent. Good to have you back.
>
> > > Just a warning... both systems have only ReiserFS partitions.
> > > Other FSes might still get hurt.
> >
> > This is definitely the case! If you try out compressed caching with
> > ck7 please do not enable preempt if you are using ext2/3 or vfat.
>
> As told in a previous email, I wouldn't enable preempt in any case
> with this code version.
-ck has always come with a warning saying as much. I hope to integrate more of
your code when you're happy with it, so this problem can be resolved.
Cheers,
Con
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/