Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Nov 2011 17:24:06 -0800 (PST)
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/162709: DISABLE_MAKE_JOBS should be the default	
Message-ID:  <201111210124.pAL1O69f047453@troutmask.apl.washington.edu>
Resent-Message-ID: <201111210130.pAL1UDFn082692@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         162709
>Category:       ports
>Synopsis:       DISABLE_MAKE_JOBS should be the default
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 21 01:30:13 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Steve Kargl
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
apl-uw
>Environment:
System: FreeBSD troutmask.apl.washington.edu 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r226967: Mon Oct 31 11:15:09 PDT 2011 kargl@troutmask.apl.washington.edu:/usr/obj/usr/src/sys/SPEW amd64


	
>Description:

It seems that many ports set MAKE_JOBS_SAFE without regards
to the amount of memory or the underlying compiler being
used.

By default, all ports should use DISABLE this feature and a
user should have to specifically enable this use multiple
processor.

While building libxul, I've hit this following behavior:

last pid: 54447;  load averages:  1.10,  1.12,  0.93    up 0+03:14:46  17:16:50
75 processes:  2 running, 73 sleeping
CPU:  0.0% user, 50.0% nice,  3.3% system,  6.9% interrupt, 39.8% idle
Mem: 656M Active, 66M Inact, 236M Wired, 27M Cache, 110M Buf, 2140K Free
Swap: 1024M Total, 884M Used, 140M Free, 86% Inuse, 4780K In, 4100K Out

  PID USERNAME    THR PRI NICE   SIZE    RES STATE   C   TIME   WCPU COMMAND
54404 root          1  71   10   107M 77792K CPU1    1   3:36 97.17% cc1plus
54369 root          1 -20   10   978M   606M swread  0   0:20  0.34% cc1plus
 1598 kargl         1  40    0   377M   261M select  0   4:31  0.00% Xorg

because g++ is a memory pig.

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111210124.pAL1O69f047453>