Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Lusca_Surya

    Scheduled Pinned Locked Moved Indonesian
    68 Posts 14 Posters 38.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      kaptenhook
      last edited by

      squidclient -p 80 mgr:client_list

      1 Reply Last reply Reply Quote 0
      • D
        detrackmx
        last edited by

        nyumbang ah…......

        Untitled-1.jpg
        Untitled-1.jpg_thumb

        1 Reply Last reply Reply Quote 0
        • S
          serangku
          last edited by

          Ayo semangat …

          naek tingkat maenan proxyna
          maen2nya ke ICP hit ...

          TOTALS
          ICP : 417021 Queries, 125730 Hits ( 30%)
          HTTP: 417024 Requests, 143050 Hits ( 34%)
          
          

          bukti bahwa PFSense BISA …
          bisa dipaksa lebih ngebut
          bisa dipaksa lebih kerja rodi
          bisa dibanting klau kesel gak bisa2  ;D

          1 Reply Last reply Reply Quote 0
          • V
            vhantrenk
            last edited by

            @kaptenhook:

            squidclient -p 80 mgr:client_list

            ;D thanks om dah bisa  ;D , ternyata kebolak denk perintahnnya

            ni saya coba baru OL komp billing doank…ntar mau tes klu lg full sama 6 client ;D ;D
            thanks para master ;) :D

            bravo PFSI

            ![total hit.JPG](/public/imported_attachments/1/total hit.JPG)
            ![total hit.JPG_thumb](/public/imported_attachments/1/total hit.JPG_thumb)

            Seorang lulusan ekonomi senang komputer, autodidak n newbie

            1 Reply Last reply Reply Quote 0
            • A
              agismaniax
              last edited by

              link donlot lusca-surya dimana ya?  bedanya apa dengan lusca-cache dari chuddy fernandez?  ???

              1 Reply Last reply Reply Quote 0
              • K
                kaptenhook
                last edited by

                @agismaniax:

                link donlot lusca-surya dimana ya?  bedanya apa dengan lusca-cache dari chuddy fernandez?  ???

                he…he...he.....wakakakakakakakakkkkkkk  :o :o :o :o :o :o :o :o

                1 Reply Last reply Reply Quote 0
                • S
                  serangku
                  last edited by

                  ;D

                  @agismaniax
                  maafin om dan kawan2 yah …

                  tidak ada itu yg namanya lusca surya
                  coba deh baca dari page 1
                  khan ketahuan tuh jadinya ...

                  ;D

                  1 Reply Last reply Reply Quote 0
                  • P
                    poscom
                    last edited by

                    lg test…

                    include /usr/local/etc/squid/dir.conf
                    minimum_object_size 0 KB
                    maximum_object_size 192 MB

                    acl partialcontent_req req_header Range .*
                    #acl dynamic urlpath_regex cgi-bin ?
                    include /usr/local/etc/squid/tunning.conf
                    acl allowed_subnets src 1xx.xxx.xxx.0/24

                    $ squidclient -p 80 mgr:info
                    HTTP/1.1 200 OK
                    Server: Lusca
                    Date: Tue, 02 Oct 2012 05:00:01 GMT
                    Content-Type: text/plain
                    Expires: Tue, 02 Oct 2012 05:00:01 GMT
                    X-Cache: MISS from xxxxxxxx
                    Transfer-Encoding: chunked
                    Connection: close

                    Squid Object Cache: Version LUSCA r14850 patched: chudy r14
                    Start Time: Tue, 25 Sep 2012 11:01:38 GMT
                    Current Time: Tue, 02 Oct 2012 05:00:01 GMT
                    Connection information for squid:
                    Number of clients accessing cache: 81
                    Number of HTTP requests received: 9892589
                    Number of ICP messages received: 0
                    Number of ICP messages sent: 0
                    Number of queued ICP replies: 0
                    Request failure ratio: 0.00
                    Average HTTP requests per minute since start: 1017.9
                    Average ICP messages per minute since start: 0.0
                    Select loop called: 107563898 times, 5.421 ms avg
                    Cache information for squid:
                    Request Hit Ratios: 5min: 96.5%, 60min: 95.4%
                    Byte Hit Ratios: 5min: 34.8%, 60min: 30.9%
                    Request Memory Hit Ratios: 5min: 0.1%, 60min: 0.2%
                    Request Disk Hit Ratios: 5min: 99.4%, 60min: 99.2%
                    Storage Swap size: 27064602 KB
                    Storage Mem size: 49016 KB
                    Mean Object Size: 47.00 KB

                    cpu biasa Intel(R) Core(TM)2 Duo CPU E7500 @ 2.93GHz, 2.0.1-RELEASE (i386)

                    1 Reply Last reply Reply Quote 0
                    • P
                      poscom
                      last edited by

                      inspirasi tunning.conf
                      http://forum.pfsense.org/index.php/topic,29019.0.html

                      2012/12/13 07:39:31|         0 Duplicate URLs purged.
                      2012/12/13 07:39:31|         0 Swapfile clashes avoided.
                      2012/12/13 07:39:31|   Took 0.3 seconds (   0.0 objects/sec).
                      2012/12/13 07:39:31| Beginning Validation Procedure
                      2012/12/13 07:39:31|   Completed Validation Procedure
                      2012/12/13 07:39:31|   Validated 0 Entries
                      2012/12/13 07:39:31|   store_swap_size = 0k
                      2012/12/13 07:39:32| storeLateRelease: released 0 objects

                      squid.conf:
                      acl manager proto cache_object
                      acl purge method PURGE
                      acl connect method CONNECT
                      acl partialcontent_req req_header Range .*
                      #acl dynamic urlpath_regex cgi-bin ?

                      #include /usr/local/etc/squid/include.conf
                      include /usr/local/etc/squid/sorrow.conf
                      acl allowed_subnets src 1x.xx.xx.0/24 1x.1x.xx.0/26
                      acl blacklist dstdom_regex -i "/var/squid/acl/blacklist.acl"
                      #cache deny dynamic
                      http_access allow manager localhost

                      kamu dapat custom apa saja video dll seperti gambar dibawah ini

                      sorrowconf.jpg
                      sorrowconf.jpg_thumb

                      1 Reply Last reply Reply Quote 0
                      • P
                        poscom
                        last edited by

                        Punten numpang mejeng trafik VEVO walaupun baru sampe sini doang… :)

                        vevo.jpg
                        vevo.jpg_thumb
                        ![download noah full album.jpg](/public/imported_attachments/1/download noah full album.jpg)
                        ![download noah full album.jpg_thumb](/public/imported_attachments/1/download noah full album.jpg_thumb)
                        norton.jpg
                        norton.jpg_thumb

                        1 Reply Last reply Reply Quote 0
                        • P
                          pfz
                          last edited by

                          Mantap … Surya nya

                          1 Reply Last reply Reply Quote 0
                          • P
                            poscom
                            last edited by

                            @PakDe:

                            Mantap … Surya nya

                            itu kan dari Pak D juga :) lg pengen post wakakka…

                            1 Reply Last reply Reply Quote 0
                            • P
                              phython
                              last edited by

                              Baru belajar pfsense, uji coba langsung pake 2.0.2-RELEASE (i386) Intel(R) Xeon(R) CPU 3050 @ 2.13GHz .cuman krg begitu ngerti maknanya, mohon dibantu menerjemahkan ya om master smua  ::)

                              HTTP/1.0 200 OK
                              Server: Lusca/LUSCA r14850 patched: chudy r14
                              Date: Fri, 22 Feb 2013 02:36:27 GMT
                              Content-Type: text/plain
                              Expires: Fri, 22 Feb 2013 02:36:27 GMT
                              X-Cache: MISS from pfsense.secure
                              Connection: close

                              Squid Object Cache: Version LUSCA r14850 patched: chudy r14
                              Start Time:    Thu, 21 Feb 2013 04:37:38 GMT
                              Current Time:  Fri, 22 Feb 2013 02:36:27 GMT
                              Connection information for squid:
                                      Number of clients accessing cache:      58
                                      Number of HTTP requests received:      134445
                                      Number of ICP messages received:        0
                                      Number of ICP messages sent:    0
                                      Number of queued ICP replies:  0
                                      Request failure ratio:  0.00
                                      Average HTTP requests per minute since start:  101.9
                                      Average ICP messages per minute since start:    0.0
                                      Select loop called: 12035090 times, 6.575 ms avg
                              Cache information for squid:
                                      Request Hit Ratios:    5min: 23.2%, 60min: 20.4%
                                      Byte Hit Ratios:        5min: 1.0%, 60min: 7.7%
                                      Request Memory Hit Ratios:      5min: 20.9%, 60min: 11.0%
                                      Request Disk Hit Ratios:        5min: 35.0%, 60min: 54.1%
                                      Storage Swap size:      135398 KB
                                      Storage Mem size:      8088 KB
                                      Mean Object Size:      6.73 KB
                                      Requests given to unlinkd:      0
                              Median Service Times (seconds)  5 min    60 min:
                                      HTTP Requests (All):  0.20843  0.10281
                                      Cache Misses:          0.39928  0.23230
                                      Cache Hits:            0.00091  0.00091
                                      Near Hits:            0.05331  0.07409
                                      Not-Modified Replies:  0.00000  0.00000
                                      DNS Lookups:          0.01046  0.00949
                                      ICP Queries:          0.00000  0.00000
                              Resource usage for squid:
                                      UP Time:        79129.735 seconds
                                      CPU Time:      759.566 seconds
                                      CPU Usage:      0.96%
                                      CPU Usage, 5 minute avg:        2.63%
                                      CPU Usage, 60 minute avg:      1.48%
                                      Process Data Segment Size via sbrk(): 0 KB
                                      Maximum Resident Size: 35652 KB
                                      Page faults with physical i/o: 6
                              Memory accounted for:
                                      Total accounted:        14415 KB
                                      memPoolAlloc calls: 23116203
                                      memPoolFree calls: 23007597
                              File descriptor usage for squid:
                                      Maximum number of file descriptors:  11095
                                      Largest file desc currently in use:    271
                                      Number of file desc currently in use:  186
                                      Files queued for open:                  0
                                      Available number of file descriptors: 10909
                                      Reserved number of file descriptors:  100
                                      Store Disk files open:                  4
                                      IO loop method:                    kqueue
                              Internal Data Structures:
                                      21185 StoreEntries
                                        1974 StoreEntries with MemObjects
                                        1960 Hot Object Cache Items
                                      20125 on-disk objects

                              TOTALS
                              ICP : 0 Queries, 0 Hits (  0%)
                              HTTP: 134062 Requests, 20286 Hits ( 15%)

                              BTK sblmnya n salam kenal buat semua

                              1 Reply Last reply Reply Quote 0
                              • P
                                poscom
                                last edited by

                                @phython:

                                Baru belajar pfsense, uji coba langsung pake 2.0.2-RELEASE (i386) Intel(R) Xeon(R) CPU 3050 @ 2.13GHz .cuman krg begitu ngerti maknanya, mohon dibantu menerjemahkan ya om master smua  ::)

                                HTTP/1.0 200 OK
                                Server: Lusca/LUSCA r14850 patched: chudy r14
                                Date: Fri, 22 Feb 2013 02:36:27 GMT
                                Content-Type: text/plain
                                Expires: Fri, 22 Feb 2013 02:36:27 GMT
                                X-Cache: MISS from pfsense.secure
                                Connection: close

                                Squid Object Cache: Version LUSCA r14850 patched: chudy r14
                                Start Time:     Thu, 21 Feb 2013 04:37:38 GMT
                                Current Time:   Fri, 22 Feb 2013 02:36:27 GMT
                                Connection information for squid:
                                       Number of clients accessing cache:      58
                                       Number of HTTP requests received:       134445
                                       Number of ICP messages received:        0
                                       Number of ICP messages sent:    0
                                       Number of queued ICP replies:   0
                                       Request failure ratio:   0.00
                                       Average HTTP requests per minute since start:   101.9
                                       Average ICP messages per minute since start:    0.0
                                       Select loop called: 12035090 times, 6.575 ms avg
                                Cache information for squid:
                                       Request Hit Ratios:     5min: 23.2%, 60min: 20.4%
                                       Byte Hit Ratios:        5min: 1.0%, 60min: 7.7%
                                       Request Memory Hit Ratios:      5min: 20.9%, 60min: 11.0% <–-------
                                       Request Disk Hit Ratios:        5min: 35.0%, 60min: 54.1%
                                       Storage Swap size:      135398 KB
                                       Storage Mem size:       8088 KB
                                       Mean Object Size:       6.73 KB
                                       Requests given to unlinkd:      0
                                Median Service Times (seconds)  5 min    60 min:
                                       HTTP Requests (All):   0.20843  0.10281
                                       Cache Misses:          0.39928  0.23230
                                       Cache Hits:            0.00091  0.00091 <--------
                                       Near Hits:             0.05331  0.07409
                                       Not-Modified Replies:  0.00000  0.00000
                                       DNS Lookups:           0.01046  0.00949
                                       ICP Queries:           0.00000  0.00000
                                Resource usage for squid:
                                       UP Time:        79129.735 seconds
                                       CPU Time:       759.566 seconds
                                       CPU Usage:      0.96%
                                       CPU Usage, 5 minute avg:        2.63%
                                       CPU Usage, 60 minute avg:       1.48%
                                       Process Data Segment Size via sbrk(): 0 KB
                                       Maximum Resident Size: 35652 KB
                                       Page faults with physical i/o: 6
                                Memory accounted for:
                                       Total accounted:        14415 KB
                                       memPoolAlloc calls: 23116203
                                       memPoolFree calls: 23007597
                                File descriptor usage for squid:
                                       Maximum number of file descriptors:   11095
                                       Largest file desc currently in use:    271
                                       Number of file desc currently in use:  186
                                       Files queued for open:                   0
                                       Available number of file descriptors: 10909
                                       Reserved number of file descriptors:   100
                                       Store Disk files open:                   4
                                       IO loop method:                     kqueue
                                Internal Data Structures:
                                        21185 StoreEntries
                                         1974 StoreEntries with MemObjects
                                         1960 Hot Object Cache Items
                                        20125 on-disk objects

                                TOTALS
                                ICP : 0 Queries, 0 Hits (  0%)
                                HTTP: 134062 Requests, 20286 Hits ( 15%)

                                BTK sblmnya n salam kenal buat semua

                                sudah ada disini perhatikan dihalaman sebelumnya, tapi yang jadi pegangan seberapa besar permintaan user bisa terpenuhi ambil dari cache bukan dari koneksi REAL WAN, dengan banyaknya size hd cache tidak juga menjamin banyak hit, :) tapi punya si om phython diatas sudah bagus, ngeliat usernya banyak jg. malah punya sy lebih kecil :
                                Request Hit Ratios:    5min: 32.7%, 60min: 37.6%
                                Byte Hit Ratios:        5min: 8.1%, 60min: 14.3%
                                Request Memory Hit Ratios:      5min: 0.5%, 60min: 3.1%
                                Request Disk Hit Ratios:        5min: 45.8%, 60min: 49.9%

                                Gbr-1) P4 2,4Ghz.jpg P4 2,4Ghz.jpg)
                                Gbr-1) P4 2,4Ghz.jpg_thumb P4 2,4Ghz.jpg_thumb)
                                Gbr-2) user...jpg user…jpg)
                                Gbr-2) user...jpg_thumb user...jpg_thumb)
                                Gbr-3) trafic.. biasa.jpg trafic.. biasa.jpg)
                                Gbr-3) trafic.. biasa.jpg_thumb trafic.. biasa.jpg_thumb)
                                Gbr-4) used size baru..96 GB (1hd ata 160GB) terpisah dgn os.jpg used size baru..96 GB (1hd ata 160GB) terpisah dgn os.jpg)
                                Gbr-4) used size baru..96 GB (1hd ata 160GB) terpisah dgn os.jpg_thumb used size baru..96 GB (1hd ata 160GB) terpisah dgn os.jpg_thumb)
                                Gbr-5) report koneksi yg terpenuhi.jpg report koneksi yg terpenuhi.jpg)
                                Gbr-5) report koneksi yg terpenuhi.jpg_thumb report koneksi yg terpenuhi.jpg_thumb)

                                1 Reply Last reply Reply Quote 0
                                • P
                                  phython
                                  last edited by

                                  @poscom:

                                  sudah ada disini perhatikan dihalaman sebelumnya, tapi yang jadi pegangan seberapa besar permintaan user bisa terpenuhi ambil dari cache bukan dari koneksi REAL WAN, dengan banyaknya size hd cache tidak juga menjamin banyak hit, :) tapi punya si om phython diatas sudah bagus, ngeliat usernya banyak jg. malah punya sy lebih kecil :
                                  Request Hit Ratios:     5min: 32.7%, 60min: 37.6%
                                  Byte Hit Ratios:        5min: 8.1%, 60min: 14.3%
                                  Request Memory Hit Ratios:      5min: 0.5%, 60min: 3.1%
                                  Request Disk Hit Ratios:        5min: 45.8%, 60min: 49.9%

                                  terima kasih buat om poscom yg udah membantu menilai kinerja Lusca Surya di padepokan saya, di tempat saya rata2 menggunakan wifi untuk koneksi internetnya, terkadang koneksinya lola banget dan kalo user nya sedikt (kalo pagi / sore) baru ngebut dah internetnya. apa rebutan kayak gitu ya  ??? ??? ??? saia udah mencoba cara2 yg ada ya mungkin perlu banyak in trial errornya  ;D

                                  1 Reply Last reply Reply Quote 0
                                  • P
                                    poscom
                                    last edited by

                                    @phython:

                                    @poscom:

                                    sudah ada disini perhatikan dihalaman sebelumnya, tapi yang jadi pegangan seberapa besar permintaan user bisa terpenuhi ambil dari cache bukan dari koneksi REAL WAN, dengan banyaknya size hd cache tidak juga menjamin banyak hit, :) tapi punya si om phython diatas sudah bagus, ngeliat usernya banyak jg. malah punya sy lebih kecil :
                                    Request Hit Ratios:     5min: 32.7%, 60min: 37.6%
                                    Byte Hit Ratios:        5min: 8.1%, 60min: 14.3%
                                    Request Memory Hit Ratios:      5min: 0.5%, 60min: 3.1%
                                    Request Disk Hit Ratios:        5min: 45.8%, 60min: 49.9%

                                    terima kasih buat om poscom yg udah membantu menilai kinerja Lusca Surya di padepokan saya, di tempat saya rata2 menggunakan wifi untuk koneksi internetnya, terkadang koneksinya lola banget dan kalo user nya sedikt (kalo pagi / sore) baru ngebut dah internetnya. apa rebutan kayak gitu ya  ??? ??? ??? saia udah mencoba cara2 yg ada ya mungkin perlu banyak in trial errornya  ;D

                                    sifatnya si lusca hanya membantu tentunya bisa kita maksimalkan dengan cara liat lognya mereka banyak buka apa, tar dibuatkan agar bisa ke cache, makanya sy pake SG (block) agar yg file2 tidak berguna jangan masuk, liat ideal BW nya kira2 kebagi ga dgn banyaknya user, trus bw harus di manag dibagi upload/donload. dgn memperhatikan spek td lumayan cache sangat berguna terasa di putaran atas sewaktu di betot gas (kayak karbu motor) :)

                                    1 Reply Last reply Reply Quote 0
                                    • P
                                      phython
                                      last edited by

                                      @poscom:

                                      sifatnya si lusca hanya membantu tentunya bisa kita maksimalkan dengan cara liat lognya mereka banyak buka apa, tar dibuatkan agar bisa ke cache, makanya sy pake SG (block) agar yg file2 tidak berguna jangan masuk, liat ideal BW nya kira2 kebagi ga dgn banyaknya user, trus bw harus di manag dibagi upload/donload. dgn memperhatikan spek td lumayan cache sangat berguna terasa di putaran atas sewaktu di betot gas (kayak karbu motor) :)

                                      ditunggu om poscom modifan karbu luscanya  :)

                                      saya coba pake SG pada ngamuk smua  ;D ;D ;D, untuk smtr pake alternatif lain

                                      sekalian mejeng lagi surya nya :D

                                      [2.0.2-RELEASE][admin@pfsense]/root(1): df -h
                                      Filesystem    Size    Used  Avail Capacity  Mounted on
                                      /dev/da0s1a    64G    839M    58G    1%    /
                                      devfs          1.0K    1.0K      0B  100%    /dev
                                      /dev/md0      3.6M    52K    3.3M    2%    /var/run
                                      devfs          1.0K    1.0K      0B  100%    /var/dhcpd/dev
                                      /dev/md10      236M    6.0K    217M    0%    /var/tmp/havpRAM

                                      [2.0.2-RELEASE][admin@pfsense]/root(2):  squidclient -p 80 mgr:info
                                      HTTP/1.0 200 OK
                                      Server: Lusca/LUSCA r14850 patched: chudy r14
                                      Date: Fri, 15 Mar 2013 06:43:29 GMT
                                      Content-Type: text/plain
                                      Expires: Fri, 15 Mar 2013 06:43:29 GMT
                                      X-Cache: MISS from pfsense.secure
                                      Connection: close

                                      Squid Object Cache: Version LUSCA r14850 patched: chudy r14
                                      Start Time:    Wed, 13 Mar 2013 04:04:34 GMT
                                      Current Time:  Fri, 15 Mar 2013 06:43:29 GMT
                                      Connection information for squid:
                                              Number of clients accessing cache:      90
                                              Number of HTTP requests received:      546995
                                              Number of ICP messages received:        0
                                              Number of ICP messages sent:    0
                                              Number of queued ICP replies:  0
                                              Request failure ratio:  0.00
                                              Average HTTP requests per minute since start:  179.3
                                              Average ICP messages per minute since start:    0.0
                                              Select loop called: 37535311 times, 4.858 ms avg
                                      Cache information for squid:
                                              Request Hit Ratios:    5min: 16.3%, 60min: 15.8%
                                              Byte Hit Ratios:        5min: 1.7%, 60min: 3.1%
                                              Request Memory Hit Ratios:      5min: 7.0%, 60min: 6.7%
                                              Request Disk Hit Ratios:        5min: 45.6%, 60min: 53.1%
                                              Storage Swap size:      137292 KB
                                              Storage Mem size:      8212 KB
                                              Mean Object Size:      6.40 KB
                                              Requests given to unlinkd:      0
                                      Median Service Times (seconds)  5 min    60 min:
                                              HTTP Requests (All):  0.27332  0.27332
                                              Cache Misses:          0.37825  0.37825
                                              Cache Hits:            0.00091  0.00091
                                              Near Hits:            0.16775  0.04519
                                              Not-Modified Replies:  0.00000  0.00000
                                              DNS Lookups:          0.01940  0.01852
                                              ICP Queries:          0.00000  0.00000
                                      Resource usage for squid:
                                              UP Time:        182335.770 seconds
                                              CPU Time:      3047.619 seconds
                                              CPU Usage:      1.67%
                                              CPU Usage, 5 minute avg:        4.30%
                                              CPU Usage, 60 minute avg:      3.99%
                                              Process Data Segment Size via sbrk(): 0 KB
                                              Maximum Resident Size: 39684 KB
                                              Page faults with physical i/o: 1
                                      Memory accounted for:
                                              Total accounted:        15341 KB
                                              memPoolAlloc calls: 96438378
                                              memPoolFree calls: 96331345
                                      File descriptor usage for squid:
                                              Maximum number of file descriptors:  11095
                                              Largest file desc currently in use:    546
                                              Number of file desc currently in use:  441
                                              Files queued for open:                  0
                                              Available number of file descriptors: 10654
                                              Reserved number of file descriptors:  100
                                              Store Disk files open:                  5
                                              IO loop method:                    kqueue
                                      Internal Data Structures:
                                              22988 StoreEntries
                                                1686 StoreEntries with MemObjects
                                                1632 Hot Object Cache Items
                                              21439 on-disk objects

                                      1 Reply Last reply Reply Quote 0
                                      • P
                                        poscom
                                        last edited by

                                        @phython:

                                        @poscom:

                                        sifatnya si lusca hanya membantu tentunya bisa kita maksimalkan dengan cara liat lognya mereka banyak buka apa, tar dibuatkan agar bisa ke cache, makanya sy pake SG (block) agar yg file2 tidak berguna jangan masuk, liat ideal BW nya kira2 kebagi ga dgn banyaknya user, trus bw harus di manag dibagi upload/donload. dgn memperhatikan spek td lumayan cache sangat berguna terasa di putaran atas sewaktu di betot gas (kayak karbu motor) :)

                                        ditunggu om poscom modifan karbu luscanya  :)

                                        saya coba pake SG pada ngamuk smua  ;D ;D ;D, untuk smtr pake alternatif lain

                                        sekalian mejeng lagi surya nya :D

                                        [2.0.2-RELEASE][admin@pfsense]/root(1): df -h
                                        Filesystem    Size    Used  Avail Capacity  Mounted on
                                        /dev/da0s1a    64G    839M    58G    1%    / <–--------- ini cache nyatu ma os ? kecil, hd sas yah
                                        devfs          1.0K    1.0K      0B  100%    /dev
                                        /dev/md0      3.6M    52K    3.3M    2%    /var/run
                                        devfs          1.0K    1.0K      0B  100%    /var/dhcpd/dev
                                        /dev/md10      236M    6.0K    217M    0%    /var/tmp/havpRAM

                                        [2.0.2-RELEASE][admin@pfsense]/root(2):  squidclient -p 80 mgr:info
                                        HTTP/1.0 200 OK
                                        Server: Lusca/LUSCA r14850 patched: chudy r14
                                        Date: Fri, 15 Mar 2013 06:43:29 GMT
                                        Content-Type: text/plain
                                        Expires: Fri, 15 Mar 2013 06:43:29 GMT
                                        X-Cache: MISS from pfsense.secure
                                        Connection: close

                                        Squid Object Cache: Version LUSCA r14850 patched: chudy r14
                                        Start Time:    Wed, 13 Mar 2013 04:04:34 GMT
                                        Current Time:  Fri, 15 Mar 2013 06:43:29 GMT
                                        Connection information for squid:
                                                Number of clients accessing cache:      90 <–------ wah banyak tuh..
                                                Number of HTTP requests received:      546995
                                                Number of ICP messages received:        0
                                                Number of ICP messages sent:    0
                                                Number of queued ICP replies:  0
                                                Request failure ratio:  0.00
                                                Average HTTP requests per minute since start:  179.3
                                                Average ICP messages per minute since start:    0.0
                                                Select loop called: 37535311 times, 4.858 ms avg
                                        Cache information for squid:
                                                Request Hit Ratios:    5min: 16.3%, 60min: 15.8%
                                                Byte Hit Ratios:        5min: 1.7%, 60min: 3.1%
                                                Request Memory Hit Ratios:      5min: 7.0%, 60min: 6.7% <------- bagus kecil mem
                                                Request Disk Hit Ratios:        5min: 45.6%, 60min: 53.1%
                                                Storage Swap size:      137292 KB
                                                Storage Mem size:      8212 KB
                                                Mean Object Size:      6.40 KB
                                                Requests given to unlinkd:      0
                                        Median Service Times (seconds)  5 min    60 min:
                                                HTTP Requests (All):  0.27332  0.27332
                                                Cache Misses:          0.37825  0.37825 <-------- miss besar
                                                Cache Hits:            0.00091  0.00091<------
                                                Near Hits:            0.16775  0.04519
                                                Not-Modified Replies:  0.00000  0.00000
                                                DNS Lookups:          0.01940  0.01852
                                                ICP Queries:          0.00000  0.00000
                                        Resource usage for squid:
                                                UP Time:        182335.770 seconds
                                                CPU Time:      3047.619 seconds
                                                CPU Usage:      1.67%
                                                CPU Usage, 5 minute avg:        4.30%
                                                CPU Usage, 60 minute avg:      3.99%
                                                Process Data Segment Size via sbrk(): 0 KB
                                                Maximum Resident Size: 39684 KB
                                                Page faults with physical i/o: 1
                                        Memory accounted for:
                                                Total accounted:        15341 KB
                                                memPoolAlloc calls: 96438378
                                                memPoolFree calls: 96331345
                                        File descriptor usage for squid:
                                                Maximum number of file descriptors:  11095
                                                Largest file desc currently in use:    546
                                                Number of file desc currently in use:  441
                                                Files queued for open:                  0
                                                Available number of file descriptors: 10654
                                                Reserved number of file descriptors:  100
                                                Store Disk files open:                  5
                                                IO loop method:                    kqueue
                                        Internal Data Structures:
                                                22988 StoreEntries
                                                  1686 StoreEntries with MemObjects
                                                  1632 Hot Object Cache Items
                                                21439 on-disk objects

                                        weih… banyak yg akses dr cache tuh ..
                                        /dev/da0s1a    64G    839M    58G    1%  sas berapa giga om sizenya?
                                        klo ngamuk harus dilawan dong.. he..he.. banyak kegunaannya sg itu bukan hanya xxx sj.
                                        buat ngamanin kita juga :)  pake sg file guede yg sekali orang buka /jarang buka ke block, jd ga banyak miss. semua tergantung seleranya sih tiap2 jaringan berbeda.
                                        good tar tinggal ganti main jet sama pilot jetnya dah jos tuh karbu LUSCA nya

                                        1 Reply Last reply Reply Quote 0
                                        • P
                                          phython
                                          last edited by

                                          @poscom:

                                          [2.0.2-RELEASE][admin@pfsense]/root(1): df -h
                                          Filesystem    Size    Used  Avail Capacity  Mounted on
                                          /dev/da0s1a    64G    839M    58G    1%    / <–--------- ini cache nyatu ma os ? kecil, hd sas yah  –---------> iya om cache ma os jadi satu

                                          [2.0.2-RELEASE][admin@pfsense]/root(2):  squidclient -p 80 mgr:info
                                          Connection information for squid:
                                                  Number of clients accessing cache:      90 <–------ wah banyak tuh..  –----->> solusinya gimana om????
                                                  Request Memory Hit Ratios:      5min: 7.0%, 60min: 6.7% <–----- bagus kecil mem

                                          Median Service Times (seconds)  5 min    60 min:
                                                  HTTP Requests (All):  0.27332  0.27332
                                                  Cache Misses:          0.37825  0.37825 <-------- miss besar  –------------>> solusi gmn om ???
                                                 
                                          weih… banyak yg akses dr cache tuh ..
                                          /dev/da0s1a    64G    839M    58G    1%  sas berapa giga om sizenya?
                                          klo ngamuk harus dilawan dong.. he..he.. banyak kegunaannya sg itu bukan hanya xxx sj.
                                          buat ngamanin kita juga :)  pake sg file guede yg sekali orang buka /jarang buka ke block, jd ga banyak miss. semua tergantung seleranya sih tiap2 jaringan berbeda.
                                          good tar tinggal ganti main jet sama pilot jetnya dah jos tuh karbu LUSCA nya

                                          cara ngecek sas gmn om?? maklum dikasih server yg built upan jd maen install aja, solusi yg berlebihan gmn om poscom?

                                          1 Reply Last reply Reply Quote 0
                                          • P
                                            pfz
                                            last edited by

                                            Sekedar berpendapat saja :

                                            Dengan user 90-an lebih dan dengan spesifikasi CPU yg relatif Tinggi (Ram, MB dll) seperti diatas, akan lebih baik kalo memaksimalkan cache nya dengan Cache memory. Tapi Jumlah memory yg dipergunakan untuk cache tidak boleh melebihi 50% dari total Memory yg ada.
                                            Selain itu perlu pemisahan HD untuk system dan HD untuk Cache squid. Kalo perlu system menggunakan Flashdisk. Dan Cache menggunakan HD yg kapasitasnya Besar.

                                            Mengenai miss yg relatif besar itu bisa juga dikarenakan berbagai faktor mulai dari Aturan Rules yang dibuat, sampai dengan settingan Squidnya sendiri (storeurl.pl, squid.conf, include.conf, reffresh.conf, dll)

                                            Secara umum (tapi tergantung dari tiap2 individu) agar user selalu mengarah ke squid biasanya diberi aturan kira2 :

                                            pass out quick on $int_if proto tcp to any port http \

                                            rdr-to 127.0.0.1 port 3218

                                            Dan

                                            pass in on $int_if

                                            NB :
                                            Nah .. Agar Lusca Cache nya biar bisa jadi Lusca-Surya itu Om Poscom yang jadi juru kuncinya. :)

                                            Semoga bermanfaat.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.