<div dir="ltr">Hi Simon,<div><br></div><div>With regards to CPU, Varnish doesn't need that much. Typically, you'll have maybe 5 or 10% CPU utilisation on a modern machine running at 5000 requests a second.</div><div>

<br></div><div>The memory is completely dependent on the site you are about to cache. Most websites are pretty small in terms of content size so 96GB should be more than sufficient to keep most of the website in memory, unless you have video content. Even then, 96GB is quite a lot.</div>

<div><br></div><div>The bans will add a bit of CPU use to Varnish and might induce a bit of latency if you'll have a lot of them. The CPU usage is a factor of (no of bans) x number of objects in cache as every ban will have to be matched against every object in cache. CPUs are fast, so this might not be as bad as it sounds.</div>

<div><br></div><div>Per.</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jan 27, 2014 at 12:45 PM, Simon Lennon, OnCommerce Ltd. <span dir="ltr"><<a href="mailto:simon.lennon@oncommerce.co.uk" target="_blank">simon.lennon@oncommerce.co.uk</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hi guys, I was wondering what kind of processing power varnish needs. I 
am setting up a dedicated environment with a custom built VCL which 
includes some regexp and the load balancing functionality.<br>
  <br>
I was going to setup a dual core server with 96GB of ram, is this enough
 for a HIGH traffic site, says 10,000 hits a second with very high cache
 utilization?<br>
  <br>
I will also be using the ban list to achieve a very high level of 
caching, with a daily restart to flush the archive, but I would expect 
several hundred regex patterns per day in the ban list.<br>
  <br>
I know varnish is optimized for performance so I wasn't sure how much 
processing power it would need,<br>
  <br>
thanks,<br>
  <div>-- <br>
















<div>

<table style="width:426.75pt" border="0" cellpadding="0" cellspacing="0" width="569">
 <tbody><tr style="height:29.25pt">
  <td colspan="6" style="padding:0cm 0cm 0cm 0cm;height:29.25pt">
  <table style="width:426.75pt" border="0" cellpadding="0" cellspacing="0" width="569">
   <tbody><tr style="height:29.25pt">
    <td style="width:33.0%;padding:0cm 11.25pt 0cm 0cm;height:29.25pt" width="33%">
    <p><strong><span style="font-size:14.0pt;font-family:"Arial","sans-serif";color:#004c77">Simon Lennon</span></strong> <span style="font-size:10.5pt;font-family:"Arial","sans-serif""><br>


    Technical Director</span> <span style="font-size:10.5pt;font-family:"Arial","sans-serif""><u></u><u></u></span></p>
    </td>
    <td style="width:33.0%;border-top:none;border-left:solid #cacaca 1.0pt;border-bottom:none;border-right:solid #cacaca 1.0pt;padding:0cm 0cm 0cm 0cm;height:29.25pt" width="33%">
    <p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial","sans-serif""><span>   
  
    </span>OnCommerce Ltd.<br>
    <span>      </span><a href="tel:%2B44%20%280%29%201202%20970%20940" value="+441202970940" target="_blank">+44 (0) 1202 970 940</a><u></u><u></u></span></p>
    </td>
    <td style="width:33.0%;padding:0cm 0cm 0cm 0cm;height:29.25pt" width="33%">
    <p class="MsoNormal" style="text-align:center" align="center"><img src="cid:part1.08060702.06060901@oncommerce.co.uk" alt="OnBay | Mr Snaps" border="0" height="52" width="76"><u></u><u></u></p>
    </td>
   </tr>
  </tbody></table>
  </td>
 </tr>
 <tr style="height:10.0pt">
  <td colspan="6" style="padding:0cm 0cm 0cm 0cm;height:10.0pt">
  <p class="MsoNormal"><span> <u></u><u></u></span></p>
  </td>
 </tr>
 <tr style="height:.75pt">
  <td colspan="6" style="padding:0cm 0cm 0cm 0cm;height:.75pt">
  <p class="MsoNormal"><span><img src="cid:part2.02090308.07010703@oncommerce.co.uk" border="0" height="1" width="570"></span><span style="font-size:12.0pt;font-family:"Arial","sans-serif""><u></u><u></u></span></p>


  </td>
 </tr>
 <tr style="height:10.0pt">
  <td colspan="6" style="padding:0cm 0cm 0cm 0cm;height:10.0pt">
  <p class="MsoNormal"><span> <u></u><u></u></span></p>
  </td>
 </tr>
 <tr>
  <td colspan="6" style="padding:0cm 0cm 0cm 0cm">
  <table style="width:426.75pt" border="0" cellpadding="0" cellspacing="0" width="569">
   <tbody><tr style="height:29.25pt">
    <td style="width:33.0%;padding:0cm 0cm 0cm 0cm;height:29.25pt" width="33%">
    <p style="margin-bottom:6.0pt;text-align:center" align="center"><span style="font-size:8.5pt;font-family:"Arial","sans-serif";color:#333333"><img src="cid:part3.01080208.09070600@oncommerce.co.uk" alt="oncommerce" border="0" height="42" width="160"><u></u><u></u></span></p>


    <p class="MsoNormal" style="margin-bottom:6.0pt;text-align:center" align="center"><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><a href="http://www.oncommerce.co.uk/" target="_blank"><span style="color:#004c77;text-decoration:none">www.oncommerce.co.uk</span></a> <u></u><u></u></span></b></p>


    <p class="MsoNormal" style="margin-bottom:6.0pt;text-align:center" align="center"><span><a href="https://twitter.com/OnCommerceLtd" target="_blank"><span style="text-decoration:none"><img src="cid:part4.03000706.01060109@oncommerce.co.uk" alt="Follow Us on 
