From owner-freebsd-stable@FreeBSD.ORG Tue Jan 14 16:14:26 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 E6300870; Tue, 14 Jan 2014 16:14:26 +0000 (UTC) Received: from mail-pb0-x233.google.com (mail-pb0-x233.google.com [IPv6:2607:f8b0:400e:c01::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B1B0C1588; Tue, 14 Jan 2014 16:14:26 +0000 (UTC) Received: by mail-pb0-f51.google.com with SMTP id rp16so2602396pbb.24 for ; Tue, 14 Jan 2014 08:14:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=u/RB40eMsu92HkV7JU5LCK0JvG9l/wUA4zw+IbgDvwc=; b=Sbp1lmj34TMIfYUH+LWYjVyqQmFjNkREbJTZM46tE8i39D0zMrYLAoHCYNJtK36fz0 FphIKHMeb9m3sM4Iax1+cvAohdNx5qixCF+80kjOx/R2O07GDUSo03rAsCyM50vW2psY IlDMufF8CYGFrd6vmpn5ekV9h2Ck9Zu/Xw2uwoquND4Vi+z7eozn9YjWmgGxLc7BTxwF tAWRWad75wmRTUQneSzFeBYx3gq3t2o7KhJ0QREeUsT4gBIeL1Tczy6U9Du72Y7vFpUT J9KYcIHLxPMKp2wHdoki+Z7KC4pRm5Gj3BC5fN5/C19Gf3jfZg35MRkXVuS1uTunf+Q3 k7EA== MIME-Version: 1.0 X-Received: by 10.68.164.131 with SMTP id yq3mr2794721pbb.56.1389716066326; Tue, 14 Jan 2014 08:14:26 -0800 (PST) Received: by 10.70.29.162 with HTTP; Tue, 14 Jan 2014 08:14:26 -0800 (PST) In-Reply-To: <52D55B24.8080102@freebsd.org> References: <399751389704518@web9j.yandex.ru> <52D541E7.3040305@gmail.com> <5101389708996@web13m.yandex.ru> <52D55B24.8080102@freebsd.org> Date: Tue, 14 Jan 2014 20:14:26 +0400 Message-ID: Subject: Re: SCHED_ULE bug (was Re: cpuminer mines only on one core regardless of "--threads" option) From: Subbsd To: Andrey Chernov Content-Type: text/plain; charset=ISO-8859-1 Cc: c.kworr@gmail.com, Alexander , stable@freebsd.org, "freebsd-ports@freebsd.org" 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 16:14:27 -0000 On Tue, Jan 14, 2014 at 7:43 PM, Andrey Chernov wrote: > 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. > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" I think it's the same story seen in the distant 2011: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/163585