Skip to content

Perf issue: Increased footprint in benchmark on PPC64 on 6.8.0 #9764

@CurryKitten

Description

@CurryKitten

We run a series of benchmarks on node across multiple platforms - one of which is to run AcmeAir and have some throughput over a given time.

We found that that when going from 6.7.0 to 6.8.0 there was a quite significant increase in memory footprint (typically an increase of approx 40%), but this only affected Linux PPC64 & PPC64LE

We pinned the cause of the change down to PR #8100, and it can be replicated/solved by swapping out the fs.js and module.js file between the releases before building. This issue obviously continues in to 6.9.0/6.9.1.

What we haven't been able to do is pin down exactly what is in the additional footprint. We've taken heap dumps of both 6.7.0/6.9.1 runs, and they look very close in terms of object allocation and memory usage. Looking at /proc//maps of the runs just seems to show there is more native memory in use. I've been unable to determine why this change is only affecting PPC64/PPC64LE

Metadata

Metadata

Assignees

No one assigned

    Labels

    memoryIssues and PRs related to the memory management or memory footprint.performanceIssues and PRs related to the performance of Node.js.ppcIssues and PRs related to the Power architecture.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions