Penghambat terbesar squid adalah hardisk dan memori,
High Objek -------> Hd
Small Objek ------> Mem
>> 4096 atau 4 Mb --------> heap GDSF
cache_replacement_policy heap GDSF
maximum_object_size_in_memory 64 KB :
Hanya obyek yg berukuran kurang dari 64 KB saja yg akan di simpan ke memori.
memory_replacement_policy heap LFUDA
===============================
Sample 1 :
Small Server:
CPU 1 GHz,
Mem 512MB,
HD 40 GB IDE/SATA,
BW 256 kbps
Cache_mem = 128 ~ 192 MB
Cache_dir = 12 ~ 18 GB ( size partisi = 24 GB )
Max_object_size = 32 ~ 48 MB
=================================
Sample 2 :
Medium Server
CPU 2 GHz,
Mem 2GB,
HD 80 GB x 2 SCSI,
BW 1 mbps
Cache_mem = 512 MB ~ 1 GB
Cache_dir = 32 ~ 48 GB x 2 ( size partisi = 64 GB )
Max_object_size = 128 ~ 256 MB
Max_object_size_in_memory = 64 ~ 128 KB
===============================
Sample 3 :
Enterprise Server
CPU 3 GHz,
Mem 8GB,
HD 120 GB x 6 High end SCSI,
BW > 4 mbps
Cache_mem = 2 GB ~ 4 GB
Cache_dir = 48 ~ 72 GB x 6 ( size partisi = 100 GB )
Max_object_size = 512 MB ~ 1 GB
Max_object_size_in_memory = 256 ~ 512 KB
=======================================
Tidak ada komentar:
Posting Komentar