From owner-freebsd-current@FreeBSD.ORG Mon Oct 4 18:16:01 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44CCC1065675 for ; Mon, 4 Oct 2010 18:16:01 +0000 (UTC) (envelope-from kma@mrecic.gov.ar) Received: from mx1.mrecic.gov.ar (mx1.mrecic.gov.ar [200.16.99.221]) by mx1.freebsd.org (Postfix) with ESMTP id AF56E8FC19 for ; Mon, 4 Oct 2010 18:16:00 +0000 (UTC) Received: from mrelmx07.mrec.ar ([140.191.48.38]) by mx1.mrecic.gov.ar with ESMTP; 04 Oct 2010 14:46:02 -0300 Received: from localhost (localhost.localdomain [127.0.0.1]) by mrelmx07.mrec.ar (Postfix) with ESMTP id 7C36E71D2C for ; Mon, 4 Oct 2010 14:46:02 -0300 (ART) X-Virus-Scanned: amavisd-new at mrelmx07.mrec.ar Received: from mrelmx07.mrec.ar ([127.0.0.1]) by localhost (mrelmx07.mrec.ar [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PIxWSXW4CC+u for ; Mon, 4 Oct 2010 14:46:01 -0300 (ART) Received: from mrelmx06.mrec.ar (mrelmx10.mrec.ar [140.191.48.45]) by mrelmx07.mrec.ar (Postfix) with ESMTP id E3F7471D2B for ; Mon, 4 Oct 2010 14:46:01 -0300 (ART) Date: Mon, 4 Oct 2010 13:46:01 -0400 (EDT) From: Kevin Mai To: freebsd-current@freebsd.org Message-ID: <7459633.69735.1286214361816.JavaMail.root@mrelmx10.mrec.ar> MIME-Version: 1.0 X-Originating-IP: [140.191.48.40] X-Mailer: Zimbra 6.0.6_GA_2330.DEBIAN5_64 (ZimbraWebClient - FF3.0 (Linux)/6.0.6_GA_2330.DEBIAN5_64) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Multithread Make in multicore server X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Oct 2010 18:16:01 -0000 I'm trying to do a "make buildworld" to build some jails on a Dell R710 server. It has 16 cores: [root@mrefns09 ~]# sysctl hw.ncpu hw.ncpu: 16 but, when doing running the "make buildworld" command: last pid: 77993; load averages: 1.07, 1.03, 0.95 up 38+01:12:10 17:42:09 87 processes: 2 running, 85 sleeping CPU 0: 1.9% user, 0.0% nice, 2.6% system, 0.0% interrupt, 95.5% idle CPU 1: 0.0% user, 0.0% nice, 0.4% system, 0.0% interrupt, 99.6% idle CPU 2: 1.9% user, 0.0% nice, 2.3% system, 0.0% interrupt, 95.9% idle CPU 3: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 4: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 5: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 6: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 7: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 8: 90.6% user, 0.0% nice, 5.6% system, 0.0% interrupt, 3.8% idle CPU 9: 0.4% user, 0.0% nice, 0.4% system, 0.0% interrupt, 99.3% idle CPU 10: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 11: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 12: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 13: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 14: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 15: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle Mem: 159M Active, 6514M Inact, 782M Wired, 126M Cache, 827M Buf, 324M Free Swap: 8192M Total, 44K Used, 8192M Free I see that there's no multithreading when running make.. is there a way to enable multiprocessing when running make? Many thanks, Kevin