Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 6C9DD1337B8B for ; Mon, 9 May 2011 18:12:03 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 38676-02 for ; Mon, 9 May 2011 21:11:56 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pv0-f174.google.com (mail-pv0-f174.google.com [74.125.83.174]) by mail.postgresql.org (Postfix) with ESMTP id C57EF1337990 for ; Mon, 9 May 2011 18:11:55 -0300 (ADT) Received: by pvg12 with SMTP id 12so2530716pvg.19 for ; Mon, 09 May 2011 14:11:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=YJ2R6zhLIfshb/GHbDynKGrUNOcvfP2fmIGburO6MYs=; b=ZP9AQepJZR46BjOsjYXMh9KOj7OxypT4wWl6FoaAMbE3xFAbsU+sur/M2kXq/HJrlY OxyWEd9qxo+CXOrXfHxLSFQwAAPkyV0OySjTg9mqAOJ951l+xxrp/952EkQfH+W4rJHX cFhsIzGrFRu86p4BX5h0uADYF8EA4sMlUvqV4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=kapSzZDdn6vkM8XtjBee3BhArWUy7PGyZ7BniKMrsjEe1gjHMoxig9wbAPxB+Jfuri +n/uA+4Tr4aOu5jO+qpUB4ePOFa0EztAWvr88+HiDTMdeRJ3Q0PubcMqlsCr13LE5YVN SGJWNcfSlbj4wXCmyE3q1vMHTGuGPaJU8TZLg= MIME-Version: 1.0 Received: by 10.68.0.10 with SMTP id 10mr10344253pba.443.1304975515444; Mon, 09 May 2011 14:11:55 -0700 (PDT) Received: by 10.68.62.129 with HTTP; Mon, 9 May 2011 14:11:55 -0700 (PDT) In-Reply-To: <4DC85595.5070909@boreham.org> References: <4DC85595.5070909@boreham.org> Date: Mon, 9 May 2011 16:11:55 -0500 Message-ID: Subject: Re: Benchmarking a large server From: Merlin Moncure To: David Boreham Cc: PGSQL Performance Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.898 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, RFC_ABUSE_POST=0.001 X-Spam-Level: X-Archive-Number: 201105/89 X-Sequence-Number: 43598 On Mon, May 9, 2011 at 3:59 PM, David Boreham wrot= e: > >> hm, if it was me, I'd write a small C program that just jumped >> directly on the device around and did random writes assuming it wasn't >> formatted. =A0For sequential read, just flush caches and dd the device >> to /dev/null. =A0Probably someone will suggest better tools though. > > I have a program I wrote years ago for a purpose like this. One of the > things it can > do is write to the filesystem at the same time as dirtying pages in a lar= ge > shared > or non-shared memory region. The idea was to emulate the behavior of a > database > reasonably accurately. Something like bonnie++ would probably be a good > starting > point these days though. The problem with bonnie++ is that the results aren't valid, especially the read tests. I think it refuses to even run unless you set special switches. merlin