Sunday, 8 June 2014

Re: Persistant disc cache

On 5 Jun, Vincent Sanders wrote in message
<20140605150105.GL27671@kyllikki.org>:

> The amount of disc used for this cache is selected using the
> disc_cache_size option in the choices file. The RISC OS frontend does not
> currently have a user interface to set this value.

It does now (or it will soon; I've just spotted disc_cache_age, which
probably needs a field as well).

:-)

> The cache value is number of bytes to use on disc and a value of 0 will
> disable the cache completely. The default value is set to a gigabyte.

Apologies if I'm missing something, but does disc_cache_size really want to
be a signed int? It goes negative before you get to a 2GB cache (on RISC OS,
at least), which seems a little close to the 1GB default.

I don't know if this upsets the underlying cache, but I've limited the
RISC OS GUI to 2047MB for now.

--
Steve Fryatt - Leeds, England

http://www.stevefryatt.org.uk/

No comments:

Post a Comment