X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 1C46ED1B4D5 for ; Mon, 5 Jan 2004 15:51:21 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 95957-04 for ; Mon, 5 Jan 2004 11:50:35 -0400 (AST) Received: from 216.127.68.117 (unknown [216.127.68.117]) by svr1.postgresql.org (Postfix) with SMTP id F1E4AD1B4CD for ; Mon, 5 Jan 2004 11:50:30 -0400 (AST) Received: (qmail 7211 invoked from network); 5 Jan 2004 15:50:35 -0000 Received: from m072-201.nv.iinet.net.au (HELO meerkatsoft.com) (203.217.72.201) by localhost with SMTP; 5 Jan 2004 15:50:35 -0000 Message-ID: <3FF987AD.4090101@meerkatsoft.com> Date: Tue, 06 Jan 2004 00:50:05 +0900 From: Alex User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en, ja MIME-Version: 1.0 To: Doug McNaught Cc: pgsql-general@postgresql.org Subject: Re: Slow Performance with 7.4.1 References: <3FF91F49.1020403@meerkatsoft.com> <87n0927gs3.fsf@asmodeus.mcnaught.org> <3FF954C4.4060100@meerkatsoft.com> <87hdza7bny.fsf@asmodeus.mcnaught.org> In-Reply-To: <87hdza7bny.fsf@asmodeus.mcnaught.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/198 X-Sequence-Number: 55226 Yup, DMA is not enabled, probably that is the problem. Tried to enable it but get an error HDIO_SET_DMA failed: Operation not permitted. Thanks for the hint. Alex Doug McNaught wrote: >Alex writes: > > > >>The old system has a 80GB, 5200rpm ATA , the new system a 120GB, >>7200rpm ATA. The new system should at least not be slower. Also, on >>the new system I have a separate partition for the database. >> >>If I run a Vacuum or a SELECT COUNT(*) on a larger table (2-6 million >>records) the systems responds very slow, the screen almost freezes. >> >> > >Sounds like you may not have DMA enabled on the newer machine, or >there is some other kernel problem that slows the disk down. You >might try running Bonnie or a similar disk benchmark to make sure you >are getting the right disk performance. > >-Doug > > > >