From owner-freebsd-smp@FreeBSD.ORG Tue Feb 7 12:39:11 2006 Return-Path: X-Original-To: freebsd-smp@freebsd.org Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E2F416A420 for ; Tue, 7 Feb 2006 12:39:11 +0000 (GMT) (envelope-from astatech@mail.ru) Received: from f36.mail.ru (f36.mail.ru [194.67.57.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7F9543D48 for ; Tue, 7 Feb 2006 12:39:10 +0000 (GMT) (envelope-from astatech@mail.ru) Received: from mail by f36.mail.ru with local id 1F6S7h-000HkR-00 for freebsd-smp@freebsd.org; Tue, 07 Feb 2006 15:39:09 +0300 Received: from [217.107.221.51] by win.mail.ru with HTTP; Tue, 07 Feb 2006 15:39:09 +0300 From: astatech@mail.ru To: freebsd-smp@freebsd.org Mime-Version: 1.0 X-Mailer: mPOP Web-Mail 2.19 X-Originating-IP: [217.107.221.51] Date: Tue, 07 Feb 2006 15:39:09 +0300 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Message-Id: Subject: 6.0 Stable on 8 Core AMD Opteron scalability. X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: astatech@mail.ru List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Feb 2006 12:39:11 -0000 Hi all! Please help solve problem. I have following server: - 8 cores at 2.2GHz/16GB RAM - FreeBSD 6.0 kernel compiled with SMP support for amd64 (4BSD scheduler, maxusers=2048, disabled unused hardware) - Apache, PHP, Mysql - 1GBit NIC (bge) I perform some benchmark and have very strange results with scalability. I start getting timeouts on client side after at 256 client threads, but CPU idle on server 30-40%. The top utility display that almost all httpd processes running on 7s core, and other 3-4 cores are idle. I am sure that bottleneck not on client side or server physical IO/memory. With 256 threads I get 30 Requests\sec on FreeBSD and 280 Requests\sec on Solaris (100% load). What can I do to utilize all CPU power on FreeBSD? WBR, Alex.