aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2010-11-22Merge branch 'rickard/thr-spec-inet-buf/OTP-8916' into devRickard Green
* rickard/thr-spec-inet-buf/OTP-8916: Remove tight restrictions on some options Thread specific inet driver buffer stack
2010-11-22Merge branch 'ks/erl_types-fixes' into devBjörn Gustavsson
* ks/erl_types-fixes: erl_types: Fix pretty rare crashes and an infinite loop OTP-8942
2010-11-22erl_types: Fix pretty rare crashes and an infinite loopKostis Sagonas
- Fixed pretty rare crash when taking the infimum of two tuple_sets (initial fix by Kostis Sagonas but then a better fix was provided by Stavros Aronis and this is the one adopted). - Fixed pretty rare crash when using parameterized types containing unbound variables (thanks to Nicolas Trangez for reporting it). - Fixed pretty rare infinite loop when refining the types of an SCC whose functions all returned none() (thanks to Stavros Aronis).
2010-11-18Fix two typos in the epmd documentationHolger Weiß
2010-11-18Remove tight restrictions on some optionsRickard Green
Remove tight restrictions on the high_watermark, low_watermark, and buffer options.
2010-11-18Thread specific inet driver buffer stackRickard Green
The inet driver internal buffer stack implementation has been rewritten in order to reduce lock contention.
2010-11-18Merge branch 'rickard/cpu-groups/OTP-8861' into devRickard Green
* rickard/cpu-groups/OTP-8861: Generalize reader groups Move cpu topology functionality into erl_cpu_topology.[ch] Do not use more reader groups for schedulers than schedulers Conflicts: erts/emulator/beam/erl_init.c
2010-11-18Generalize reader groupsRickard Green
Reader groups have been generalized to cpu groups which can be used for implementing reader groups, but also for implementing other functionality in the future.
2010-11-18Move cpu topology functionality into erl_cpu_topology.[ch]Rickard Green
2010-11-18Do not use more reader groups for schedulers than schedulersRickard Green
When the runtime system had fewer schedulers than logical processors, the system could get an unnecessarily large amount reader groups.
2010-11-18Merge branch 'rickard/sys_schedule_debug' into devRickard Green
* rickard/sys_schedule_debug: Verify that no outstanding I/O exist when checking for I/O in debug build
2010-11-18Verify that no outstanding I/O exist when checking for I/O in debug buildRickard Green
2010-11-18Merge branch 'pg/freebsd-cpu-affinity-and-topology' into devRickard Green
* pg/freebsd-cpu-affinity-and-topology: Add support for CPU affinity & topology detection on FreeBSD 8 OTP-8939
2010-11-18Merge branch 'pg/fix-system_info-cpu_topology-segfault' into devRickard Green
* pg/fix-system_info-cpu_topology-segfault: Fix crash with erlang:system_info({cpu_topology,junk}) OTP-8914
2010-11-18Add support for CPU affinity & topology detection on FreeBSD 8Paul Guyot
2010-11-18Merge branch 'rickard/sched-misc/OTP-8932' into devRickard Green
* rickard/sched-misc/OTP-8932: Fix erts_schedule_misc_op() so it can be called from arbitrary threads
2010-11-18Merge branch 'rickard/halfword-fix/OTP-8910' into devRickard Green
* rickard/halfword-fix/OTP-8910: Fix ERL_DRV_INT and ERL_DRV_UINT in halfword emulator
2010-11-18Merge branch 'rickard/dist/OTP-8901' into devRickard Green
* rickard/dist/OTP-8901: Be less eager to set dist entry in busy state
2010-11-18Merge branch 'rickard/tsd-get/OTP-8889' into devRickard Green
* rickard/tsd-get/OTP-8889: Fix erl_drv_tsd_get() and enif_tsd_get()
2010-11-18Merge branch 'rickard/configure-help/OTP-8859' into devRickard Green
* rickard/configure-help/OTP-8859: Cleanup configure help texts Conflicts: erts/aclocal.m4
2010-11-18Merge branch 'rickard/pre-pentium4-compat/OTP-8847' into devRickard Green
* rickard/pre-pentium4-compat/OTP-8847: Allow usage of libatomic_ops when other compilers than gcc are used Add pre pentium 4 compatibilty configure test Fix --enable-ethread-pre-pentium4-compatibility
2010-11-15Merge branch 'dgud/erts/windows-vs10-express' into devDan Gudmundsson
* dgud/erts/windows-vs10-express: Fix manifest files
2010-11-12Fix manifest filesDan Gudmundsson
It seems windows have updated manifest files in VS2010 which caused the erlang programs to contain duplicate requestedExecutionLevel entries, which is not allowed. This patch removes the microsoft entry, before adding our own which is known to work with XP and Vista.
2010-11-12Merge branch 'ia/ssl-decryption-error/OTP-8930' into devIngela Anderton Andin
* ia/ssl-decryption-error/OTP-8930: Added "DECRYPTION_FAILED ALERT" for block decipher failure.
2010-11-12Merge branch 'ia/odbc/windows_fix' into devIngela Anderton Andin
* ia/odbc/windows_fix: Added needed include file ws2tcpip.h for windows.
2010-11-12Added needed include file ws2tcpip.h for windows.Raimo Niskanen
2010-11-12Merge branch 'raimo/inet-getifaddrs/OTP-8926' into devRaimo Niskanen
* raimo/inet-getifaddrs/OTP-8926: Write documentation Delete decommented code Add testcase Implement inet:getifaddrs/0 on Windows Implement basic inet:getifaddrs/0 Fix building error of SCTP in FreeBSD 7.1 and later
2010-11-12Merge branch 'raimo/wxwidgets-configure-fixes' into devRaimo Niskanen
* raimo/wxwidgets-configure-fixes: wxWidgets configure fixes
2010-11-11Merge branch 'maint-r14' into devBjörn-Egil Dahlberg
2010-11-10Added "DECRYPTION_FAILED ALERT" for block decipher failure.Ingela Anderton Andin
Also fixed incorrect dialyzer spec.
2010-11-10Fix erts_schedule_misc_op() so it can be called from arbitrary threadsRickard Green
Tracing to port could cause an emulator crash when unloading the trace driver.
2010-11-10wxWidgets configure fixesRaimo Niskanen
2010-11-09Merge branch 'sverker/doc-fixes/OTP-8880' into devSverker Eriksson
* sverker/doc-fixes/OTP-8880: Documentation update to ETS and drivers
2010-11-09Write documentationRaimo Niskanen
2010-11-09Fix two typos in Dialyzer documentationTuncer Ayaz
2010-11-09Delete decommented codeRaimo Niskanen
2010-11-09Add testcaseRaimo Niskanen
2010-11-09Implement inet:getifaddrs/0 on WindowsRaimo Niskanen
2010-11-09Implement basic inet:getifaddrs/0Raimo Niskanen
2010-11-09Fix building error of SCTP in FreeBSD 7.1 and laterKenji Rikitake
This patch fixes building error of SCTP in FreeBSD 7.1 and later. See http://www.erlang.org/cgi-bin/ezmlm-cgi?2:mss:1257:200904:hppnfialjjdlgecdiehe for the details. R13A patch for solving a compilation error when building erts/emulator/drivers/common/inet_drv.c by Kenji Rikitake 12-APR-2009 Symptom solved by this patch: When building R13A in FreeBSD 7.1-RELEASE, the compiler flag HAVE_STRUCT_SCTP_PADDRPARAMS_SPP_SACKDELAY is NOT enabled. Some code in erts/emulator/drivers/common/inet_drv.c incorrectly assumes HAVE_STRUCT_SCTP_PADDRPARAMS_SPP_SACKDELAY is always true when HAVE_STRUCT_SCTP_PADDRPARAMS_SPP_FLAGS is true in config.h. This assumption causes a compilation error.
2010-11-08Merge branch 'egil/ei/incorrect-tracelevel/OTP-8874' into maint-r14Erlang/OTP
* egil/ei/incorrect-tracelevel/OTP-8874: Add release notes for erl_interface-3.7.1.1 Fix faulty tracelevel in erl_interface
2010-11-08Add release notes for erl_interface-3.7.1.1Björn-Egil Dahlberg
2010-11-08Fix faulty tracelevel in erl_interfaceBjörn-Egil Dahlberg
2010-11-08Merge branch 'hb/stdlib/dets_init/OTP-8923' into devHans Bolinder
* hb/stdlib/dets_init/OTP-8923: Fix badly formed Dets file after initialization
2010-11-04Fix badly formed Dets file after initializationHans Bolinder
If a Dets table with fewer slots than keys was opened and then closed after just a lookup, the contents were no longer well-formed. This bug has been fixed. (Thanks to Matthew Evans.)
2010-11-02Be less eager to set dist entry in busy stateRickard Green
The runtime system is now less eager to suspend processes sending messages over the distribution. The default value of the distribution buffer busy limit has also been increased from 128 KB to 1 MB. This in order to improve throughput.
2010-11-02Merge branch 'maint-r14' into devNiclas Eklund
2010-11-02Merge branch 'lukas/common_test/ct_parse_table/OTP-8907' into devLukas Larsson
* lukas/common_test/ct_parse_table/OTP-8907: Update parse_table to take multiline sql rows Add test cases for ct:parse_table
2010-11-02Merge branch 'sf/erts_de_busy_limit' into devRickard Green
* sf/erts_de_busy_limit: Add flag-based setting for the distribution buffer busy limit
2010-11-02Add flag-based setting for the distribution buffer busy limitScott Lystig Fritchie
Id: OTP-8912 This patch creates a new family of flags with the "+z" prefix. It further creates a new configuration option called "dbbl" (which is the first letter of the name dist_buf_busy_limit). Example usage of this flag would be "+zdbbl 1048576". This patch creates an adjustable buffer limit for the amount of data that may be buffered by the erlang distribution code (in dist.c specifically). Before this patch, this hard-coded constant was used: #define ERTS_DE_BUSY_LIMIT (128*1024) When large binaries are transmitted between nodes (or simply a lot of medium-sized binaries), it is very easy to hit the old 128KB limit. Processes that use the erlang:system_monitor() BIF to monitor system events can be spammed by {monitor, busy_dist_port, ...} message tuples at rates of tens to even hundreds of messages/second. A larger buffer limit will allow processes to buffer more outgoing messages over the distribution. When the buffer limit has been reached, sending processes will be suspended until the buffer size has shrunk. The buffer limit is per distribution channel. A higher limit will give lower latency and higher throughput at the expense of higher memory usage. A variation of this patch has been in commercial production use in at least two companies that the author is aware of. Larger buffer values can reduce the number of {monitor, busy_dist_port, ...} system messages drastically, lower overall messaging latencies, and prevent false timeouts and 'nodedown' messages in extremely busy Mnesia systems. Test suite: there are two tests: a. In erlexec_SUITE.erl to test basic set & get of the value b. In distribution_SUITE.erl, to verify that setting +zdbbl very low will actually change behavior.