[erlang-questions] What erlc flags are needed to compile native (HiPE) to run on smp-disabled runtime?
Mon Oct 13 20:33:30 CEST 2008
On Oct 13, 2008, at 10:00 AM, Isaac Gouy wrote:
> --- Kevin Scaldeferri <kevin@REDACTED> wrote:
>> On Oct 12, 2008, at 10:18 PM, Isaac Gouy wrote:
>>>> On Sun, Oct 12, 2008 at 2:44 PM, Mikael Pettersson
>>>>> For various reasons the HiPE compiler can only generate code
>>>>> for the runtime system it's running on, so to generate non-SMP
>>>>> code you must run the compiler from within a non-SMP system.
>>> I've now made a separate build using --disable-smp-support so both
>>> and -smp disable can be used:
>> This is all well and good for chameneos, but it looks like all erlang
>> entries are being run this way now, including ones like the binary-
>> trees entries that was written to take advantage of multiple cores
>> and which does go faster with SMP
> There are 4 sets of measurements.
> Those 2 sets of measurements show programs forced to use a single
> These 2 sets of measurements show programs allowed to use multiple
> cores, and use -smp enable
Ahh, my mistake. I didn't look closely enough at the headers.
More information about the erlang-questions