On Tue, 07.12.10 12:34, Colin Guthrie ([email protected]) wrote: > Hi, > > Is it just me or is is volatile cache control pointless in the pulse > backend? > > I try using it but never see any caches saved. Is this simply because PA > doesn't have a cache eviction system and thus volatile caching with PA > backend == no caching? Certainly the GTK module uses cache control of > permanent so I'd expect that under most circumstances that it would > prefer to be volatile if it were available. > > If so should support for this be added to PA and then implemented in LC?
Yes, we currently do not support volatile cache control. This probably should be implemented one day in PA, and then enabled in LC. Doing this properly opens a couple of questions though: i.e. what precisely should the eviction logic be? Just by time? Or maybe try to limit the size of the cache? And which sounds to evict? LRU? or by size? Lennart -- Lennart Poettering - Red Hat, Inc. _______________________________________________ libcanberra-discuss mailing list [email protected] https://tango.0pointer.de/mailman/listinfo/libcanberra-discuss
