Skip to content

stream: bump default highWaterMark - #50120

Closed
RafaelGSS wants to merge 5 commits into
nodejs:mainfrom
RafaelGSS:bump-highWaterMark-value
Closed

stream: bump default highWaterMark#50120
RafaelGSS wants to merge 5 commits into
nodejs:mainfrom
RafaelGSS:bump-highWaterMark-value

Conversation

@RafaelGSS

Copy link
Copy Markdown
Member

Original PR: #46608

@RafaelGSSRafaelGSS added stream Issues and PRs related to the stream subsystem. semver-major PRs that contain breaking changes and should be released in the next major version. labels Oct 10, 2023
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/streams

@nodejs-github-botnodejs-github-bot added the needs-ci PRs that need a full CI run. label Oct 10, 2023
@RafaelGSSRafaelGSS added request-ci Add this label to start a Jenkins CI on a PR. and removed needs-ci PRs that need a full CI run. labels Oct 10, 2023
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Oct 10, 2023
@nodejs-github-bot

This comment was marked as outdated.

Comment threaddoc/api/stream.md Outdated

@mcollinamcollina left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mcollinamcollina left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@benjamingrbenjamingr added the request-ci Add this label to start a Jenkins CI on a PR. label Oct 29, 2023
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Oct 29, 2023
@nodejs-github-bot

This comment was marked as outdated.

This should give a performance boost accross the board.
Given that the old limit is a decod old and memory capacity has
doubled many times since I think it is appropriate to slightly bump
the default limit.
@RafaelGSS
RafaelGSSforce-pushed the bump-highWaterMark-value branch from 4ad103c to 5d6e5c9CompareDecember 4, 2023 21:42
@RafaelGSSRafaelGSS added the request-ci Add this label to start a Jenkins CI on a PR. label Dec 4, 2023
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Dec 4, 2023
@nodejs-github-bot

This comment was marked as outdated.

@RafaelGSSRafaelGSS added the request-ci Add this label to start a Jenkins CI on a PR. label Dec 19, 2023
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@lpinca

lpinca commented Dec 26, 2023

Copy link
Copy Markdown
Member

@lpinca

lpinca commented Dec 26, 2023

Copy link
Copy Markdown
Member

@RafaelGSS the last commit does not make much sense. I don't think we should update the benchmark to use 64 MiB instead of 16 MiB.

@RafaelGSS

Copy link
Copy Markdown
MemberAuthor

@RafaelGSS the last commit does not make much sense. I don't think we should update the benchmark to use 64 MiB instead of 16 MiB.

Yeah, it was a naive attempt. Since we're getting ENOBUFS on Windows benchmarks, I believe we should reduce it? Considering the memory consumption should have increased.

@RafaelGSSRafaelGSS added the request-ci Add this label to start a Jenkins CI on a PR. label Dec 26, 2023
@lpinca

Copy link
Copy Markdown
Member

Yes, I think so.

@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Dec 26, 2023
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

lpinca added a commit to websockets/ws that referenced this pull request Dec 26, 2023
@MomenNano

Copy link
Copy Markdown

Any plans to get this to v22?

@mcollinamcollina added the request-ci Add this label to start a Jenkins CI on a PR. label Mar 8, 2024
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Mar 8, 2024
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

ronag added a commit to nxtedition/node that referenced this pull request Mar 11, 2024
This should give a performance boost accross the board.
Given that the old limit is a decod old and memory capacity has
doubled many times since I think it is appropriate to slightly bump
the default limit.
PR-URL: nodejs#52037
Refs: nodejs#46608
Refs: nodejs#50120
@trivikr

Copy link
Copy Markdown
Member

Should this be closed in favor of #52037?

ronag added a commit to nxtedition/node that referenced this pull request Mar 13, 2024
This should give a performance boost accross the board.
Given that the old limit is a decod old and memory capacity has
doubled many times since I think it is appropriate to slightly bump
the default limit.
PR-URL: nodejs#52037
Refs: nodejs#46608
Refs: nodejs#50120
nodejs-github-bot pushed a commit that referenced this pull request Mar 13, 2024
This should give a performance boost accross the board.
Given that the old limit is a decod old and memory capacity has
doubled many times since I think it is appropriate to slightly bump
the default limit.
PR-URL: #52037
Refs: #46608
Refs: #50120
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.commit-queue-squashAdd this label to instruct the Commit Queue to squash all the PR commits into the first one.semver-majorPRs that contain breaking changes and should be released in the next major version.streamIssues and PRs related to the stream subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

12 participants

@RafaelGSS@nodejs-github-bot@lpinca@MomenNano@trivikr@mcollina@mscdex@jasnell@benjamingr@rubiesonthesky@ronag@MoLow