Twitter" border="0" height="30" width="36"></span></a><a href="http://www.facebook.com/OnCommerceLtd" target="_blank"><span style="text-decoration:none"><img src="cid:part5.09010407.05030205@oncommerce.co.uk" alt="Find Us On 
Facebook" border="0" height="31" width="36"></span></a><a href="https://plus.google.com/110931495978569752116" target="_blank"><span style="text-decoration:none"><img src="cid:part6.05030408.05080009@oncommerce.co.uk" alt="Find Us On 
Google+" border="0" height="30" width="30"></span></a></span><span><u></u><u></u></span></p>
    </td>
    <td style="padding:0cm 0cm 0cm 0cm;height:29.25pt">
    <p style="margin-bottom:6.0pt;text-align:center" align="center"><span style="font-size:8.5pt;font-family:"Arial","sans-serif";color:#333333"><img src="cid:part7.03070605.03060505@oncommerce.co.uk" alt="onbuy" border="0" height="42" width="99"><u></u><u></u></span></p>


    <p class="MsoNormal" style="margin-bottom:6.0pt;text-align:center" align="center"><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><a href="http://www.onbuy.co.uk/" target="_blank"><span style="color:#004c77;text-decoration:none">www.onbuy.co.uk</span></a> <u></u><u></u></span></b></p>


    <p class="MsoNormal" style="margin-bottom:6.0pt;text-align:center" align="center"><span><a href="https://twitter.com/OnBuy_UK" target="_blank"><span style="text-decoration:none"><img src="cid:part4.03000706.01060109@oncommerce.co.uk" alt="Follow Us on 
Twitter" border="0" height="30" width="36"></span></a><a href="https://www.facebook.com/OnBuy.co.uk" target="_blank"><span style="text-decoration:none"><img src="cid:part5.09010407.05030205@oncommerce.co.uk" alt="Find Us On 
Facebook" border="0" height="31" width="36"></span></a><a href="https://plus.google.com/105033918753905864428" target="_blank"><span style="text-decoration:none"><img src="cid:part6.05030408.05080009@oncommerce.co.uk" alt="Find Us On 
Google+" border="0" height="30" width="30"></span></a></span><span><u></u><u></u></span></p>
    </td>
    <td style="width:33.0%;padding:0cm 0cm 0cm 0cm;height:29.25pt" width="33%">
    <p style="margin-bottom:6.0pt;text-align:center" align="center"><span style="font-size:8.5pt;font-family:"Arial","sans-serif";color:#333333"><img src="cid:part11.00060808.06010600@oncommerce.co.uk" alt="onrecycle" border="0" height="42" width="146"><u></u><u></u></span></p>


    <p class="MsoNormal" style="margin-bottom:6.0pt;text-align:center" align="center"><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><a href="http://www.onrecycle.co.uk/" target="_blank"><span style="color:#004c77;text-decoration:none">www.onrecycle.co.uk</span></a> <u></u><u></u></span></b></p>


    <p class="MsoNormal" style="margin-bottom:6.0pt;text-align:center" align="center"><span><a href="https://twitter.com/onrecycleuk" target="_blank"><span style="text-decoration:none"><img src="cid:part4.03000706.01060109@oncommerce.co.uk" alt="Follow Us on 
