NetBSD Problem Report #49450

From dholland@macaran.localdomain  Thu Dec  4 20:56:54 2014
Return-Path: <dholland@macaran.localdomain>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id D36BCA5864
	for <gnats-bugs@gnats.NetBSD.org>; Thu,  4 Dec 2014 20:56:53 +0000 (UTC)
Message-Id: <20141204205713.650D66E260@macaran.localdomain>
Date: Thu,  4 Dec 2014 15:57:13 -0500 (EST)
From: dholland@eecs.harvard.edu
Reply-To: dholland@eecs.harvard.edu
To: gnats-bugs@NetBSD.org
Subject: make doesn't know about processor cache affinity
X-Send-Pr-Version: 3.95

>Number:         49450
>Category:       bin
>Synopsis:       make doesn't know about processor cache affinity
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 04 21:00:00 +0000 2014
>Originator:     David A. Holland
>Release:        NetBSD 7.99.1 (20140819)
>Organization:
>Environment:
System: NetBSD macaran 7.99.1 NetBSD 7.99.1 (MACARAN) #22: Fri Oct 24 18:32:54 EDT 2014 dholland@macaran:/usr/src/sys/arch/amd64/compile/MACARAN amd64
Architecture: x86_64
Machine: amd64
>Description:

When running in parallel, make doesn't know about processor cache
affinity; when there's something to run, it always picks the next
available worker regardless of context.

This probably doesn't matter that much for the average build (as
compiles don't have that much shared state) but it can matter a lot if
you're using make for parallel data processing. As that's not
uncommon, it's an issue that make should take some account of.

>How-To-Repeat:

>Fix:
HACKEM MUCHE

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.