Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 365629 - dev-lang/erlang-14.2.2 add use halfword
Summary: dev-lang/erlang-14.2.2 add use halfword
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: Normal enhancement (vote)
Assignee: Dirkjan Ochtman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-01 20:40 UTC by Stefan de Konink
Modified: 2011-05-04 08:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan de Konink 2011-05-01 20:40:29 UTC
OTP-8941  == erts ==

	      From this release, the previously experimental halfword
	      emulator is now official. It can be enabled by giving the
	      --enable-halfword-emulator option to the configure script.

	      The halfword emulator is a 64-bit application, but uses
	      halfwords (32-bit words) for all data in Erlang processes,
	      therefore using less memory and being faster than the
	      standard 64-bit emulator. The total size of all BEAM code and
	      all process data for all processes is limited to 4Gb, but ETS
	      tables and off-heap binaries are only limited by the amount
	      of available memory.


Maybe a general useflag should be reserved for these 32 in 64 modes, because many 'serious' applications seem to get this functionality.

Reproducible: Always
Comment 1 Dirkjan Ochtman (RETIRED) gentoo-dev 2011-05-04 06:57:23 UTC
Can you name other examples of these applications? Also I think we generally only do global useflags after we've got a few uses of local flags.
Comment 2 Stefan de Konink 2011-05-04 07:06:29 UTC
MonetDB (--oid32, results in a database where identifiers in the database are limited to 32bit only, to prevent memory usage)
SphinxSearch (--enable-id64, results in a database where the identifier can be 64bit, but not dependent on architecture it seems)

(first ones to come off my mind this morning)
Comment 3 Dirkjan Ochtman (RETIRED) gentoo-dev 2011-05-04 08:12:05 UTC
I've committed this to 14.2.2-r1, thanks for reporting!