Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dDGmc-00015z-6y for pgsql-performance@arkaria.postgresql.org; Tue, 23 May 2017 20:51:58 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dDGmb-0002gM-JV for pgsql-performance@arkaria.postgresql.org; Tue, 23 May 2017 20:51:57 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dDGkr-0007z5-5Z for pgsql-performance@postgresql.org; Tue, 23 May 2017 20:50:09 +0000 Received: from shout02.mail.de ([2001:868:100:600::217]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dDGko-0004Vu-Is for pgsql-performance@postgresql.org; Tue, 23 May 2017 20:50:08 +0000 Received: from postfix01.mail.de (postfix01.bt.mail.de [10.0.121.125]) by shout02.mail.de (Postfix) with ESMTP id D02BF5FF30; Tue, 23 May 2017 22:50:01 +0200 (CEST) Received: from smtp04.mail.de (smtp04.bt.mail.de [10.0.121.214]) by postfix01.mail.de (Postfix) with ESMTP id B4BF9466B6; Tue, 23 May 2017 22:50:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mail.de; s=mailde201610; t=1495572601; bh=vMt6KZiYlX8JJVxNd09clHDqOabHPMFvfqw62mat8LQ=; h=Subject:To:References:From:Date:In-Reply-To:From; b=dROXDZxZChJOl6VGHmaXxrHzu4a+xzz5xETKoutTuUbQv5D1wRqGzWvAMBYpRQ3kg c+jIV+p3dsmNz86nUBKj8dlsgaKCjfj/VU/Hwsg5+eLHNXGZyAX9iIsAjcvZpg4HUA t2RDQ/UhIeAYNcVLXp8CJvO1n/bBGnTuPHRnDI9s= Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp04.mail.de (Postfix) with ESMTPSA id 53C5780093; Tue, 23 May 2017 22:50:01 +0200 (CEST) Subject: Re: More cores or higer frequency ? To: Jarek , pgsql-performance@postgresql.org References: <1495564174.6168.10.camel@sem-jarek-01.prv> <1495570454.6168.44.camel@sem-jarek-01.prv> From: "Sven R. Kunze" Message-ID: <1c5c89f2-9b3a-69f2-af2a-c905affc1944@mail.de> Date: Tue, 23 May 2017 22:49:58 +0200 MIME-Version: 1.0 In-Reply-To: <1495570454.6168.44.camel@sem-jarek-01.prv> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-purgate: clean X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate-type: clean X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate: clean X-purgate-size: 1015 X-purgate-ID: 154282::1495572601-000070F2-46359B05/0/0 X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org On 23.05.2017 22:14, Jarek wrote: > I have pool of clients (~30) inserting to database about 50 records per > second (in total from all clients) and small numer (<10) clients > querying database for those records once per 10s. > Other queries are rare and irregular. > The biggest table has ~ 100mln records (older records are purged > nightly). Database size is ~13GB. > I near future I'm expecting ~150 clients and 250 inserts per second and > more clients querying database. > Server is handling also apache with simple web application written in > python. > For the same price, I can get 8C/3.2GHz or 14C/2.6GHz. Which one will be > better ? > > > Hi Jarek, in case of your increasing parallel requirements (more clients, more inserts), I would tend to the 14C setup. However, as usual take this with a grain of salt. My word is not a guarantee for success in this case. Best would be to setup a test scenario where you can simulate with both hardware setups. Regards, Sven -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance