Mohon izin kawan2 ...
Berangkat dari sudah banyaknya kawan2 yang mengcustom dan mengadaptasi lusca di mesin PfSense
dan sudah cukup stabilnya lusca untuk dipergunakan dalam mesin produksi
dan alhamdulillah, kawan kita, asli produk lokal

, seperti om @grage95, dengan baik hati terus menyediakan update lusca terbaru (keep spirit yah om) ...
Izinkan dan mari diskusi dan posting Lusca Performance dari kawan2 semua
sekaligus saling koreksi ...
awalan dr pelosok serang ...
untuk tune up semua sudah ada di forum ini, defaultnya performa semua

mesin pfsense 1.2.3
hp,2 gb ram, 4 disk, 1 system, 3 cache
pake lusca dari om @grage95
[lagi dicoba] dipake buat parent proxy
Squid Object Cache: Version LUSCA_HEAD
Start Time: Sat, 13 Mar 2010 03:18:23 GMT
Current Time: Sun, 14 Mar 2010 05:09:13 GMT
Connection information for squid:
Number of clients accessing cache: 4
Number of HTTP requests received: 467799
Number of ICP messages received: 102296
Number of ICP messages sent: 102296
Number of queued ICP replies: 0
Request failure ratio: 0.00
Average HTTP requests per minute since start: 301.6
Average ICP messages per minute since start: 131.9
Select loop called: 15681417 times, 5.934 ms avg
Cache information for squid:
Request Hit Ratios: 5min: 5.0%, 60min: 5.7%
Byte Hit Ratios: 5min: 6.2%, 60min: 3.1%
Request Memory Hit Ratios: 5min: 0.0%, 60min: 0.5%
Request Disk Hit Ratios: 5min: 93.5%, 60min: 80.3%
Storage Swap size: 48976862 KB
Storage Mem size: 16356 KB
Mean Object Size: 21.69 KB
Requests given to unlinkd: 0
Median Service Times (seconds) 5 min 60 min:
HTTP Requests (All): 0.02069 0.02317
Cache Misses: 0.02069 0.02317
Cache Hits: 0.01745 0.01745
Near Hits: 0.14252 0.14252
Not-Modified Replies: 0.00091 0.00000
DNS Lookups: 0.00000 0.00000
ICP Queries: 0.00000 0.00000
Resource usage for squid:
UP Time: 93049.484 seconds
CPU Time: 1009.604 seconds
CPU Usage: 1.09%
CPU Usage, 5 minute avg: 1.78%
CPU Usage, 60 minute avg: 1.38%
Process Data Segment Size via sbrk(): 0 KB
Maximum Resident Size: 275436 KB
Page faults with physical i/o: 5
Memory accounted for:
Total accounted: 170683 KB
memPoolAlloc calls: 77129503
memPoolFree calls: 72527592
File descriptor usage for squid:
Maximum number of file descriptors: 58982
Largest file desc currently in use: 125
Number of file desc currently in use: 81
Files queued for open: 0
Available number of file descriptors: 58901
Reserved number of file descriptors: 100
Store Disk files open: 1
IO loop method: kqueue
Internal Data Structures:
2261314 StoreEntries
3755 StoreEntries with MemObjects
3739 Hot Object Cache Items
2258208 on-disk objects
Store Directory Statistics:
Store Entries : 2261577
Maximum Swap Size : 109486080 KB
Current Store Swap Size: 48978338 KB
Current Capacity : 45% used, 55% free
Store Directory #0 (aufs): /rama
FS Block Size 2048 Bytes
First level subdirectories: 29
Second level subdirectories: 256
Maximum Size: 25600000 KB
Current Size: 16711606 KB
Percent Used: 65.28%
Current load metric: 100 / 1000
Filemap bits in use: 753508 of 1048576 (72%)
Filesystem Space in use: 16849520/64514690 KB (26%)
Filesystem Inodes in use: 760964/8360958 (9%)
Flags:
Accepted object sizes: 0 - (unlimited) bytes
Removal policy: heap
Store Directory #1 (aufs): /dhika
FS Block Size 2048 Bytes
First level subdirectories: 46
Second level subdirectories: 256
Maximum Size: 41943040 KB
Current Size: 16272990 KB
Percent Used: 38.80%
Current load metric: 100 / 1000
Filemap bits in use: 751910 of 1048576 (72%)
Filesystem Space in use: 16421708/140198042 KB (12%)
Filesystem Inodes in use: 763735/18135038 (4%)
Flags:
Accepted object sizes: 0 - (unlimited) bytes
Removal policy: heap
Store Directory #2 (aufs): /danish
FS Block Size 2048 Bytes
First level subdirectories: 46
Second level subdirectories: 256
Maximum Size: 41943040 KB
Current Size: 15993742 KB
Percent Used: 38.13%
Current load metric: 100 / 1000
Filemap bits in use: 753059 of 1048576 (72%)
Filesystem Space in use: 16144916/140198042 KB (12%)
Filesystem Inodes in use: 764878/18135038 (4%)
Flags:
Accepted object sizes: 0 - (unlimited) bytes
Removal policy: heap
TOTALS
ICP : 106417 Queries, 11997 Hits ( 11%)
HTTP: 471410 Requests, 83299 Hits ( 18%)
Child Proxy
PfSense 1.2.3
2gb ram, 3 disk, 1 system, 2 cache
pake lusca dari om chudy
Squid Object Cache: Version LUSCA_HEAD r14448 patched by chudy r10
Start Time: Wed, 10 Mar 2010 13:01:51 GMT
Current Time: Sun, 14 Mar 2010 05:21:15 GMT
Connection information for squid:
Number of clients accessing cache: 18
Number of HTTP requests received: 1354492
Number of ICP messages received: 109843
Number of ICP messages sent: 109843
Number of queued ICP replies: 0
Request failure ratio: 0.00
Average HTTP requests per minute since start: 255.6
Average ICP messages per minute since start: 41.5
Select loop called: 54258516 times, 5.860 ms avg
Cache information for squid:
Request Hit Ratios: 5min: 3.6%, 60min: 6.4%
Byte Hit Ratios: 5min: 59.2%, 60min: 53.4%
Request Memory Hit Ratios: 5min: 1.6%, 60min: 1.9%
Request Disk Hit Ratios: 5min: 71.4%, 60min: 75.7%
Storage Swap size: 11362018 KB
Storage Mem size: 32772 KB
Mean Object Size: 23.39 KB
Requests given to unlinkd: 0
Median Service Times (seconds) 5 min 60 min:
HTTP Requests (All): 0.02190 0.01955
Cache Misses: 0.02190 0.01955
Cache Hits: 0.00598 0.00379
Near Hits: 0.07014 0.02742
Not-Modified Replies: 0.00000 0.00091
DNS Lookups: 0.00000 0.00000
ICP Queries: 0.00027 0.00029
Resource usage for squid:
UP Time: 317964.165 seconds
CPU Time: 3563.406 seconds
CPU Usage: 1.12%
CPU Usage, 5 minute avg: 2.18%
CPU Usage, 60 minute avg: 1.83%
Process Data Segment Size via sbrk(): 0 KB
Maximum Resident Size: 144904 KB
Page faults with physical i/o: 6
Memory accounted for:
Total accounted: 85238 KB
memPoolAlloc calls: 239402940
memPoolFree calls: 238213011
File descriptor usage for squid:
Maximum number of file descriptors: 58982
Largest file desc currently in use: 67
Number of file desc currently in use: 43
Files queued for open: 0
Available number of file descriptors: 58939
Reserved number of file descriptors: 100
Store Disk files open: 3
IO loop method: kqueue
Internal Data Structures:
491688 StoreEntries
7668 StoreEntries with MemObjects
7658 Hot Object Cache Items
485747 on-disk objects
Store Directory Statistics:
Store Entries : 491831
Maximum Swap Size : 71680000 KB
Current Store Swap Size: 11363514 KB
Current Capacity : 16% used, 84% free
Store Directory #0 (aufs): /dhika
FS Block Size 2048 Bytes
First level subdirectories: 29
Second level subdirectories: 256
Maximum Size: 25600000 KB
Current Size: 5901368 KB
Percent Used: 23.05%
Current load metric: 100 / 1000
Filemap bits in use: 242631 of 262144 (93%)
Filesystem Space in use: 5962922/71623840 KB (8%)
Filesystem Inodes in use: 250087/9279486 (3%)
Flags:
Accepted object sizes: 0 - (unlimited) bytes
Removal policy: heap
Store Directory #1 (aufs): /danish
FS Block Size 2048 Bytes
First level subdirectories: 32
Second level subdirectories: 256
Maximum Size: 46080000 KB
Current Size: 5462146 KB
Percent Used: 11.85%
Current load metric: 100 / 1000
Filemap bits in use: 243265 of 262144 (93%)
Filesystem Space in use: 5546734/146294138 KB (4%)
Filesystem Inodes in use: 251492/18912254 (1%)
Flags:
Accepted object sizes: 0 - (unlimited) bytes
Removal policy: heap
TOTALS
ICP : 0 Queries, 0 Hits ( 0%)
HTTP: 1263960 Requests, 450905 Hits ( 36%)
Ngambil dari report lightsquid
Date Group Users Oversize Bytes Average Hit %
13 Mar 2010 grp 21 16 6.2 G 303.9 M 22.74%
12 Mar 2010 grp 19 15 6.5 G 349.4 M 27.75%
11 Mar 2010 grp 17 13 5.1 G 309.3 M 24.68%
10 Mar 2010 grp 5 4 323.2 M 64.6 M 11.91%
09 Mar 2010 grp 1 0 24 498 24 498 0.00%
08 Mar 2010 grp 20 11 2.5 G 128.1 M 32.44%
07 Mar 2010 grp 14 13 2.3 G 166.2 M 20.89%
06 Mar 2010 grp 20 14 2.8 G 141.6 M 35.42%
05 Mar 2010 grp 19 12 2.2 G 118.0 M 29.70%
04 Mar 2010 grp 20 14 1.5 G 76.7 M 33.83%
03 Mar 2010 grp 18 13 2.7 G 154.3 M 37.28%
02 Mar 2010 grp 21 15 1.8 G 89.8 M 31.36%
01 Mar 2010 grp 2 0 14 000 7 000 0.00%
Total/Average: 15 10 33.9 G 146.3 M 23.69%
squid.conf
http_port 192.118.98.254:3128
http_port 127.0.0.1:80 transparent
icp_port 3130
pid_filename /var/run/squid.pid
cache_effective_user proxy
cache_effective_group proxy
error_directory /usr/local/etc/squid/errors/English
icon_directory /usr/local/etc/squid/icons
visible_hostname raihan.proxy.serangku.net
cache_mgr serangkugmail.com
access_log /var/squid/log/access.log
cache_log /var/squid/log/cache.log
cache_store_log none
logfile_rotate 1
shutdown_lifetime 30 seconds
# Allow local network(s) on interface(s)
acl localnet src 192.118.98.0/255.255.255.0
uri_whitespace strip
dns_nameservers 127.0.0.1
cache_mem 32 MB
maximum_object_size_in_memory 32 KB
memory_replacement_policy heap GDSF
cache_replacement_policy heap LFUDA
include /usr/local/etc/squid/dir.conf
minimum_object_size 0 KB
maximum_object_size 65 MB
offline_mode off
cache_swap_low 97
cache_swap_high 98
# No redirector configured
cache_peer 192.168.117.254 parent 3128 3130
# Setup some default acls
acl all src 0.0.0.0/0.0.0.0
acl localhost src 127.0.0.1/255.255.255.255
acl localhost src 192.118.98.254/255.255.255.255
acl safeports port 21 70 80 210 280 443 488 563 591 631 777 901 3128 1025-65535
acl sslports port 443 563
acl manager proto cache_object
acl purge method PURGE
acl connect method CONNECT
#acl dynamic urlpath_regex cgi-bin \?
include /usr/local/etc/squid/include.conf
acl blacklist dstdom_regex -i "/var/squid/acl/blacklist.acl"
#cache deny dynamic
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !safeports
http_access deny CONNECT !sslports
# Always allow localhost connections
http_access allow localhost
quick_abort_min 32 KB
quick_abort_max 128 KB
quick_abort_pct 75
request_body_max_size 0 allow all
reply_body_max_size 102400000 deny all
delay_pools 1
delay_class 1 2
delay_parameters 1 -1/-1 -1/-1
delay_initial_bucket_level 100
# Throttle extensions matched in the url
acl throttle_exts urlpath_regex -i "/var/squid/acl/throttle_exts.acl"
delay_access 1 allow throttle_exts
delay_access 1 deny all
delay_body_max_size 1048576 1 allow all
# Block access to blacklist domains
http_access deny blacklist
# Allow local network(s) on interface(s)
http_access allow localnet
# Custom options
redirect_program /usr/local/bin/squidGuard -c /usr/local/etc/squidGuard/squidGuard.conf
redirector_bypass on
redirect_children 3
# Default block all to be sure
http_access deny all
sedikit tambahan :
untuk cache_mem bisa dimulai dari angka 16 mb
untuk maximum_object_size mulai dari angka 16 atau 32 mb, setelah object cache sampe +- 500000,silakan bisa dinaikan, karena utk awalan proxy pastinya banyak miss dan ada pesan sponsor : Objects larger than the size specified (in megabytes) will not be saved on disk cache. If you wish to increase speed more than you want to save bandwidth, this should be set to a low value.

sangat di sarankan setidaknya untuk menggunakan 1 gb ram dan 2 disk, 1 system, 1 cache
mungkin ada yang mau menambahkan ...
Bila boleh berkesimpulan, hasil sudah cukup memuaskan
masih banyak belum bisanya ... mohon bimbingan selalu
semoga berkenan