From owner-freebsd-current@FreeBSD.ORG Tue Mar 30 12:52:08 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B610B16A4CE; Tue, 30 Mar 2004 12:52:08 -0800 (PST) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7AD0C43D2D; Tue, 30 Mar 2004 12:52:08 -0800 (PST) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id 8DEBA5309; Tue, 30 Mar 2004 22:52:07 +0200 (CEST) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id 7D90E5308; Tue, 30 Mar 2004 22:52:01 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 2602) id 6910533CAA; Tue, 30 Mar 2004 22:52:01 +0200 (CEST) To: Robert Watson References: From: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Tue, 30 Mar 2004 22:52:01 +0200 In-Reply-To: (Robert Watson's message of "Tue, 30 Mar 2004 15:36:57 -0500 (EST)") Message-ID: User-Agent: Gnus/5.090024 (Oort Gnus v0.24) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on flood.des.no X-Spam-Level: X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL autolearn=no version=2.63 cc: current@freebsd.org Subject: Re: performance of jailed processes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2004 20:52:08 -0000 Robert Watson writes: > Somewhat more painful suggestion, but could you generate ktraces against a > mysql client doing the query inside and out of jail, then using whatever > flag sets relative timestamps on kdump, diff the two and see where the > substantial differences begin? I'll give it a shot tomorrow. > 13 seconds is too long for most of the potential things I have in mind... although the query only returns one row, it's a pretty big row, so 13 seconds could be explained by per-syscall or per-packet overhead. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no