From owner-freebsd-stable@FreeBSD.ORG Mon Nov 19 18:24:14 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 1EEC616A46E; Mon, 19 Nov 2007 18:24:14 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4923113C461; Mon, 19 Nov 2007 18:24:13 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <4741D4D2.4090902@FreeBSD.org> Date: Mon, 19 Nov 2007 19:24:18 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Alexey Popov References: <4741905E.8050300@chistydom.ru> <20071119140019.V80667@fledge.watson.org> <4741A3A8.4010803@chistydom.ru> <20071119152214.J80667@fledge.watson.org> <4741B648.7090002@chistydom.ru> In-Reply-To: <4741B648.7090002@chistydom.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, Robert Watson 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: Mon, 19 Nov 2007 18:24:14 -0000 Alexey Popov wrote: > Hi. > > Robert Watson wrote: >>> I tried SCHED_ULE, but got no difference: >> Did you see no change in throughput, or no change in reported CPU use? > No significant changes. > >> We should probably take this thread to performance@ and get Kris >> involved. He may be interested in trying to reproduce your workload >> in our testbed so we can perform measurements of our own, as well as >> getting you to provide profiling information. One of the things we'd >> most like to have are nice potted benchmarks for real-world workloads, >> as that allows us to easily replay them, perform measurements, >> optimize, etc. > I can provide all profiling or configuration information you ask for. > Except I can't provide PHP site source codes. > > Now I'm in situation that I can't install FreeBSD on all new servers > because they are all based on 2xquad-core processors and I can't be sure > it would work good. Running mutex profiling for e.g. 1 minute of representative load would be a useful starting point, as well as hwpmc profiling for the same duration. My guess is that you're hitting contention in the TCP send path, but I missed the start of this conversation so I don't know what problems you are seeing. Kris