X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id C974C5288B for ; Thu, 7 Jul 2005 09:49:12 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 94289-06 for ; Thu, 7 Jul 2005 12:49:05 +0000 (GMT) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.202]) by svr1.postgresql.org (Postfix) with ESMTP id B019852A08 for ; Thu, 7 Jul 2005 09:49:01 -0300 (ADT) Received: by nproxy.gmail.com with SMTP id x4so49067nfb for ; Thu, 07 Jul 2005 05:49:05 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ui/eiu5TFXZzCBbGwP/pUlZQj6YhaC0vyjgOmvU9cHJQd8HGPpZMHE9vHepkKb65fm1jXZiIK7+hLnqy/I853fDLksccuMfNrDxJLQx4M2ZYNlhzm5gyo/DI9Pn2z0kbkO4zH7Unf0IUDNbm6kuEr8eQKHxG07KKu8YSpz68Ul4= Received: by 10.48.237.18 with SMTP id k18mr30583nfh; Thu, 07 Jul 2005 05:49:05 -0700 (PDT) Received: by 10.48.49.14 with HTTP; Thu, 7 Jul 2005 05:49:05 -0700 (PDT) Message-ID: <4b09a0c05070705495df28801@mail.gmail.com> Date: Thu, 7 Jul 2005 14:49:05 +0200 From: Jean-Max Reymond Reply-To: Jean-Max Reymond To: pgsql-performance@postgresql.org Subject: Surprizing performances for Postgres on Centrino Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.08 tagged_above=0 required=5 tests=AWL, RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200507/64 X-Sequence-Number: 13305 Hi, These last two days, I have some troubles with a very strange phenomena: I have a 400 Mb database and a stored procedure written in perl which call 14 millions times spi_exec_query (thanks to Tom to fix the memory leak ;-) ). On my laptop whith Centrino 1.6 GHz, 512 Mb RAM, - it is solved in 1h50' for Linux 2.6 - it is solved in 1h37' for WXP Professionnal ( WXP better tan Linux ;-) ) On a Desktop with PIV 2.8 GHz, - it is solved in 3h30 for W2K On a Desktop with PIV 1.8 GHz, two disks with data and index's on each disk - it is solved in 4h for W2K I test CPU, memory performance on my laptop and it seems that the performances are not perfect except for one single test: String sort. So, it seems that for my application (database in memory, 14 millions of very small requests), Centrino (aka Pentium M) has a build-in hardware to boost Postgres performance :-) Any experience to confirm this fact ? Some tips to speed up Postgres on non-Centrino processors ? --=20 Jean-Max Reymond CKR Solutions Open Source Nice France http://www.ckr-solutions.com