On 02/16/2016 12:32 PM, Jester Purtteman wrote:
./configure CFLAGS="-march=core2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt 
-mno-sse4 -msse4.1" CXXFLAGS="${CFLAGS}" --with-pthreads --prefix=/usr   
--localstatedir=/var
--libexecdir=/usr/lib/squid    --srcdir=.   --datadir=/usr/share/squid 
--sysconfdir=/etc/squid   --with-default-user=proxy --with-logdir=/var/log   
--with-pidfile=/var/run/squid.pid
--enable-linux-netfilter  --enable-cache-digests 
--enable-storeio=ufs,aufs,diskd,rock  --enable-async-io=30 
--enable-http-violations --enable-zph-qos --with-netfilter-conntrack
--with-filedescriptors=65536 --with-large-files

I do not recommend setting options this way, especially -mcx16 -msahf and 
others may produce code that does not run correctly on all systems.

I recommend using
   CFLAGS='-g -O2 -Wall -march=native' CXXFLAGS='-g -O2 -Wall -march=native'
to get the best performance since it turns on all possible processor features 
like mcx16 if and only if the used system supports it.

Marcus
_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

Reply via email to