diff options
author | Rickard Green <[email protected]> | 2010-10-19 14:31:31 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2010-11-02 13:39:50 +0100 |
commit | 9fb85488909f45d65409f3d8158398f6ad3bbbf2 (patch) | |
tree | 76b47deac61cda333bb94babb23cf90cb98d34bd /erts/emulator/beam/erl_node_tables.h | |
parent | 158ed71a5ddc5050809723a214a8d8c841022871 (diff) | |
download | otp-9fb85488909f45d65409f3d8158398f6ad3bbbf2.tar.gz otp-9fb85488909f45d65409f3d8158398f6ad3bbbf2.tar.bz2 otp-9fb85488909f45d65409f3d8158398f6ad3bbbf2.zip |
Be less eager to set dist entry in busy state
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.
Diffstat (limited to 'erts/emulator/beam/erl_node_tables.h')
-rw-r--r-- | erts/emulator/beam/erl_node_tables.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_node_tables.h b/erts/emulator/beam/erl_node_tables.h index eb759b87e9..b0a63ae035 100644 --- a/erts/emulator/beam/erl_node_tables.h +++ b/erts/emulator/beam/erl_node_tables.h @@ -131,7 +131,7 @@ typedef struct dist_entry_ { ErtsLink *nlinks; /* Link tree with subtrees */ ErtsMonitor *monitors; /* Monitor tree */ - erts_smp_spinlock_t qlock; /* Protects qflgs and out_queue */ + erts_smp_mtx_t qlock; /* Protects qflgs and out_queue */ Uint32 qflgs; Sint qsize; ErtsDistOutputQueue out_queue; |