NodeJS

This page describes the Optimization Pack for the component type NodeJS.

Metrics

MetricUnitDescription

cpu_used

CPUs

The total amount of CPUs used

cpu_util

percents

The average CPU utilization % across all the CPUs (i.e., how much time on average the CPUs are busy doing work)

memory_used

bytes

The total amount of memory used

memory_util

percent

The average memory utilization %

nodejs_gc_heap_used

bytes

GC heap used

nodejs_rss

bytes

Process Resident Set Size (RSS)

nodejs_v8_heap_total

bytes

V8 heap total

nodejs_v8_heap_used

bytes

V8 heap used

nodejs_number_active_threads

threads

Number of active threads

Parameters

ParameterTypeUnitDefault ValueDomainRestartDescription

v8_allocation_size_pretenuring

categorical

true

true, false

yes

Pretenure with allocation sites

v8_min_semi_space_size

integer

megabytes

0

01048576

yes

Min size of a semi-space, the new space consists of two semi-spaces

v8_min_semi_space_size

integer

megabytes

0

01048576

yes

Max size of a semi-space, the new space consists of two semi-spaces

v8_semi_space_grouth_factor

integer

2

0100

yes

Factor by which to grow the new space

v8_max_old_space_size

integer

megabytes

0

01048576

yes

Max size of the old space

v8_max_heap_size

integer

megabytes

0

01048576

yes

Max size of the heap both max_semi_space_size and max_old_space_size take precedence. All three flags cannot be specified at the same time.

v8_initial_heap_size

integer

megabytes

0

01048576

yes

Initial size of the heap

v8_initial_old_space_size

integer

megabytes

0

01048576

yes

Initial old space size

v8_parallel_scavenge

categorical

true

true, false

yes

Parallel scavenge

v8_scavenge_task_trigger

integer

80

1100

yes

Scavenge task trigger in percent of the current heap limit

v8_scavenge_separate_stack_scanning

categorical

false

true, false

yes

Use a separate phase for stack scanning in scavenge

v8_concurrent_marking

categorical

true

true, false

yes

Use concurrent marking

v8_parallel_marking

categorical

true

true, false

yes

Use parallel marking in atomic pause

v8_concurrent_sweeping

categorical

true

true, false

yes

Use concurrent sweeping

v8_heap_growing_percent

integer

0

099

yes

Specifies heap growing factor as (1 + heap_growing_percent/100)

v8_os_page_size

integer

kylobytes

0

01048576

yes

Override OS page size

v8_stack_size

integer

kylobytes

984

161048576

yes

Default size of stack region v8 is allowed to use

v8_single_threaded

categorical

false

true, false

yes

Disable the use of background tasks

v8_single_threaded_gc

categorical

false

true, false

yes

Disable the use of background gc tasks

Last updated