Date: Fri, 11 Sep 2015 12:12:41 +0300 From: Dmitry Sivachenko <trtrmitya@gmail.com> To: FreeBSD Net <freebsd-net@freebsd.org> Subject: Re: netisr process eats 100% cpu Message-ID: <C2DA4FA5-0364-4811-BE75-49E858EE544E@gmail.com> In-Reply-To: <C4039E45-3DC7-4E1A-9E46-853FE812B906@gmail.com> References: <C4039E45-3DC7-4E1A-9E46-853FE812B906@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 10 =D1=81=D0=B5=D0=BD=D1=82. 2015 =D0=B3., at 19:45, Dmitry = Sivachenko <trtrmitya@gmail.com> wrote: >=20 > Hello! >=20 > I am using fresh FreeBSD-10/stable. >=20 > 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. >=20 > 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: >=20 > 11 root -72 - 0K 944K CPU27 27 0:34 98.06% = intr{swi1: netisr 0} >=20 > If I do not pass traffic through haproxy but connect directly to = remote server, netisr process consumes 0% CPU and everything works well. >=20 > Is it rather expected or this can be fixed? >=20 > Thanks in advance. Also I want to add that netisr process consume CPU only when TCP client = and haproxy are running on the same host. If I move haproxy to a = separate machine, netisr process does show in top(1) output at all. So this looks weird at least.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C2DA4FA5-0364-4811-BE75-49E858EE544E>