Re: [Server-devel] Squid tuning recommendations for OLPC School Server tuning...

2008-09-23 Thread Adrian Chadd
2008/9/24 Martin Langhoff <[EMAIL PROTECTED]>: > Good hint, thanks! If we did have such a control, what is the wired > memory that squid will use for each entry? In an email earlier I > wrote... sizeof(StoreEntry) per index entry, basically. > - Each index entry takes between 56 bytes and 88 b

Re: [Server-devel] Squid tuning recommendations for OLPC School Server tuning...

2008-09-23 Thread Martin Langhoff
On Wed, Sep 24, 2008 at 12:08 AM, Henrik Nordstrom <[EMAIL PROTECTED]> wrote: > On tis, 2008-09-23 at 14:57 +0800, Adrian Chadd wrote: >> I could probably do that in a week or so once I've finished my upcoming >> travel. >> Someone could try beating me to it.. > > The relevant code locations for i

Re: [Server-devel] Squid tuning recommendations for OLPC School Server tuning...

2008-09-22 Thread Adrian Chadd
2008/9/23 Martin Langhoff <[EMAIL PROTECTED]>: > Any way we can kludge our way around it for the time being? Does squid > take any signal that gets it to shed its index? It'd be pretty trivial to write a few cachemgr hooks to implement that kind of behaviour. 'flush memory cache', 'flush disk cac

Re: [Server-devel] Squid tuning recommendations for OLPC School Server tuning...

2008-09-22 Thread Martin Langhoff
On Tue, Sep 23, 2008 at 4:12 PM, Mark Nottingham <[EMAIL PROTECTED]> wrote: > Overall, what do you want to use Squid for here; caching, access control..? Caching and plugins such as squidgard (does that qualify as access control?) > If you want caching, realise that you're not going to see much b

Re: [Server-devel] Squid tuning recommendations for OLPC School Server tuning...

2008-09-22 Thread Martin Langhoff
On Tue, Sep 23, 2008 at 3:09 PM, Adrian Chadd <[EMAIL PROTECTED]> wrote: > I've looked into this a bit (and have a couple of OLPC laptops to do > testing with) and .. well, its going to take a bit of effort to make > squid "fit". Any way we can kludge our way around it for the time being? Does squ

Re: [Server-devel] Squid tuning recommendations for OLPC School Server tuning...

2008-09-22 Thread Adrian Chadd
G'day, I've looked into this a bit (and have a couple of OLPC laptops to do testing with) and .. well, its going to take a bit of effort to make squid "fit". There's no "hard limit" for squid and squid (any version) handles memory allocation failures very very poorly (read: crashes.) You can lim

Re: [Server-devel] Squid tuning recommendations for OLPC School Server tuning...

2008-09-22 Thread Martin Langhoff
On Tue, Sep 23, 2008 at 11:24 AM, Martin Langhoff <[EMAIL PROTECTED]> wrote: > Does the above make sense in general? Or am I barking up the wrong tree? The current squid config file is here - I have not done any tuning on it at all: http://dev.laptop.org/git?p=projects/xs-config;a=blob;f=altfiles/

[Server-devel] Squid tuning recommendations for OLPC School Server tuning...

2008-09-22 Thread Martin Langhoff
Hi! I am working on the School Server (aka XS: a Fedora 9 spin, tailored to run on fairly limited hw), I'm preparing the configuration settings for it. It's a somewhat new area for me -- I've setup Squid before on mid-range hardware... but this is... different. So I'm interested in understanding