<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal>Hey,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>This post is more of a Squid-Users question rather then squid-dev  to my understanding.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The technical way to look at it is not the sum of “global” users but rather their load on the system.<o:p></o:p></p><p class=MsoNormal>For 2k users you are better with more CPU ie 4+ vCPU and the 8GB RAM can be enough for many use cases.<o:p></o:p></p><p class=MsoNormal>The best way to start with this is capturing some data/stats on the network/fw level.<o:p></o:p></p><p class=MsoNormal>You can start with the exact system ie 4vCPU 8GB ram only as a router\firewall.<o:p></o:p></p><p class=MsoNormal>Then collect some details on the actual connections that are being used in the network.<o:p></o:p></p><p class=MsoNormal>I can recommend on Prometheus which I have used to get some nice graphs on systems.<o:p></o:p></p><p class=MsoNormal>There are ways to use Prometheus to graph Linux iptables/nftables/kernel conntrack which<br>is what I believe you should start from.<o:p></o:p></p><p class=MsoNormal>After you will have at-least a week of this stats you might be able to start and calculate more things.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Amos or Alex might know by heart what is the calculation that was mentioned here many times<br>regarding the amount of ram allocated per connection/request/session.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Eliezer<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>----<o:p></o:p></p><p class=MsoNormal>Eliezer Croitoru<o:p></o:p></p><p class=MsoNormal>Tech Support<o:p></o:p></p><p class=MsoNormal>Mobile: +972-5-28704261<o:p></o:p></p><p class=MsoNormal>Email: <a href="mailto:ngtech1ltd@gmail.com"><span style='color:blue'>ngtech1ltd@gmail.com</span></a><o:p></o:p></p><p class=MsoNormal>Zoom: Coming soon<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b>From:</b> squid-dev <squid-dev-bounces@lists.squid-cache.org> <b>On Behalf Of </b>Hyukin Kwon<br><b>Sent:</b> Wednesday, January 27, 2021 8:54 AM<br><b>To:</b> squid-dev@lists.squid-cache.org<br><b>Subject:</b> [squid-dev] About SQUID sizing<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Hi Squid development team,<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I have one quick question about sizing.<o:p></o:p></p></div><div><p class=MsoNormal>Actually, I am trying to install a SQUID proxy for 2,000 users. So, I am finding out the h/w requirements for that and I am thinking of,<o:p></o:p></p></div><div><p class=MsoNormal>2vCPU and 8GB Mem, 50GB HDD(without Caching function)<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Is it reasonable for that?<o:p></o:p></p></div><div><p class=MsoNormal>Any sizing calculation method?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I appreciate your help in advance,<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Cheers,<o:p></o:p></p></div><div><p class=MsoNormal>Hugh<o:p></o:p></p></div></div></div></body></html>