In message <[EMAIL PROTECTED]> Kevin Day writes:
: I'm now playing with compressed data streams. The decompression is slow, so
: I'd like to cache the *decompressed* version of these files. I end up
: allocating large amounts of ram in one process to cache the decompressed
: data. This is a disavantage over the above scenario, since now the system
: swaps out my decompressed data when more ram is needed elsewhere. Swapping
: out then swapping back in my decompressed data is about 4x slower than just
: re-reading my compressed stream and decompressing it again.

Sounds like a short term fix might be to store the decompressed files
on the md device that phk just checked in.  However, while better in
some ways than what you are doing now, it is worse in others.  There
is also a memory filesystem as well.

However, neither is quite what you are aksing for because the cache
doesn't get tossed. automatically.

Warner


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to