From owner-freebsd-threads@freebsd.org Sat Oct 24 00:12:42 2015 Return-Path: Delivered-To: freebsd-threads@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0D04DA1D74A for ; Sat, 24 Oct 2015 00:12:42 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) Received: from alogt.com (alogt.com [69.36.191.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D18E21561; Sat, 24 Oct 2015 00:12:41 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=7IPq/zUICMMA5RLlxXLAiz79xA4VbmmCsHfjTIwUUV0=; b=NtjU6boA1EHkYcpAokrwcOreJq kCWHC8tKVIxwpH8sz+BrR0MT9K77kGgIbQQsgqWHEI5aTfNdzuEEEvNOEbgXlLxNFQrHguz7nRNpd 7EUBFt2G13e5GzCG+d8nLSEQOeilN4Wap6zYqCuXy0SqM1bRyCMkSQLeqdp9PpYqtlFg=; Received: from [114.121.133.234] (port=28754 helo=X220.alogt.com) by sl-508-2.slc.westdc.net with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.86) (envelope-from ) id 1ZpmRs-003pxT-0B; Fri, 23 Oct 2015 18:12:40 -0600 Date: Sat, 24 Oct 2015 08:12:34 +0800 From: Erich Dollansky To: John Baldwin Cc: freebsd-threads@freebsd.org Subject: Re: pthread_setprio seems to have no effect on a Raspberry Message-ID: <20151024081234.49dae5ad@X220.alogt.com> In-Reply-To: <4225038.8yBnzsdYvU@ralph.baldwin.cx> References: <20150801142416.24f39ba1@X220.alogt.com> <4225038.8yBnzsdYvU@ralph.baldwin.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Authenticated-Sender: sl-508-2.slc.westdc.net: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Oct 2015 00:12:42 -0000 Hi, On Mon, 19 Oct 2015 15:45:40 -0700 John Baldwin wrote: > On Saturday, August 01, 2015 02:24:16 PM Erich Dollansky wrote: > > When I run the same source on a multi core x86, it looks like one > > core is generating while another core is reading. This is what I > > would expect under these condition. > > > > All other settings for the two threads are default. > > > > Does anyone have an idea? > > If you use cpuset to restrict the x86 version to a single thread does > it exhibit the same behavior as on the Pi? (e.g. cpuset -l > 1 /my/program) > I am just a bit busy with other things these days. I should be able to do this the coming month. Erich