From owner-freebsd-stable@FreeBSD.ORG Tue Dec 4 15:35:58 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98E3016A41A for ; Tue, 4 Dec 2007 15:35:58 +0000 (UTC) (envelope-from zkolic@sbb.co.yu) Received: from smtp1.sbb.co.yu (smtp1.sbb.co.yu [82.117.194.21]) by mx1.freebsd.org (Postfix) with ESMTP id 1330513C457 for ; Tue, 4 Dec 2007 15:35:57 +0000 (UTC) (envelope-from zkolic@sbb.co.yu) Received: from faust.net (cable-89-216-167-59.dynamic.sbb.co.yu [89.216.167.59]) by smtp1.sbb.co.yu (8.13.7/8.13.7) with ESMTP id lB4FZqJ7007471 for ; Tue, 4 Dec 2007 16:35:53 +0100 Received: by faust.net (Postfix, from userid 1001) id B2AE11CC2F; Tue, 4 Dec 2007 16:30:22 +0100 (CET) Date: Tue, 4 Dec 2007 16:30:22 +0100 From: Zoran Kolic To: freebsd-stable@freebsd.org Message-ID: <20071204153022.GA861@faust.net> References: <20071204003242.0BFF616A4C2@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071204003242.0BFF616A4C2@hub.freebsd.org> X-SMTP-Vilter-Version: 1.3.2 X-SBB-Virus-Status: clean X-SBB-Spam-Score: 3.1 X-SBB-Spam-Level: XXXXXX Subject: Re: 2 x quad-core system is slower that 2 x dual core on FreeBSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2007 15:35:58 -0000 > > Now we also have terribly performing PostgreSQL on 8-core server. We > > noticed the slowdown after moving PostgreSQL from 2xXeon 3.0 > > Apache+PostgreSQL server to dedicated PostgreSQL server. I collected > > some stats (see attach) before moving to Linux. I'm sure that some code optimization could help to have multicore enhancement. Rapidmind example comes as proof that there is room to make things better. I saw some text on Sun compiler making code more able to use cores and get the speed. Intel also tried to do the same. Maybe the same extent of work should be put on app optimization, aside to os changes. Despite I like bsd better, must to say that linux does not sleep and wait. Zoran