Rafael Gomes wrote:
> Well any algorithms could help this case correct?
>
> If you put another disc, I must choice the same size, correct?
No, not must. At worst large one gets more content into it and faster
turnover. Small one used as a backup when large gets filled.
Amos
>
> On Sat, Oct 4, 2008 at 7:49 PM, RW <fbsd06_at_mlists.homeunix.com> wrote:
>> On Thu, 2 Oct 2008 12:09:09 +0300
>> "Mr. Issa\(*\)" <xnixguy_at_gmail.com> wrote:
>>
>>> Hello mates,
>>>
>>> Well i have added to separate hard disks (200GB hd and 500GB hd) and
>>> added them in the cache_dir but i noticed that squid Uses the hardisk
>>> with MORE disk space and leaves the second one epmty... why?
>> There are two store_dir_select_algorithm settings: round-robin and the
>> default least-load. The latter is supposed to select the cache with
>> the least-load, but on relatively lightly-loaded systems it picks the
>> one with the most free-space, so you expect the 500GB drive to fill-up
>> to 300GB or so before the smaller starts getting any.
>>
>> My memory is a little vague here, but my recollection is that neither
>> algorithm works optimally when the caches are of different sizes.
>> I think Round-robin puts equal amounts in all caches, without
>> weighting them; least-load always favours the larger cache
>> because the low-water mark gives it more free space.
>>
>> If you want to tweak it once all the caches have filled, you can play
>> around with the min and max object size for each cache to balance them
>> out.
>>
-- Please use Squid 2.7.STABLE4 or 3.0.STABLE9Received on Mon Oct 06 2008 - 10:48:35 MDT
This archive was generated by hypermail 2.2.0 : Mon Oct 06 2008 - 12:00:02 MDT