Squid is Slow working



  • I am newbe in linux.I setup pfsense 2.0 with squid+Transparency  for 100 user's, every thing is working fine but internet browsing is too slow.I did use ClearOS 5 before pfsense and didn't any issue same user's.any one can help me for solving this issue?



  • Did you search the forum? There have been a number of threads on Squid performance issues.



  • I need proper setting for squid.



  • Use the same settings you had configured on centos.

    One of many performance threads:
    http://forum.pfsense.org/index.php/topic,43737.0.html



  • @mzaaa:

    I need proper setting for squid.

    Are you sure your problem is not HDD related ?
    what this show you:```

    hdparm -tT /dev/sda

    
    You should get somethink like this:
    

    [root@guepardo ~]# hdparm -tT /dev/sda

    /dev/sda:
    Timing cached reads:  3020 MB in  2.00 seconds = 1510.37 MB/sec
    Timing buffered disk reads:  216 MB in  3.02 seconds =  71.53 MB/sec
    [root@guepardo ~]#

    This is my own server (Dell GX280 + 1TB SATA1 HDD)
    Do you can see the SATA1 by 1.5GB/sec and the important number is the other one:
      Timing buffered disk reads:  216 MB in  3.02 seconds =  **71.53 MB/sec**
    
    The greater the better!
    I've seen +150 on SATA2 with lots of cache… and 3.x MB/sec on a linux + old kernel (2.4.x) + SATA HDDs!


  • hdparm -tT /dev/sda

    It's a linux tool for hard disks.

    Pfsense is build on freebsd platform.


Log in to reply