From owner-freebsd-net@freebsd.org Sat Feb 25 15:56:32 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B546BCED8C9 for ; Sat, 25 Feb 2017 15:56:32 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9FEE5D12 for ; Sat, 25 Feb 2017 15:56:32 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: by mailman.ysv.freebsd.org (Postfix) id 9C407CED8C7; Sat, 25 Feb 2017 15:56:32 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9BF25CED8C6 for ; Sat, 25 Feb 2017 15:56:32 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5C9E8D10 for ; Sat, 25 Feb 2017 15:56:32 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1chehw-0000pS-ED; Sat, 25 Feb 2017 18:56:28 +0300 Date: Sat, 25 Feb 2017 18:56:28 +0300 From: Slawa Olhovchenkov To: Sepherosa Ziehau Cc: "freebsd-net@freebsd.org" Subject: Re: listening sockets as non sockets Message-ID: <20170225155628.GB6035@zxy.spb.ru> References: <20170127005251.GM2611@FreeBSD.org> <20170210063024.GE1973@FreeBSD.org> <20170216184903.GF58829@FreeBSD.org> <0858647a-ec3c-1a78-053f-d04397a82d8a@freebsd.org> <20170222232704.GJ8899@FreeBSD.org> <20170223153636.GI15630@zxy.spb.ru> <20170224131349.GJ15630@zxy.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Feb 2017 15:56:32 -0000 On Sat, Feb 25, 2017 at 11:09:29PM +0800, Sepherosa Ziehau wrote: > > Can I use per-connection Lua script (for delays and url generation)? > > Not per-thread. I am need to emulate many client connections (about > > 10K-40K). > > Currently I am have some trouble w/ >20K connections. > > I didn't try the Lua script. Make sure to low the MSL on the box > running wrk, e.g. 10ms. Well, I'd recommend you to run 15K concurrent > connections on one testing box. Thanks! Can you explain some more this recomendations? PS: I am run wrk w/ '--connreqs 600'