Date: Wed, 14 Jan 2004 19:57:39 -0200 From: jason <jason@ec.rr.com> To: Marc Olzheim <marcolz@stack.nl> Cc: current@freebsd.org Subject: Re: make -j 4 is really make -j 8 for buildworld? Message-ID: <4005BB53.1020609@ec.rr.com> In-Reply-To: <20040114184629.GA27639@stack.nl> References: <Pine.NEB.3.96L.1040114001713.40206A-100000@fledge.watson.org> <17255.1074061572@critter.freebsd.dk> <20040114184629.GA27639@stack.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
Marc Olzheim wrote: >On Wed, Jan 14, 2004 at 07:26:12AM +0100, Poul-Henning Kamp wrote: > > >>The N in -jN is a relative measure of parallelism which has nothing >>to do with how many processes are run. That depends on parallism in >>the Makefiles and how subdirs are entered. >> >> > >Hmm.. From the manual page: > > -j max_jobs > Specify the maximum number of jobs that make may have running at > any one time. Turns compatibility mode off, unless the B flag is > also specified. > >'maximum number of jobs' seems to be quite clear to me... Or is the -j >propagated into subdirs ? > >Zlo >_______________________________________________ >freebsd-current@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-current >To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > > If a make file can specify more than one job in any instance, then thats why. You would run -j4 and have 4 jobs working, but when job number x is running it spawns 2 or more jobs to compile indepndent portions of code in a program faster. In something like gnome or kde this must be very common. I have no idea if this is right, but if I worked on a big project that is how I would chose to write the make file if I could. Maybe you should ask this on the hackers list? Jason
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4005BB53.1020609>