On Fri, 2 Apr 2004, Matus UHLAR - fantomas wrote:
> I'd like to split my squid spool to 2 filesystems: one large filesystem
> with large block sizes for large files, other small filesystem with small
> block sizes for small files.
Sound reasonable. Would allow for a large cache for large downloaded
objects without exploding in memory usage due to a huge number of small
objects being cached..
> However, while in squid there is a possibility to define max-size for
> cache_dir, there is NO possibility to define min-size.
Correct, but patches (to Squid-3) implementing this would be accepted.
> If that is true, the problem could be solved by two ways:
> 1. define first-used store_dir_select_algorithm
> 2. define min-size option for cache_dir
>
> which one do you found more interesting/useful?
min-size option.
> I've looked at sources and I think min-size would be easy to implement...
no harder than max-size.
for both there will be some objects which are uncertain (where the full
object size is not known before the complete object has been downloaded).
Regards
Henrik
Received on Fri Apr 02 2004 - 14:29:50 MST
This archive was generated by hypermail pre-2.1.9 : Fri Apr 30 2004 - 12:00:01 MDT