Re: [squid-users] Youtube upload cpu problem

From: Marcelo Grassi F. Melga�o <mgfranco_at_gmail.com>
Date: Tue, 26 Oct 2010 14:34:58 -0200

Hi guys,
my problem with youtube uploads persists.
Every day some users have to make upload to youtube.

Attached to this email:
eth0-day.png: Shows the link utilization (green for download and blue
for upload)
perf-day.png: Shows the cpu(green) and memory(blue line) utilization
of my firewall running squid.

Look at the eth0-day, at 10:00h: A user starts a upload to youtube.
See the same hour in the perf-day, the cpu goes to 100%.
The link utilization goes down, because squid goes very slow in the
other requests.
The users starts to call me (Hehehe) !

Thanks for all help.

> 2010/10/23 Amos Jeffries <squid3_at_treenet.co.nz>
>>
>> On 23/10/10 19:15, Nyamul Hassan wrote:
>>>
>>> But that still does not explain the problem, does it? I find it
>>> strange, coz, can't seen to reproduce in my scenario. Or may be, I am
>>> not looking in the right place.
>>>
>>> What do you think Amos?
>>
>> I'm thinking the problem is that delay pools as implemented in the stable
>> series accounts for data based on the reply bytes going from server to
>> client. Normally this is the bulk of traffic.
>> �However with video uploads the balance goes seriously out of whack and
>> one seconds worth of read data could be matched by thousands of times more
>> write data.
>>
>> Amos
>>
>>>
>>> On 2010-10-23, Amos Jeffries<squid3_at_treenet.co.nz> �wrote:
>>>>
>>>> On 23/10/10 01:50, Marcelo Grassi F. Melga�o wrote:
>>>>>
>>>>> Is there a way to limit upload speed for domain upload.youtube.com in
>>>>> squid?
>>>>> Maybe this help to resolve my problem..
>>>>>
>>>>> Thanks
>>>>
>>>> Not with any of the stable or older releases.
>>>>
>>>> Upload speed delay pools has just been accepted for addition to 3.2
>>>> today. It should be in the net 3.2 beta release. The patch can be found
>>>> under "Client-side bandwidth limits" in squid-dev. I've no idea if it
>>>> will apply to 3.1 cleanly yet.
>>>>
>>>> Amos
>>>> --
>>>> Please be using
>>>> � �Current Stable Squid 2.7.STABLE9 or 3.1.8
>>>> � �Beta testers wanted for 3.2.0.2
>>>>
>>>
>>
>>
>> --
>> Please be using
>> �Current Stable Squid 2.7.STABLE9 or 3.1.8
>> �Beta testers wanted for 3.2.0.2
>
>

eth0-day.png perf-day.png
Received on Tue Oct 26 2010 - 16:35:05 MDT

This archive was generated by hypermail 2.2.0 : Wed Oct 27 2010 - 12:00:05 MDT