X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 41A54D1B583 for ; Fri, 31 Oct 2003 12:52:39 +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 88263-03 for ; Fri, 31 Oct 2003 08:52:11 -0400 (AST) Received: from smtp.pspl.co.in (unknown [202.54.11.65]) by svr1.postgresql.org (Postfix) with ESMTP id EC701D1B55A for ; Fri, 31 Oct 2003 08:52:06 -0400 (AST) Received: (from root@localhost) by smtp.pspl.co.in (8.12.9/8.12.9) id h9VCqIAF023884 for ; Fri, 31 Oct 2003 18:22:18 +0530 Received: from persistent.co.in (daithan.intranet.pspl.co.in [192.168.7.161]) (authenticated bits=0) by persistent.co.in (8.12.9/8.12.9) with ESMTP id h9VCqI04023871 for ; Fri, 31 Oct 2003 18:22:18 +0530 Message-ID: <3FA25AF7.4060609@persistent.co.in> Date: Fri, 31 Oct 2003 18:22:07 +0530 From: Shridhar Daithankar Organization: Persistent Systems Pvt. Ltd. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: Re: Pg+Linux swap use References: <1311.192.168.1.120.1067543348.squirrel@webmail.ad2.com.br> <20031031074114.2fbad92c.threshar@torgo.978.org> In-Reply-To: <20031031074114.2fbad92c.threshar@torgo.978.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/785 X-Sequence-Number: 4533 Jeff wrote: > On Thu, 30 Oct 2003 17:49:08 -0200 (BRST) > "alexandre :: aldeia digital" wrote: > > >>Both use: Only postgresql on server. Buffers = 8192, effective cache = >>100000 > Well, I'm assuming you meant 1GB of ram, not 1MB :) > > Check a ps auxw to see what is running. Perhaps X is running gobbling up > your precious mem. But still.. with 1GB there should be virtually no > swap activity. > > How busy is the DB? How many connections? > > and is sort_mem set high? Also are two kernels exactly same? In my experience linux kernel behaves slightly different from version to version w.r.t swap aggressiveness... Shridhar