From owner-freebsd-current@FreeBSD.ORG Mon Jun 4 21:41:46 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B249616A502 for ; Mon, 4 Jun 2007 21:41:46 +0000 (UTC) (envelope-from almarrie@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.244]) by mx1.freebsd.org (Postfix) with ESMTP id 70FC113C489 for ; Mon, 4 Jun 2007 21:41:46 +0000 (UTC) (envelope-from almarrie@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so434893anc for ; Mon, 04 Jun 2007 14:41:45 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=a9474WuZkvcw4ENArOPNImVanpnA7KjJJ7MPEbqx35ap4MpDHVtAq39NdVPYpHQ3WIkayNH/MCR7mzzSba8AWMplTiHNlG3Jx96yyCM6I33iEp2Zvf9DnGsO3BId4lRwDRbGPd+xC9OtPTnHUUnS4uK0b2oPWLdxQnsr/AT2FkU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qHKvh2P3H46cyNTO3UR8XDdb+QAYhAq77x8UZoBq2vB9TFh6iL6ejHILm+v2iVP/oLthPK+hJpU52A2pln2keCfeVZ6QwqxHpoQrpReizl2sD71ZLAq5nw0/el4JhAGwRAzD39xYZb2rNotP3kFCoICElHGerJQS+EksJIUGRVw= Received: by 10.100.153.17 with SMTP id a17mr2834193ane.1180993305435; Mon, 04 Jun 2007 14:41:45 -0700 (PDT) Received: by 10.100.9.14 with HTTP; Mon, 4 Jun 2007 14:41:45 -0700 (PDT) Message-ID: <499c70c0706041441q4d4f13adtebd979ec87f71558@mail.gmail.com> Date: Tue, 5 Jun 2007 00:41:45 +0300 From: "Abdullah Ibn Hamad Al-Marri" To: "youshi10@u.washington.edu" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <499c70c0706041119o6c290fb3k7f234492df2f6548@mail.gmail.com> Cc: current@freebsd.org Subject: Re: Intel C2D COREs not used equally in FreeBSD 7.0-CURRENT i386 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 21:41:46 -0000 On 6/5/07, youshi10@u.washington.edu wrote: > On Mon, 4 Jun 2007, Abdullah Ibn Hamad Al-Marri wrote: > > > On 6/4/07, Alexey Tarasov wrote: > >> Hi. > >> > >> > options SCHED_4BSD # 4BSD scheduler > >> > >> Try to use SCHED_ULE or SCHED_CORE. > >> > >> ::[ | | | | ]:: > >> Alexey Tarasov > >> master@preved.cn > > > > I thought Davidxu removed SCHED_CORE for SCHED_ULE, am I missing something? > > -- > > Regards, > > > > -Abdullah Ibn Hamad Al-Marri > > Arab Portal > > http://www.WeArab.Net/ > > I think so. Try SCHED_ULE. > > -Garrett I'm using ULE now, and I see mysqld could use 104%in WCPU. But do you know why services still share the cpu0 instead of using CPU1 PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 598 mysql 16 44 0 639M 633M ucond 0 50:53 4.83% mysqld 740 services 3 44 0 54292K 51352K select 0 3:08 0.00% services I wish kernel can balance using both CORES with ULE 2.0 -- Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/