Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Sep 2015 19:45:59 +0300
From:      Dmitry Sivachenko <trtrmitya@gmail.com>
To:        FreeBSD Net <freebsd-net@freebsd.org>
Subject:   netisr process eats 100% cpu
Message-ID:  <C4039E45-3DC7-4E1A-9E46-853FE812B906@gmail.com>

next in thread | raw e-mail | index | archive | help
Hello!

I am using fresh FreeBSD-10/stable.

I have a program which establish a TCP connection to server and sends a =
lot of small requests over it.
I put haproxy load balancer working in TCP mode in the middle, which =
listens some port on localhost.

Under the relatively low network load (20MB/sec, ~100 kpps), netisr =
process starts to consume close to 100% CPU, and does not allow to =
utilize more network bandwidth:

   11 root         -72    -     0K   944K CPU27  27   0:34  98.06% =
intr{swi1: netisr 0}

If I do not pass traffic through haproxy but connect directly to remote =
server, netisr process consumes 0% CPU and everything works well.

Is it rather expected or this can be fixed?

Thanks in advance.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C4039E45-3DC7-4E1A-9E46-853FE812B906>