From owner-freebsd-ports@FreeBSD.ORG Tue Jan 14 15:43:42 2014 Return-Path: Delivered-To: freebsd-ports@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 63B7970F for ; Tue, 14 Jan 2014 15:43:42 +0000 (UTC) Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com [209.85.217.177]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DB5DF128E for ; Tue, 14 Jan 2014 15:43:41 +0000 (UTC) Received: by mail-lb0-f177.google.com with SMTP id z5so4119531lbh.22 for ; Tue, 14 Jan 2014 07:43:34 -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=S54n1a7UbSSi9bTnh8J2OCyqd9WpN548H2ZNJfBH5YGr0j6b8sA1UORp5fxP5nDOEW UcXLbPV3OpkNCKb6oVzKo0qM+KNT01piPIlyVf9UkoK7Nisi0PePGpfZpfUHySqZPkXe dqXI/NhzyY/OG3hUC90GwZswzrzAvYTY5qkXFxvZWxxn7OYp7yc4DeRB0VE0ZZsw/nwj y86r9pmXYSv6aYF02uI0kkhkE0ipBa+6VqtLwn0Q0ZjzIr5AKzHM3okv8aVvD3oGLv7G 3Urkp+N+dKZ3oNFPnikyBQpAmzKhCajDWM/CdW5+KNc2m1p82gbnTlQKBn98WR12FKe5 CSSg== X-Gm-Message-State: ALoCoQn9GLX9EOek3VAI/ChgOAFT8pjhKZuzR3IwjnAcFMXR4TWTed9cEinfo1LJBp5j/DuDSLsM 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-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jan 2014 15:43:42 -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.