Welcome, Guest. Please login or register.
Did you miss your activation email?
+  pfSense Forum
|-+  pfSense English Support» Packages» SOLVED! SQUID speed issue
Username:
Password:
 
 

Pages: [1]   Go Down
  Print  
Author Topic: SOLVED! SQUID speed issue  (Read 3311 times)
0 Members and 1 Guest are viewing this topic.
kongar
Newbie
*
Offline Offline

Posts: 21


View Profile
« on: March 03, 2009, 07:34:09 am »

Hi ALL!

When I enable SQUID (v. 2.6.21_08) on fpSense 1.2.2 and try to check bandwidth with www.speedtest.net I notice, that speed lowers from about 2000 Kbs to about 1200 Kbs.

When I test again without proxy, speed again about 2000 Kbs.

pfSense hardware is powerful enough, I think. It's ASUS server with P4 2.4GHz/1Gb RAM/160Gb IDE HDD (no RAID)

No traffic managemeint in SQUID enabled.

I've tried SQUID 3 beta. Same result.

What the problem? Misconfig? Normal behavior for SQUID? Something else?
« Last Edit: March 05, 2009, 06:44:52 am by kongar » Logged
kongar
Newbie
*
Offline Offline

Posts: 21


View Profile
« Reply #1 on: March 03, 2009, 09:24:56 am »

Just tried to download new build of pfSenese while SQUID proxy enabled.
Download speed up to 230 KBs. But speedtest still shows not more than 130KBs. Even less.
Some other speedtest sites show similar low results with proxy enabled.
Huh
Logged
mhab12
Sr. Member
****
Offline Offline

Posts: 487


View Profile
« Reply #2 on: March 03, 2009, 10:49:42 am »

Search this forum.  There must be a hundred posts on this topic.  HINT: Many of them are by mhab12...
Logged
kongar
Newbie
*
Offline Offline

Posts: 21


View Profile
« Reply #3 on: March 05, 2009, 06:43:36 am »

SOLVED!

http://forum.pfsense.org/index.php/topic,14673.0.html
Logged
kongar
Newbie
*
Offline Offline

Posts: 21


View Profile
« Reply #4 on: March 16, 2009, 05:03:33 am »

This is easy step-by-step how to solve speed issue of squid:

You have to edit /boot/loader.conf (diagnostic/edit file from pfSense GUI) and comment (put # in the beginning of line) kern.ipc.nmbclusters="0".
After this you need to restart squid service (status/services from pfSense GUI) or restart pfSense itself (diagnostic/reboot system from pfSense GUI).

And now just hope it will help you as it helped me Wink
Logged
mikesamo
Full Member
***
Offline Offline

Posts: 76


View Profile
« Reply #5 on: May 26, 2009, 05:26:37 pm »

worked for me only after pfsense restarted not just squid service
Logged
Cry Havok
Global Moderator
Hero Member
*****
Online Online

Posts: 1717


Backup: n. What you should have done yesterday.


View Profile
« Reply #6 on: May 26, 2009, 05:56:26 pm »

loader.conf will only be read at boot time since it's for kernel configuration.
Logged

If you're planning on PMing me to ask me to look at a thread, or for individual support, don't.
chudy
Full Member
***
Offline Offline

Posts: 136



View Profile WWW
« Reply #7 on: June 06, 2009, 04:58:01 am »

to change immediately you may run
Code:
sysctl kern.ipc.nmbclusters=8192
Logged

currently using lusca-HEAD(patched) for CDN(youtube vidoes) caching, bandwidth throttling(throttle if file is bigger than 32KB) and aggressive caching.

lusca and SRG for pfsense and some patch
http://code.google.com/p/pfsense-cacheboy
wlee618
Newbie
*
Offline Offline

Posts: 20


View Profile
« Reply #8 on: July 21, 2009, 02:42:31 pm »

i have applied the recommanded config and it seeems faster but when i use the speakeasy speed test, it is still at 1M.. hmmmm..
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

 

Page created in 0.134 seconds with 20 queries.