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 F2BBA8B9EBC for ; Sat, 5 Feb 2005 13:02:01 +0000 (GMT) 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 16200-04 for ; Sat, 5 Feb 2005 13:01:44 +0000 (GMT) Received: from morework.geizhals.at (home.geizhals.at [213.229.14.34]) by svr1.postgresql.org (Postfix) with ESMTP id 0D73B8B9E26 for ; Sat, 5 Feb 2005 13:01:45 +0000 (GMT) Received: from localhost (morework [127.0.0.1]) by morework.geizhals.at (Postfix) with ESMTP id 27ECADEE05; Sat, 5 Feb 2005 14:01:41 +0100 (CET) Received: from [172.16.42.238] (unknown [172.16.42.238]) by morework.geizhals.at (Postfix) with ESMTP; Sat, 5 Feb 2005 14:01:40 +0100 (CET) Message-ID: <4204C3B4.1050209@geizhals.at> Date: Sat, 05 Feb 2005 14:01:40 +0100 From: Marinos Yannikos User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: Oleg Bartunov Cc: pgsql-performance@postgresql.org, Tom Lane Subject: Re: GiST indexes and concurrency (tsearch2) References: <4201AEB1.4000504@geizhals.at> <4202053B.10207@geizhals.at> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 at geizhals.at X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.05 tagged_above=0 required=5 tests=FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200502/78 X-Sequence-Number: 10407 Oleg Bartunov schrieb: > Marinos, > > what if you construct "apachebench & Co" free script and see if > the issue still exists. There are could be many issues doesn't > connected to postgresql and tsearch2. > Some more things I tried: - data directory on ramdisk (tmpfs) - no effect - database connections either over Unix domain sockets or TCP - no effect - CLUSTER on gist index - approx. 20% faster queries, but CPU usage still hovers around 25% (75% idle) - preemptible kernel - no effect This is really baffling me, it looks like a kernel issue of some sort (I'm only guessing though). I found this old posting: http://archives.postgresql.org/pgsql-general/2001-12/msg00836.php - is this still applicable? I don't see an unusually high number of context switches, but the processes seem to be spending some time in "semtimedop" (even though the TAS assembly macros are definetely being compiled-in). If you are interested, I can probably provide an account on one of our identically configured boxes by Monday afternoon (GMT+1) with the same database and benchmarking utility. Regards, Marinos