Re: [squid-users] auth_param basic children question

From: Scott Mayo <scotgmayo_at_gmail.com>
Date: Thu, 23 Jan 2014 15:13:46 -0600

On Thu, Jan 23, 2014 at 2:55 PM, Amos Jeffries <squid3_at_treenet.co.nz> wrote:
> On 2014-01-24 04:04, Scott Mayo wrote:
>>
>> Is there some standard that the auth_param basic children should be
>> set at when Squid is authenticating users?
>>
>> Mine was set at 5. I have moved it up some when working with my
>> slowness issues. Slowness has pretty much gone away, but I am not
>> sure if it was that setting or some other things that I did.
>>
>> I am just curious if the basic children should be close to the number
>> of users that I have or how I should try to figure that.
>>
>
> Not necessarily. There are a large number of factors involved; ratio of
> unique to repeat visitors (active user count), latency on the auth
> verification, whether concurrency is involved, frequency of new validation
> lookups, TTL of the Squid cached helper results and size of that cached set.
> Between them these all balance performance vs responsiveness to credential
> change.
> It does need to be high enough to service the number of validations
> per-second that get past those performance tuning parameters.
>

Amos,
  Would you have any suggestions? Here is a basic outline of my school.

1. Around 400 devices.
2. Classes change each hour so probably within the first 5 minutes of
class, the students would be logging in. Most teacher machines would
already be logged in and just staying on.
3. Even though there are 400 devices, I would guess there are around
100 students logging in each hour within those first five minutes of
class.

I think that would be a typical scenario. Just looking for a
suggestion to start with.

Thank you very much.

-- 
Scott Mayo
Mayo's Pioneer Seeds   PH: 573-568-3235   CE: 573-614-2138
Received on Thu Jan 23 2014 - 21:13:55 MST

This archive was generated by hypermail 2.2.0 : Fri Jan 24 2014 - 12:00:06 MST