RE: Re. creating swap dirs

From: R.Ilker Gokhan <IlkerG@dont-contact.us>
Date: Mon, 29 May 2000 15:08:20 +0300

>-----Original Message-----
>From: Andrew Barnes [mailto:andrew.barnes@uts.edu.au]
>Sent: Monday, May 29, 2000 11:23 AM
>To: squid-users@ircache.net
>Subject: Re: Re. creating swap dirs
>
>
>> >(a) what they recommend for cache_dir sizes (eg: cache_dir ufs
>> >/usr/local/squid/cache 2048 16 256)
>>
>> Disk size? pay attention, disk size must not equal to
>cache_dir size..
>>
>> For example. if you have 2.5 GB disk.
>> cache_dir ufs /usr/local/squid/cache 2048 16 256,
>
>OK - sorry... my mistake - lets presume that I have 25 Gb from a total
>of 50 Gb to play with - and I want to use it as proxy space - would you
>recommend that I
>
>(a) create one big cache dir - ie. 25600 16 256
>or
>(b) create two or more smaller cache dirs - 2 x 12800 16 256 (etc)
>

I'm not sure..But i prefer 4x6400 16 256. For example if you require, you
can move cache_dir another places (another disk, another box etc.)more easy
other than.

In addition, if you have squid that is loaded high you can try async-io.

>the next question is what I use for the "16 256" parts? ie.
>
>/usr/local/squid/cache ufs 25600 16 256
> ^^ ^^^
>or
>/usr/local/squid/cache ufs 25600 32 512
> ^^ ^^^
>
>> yes. you can add these new dirs to squid cache without losing access.
>
>Can you please tell me what flags/commands I should use to do this?

only : #squid -z

>
>Kind Regards,
> Andrew Barnes
>
>--
>Andrew Barnes
>Server Administrator
>Information Technology Division
>University of Technology, Sydney
>Web: http://www.uts.edu.au
>
>IT Support Centre Phone: +61 2 95142222
>IT Support Centre Email: helpdesk@uts.edu.au
>

Best regards
Ilker G.
Received on Mon May 29 2000 - 06:09:50 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:53:35 MST