Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 12-03-2008, 08:07 AM   #1
LQ Newbie
Registered: Aug 2008
Posts: 3

Rep: Reputation: 0
Question Using SQUID to reduce traffic usage in the office - how effective?


We are working in the office where about 5-6 machines have Internet access. We pay for each GB of traffic we consume and that's quite expensive. Almost no worker download files. Just surfing websites (including our corporate one that is located outside of local network thus we pay for accessing it too).

I am thinking of purchasing low-end cheap PC to install SQUID and setup NAT to direct all office internet traffic through it.

Should I expect traffic consumption reduce counted by ISP in this case at all? If yes, what is the estimated factor of bandwidth consumtion reduce? I understand, that that depends on what internet sites are the staff surfs etc etc. I just care about something average coming from someone's practice. Increasing SQUID HDD cache to 10-20Gb is not a big problem I think. HDDs are pretty big and cheap nowadays.
Old 12-03-2008, 08:40 AM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Caches pay off from scale, and 5 people each reading their own favourite sites is unlikely to really make much difference, especially with more and more sites being dynamic and preventing caching. It totally depends how your few users work but you might prefer to explore things like browser extensions, like noscript for firefox and other image downloading extensions to stop bandwidth being sucked up.

It's probably more likely to be worth your while using the analysis functions of squid rather than expecting an immediate benefit from caching (although if you do send urls to each other there would be *some* benefit.). y using a tool like squidalyzer you can see what sites / staff are costing you the most and just address it at a personal level. Do you allow youtube? If so cobblers to not downloading files... if they click the high quality videos that'll hammer you. and again IT ignorant / naive users might be watching live tv etc.
Old 12-03-2008, 09:28 AM   #3
LQ Newbie
Registered: Aug 2008
Posts: 3

Original Poster
Rep: Reputation: 0
I see. Thank you very much. I will think about that.
Old 12-03-2008, 04:06 PM   #4
Senior Member
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,064

Rep: Reputation: 894Reputation: 894Reputation: 894Reputation: 894Reputation: 894Reputation: 894Reputation: 894
Old 12-04-2008, 12:35 AM   #5
LQ Newbie
Registered: Aug 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Originally Posted by salasi View Post
Thanks a lot, good article!


bandwidth, squid, traffic

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Simple and effective squid content filtering to block MP3 and EXE files LXer Syndicated Linux News 0 01-07-2007 05:21 PM
how i can reduce the squid log size.. shahg_shahg Linux - Networking 2 06-16-2005 03:23 PM
how to reduce internet traffic only saz Linux - Networking 0 06-07-2005 12:35 AM
rsync reduce cpu usage dtra Linux - Software 0 05-25-2005 09:04 PM
how to reduce cpu usage by mplayer? taoweijia Linux - Software 4 02-10-2004 04:31 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:36 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration