pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Reorder SUBDIR list slightly to give parallel scans a ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4b6c2582ea84
branches:  trunk
changeset: 530221:4b6c2582ea84
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jun 19 13:39:56 2007 +0000

description:
Reorder SUBDIR list slightly to give parallel scans a change to run
the very slow jobs in x11 when other jobs are available for processing.
Some packages need up to 10min for pbulk-index on my build system and
the reorder reduces the overall scan time with 4 clients from 35min to
30min.

Discussed with jlam@.

diffstat:

 Makefile |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 40ae557c01d5 -r 4b6c2582ea84 Makefile
--- a/Makefile  Tue Jun 19 13:31:01 2007 +0000
+++ b/Makefile  Tue Jun 19 13:39:56 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.81 2007/02/20 22:46:32 agc Exp $
+# $NetBSD: Makefile,v 1.82 2007/06/19 13:39:56 joerg Exp $
 #
 # This is the top-level Makefile of pkgsrc. It contains a list of the
 # categories of packages, as well as some targets that operate on the
@@ -45,6 +45,10 @@
 SUBDIR+=       ${GROUP_SPECIFIC_PKGS}
 SUBDIR+=       ${USER_SPECIFIC_PKGS}
 .else
+# Package in the x11 category tend to require a lot more parse time
+# than the rest of the packages. Reorder it to the beginning to avoid
+# stalling parallel scans near the end of a run.
+SUBDIR+=       x11
 SUBDIR+=       archivers
 SUBDIR+=       audio
 SUBDIR+=       benchmarks
@@ -87,7 +91,6 @@
 SUBDIR+=       time
 SUBDIR+=       wm
 SUBDIR+=       www
-SUBDIR+=       x11
 .endif
 
 SUBDIR+=       ${USER_ADDITIONAL_PKGS}



Home | Main Index | Thread Index | Old Index