From owner-freebsd-stable@FreeBSD.ORG Tue Jan 14 15:48:52 2014 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B5BB3AB5 for ; Tue, 14 Jan 2014 15:48:52 +0000 (UTC) Received: from mail-la0-f46.google.com (mail-la0-f46.google.com [209.85.215.46]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 37D0612DB for ; Tue, 14 Jan 2014 15:48:51 +0000 (UTC) Received: by mail-la0-f46.google.com with SMTP id b8so441487lan.5 for ; Tue, 14 Jan 2014 07:48:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=gElK53fbxrb8bFlhQWHZqbZqGb1fwVjkWeo3rMYnRhY=; b=Q0TczFjmmobfVxLuNh0ZZJ7dhMK8A5p3d4chagaPqLzfODONqCTHhleI7RMd0CezJY HKEv+GyTMyxIIQjaUrjAVT2IneUY7aJowcHaRmMyyB/5L6qykseyKlXn47gAEjHLi56w aeECFZJbOQw9Qyadx/pR0KB2vCuVDd3vXu8SvG5RAXtxHUvW9vhyw+mWW7ZDyF6WVGdN CKMftQU9NfXC+57lqmaDD37FBWloORYKhbjQLiqcX7prsX7dErHMW1ck/9wY7GNe54lq K3T3RMRcf7vog4MnwlEEeJRcDKQ5GKrpoivS1hCtrRLrs+7uE5YNJZEgwY0tYY4Lao9E BYMA== X-Gm-Message-State: ALoCoQktMbYJVHySquEQUgFrH4PKAdWDLF5X9tR6nB3b8Q0lynUqsr8wtP85EEfZzgOHkd/sE+Q3 X-Received: by 10.112.157.194 with SMTP id wo2mr819818lbb.78.1389714214396; Tue, 14 Jan 2014 07:43:34 -0800 (PST) Received: from [192.168.1.2] ([89.169.173.68]) by mx.google.com with ESMTPSA id c3sm597467lbp.2.2014.01.14.07.43.33 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 14 Jan 2014 07:43:33 -0800 (PST) Message-ID: <52D55B24.8080102@freebsd.org> Date: Tue, 14 Jan 2014 19:43:32 +0400 From: Andrey Chernov User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Alexander , c.kworr@gmail.com, "freebsd-ports@freebsd.org" , stable@freebsd.org Subject: SCHED_ULE bug (was Re: cpuminer mines only on one core regardless of "--threads" option) References: <399751389704518@web9j.yandex.ru> <52D541E7.3040305@gmail.com> <5101389708996@web13m.yandex.ru> In-Reply-To: <5101389708996@web13m.yandex.ru> X-Enigmail-Version: 1.7a1pre Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 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, 14 Jan 2014 15:48:52 -0000 On 14.01.2014 17:01, Alexander wrote: > on Freebsd 9.2 x64 on 5 different PCs I installed net-p2p/cpuminer > from ports and by "pkg install" - result is the same - minerd mines > only on one core regardless of "--threads" option. ... > # top -P > CPU 0: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle > CPU 1: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle > CPU 2: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle > CPU 3: 0.0% user, 100% nice, 0.0% system, 0.0% interrupt, 0.0% idle This is SCHED_ULE bug, I see _all_ processes (not minerd only in particular) stuck to the last CPU too (top's 'C' column is equal to the last CPU and never changes), latest -stable i386. It disappears for me switching to SCHED_4BSD.