Twitter" border="0" height="30" width="36"></span></a><a href="https://www.facebook.com/OnRecycle" target="_blank"><span style="text-decoration:none"><img src="cid:part5.09010407.05030205@oncommerce.co.uk" alt="Find Us On 
Facebook" border="0" height="31" width="36"></span></a><a href="https://plus.google.com/112145148704994295234" target="_blank"><span style="text-decoration:none"><img src="cid:part6.05030408.05080009@oncommerce.co.uk" alt="Find Us On 
Google+" border="0" height="30" width="30"></span></a></span><span><u></u><u></u></span></p>
    </td>
   </tr>
  </tbody></table>
  </td>
 </tr>
 <tr style="height:10.0pt">
  <td colspan="6" style="padding:0cm 0cm 0cm 0cm;height:10.0pt"><br>
</td>
 </tr>
 <tr style="height:.75pt">
  <td colspan="6" style="padding:0cm 0cm 0cm 0cm;height:.75pt">
  <p class="MsoNormal"><span><img src="cid:part2.02090308.07010703@oncommerce.co.uk" border="0" height="1" width="570"></span><span style="font-size:12.0pt;font-family:"Arial","sans-serif""><u></u><u></u></span></p>


  </td>
 </tr>
 <tr style="height:12.0pt">
  <td colspan="6" style="padding:0cm 0cm 0cm 0cm;height:12.0pt">
  <p class="MsoNormal"><span style="font-family:"Arial","sans-serif""><img src="cid:part16.03060207.00000709@oncommerce.co.uk" border="0" height="16" width="570"></span><span style="font-size:12.0pt;font-family:"Arial","sans-serif""><u></u><u></u></span></p>


  </td>
 </tr>
 <tr style="height:30.0pt">
  <td colspan="6" style="padding:0cm 0cm 0cm 0cm;height:30.0pt" valign="top">
  <p style="margin-bottom:12.0pt"><span style="font-size:8.5pt;font-family:"Arial","sans-serif";color:#333333">OnBuy and 
OnRecycle are trading names of
  OnCommerce Ltd which is a registered company in England & Wales, 
Company Number:
  08358927. Our trading address is: C/O Centerprise International, 
Hampshire
  International Business Park, Lime Tree Way, Basingstoke, Hampshire, 
RG24 8GQ.
  OnCommerce is a registered trademark no. 2540468.<u></u><u></u></span></p>
  </td>
 </tr>
 <tr>
  <td colspan="6" style="padding:0cm 0cm 0cm 0cm" valign="top">
  <p style="margin-bottom:12.0pt"><span style="font-size:8.5pt;font-family:"Arial","sans-serif";color:#333333">OnCommerce Ltd
 is a Centeprise
  International Group Company.<u></u><u></u></span></p>
  </td>
 </tr>
 <tr>
  <td colspan="6" style="padding:0cm 0cm 0cm 0cm" valign="top">
  <p style="margin-bottom:12.0pt"><span style="font-size:8.5pt;font-family:"Arial","sans-serif";color:#333333"><img src="cid:part17.07030602.07030007@oncommerce.co.uk" border="0" height="42" width="151"><u></u><u></u></span></p>


  </td>
 </tr>
 <tr style="height:59.25pt">
  <td colspan="6" style="padding:0cm 0cm 0cm 0cm;height:59.25pt" valign="top">
  <p><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#004c77">This

  electronic message contains information from OnCommerce Ltd, which may
 be
  legally privileged and confidential. The information is intended to be
 for
  the use of the individual(s) or entity named above. If you are not the
  intended recipient, be aware that any disclosure, copying, 
distribution or
  use of the contents of this information is prohibited. If you have 
received
  this electronic message in error, please notify us by telephone (to 
the
  number above) or e-mail immediately. Any views, opinions or advice 
expressed
  in this electronic message are not necessarily the views, opinions or 
advice
  of OnCommerce Ltd. It is the responsibility of the recipient to ensure
 that
  any attachments are virus free and OnCommerce Ltd. bear no 
