Skip to content

V8 idle notification is too aggressive #5455

@haitaoli

Description

@haitaoli

Since upgrading from node 0.10 to 4.2.3, the average response time of my app nearly doubled. It appears to be related to GC. I set up a test environment with 2 identical hosts, one running with --nouse_idle_notification and the other without. Then I count the number of requests that take more than 150ms to finish. The host without --nouse_idle_notification parameter accounts for more than 70% of the total slow responses. @jkrems pointed me to this link https://nodejs.org/en/blog/release/v0.10.0/#latency-and-idle-garbage-collection, which seems to indicate the idle notification has been removed a long time ago to improve performance. Was the idle notification turned back on in later versions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionIssues that look for answers.v8 engineIssues and PRs related to the V8 dependency.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions