From owner-freebsd-questions@FreeBSD.ORG Mon Jun 30 08:01:57 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D7E4C362 for ; Mon, 30 Jun 2014 08:01:57 +0000 (UTC) Received: from systemdatarecorder.org (ec2-54-246-96-61.eu-west-1.compute.amazonaws.com [54.246.96.61]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "localhost", Issuer "localhost" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6B34729ED for ; Mon, 30 Jun 2014 08:01:56 +0000 (UTC) Received: from nereid (188-127-209-196.cust.suomicom.net [188.127.209.196]) (authenticated bits=0) by systemdatarecorder.org (8.14.4/8.14.4/Debian-2ubuntu2.1) with ESMTP id s5U80QTK028509 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 30 Jun 2014 08:00:27 GMT Date: Mon, 30 Jun 2014 11:01:41 +0300 From: Stefan Parvu To: "illoai@gmail.com" Subject: Re: rrdtool and lua on FreeBSD 10.x anyone ? Message-Id: <20140630110141.6829a3f68d66982cb6a8c688@systemdatarecorder.org> In-Reply-To: References: <20140629231232.3d6c5b5e561e1627e58b3ace@systemdatarecorder.org> Organization: systemdatarecorder.org X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.22; amd64-portbld-freebsd11.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jun 2014 08:01:57 -0000 > lua stuff is handled in FreeBSD doesn't always turn out as > expected, I've found. Even defining DEFAULT_VERSIONS=lua=5.2 > doesn't mean that lua stuff always uses a certain version (pretty > sure devel/luafilesystem still requires lua51, even though it claims > otherwise if you read the Makefile). Do you mean it is worth trying lua5.1 instead of 5.2 ? Are you using rrdtool with LUA ? Im interested in getting this done since we want to experiment and measure how one would handle rrdtool within nginx (via lua). The initial measurements for our auth part were amazing vs Perl. See below: 1. NGINX + Plack N=150, R=418ms, X=117req/sec, Util=75% (2vcpus) 2. NGINX + Mojo N=150, R=188ms, X=145req/sec, Util=50% (2vcpus) 3. Mojo N=150, R=100ms, X=148req/sec, Util=48% (2vcpus) 4. LUA/NGINX N=150, R=27ms, X=180req/sec, Util=15% (2vcpus) -- Stefan Parvu