responsibility for
  any loss or damage arising in any way from the use thereof.<u></u><u></u></span></p>
  </td>
 </tr>
 <tr style="height:.75pt">
  <td style="padding:0cm 0cm 0cm 0cm;height:.75pt">
  <p class="MsoNormal"><span><img src="cid:part18.07020908.04040901@oncommerce.co.uk" border="0" height="66" width="46"></span><span style="font-size:12.0pt;font-family:"Arial","sans-serif""><u></u><u></u></span></p>


  </td>
  <td style="width:66.75pt;padding:0cm 0cm 0cm 0cm;height:.75pt" width="89">
  <p class="MsoNormal"><span><img src="cid:part18.07020908.04040901@oncommerce.co.uk" border="0" height="66" width="66"></span><span style="font-size:12.0pt;font-family:"Arial","sans-serif""><u></u><u></u></span></p>


  </td>
  <td style="padding:0cm 0cm 0cm 0cm;height:.75pt">
  <p class="MsoNormal"><span><img src="cid:part18.07020908.04040901@oncommerce.co.uk" border="0" height="66" width="66"></span><span style="font-size:12.0pt;font-family:"Arial","sans-serif""><u></u><u></u></span></p>


  </td>
  <td style="width:132.0pt;padding:0cm 0cm 0cm 0cm;height:.75pt" width="176">
  <p class="MsoNormal"><span><img src="cid:part18.07020908.04040901@oncommerce.co.uk" border="0" height="66" width="66"></span><span style="font-size:12.0pt;font-family:"Arial","sans-serif""><u></u><u></u></span></p>


  </td>
  <td style="width:42.75pt;padding:0cm 0cm 0cm 0cm;height:.75pt" width="57">
  <p class="MsoNormal"><span><img src="cid:part18.07020908.04040901@oncommerce.co.uk" border="0" height="66" width="57"></span><span style="font-size:12.0pt;font-family:"Arial","sans-serif""><u></u><u></u></span></p>


  </td>
  <td style="padding:0cm 0cm 0cm 0cm;height:.75pt">
  <p class="MsoNormal"><span><img src="cid:part18.07020908.04040901@oncommerce.co.uk" border="0" height="66" width="24"></span><span style="font-size:12.0pt;font-family:"Arial","sans-serif""><u></u><u></u></span></p>


  </td>
 </tr>
</tbody></table>

<p class="MsoNormal"><u></u> <u></u></p>

<p class="MsoNormal"><u></u> <u></u></p>

</div>

  </div>
</div>

<br>_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>

<div dir="ltr"><div style="font-size:12.727272033691406px;margin:5px 15px 0px 0px;padding-bottom:5px;color:rgb(34,34,34);font-family:arial,sans-serif;background-color:rgb(255,255,255)"><table border="0" cellpadding="0" cellspacing="0" style="text-align:start;font-size:12px;line-height:1.5em;font-family:'Helvetica Neue',Arial,sans-serif;color:rgb(102,102,102);width:550px;border-top-width:1px;border-top-style:solid;border-top-color:rgb(238,238,238);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(238,238,238);margin-top:20px;padding-top:5px;padding-bottom:5px">

<tbody><tr><td width="100" style="font-family:arial,sans-serif;margin:0px"><a href="http://www.varnish-software.com/" style="color:rgb(17,85,204)" target="_blank"><img src="http://www.varnish-software.com/static/media/logo-email.png" style="float:left;margin-left:10px"></a></td>

<td style="font-family:arial,sans-serif;margin:0px"><b style="font-size:14px;color:rgb(34,34,34)">Per Buer</b><br>CTO | Varnish Software<br>Phone: +47 958 39 117 | Skype: per.buer<br><span style="font-weight:bold">We Make Websites Fly!<br>

<br></span><span style="font-family:'Helvetica Neue',Arial,sans-serif;font-size:14px;font-weight:bold">Winner of the Red Herring Top 100 Global Award 2013<br></span><p style="margin:0px;line-height:normal;font-family:Helvetica">

<img src="https://www.varnish-software.com/sites/default/files/redherring_2013_winner_sml.jpg"></p><span style="font-weight:bold"><br></span></td></tr></tbody></table><div></div></div><div style="font-size:12.727272033691406px;margin:15px 0px;clear:both;color:rgb(34,34,34);font-family:arial,sans-serif;background-color:rgb(255,255,255)">

</div></div>
</div>