Date: Sun, 12 Aug 2018 21:32:28 +0200 From: Michio Honda <micchie@sfc.wide.ad.jp> To: Rozhuk Ivan <rozhuk.im@gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: TCP server app performance Message-ID: <f8acb669-9ff8-cafc-8c4a-cf37f7028d07@sfc.wide.ad.jp> In-Reply-To: <20180812205049.097f806f@gmail.com> References: <CA%2BSc9E3_6bw68odAMH2Y-SzR2-PjuxZG6jp8P0JZV6z9LgmwQw@mail.gmail.com> <20180812205049.097f806f@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Rozhuk, I only use a single CPU core and thread, so SO_REUSEPORT_LB has no effect. Also, I already accept() in loop until getting error, but this is not a point as I use persistent TCP connections... Cheers, - Michio On 08/12/2018 07:50 PM, Rozhuk Ivan wrote: > On Sun, 12 Aug 2018 18:50:17 +0200 > Honda Michio <micchie@sfc.wide.ad.jp> wrote: > >> I'm measuring TCP server app performance using my toy web server. >> It just accept TCP connections and responds back HTTP OK to the >> clients. It monitors sockets using kqueue, and processes each ready >> descriptor using a pair of read() and write(). (in more detail, it's >> https://github.com/micchie/netmap/tree/paste/apps/phttpd) >> > > PS: > 2. SO_REUSEPORT_LB >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f8acb669-9ff8-cafc-8c4a-cf37f7028d07>