Difference between pages "Package:Varnish" and "CPU FLAGS"

(Difference between pages)
 
 
Line 1: Line 1:
{{Ebuild
+
This page lists processor instruction sets that can be enabled on Funtoo Linux systems using the {{c|CPU_FLAGS_*}} variables.
|Summary=Varnish is a state-of-the-art, high-performance HTTP accelerator
+
|CatPkg=www-servers/varnish
+
|Maintainer=
+
}}
+
__TOC__
+
'''Varnish''' is a webcache & http accelerator.  Varnish will either serve cached content, or retireve content from the server, and cache it.  Varnish will reduce I/O pressure from webservers.
+
  
==Install==
+
==CPU_FLAGS_X86 ==
===Emerge===
+
  
Install {{Package|www-servers/varnish}}
+
{{TableStart}}
<console>###i## www-servers/varnish</console>
+
<tr><th>Flag</th><th>Introduced</th><th>Name</th><th></th></tr>
 
+
<tr><td>{{c|mmx}}</td><td>1997 (Pentium MMX)</td><td>MMX</td><td>See [[Wikipedia:MMX (instruction set)]] </td></tr>
==Configuration==
+
<tr><td>{{c|mmxext}}</td><td>1999</td><td>AMD MMX Extensions</td><td>See [[Wikipedia:Extended MMX]]</td></tr>
 
+
<tr><td>{{c|sse}}</td><td>1999 (Pentium III)</td><td>Streaming SIMD Extensions (SSE)</td><td>See [[Wikipedia:Streaming SIMD Extensions]]</td></tr>
Configuration is controlled by /etc/varnish/default.vcl
+
<tr><td>{{c|sse2}}</td><td>2001 (Pentium 4)</td><td>Streaming SIMD Extensions 2 (SSE2)</td><td>See [[Wikipedia:SSE2]]</td></tr>
 
+
<tr><td>{{c|sse3}}</td><td>2004 (Pentium 4 Prescott)</td><td>Streaming SIMD Extensions 3 (SSE3/PNI)</td><td>See [[Wikipedia:SSE3]]</td></tr>
{{file|name=/etc/varnish/default.vcl|desc=varnish configuration file|body=
+
<tr><td>{{c|ssse3}}</td><td>2006 (Core 2 Woodcrest)</td><td>Supplemental Streaming SIMD Extensions 3 (SSSE3)</td><td>See [[Wikipedia:SSSE3]]</td></tr>
# backend default {
+
<tr><td>{{c|popcnt}}</td><td>2007</td><td>POPCNT and LZCNT</td><td>See [[Wikipedia:SSE4#POPCNT_and_LZCNT]]</td></tr>
#    .host = "127.0.0.1";
+
{{TableEnd}}
#    .port = "8080";
+
# }
+
}}
+
 
+
Any traffic pointed at port 8080 will be through varnish.
+
 
+
== BootService ==
+
 
+
To start varnish immediately:
+
<console>###i## rc-service varnishd start</console>
+
 
+
To start varnish at boot:
+
<console>###i## rc-update add varnishd default</console>
+
 
+
== Verification ==
+
To verify that your traffic is going through varnish.
+
<console>$##i## curl -I https://www.varnish-cache.org/</console>
+
 
+
[[Category:Server]]
+
[[Category:Daemons]]
+
 
+
{{EbuildFooter}}
+

Revision as of 18:55, March 26, 2015

This page lists processor instruction sets that can be enabled on Funtoo Linux systems using the CPU_FLAGS_* variables.

CPU_FLAGS_X86

FlagIntroducedName
mmx1997 (Pentium MMX)MMXSee Wikipedia:MMX (instruction set)
mmxext1999AMD MMX ExtensionsSee Wikipedia:Extended MMX
sse1999 (Pentium III)Streaming SIMD Extensions (SSE)See Wikipedia:Streaming SIMD Extensions
sse22001 (Pentium 4)Streaming SIMD Extensions 2 (SSE2)See Wikipedia:SSE2
sse32004 (Pentium 4 Prescott)Streaming SIMD Extensions 3 (SSE3/PNI)See Wikipedia:SSE3
ssse32006 (Core 2 Woodcrest)Supplemental Streaming SIMD Extensions 3 (SSSE3)See Wikipedia:SSSE3
popcnt2007POPCNT and LZCNTSee Wikipedia:SSE4#POPCNT_and_LZCNT