Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 0EB8E9FB374 for ; Tue, 22 May 2007 10:45:39 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 74380-05 for ; Tue, 22 May 2007 10:45:21 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.239]) by postgresql.org (Postfix) with ESMTP id 07E029FB314 for ; Tue, 22 May 2007 10:45:26 -0300 (ADT) Received: by nz-out-0506.google.com with SMTP id s1so2601870nze for ; Tue, 22 May 2007 06:45:25 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=WKGMYFq5GUP9LPHw4WjIgoG1gJ2YGHIojnVOpC2mSuTQYnTKCQROt05Ozie9ufCeL1uygE/5vfi/VBDIXWEzc4IAWqRJySFhzuISX2W420ztR9B7PmxHDUNKJqFmyzSlSEAMItAdWlHncAU0tcqLmy+JDFdB0F6zYIaP/XyG0Xs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=OQh6DhCJaqsZ8LPfXwJof7g/NHdHA38xefuq9X/HD9t8Vl86eowOHrpUfnN3Ta9jwmzvfxRoMvevKFgPbhtf2RMdoEen3qzlAGurrONeYoukgN0GVjxmj6TbK//kc1tNqEIVSEHkLWXOZIrb1D6TLkbkZGAl6s+hbovJxpjENBk= Received: by 10.65.84.5 with SMTP id m5mr13153021qbl.1179841525405; Tue, 22 May 2007 06:45:25 -0700 (PDT) Received: by 10.65.177.7 with HTTP; Tue, 22 May 2007 06:45:25 -0700 (PDT) Message-ID: <88daf38c0705220645n3f37c975he2214f4d514b76b1@mail.gmail.com> Date: Tue, 22 May 2007 15:45:25 +0200 From: "Alexander Staubo" To: "Stephane Bailliez" Subject: Re: Tips & Tricks for validating hardware/os Cc: pgsql-performance@postgresql.org In-Reply-To: <4652EBC5.3090802@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4652EBC5.3090802@gmail.com> X-Google-Sender-Auth: 0162d3bc7601865b X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/437 X-Sequence-Number: 24827 On 5/22/07, Stephane Bailliez wrote: > Out of curiosity, can anyone share his tips & tricks to validate a > machine before labelling it as 'ready to use postgres - you probably > won't trash my data today' ? > I'm looking for a way to stress test components especially kernel/disk > to have confidence > 0 that I can use postgres on top of it. > > Any secret trick is welcome (beside the memtest one :) Compile the Linux kernel -- it's a pretty decent stress test. You could run pgbench, which comes with PostgreSQL (as part of the contrib package). Give a database size that's larger than the amount of physical memory in the box. Alexander.