Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 0DCF89FA331 for ; Tue, 11 Sep 2007 21:46:19 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 18434-09 for ; Tue, 11 Sep 2007 21:46:13 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from lists.commandprompt.com (host-254.commandprompt.net [207.173.203.254]) by postgresql.org (Postfix) with ESMTP id EA07E9FA336 for ; Tue, 11 Sep 2007 21:46:13 -0300 (ADT) Received: from [192.168.1.2] (or-69-34-217-90.sta.embarqhsd.net [69.34.217.90]) (authenticated bits=0) by lists.commandprompt.com (8.13.7/8.13.6) with ESMTP id l8C0k9Pw022833 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 11 Sep 2007 17:46:09 -0700 Message-ID: <46E736D1.6090103@commandprompt.com> Date: Tue, 11 Sep 2007 17:46:09 -0700 From: "Joshua D. Drake" User-Agent: Thunderbird 1.5.0.13 (X11/20070824) MIME-Version: 1.0 To: Greg Smith CC: pgsql-performance@postgresql.org Subject: Re: random_page_costs - are defaults of 4.0 realistic for SCSI RAID 1 References: <87lkbdlkxw.fsf@oxford.xeocode.com> <46E676D6.70807@verizon.net> <87zlzt9ifw.fsf@oxford.xeocode.com> <46E6E338.5050403@verizon.net> <20070911213105.GF38801@decibel.org> <87r6l4ajqh.fsf@oxford.xeocode.com> In-Reply-To: X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.1/4238/Mon Sep 10 20:38:51 2007 on projects.commandprompt.com X-Virus-Status: Clean X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (lists.commandprompt.com [192.168.2.159]); Tue, 11 Sep 2007 17:46:09 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/213 X-Sequence-Number: 26758 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Greg Smith wrote: > On Wed, 12 Sep 2007, Gregory Stark wrote: > >> Also, it helps to run a "vmstat 1" in another window and watch the bi >> and bo >> columns. > > Recently on Linux systems I've been using dstat ( > http://dag.wieers.com/home-made/dstat/ ) for live monitoring in this > sort of situation. Once you get the command line parameters right, you > can get data for each of the major disks on your system that keep the > columns human readable (like switching from KB/s to MB/s as appropriate) > as activity goes up and down combined with the standard vmstat data. > > I still use vmstat/iostat if I want to archive or parse the data, but if > I'm watching it I always use dstat now. Thanks for the tip Greg... I hadn't heard of dstat. Sincerely, Joshua D. Drake > > -- > * Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore, MD > > ---------------------------(end of broadcast)--------------------------- > TIP 6: explain analyze is your friend > - -- === The PostgreSQL Company: Command Prompt, Inc. === Sales/Support: +1.503.667.4564 24x7/Emergency: +1.800.492.2240 PostgreSQL solutions since 1997 http://www.commandprompt.com/ UNIQUE NOT NULL Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate PostgreSQL Replication: http://www.commandprompt.com/products/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG5zbRATb/zqfZUUQRAnz4AJwM1bGsVPdUZWy6ldqEq9l8SqRpJACcCfUc Joc8dLj12hISB5mQO6Tn+a8= =E5D2 -----END PGP SIGNATURE-----