Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote: > > What was the result of discussions around FS-Cache? > > There was none. I disagree with your assertion that there was no result. Various people, beside myself, have weighed in with situations where FS-Cache is or may be useful. You've been presented with benchmarks showing that it can make a difference. However, *you* are the antagonist, as strictly defined in the dictionary; we were trying to convince *you*, so a result has to come from *you*. I feel that you are completely against it and that we've no hope of shifting you. > Dan Muntz's question: > > Solaris has had CacheFS since ~1995, HPUX had a port of it since > ~1997. I'd be interested in evidence of even a small fraction of > Solaris and/or HPUX shops using CacheFS. I am aware of customers who > thought it sounded like a good idea, but ended up ditching it for > various reasons (e.g., CacheFS just adds overhead if you almost > always hit your local mem cache). > > was an very very good one. And to a large extent irrelevant. Yes, we know caching adds overhead; I've never tried to pretend otherwise. It's an exercise in compromise. You don't just go and slap a cache on everything. There *are* situations in which a cache will help. We have customers who know about them and are willing to live with the overhead. What I have done is to ensure that, even if caching is compiled in, then the overhead is minimal if there is _no_ cache present. That is requirement #1 on my list. Assuming I understand what he said correctly, I've avoided the main issue listed by Dan because I don't do as Solaris does and interpolate the cache between the user and NFS. Of course, that probably buys me other issues (FS design is an exercise in compromise too). > Seems that instead of answering it, we've decided to investigate the > fate of those who do not learn from history. Sigh. The main point is that caching _is_ useful, even with its drawbacks. Dan may be aware of customers of Sun/HP who thought caching sounds like a good idea, but then ended up ditching it. I can well believe it. But I am also aware of customers of Red Hat who are actively using the caching we put in RHEL-5 and customers who really want caching available in future RHEL and Fedora versions for various reasons. To sum up: (1) Overhead is minimal if there is no cache. (2) Benchmarks show that the cache can be effective. (3) People are already using it and finding it useful. (4) There are people who want it for various projects. (5) The use of a cache does not automatically buy you an improvement in performance: it's a matter of compromise. (6) The performance improvement may be in the network or the servers, not the client that is actually doing the caching. David -- To unsubscribe from this list: send the line "unsubscribe linux-next" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html