From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079036515921.tru64-unix-managers.marc@archive.invalid> From: Ian Mortimer Date: Thu, 25 Feb 1999 01:50:22 +0000 To: tru64-unix-managers Subject: Squid on alpha. X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079036515921 Hi Tru64ers I've just installed squid on a PWS 500 au with 256 MB of RAM and 1.6GB of swap running DU (TU?) 4.0C (soon to be upgraded to D or E). This will be running as a proxy server for a network of only about 100 PCs and workstations and with initially about a 2GB cache. I've attached some tuning suggestions from Digital's internet tuning page and one from the squid FAQ. Does anyone have any other recommendations or any advice specifically about tuning Tru64 unix for squid? Thanks Ian _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _/ Ian Mortimer _/ _/ ian@physics.uq.edu.au ,-_|\ Department of Physics _/ _/ Tel: +61 7 3365 3436 / *\ University of Queensland _/ _/ Fax: +61 7 3365 1242 \_,-._/ St. Lucia, Brisbane _/ _/ v Queensland, Australia 4072 _/ _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Disclaimer: Speaking only for myself. --------------------------------------------------------------------------- From: http://www.unix.digital.com/internet/tuning.html The advice was to modify these kernel subsystem parameters (current values in brackets): socket somaxconn = 65535 (1024) sominconn = 65535 (0) sbcompress_threshold = 600 (0) inet tcbhashsize = 16384 (32) pmtu_enabled = 0 (1) ipport_userreserved = 65000 (5000) vm vm-mapentries = 20000 (1000000) vm-maxvas = 10737418240 (1073741824) proc maxusers = 2048 (128) max-proc-per-user = 512 (64) max-threads-per-user = 4096 (256) max-per-proc-data-size = 10737418240 (1073741824) max-per-proc-address-space = 10737418240 (1073741824) Some of these might not be relevant to squid (e.g. inet) and probably apply to a much bigger cache than ours. From: http://squid.nlanr.net/Squid/FAQ/FAQ.html To increase the data size for Digital UNIX, edit the file /etc/sysconfigtab and add the entry... proc: per-proc-data-size=1073741824 (134217728) Or, with csh, use the limit command, such as > limit datasize 1024M