> On 16 Aug 2017, at 17:40, Mark Staudinger <[email protected]> wrote:
> 
> On Wed, 16 Aug 2017 10:35:05 -0400, Dmitry Sivachenko <[email protected]> 
> wrote:
> 
>> Hello,
>> 
>> are you installing haproxy form FreeBSD ports?
>> 
>> I just tried your configuration and it works as you expect.
>> 
>> If you are building haproxy by hand, add USE_CPU_AFFINITY=1 parameter to 
>> make manually.  FreeBSD port do that for you.
>> 
>> 
>> 
> 
> 
> Hi Dmitry,
> 
> I am running (for now) a locally compiled from source version.
> 
> Build options :
>  TARGET  = freebsd
>  CPU     = generic
>  CC      = clang
>  CFLAGS  = -O2 -g -fno-strict-aliasing -Wdeclaration-after-statement -fwrapv
>  OPTIONS = USE_CPU_AFFINITY=1 USE_REGPARM=1 USE_OPENSSL=1 USE_LUA=1 
> USE_STATIC_PCRE=1 USE_PCRE_JIT=1



Strange.  I am testing on FreeBSD-10-stable though.

May be you add return code check for cpuset_setaffinity() and log possible 
error?

Reply via email to