From: Michal Varga on
>>> Well, it's a dedicated blade after all :) And those 8 cores seem
>>> pretty nasty, I'm envious.
>>>
>>
>> Well, afaik I even cannot use more than one CPU when building ports.
>> There were plans/rumors that this would change. Does anyone know more
>> about it?
>>
Sure you can, as Boris (below) linked, this happened long time ago, especially:

"You don't need to do anything to enable the new feature. Whitelisted
ports will automatically make use of all processors available in your
computer."

Most large ports I have seen (and use) luckily take advantage of all
available processors during build (which completely sucks for desktop
systems, but then, you normally shouldn't do that on a station where
you try to work, so I'm fine with that). There's no way you'd be able
to build 450 ports in 45 minutes if you were using only one CPU/core.


> It has happened:
>
> http://lists.freebsd.org/pipermail/freebsd-ports/2009-March/053736.html
>
> I believe *dependencies* of a port will be compiled using one process (and
> thus CPU) at a time, however.
>
Interesting, are you sure this really happens? At least I understand
you mean that - let's say - when i choose to compile, i.e. www/webkit
directly, it will use all available processors (which it does, all the
time), but when I try to compile, say, www/epiphany, which pulls
www/webkit as a dependency, it will get built without MAKE_JOBS_SAFE,
locked to a single processor? I can test in a short while if that's
really the way, just asking, if I got you right..

m.
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: "Helmut Schneider" on
Boris Kochergin wrote:

> Helmut Schneider wrote:
> > Michal Varga wrote:
> >
> >
> > > > # pkg_info | wc -l
> >>> 457
> > > > #
> > > >
> > > > And this machine is even my package-building station!
> > > >
> > > > Anyway, portupgrade -af took 45 minutes. g
> > > >
> >>>
> > > Well, it's a dedicated blade after all :) And those 8 cores seem
> > > pretty nasty, I'm envious.
> >>
> >
> > Well, afaik I even cannot use more than one CPU when building ports.
> > There were plans/rumors that this would change. Does anyone know
> > more about it?
>
> It has happened:
>
>
http://lists.freebsd.org/pipermail/freebsd-ports/2009-March/053736.html

That'd explain a lot :)

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Wesley Shields on
On Wed, Jan 20, 2010 at 08:03:32PM +0100, Michal Varga wrote:
> >>> Well, it's a dedicated blade after all :) And those 8 cores seem
> >>> pretty nasty, I'm envious.
> >>>
> >>
> >> Well, afaik I even cannot use more than one CPU when building ports.
> >> There were plans/rumors that this would change. Does anyone know more
> >> about it?
> >>
> Sure you can, as Boris (below) linked, this happened long time ago, especially:
>
> "You don't need to do anything to enable the new feature. Whitelisted
> ports will automatically make use of all processors available in your
> computer."
>
> Most large ports I have seen (and use) luckily take advantage of all
> available processors during build (which completely sucks for desktop
> systems, but then, you normally shouldn't do that on a station where
> you try to work, so I'm fine with that). There's no way you'd be able
> to build 450 ports in 45 minutes if you were using only one CPU/core.
>
>
> > It has happened:
> >
> > http://lists.freebsd.org/pipermail/freebsd-ports/2009-March/053736.html
> >
> > I believe *dependencies* of a port will be compiled using one process (and
> > thus CPU) at a time, however.
> >
> Interesting, are you sure this really happens? At least I understand
> you mean that - let's say - when i choose to compile, i.e. www/webkit
> directly, it will use all available processors (which it does, all the
> time), but when I try to compile, say, www/epiphany, which pulls
> www/webkit as a dependency, it will get built without MAKE_JOBS_SAFE,
> locked to a single processor? I can test in a short while if that's
> really the way, just asking, if I got you right..

No. Only one port is built at a time but if that port is MAKE_JOBS_SAFE
it will build in parallel.

-- WXS
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"