From 3aa27a437b27d2c02357ed28360b67e3005e49d3 Mon Sep 17 00:00:00 2001
From: Lukas Larsson
Normal schedulers will have scheduler identifiers in
the range
The different types of schedulers handle specific types of jobs. Every job is assigned to a specific @@ -6839,13 +6842,16 @@ ok schedulers.
Dirty IO schedulers will have scheduler identifiers in
the range
-
Note that work executing on dirty I/O schedulers
are expected to mainly wait for I/O. That is, when you
get high scheduler utilization on dirty I/O schedulers,
@@ -7484,11 +7490,144 @@ ok
Returns information about the current system.
+ The documentation of this function is broken into the following
+ sections in order to make it easier to navigate.
+
+
+
+
+
+
+
+ Returns various information about the allocators of the
- current system (emulator) as specified by
+ Returns various information about the memory allocators
+ of the current system (emulator) as specified by
Returns a list of tuples with information about
miscellaneous allocated memory areas.
Returns
Returns a list of the names of all allocators using
- the ERTS internal
Returns information about the specified allocator.
As from ERTS 5.6.1, the return value is a list
of
Returns a list of the names of all allocators using
+ the ERTS internal
Returns various size information for the specified
allocator. The information returned is a subset of the
information returned by
@@ -7626,14 +7766,23 @@ ok
This option will be removed in a future release.
+ The return value will always be
Returns the
Returns the detected number of logical processors configured
+ in the system. The return value is either an integer, or
+ the atom
Returns the detected number of logical processors available
+ to the Erlang runtime system. The return value is either an
+ integer, or the atom
Returns the detected number of logical processors online on
+ the system. The return value is either an integer,
+ or the atom
The runtime system rereads the CPU information available
+ and updates its internally stored information about the
+
If the CPU information has changed since the last time
+ it was read, the atom
Returns information about the default process heap settings:
Returns
Returns a list describing the default garbage collection settings. A process spawned on the local node by a @@ -7764,7 +7972,30 @@ ok can spawn a process that does not use the default settings.
Returns a list of integers representing valid heap sizes + in words. All Erlang heaps are sized from sizes in this + list.
+Returns the heap type used by the current emulator. One + heap type exists:
+Returns
Returns
Returns
Returns a binary containing a string of process and port
+ information formatted as in Erlang crash dumps. For more
+ information, see section
Returns various information about the current system
- (emulator) as specified by
Returns information about the current system
+ (emulator) limits as specified by
Returns the number of atoms currently existing at the - local node. The value is given as an integer.
+ local node. The value is given as an integer.Returns the maximum number of atoms allowed.
- This limit can be increased at startup by passing
- command-line flag
-
Returns an atom describing the build type of the runtime
- system. This is normally the atom
Returns a two-tuple describing the C compiler used when
- compiling the runtime system. The first element is an
- atom describing the name of the compiler, or
Returns the maximum number of ETS tables allowed. This
+ limit can be increased at startup by passing
+ command-line flag
+
Returns a list containing miscellaneous information - about the emulators internal I/O checking. Notice that - the content of the returned list can vary between - platforms and over time. It is only guaranteed - that a list is returned.
+Returns the number of ports currently existing at the
+ local node. The value is given as an integer. This is
+ the same value as returned by
+
Returns the compatibility mode of the local node as
- an integer. The integer returned represents the
- Erlang/OTP release that the current emulator has been
- set to be backward compatible with. The compatibility
- mode can be configured at startup by using command-line flag
-
Returns the maximum number of simultaneously existing
+ ports at the local node as an integer. This limit can be
+ configured at startup by using command-line flag
+
See
Returns the number of processes currently existing at the
+ local node. The value is given as an integer. This is
+ the same value as returned by
+
Returns the creation of the local node as an integer.
- The creation is changed when a node is restarted. The
- creation of a node is stored in process identifiers, port
- identifiers, and references. This makes it (to some
- extent) possible to distinguish between identifiers from
- different incarnations of a node. The valid
- creations are integers in the range 1..3, but this will
- probably change in a future release. If the node is not
- alive,
Returns the maximum number of simultaneously existing
+ processes at the local node. The value is given as an
+ integer. This limit can be configured at startup by using
+ command-line flag
Returns information about the current system
+ (emulator) time as specified by
Returns
The last
Returns the amount of time in seconds garbage collection
- of an entry in a node table is delayed. This limit can be set
- on startup by passing command-line flag
-
Returns a list containing information about the source of
+
If
This tuple only exists if
Highest possible
+
Returns the number of dirty CPU scheduler threads used by - the emulator. Dirty CPU schedulers execute CPU-bound - native functions, such as NIFs, linked-in driver code, - and BIFs that cannot be managed cleanly by the normal - emulator schedulers.
-The number of dirty CPU scheduler threads is determined
- at emulator boot time and cannot be changed after that.
- However, the number of dirty CPU scheduler threads online
- can be changed at any time. The number of dirty CPU
- schedulers can be set at startup by passing
- command-line flag
-
Returns a list containing information about the source of
+
The list contains two-tuples with
Exists only if
Highest possible
+
The
See also
Returns a boolean value indicating whether
+
Returns the state of the time offset:
+The time offset is preliminary, and will be changed
+ and finalized later. The preliminary time offset
+ is used during the preliminary phase of the
+
The time offset is final. This either because
+
The time offset is volatile. That is, it can
+ change at any time. This is because
+
Returns a value identifying the
+
Returns whether a pre ERTS 7.0 backwards compatible
+ compensation for sudden changes of system time is
Returns information about schedulers, scheduling and threads in the
+ current system as specified by
Returns the number of dirty CPU scheduler threads used by + the emulator. Dirty CPU schedulers execute CPU-bound + native functions, such as NIFs, linked-in driver code, + and BIFs that cannot be managed cleanly by the normal + emulator schedulers.
+The number of dirty CPU scheduler threads is determined
+ at emulator boot time and cannot be changed after that.
+ However, the number of dirty CPU scheduler threads online
+ can be changed at any time. The number of dirty CPU
+ schedulers can be set at startup by passing
+ command-line flag
+
See also
@@ -7989,9 +8411,9 @@ ok
Returns the number of dirty CPU schedulers online.
The return value satisfies
Returns the number of dirty I/O schedulers as an integer.
Dirty I/O schedulers execute I/O-bound native functions,
such as NIFs and linked-in driver code, which cannot be
@@ -8032,685 +8454,540 @@ ok
Returns a binary containing a string of distribution
- information formatted as in Erlang crash dumps. For more
- information, see section
Returns one of the following:
+The emulator has been started with only one scheduler thread.
+The emulator has more than one scheduler thread, + but all scheduler threads except one are blocked. + That is, only one scheduler thread schedules + Erlang processes and executes Erlang code.
+The emulator has more than one scheduler thread, + but all normal scheduler threads except one are + blocked. Notice that dirty schedulers are not + blocked, and can schedule Erlang processes and + execute native code.
+The emulator has more than one scheduler thread, + and no scheduler threads are blocked. That is, + all available scheduler threads schedule + Erlang processes and execute Erlang code.
+See also
+
Returns the value of the distribution buffer busy limit
- in bytes. This limit can be set at startup by passing
- command-line flag
-
Returns a list of
See also
+
Returns a list of tuples
-
Returns a list of
See also
+
Returns a string containing the Erlang driver version
- used by the runtime system. It has the form
-
Returns information about how the user has requested + schedulers to be bound or not bound.
+Notice that although a user has requested
+ schedulers to be bound, they can silently have failed
+ to bind. To inspect the scheduler bindings, call
+
For more information, see command-line argument
+
Returns an atom describing the dynamic trace framework
- compiled into the virtual machine. It can be
-
Returns information about the currently used scheduler + bindings.
+A tuple of a size equal to
+
Notice that only schedulers online can be bound to logical + processors.
+For more information, see command-line argument
+
Returns a
Returns the scheduler ID (
See also
+
The last
Returns the number of scheduler threads used by + the emulator. Scheduler threads online schedules Erlang + processes and Erlang ports, and execute Erlang code + and Erlang linked-in driver code.
+The number of scheduler threads is determined at + emulator boot time and cannot be changed later. + However, the number of schedulers online can + be changed at any time.
+See also
+
This option will be removed in a future release.
- The return value will always be
Returns the number of schedulers online. The scheduler
+ identifiers of schedulers online satisfy the relationship
+
For more information, see
+
Returns the maximum number of ETS tables allowed. This
- limit can be increased at startup by passing
- command-line flag
-
Returns
Returns a list of integers representing valid heap sizes - in words. All Erlang heaps are sized from sizes in this - list.
+Returns
Returns the heap type used by the current emulator. One - heap type exists:
-Returns the number of async threads in the async thread
+ pool used for asynchronous driver calls
+ (
Returns information about Erlang Distribution in the
+ current system as specified by
Returns a binary containing a string of miscellaneous
- system information formatted as in Erlang crash dumps.
- For more information, see section
-
Returns the creation of the local node as an integer.
+ The creation is changed when a node is restarted. The
+ creation of a node is stored in process identifiers, port
+ identifiers, and references. This makes it (to some
+ extent) possible to distinguish between identifiers from
+ different incarnations of a node. The valid
+ creations are integers in the range 1..3, but this will
+ probably change in a future release. If the node is not
+ alive,
Returns
Returns the amount of time in seconds garbage collection
+ of an entry in a node table is delayed. This limit can be set
+ on startup by passing command-line flag
+
Returns a binary containing a string of loaded module +
Returns a binary containing a string of distribution
information formatted as in Erlang crash dumps. For more
- information, see section
-
Returns the detected number of logical processors configured
- in the system. The return value is either an integer, or
- the atom
Returns the detected number of logical processors available
- to the Erlang runtime system. The return value is either an
- integer, or the atom
Returns the detected number of logical processors online on
- the system. The return value is either an integer,
- or the atom
Returns a string containing the Erlang machine name.
+ information, see sectionReturns the modified timing-level (an integer) if
- modified timing is enabled, otherwise
Returns the value of the distribution buffer busy limit
+ in bytes. This limit can be set at startup by passing
command-line flag
-
Returns one of the following:
-The emulator has been started with only one scheduler thread.
-The emulator has more than one scheduler thread, - but all scheduler threads except one are blocked. - That is, only one scheduler thread schedules - Erlang processes and executes Erlang code.
-The emulator has more than one scheduler thread, - but all normal scheduler threads except one are - blocked. Notice that dirty schedulers are not - blocked, and can schedule Erlang processes and - execute native code.
-The emulator has more than one scheduler thread, - and no scheduler threads are blocked. That is, - all available scheduler threads schedule - Erlang processes and execute Erlang code.
-See also
-
Returns a list of
See also
-
Returns a string containing the version of the Erlang NIF - interface used by the runtime system. It is on the form - "<major ver>.<minor ver>".
+Returns a list of
See also
-
Returns a list of tuples
+
Returns various information about the current system
+ (emulator) as specified by
Returns a string containing the OTP release number of the - OTP release that the currently executing ERTS application - is part of.
-As from Erlang/OTP 17, the OTP release number corresponds to
- the major OTP version number. No
-
Returns an atom describing the build type of the runtime
+ system. This is normally the atom
Returns a list containing information about the source of
-
If
This tuple only exists if
Highest possible
-
Returns a two-tuple describing the C compiler used when
+ compiling the runtime system. The first element is an
+ atom describing the name of the compiler, or
Returns a list containing information about the source of
-
The list contains two-tuples with
Exists only if
Highest possible
-
Returns a list containing miscellaneous information + about the emulators internal I/O checking. Notice that + the content of the returned list can vary between + platforms and over time. It is only guaranteed + that a list is returned.
Returns the default port parallelism scheduling hint used.
- For more information, see command-line argument
-
Returns the compatibility mode of the local node as
+ an integer. The integer returned represents the
+ Erlang/OTP release that the current emulator has been
+ set to be backward compatible with. The compatibility
+ mode can be configured at startup by using command-line flag
+
Returns the number of ports currently existing at the
- local node. The value is given as an integer. This is
- the same value as returned by
-
Returns
Returns the maximum number of simultaneously existing
- ports at the local node as an integer. This limit can be
- configured at startup by using command-line flag
-
Returns a string containing the Erlang driver version
+ used by the runtime system. It has the form
+
Returns the number of processes currently existing at the
- local node. The value is given as an integer. This is
- the same value as returned by
-
Returns an atom describing the dynamic trace framework
+ compiled into the virtual machine. It can be
+
Returns the maximum number of simultaneously existing
- processes at the local node. The value is given as an
- integer. This limit can be configured at startup by using
- command-line flag
Returns a
Returns a binary containing a string of process and port
- information formatted as in Erlang crash dumps. For more
- information, see section Returns a binary containing a string of miscellaneous
+ system information formatted as in Erlang crash dumps.
+ For more information, see section
+
Returns information about how the user has requested - schedulers to be bound or not bound.
-Notice that although a user has requested
- schedulers to be bound, they can silently have failed
- to bind. To inspect the scheduler bindings, call
-
For more information, see command-line argument
-
Returns
Returns information about the currently used scheduler - bindings.
-A tuple of a size equal to
-
Notice that only schedulers online can be bound to logical - processors.
-For more information, see command-line argument
-
Returns a binary containing a string of loaded module
+ information formatted as in Erlang crash dumps. For more
+ information, see section
+
Returns the scheduler ID (
See also
-
Returns a string containing the Erlang machine name.
Returns the number of scheduler threads used by - the emulator. Scheduler threads online schedules Erlang - processes and Erlang ports, and execute Erlang code - and Erlang linked-in driver code.
-The number of scheduler threads is determined at - emulator boot time and cannot be changed later. - However, the number of schedulers online can - be changed at any time.
-See also
-
Returns the modified timing-level (an integer) if
+ modified timing is enabled, otherwise
Returns the number of schedulers online. The scheduler
- identifiers of schedulers online satisfy the relationship
-
For more information, see
-
Returns a string containing the version of the Erlang NIF + interface used by the runtime system. It is on the form + "<major ver>.<minor ver>".
Returns
Returns a string containing the OTP release number of the + OTP release that the currently executing ERTS application + is part of.
+As from Erlang/OTP 17, the OTP release number corresponds to
+ the major OTP version number. No
+
The
See also
Returns the default port parallelism scheduling hint used.
+ For more information, see command-line argument
+
Returns a string containing version number and some important properties, such as the number of schedulers.
Returns a string containing the processor and OS architecture the emulator is built for.
Returns
Returns the number of async threads in the async thread
- pool used for asynchronous driver calls
- (
Returns a boolean value indicating whether
-
Returns the state of the time offset:
-The time offset is preliminary, and will be changed
- and finalized later. The preliminary time offset
- is used during the preliminary phase of the
-
The time offset is final. This either because
-
The time offset is volatile. That is, it can
- change at any time. This is because
-
Returns a value identifying the
-
Returns whether a pre ERTS 7.0 backwards compatible
- compensation for sudden changes of system time is
Returns the value of the node trace control word. For
more information, see function
The runtime system rereads the CPU information available
- and updates its internally stored information about the
-
If the CPU information has changed since the last time
- it was read, the atom
Returns a string containing the version number of the emulator.
Same as
Argument
The CPU topology is now automatically detected on Windows systems with less than 33 logical processors. The runtime -- cgit v1.2.3