________________________________________________________________
erlang-questions (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-questio...@erlang.org
Actually this doesn't depend on the kernel, this depends on the Erlang
VM (i.e. userspace) using 32 bit or 64 bit. Generally 64 bit
applications use a lot more memory.
When you boot a 32-bit kernel, your processor is running in a
backwards-compatibility 32-bit mode, as an i386 processor. The x86_64 mode
is essentially a different processor, with different instruction set and
register model.
And if you boot into DOS, you'll be running 16-bit "real mode" :-)
But in summary: booting a 32-bit OS turns your machine into a 32-bit PC.
Regards,
Brian.
> But does this mean that having a 64 bits kernel doubles the memory usage?!?
As a general rule, running with 64-bit Erlang doubles the memory footprint.
The exception is binaries, which use only marginally more space.
The OTP team is working on a "half-word" emulator, which uses a 32-bit
memory space for the process heaps, but keeps other data (e.g. ETS and
binaries) in 64-bit space. This VM is still experimental, but can be built
with configure --enable-halfword-emulator
BR,
Ulf W
Ulf Wiger, CTO, Erlang Solutions, Ltd.
http://erlang-solutions.com
--
--Hynek (Pichi) Vychodil
Analyze your data in minutes. Share your insights instantly. Thrill
your boss. Be a data hero!
Try GoodData now for free: www.gooddata.com
Nicholas