From owner-freebsd-stable@FreeBSD.ORG Wed Oct 31 15:40:25 2007 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2108616A473 for ; Wed, 31 Oct 2007 15:40:25 +0000 (UTC) (envelope-from helge.oldach@atosorigin.com) Received: from smtp1.mail.atosorigin.com (smtp1.mail.atosorigin.com [160.92.103.80]) by mx1.freebsd.org (Postfix) with ESMTP id 86EB413C4BE for ; Wed, 31 Oct 2007 15:40:24 +0000 (UTC) (envelope-from helge.oldach@atosorigin.com) Received: from filter.atosorigin.com (localhost [127.0.0.1]) by mxfed001 (Postfix) with ESMTP id B0F4026396CB; Wed, 31 Oct 2007 15:44:44 +0100 (CET) Received: from miram.origin-it.net (miram.origin-it.net [194.8.96.226]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "mail.de.atosorigin.com", Issuer "Atos Origin, Multimedia activity" (verified OK)) by mxfed001 (Postfix) with ESMTP id 9216C26396C5; Wed, 31 Oct 2007 15:44:44 +0100 (CET) Received: from markab.hbg.de.int.atosorigin.com (avior.origin-it.net [213.70.176.177]) by miram.origin-it.net (8.14.1/8.14.1/hmo020206) with ESMTP id l9VEihxk059724 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 31 Oct 2007 15:44:43 +0100 (CET) (envelope-from helge.oldach@atosorigin.com) Received: from DEHHX001.deuser.de.intra (dehhx001.hbg.de.int.atosorigin.com [161.90.164.119]) by markab.hbg.de.int.atosorigin.com (8.14.1/8.14.1/hmo020206) with ESMTP id l9VEigpi060924; Wed, 31 Oct 2007 15:44:42 +0100 (CET) (envelope-from helge.oldach@atosorigin.com) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Wed, 31 Oct 2007 15:44:40 +0100 Message-ID: <39AFDF50473FED469B15B6DFF2262F7A034B5949@DEHHX001.deuser.de.intra> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: rrdtool performance tuning (fwd) Thread-Index: AcgaZD7+kTMU1JhkRwSZnIV9QP9nXQBZ0DXQ References: <20071029111235.E69594@woozle.rinet.ru> From: To: , X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (miram.origin-it.net [194.8.96.226]); Wed, 31 Oct 2007 15:44:44 +0100 (CET) Cc: Subject: RE: rrdtool performance tuning (fwd) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 15:40:25 -0000 Dmitry Morozovsky wrote on Monday, October 29, 2007 9:13 AM: > any hints to tune rrdtool with ~30k rrd files (approx 2k target > devices)?=20 >=20 > machine is mostly IO-bound, showing 100% disk load with 8 or > sometimes even 3 mB/s, 300-400 tps (it's 2 SATA300 disks in gmirror) This is how rrdtool behaves. The best you can do is avoid paging of the = "hot" blocks of the RRD files out of buffer cache by supplying sufficient RAM. Other options such as noatime etc. merely have minor effects. Personally, I run a 70k+ RRD file box by queueing the requests first and writing them to the database files in bulk, at the expense of an = artificial delay of a couple of minutes. Disk space is some 6 GB so using a RAM = disk might be an option, at the risk of losing data... Probably about 100k RRDs is what you can get out of current hardware. = Note specifically that SMP has no effect. Helge Atos Origin GmbH, Theodor-Althoff-Str. 47, D-45133 Essen, Postfach 100 123, D-45001 Essen Telefon: +49 201 4305 0, Fax: +49 201 4305 689095, www.atosorigin.de ING Bank AG, Frankfurt/Main: Konto 001 014 0937, BLZ 500 210 00, Swift / BIC INGBDEFF, IBAN DE74 5002 1000 0010 1409 37 Geschäftsführer: Wilbert Kieboom, Handelsregister Essen HRB 19354, Ust.-ID.-Nr.: DE147861238