Skip to content

Fix IOStats for Nimble#10216

Closed
helfman wants to merge 1 commit intofacebookincubator:mainfrom
helfman:export-D58559606
Closed

Fix IOStats for Nimble#10216
helfman wants to merge 1 commit intofacebookincubator:mainfrom
helfman:export-D58559606

Conversation

@helfman
Copy link
Copy Markdown
Contributor

@helfman helfman commented Jun 15, 2024

Summary:
IOStats are being calculated in different layers of the IO stacks.
Since Nimble and DWRF don't share parts of the stack, some IOStats calculation were not affecting Nimble.

Probably the right thing to do is to move all IOStats calculations to the bottom layers (WSFile, cache and SSD reads), where IO is actually performed (and these layers are shared beteen Nimble nad DWRF).
But it seems like that for this change, we need a design, clarifying what we actually want to track and how to track it.

Since we don't have the cycles to create this design right now, I opted for a simple solution, where I create a simple layer on the Nimble side, which will calculate these stats.

Reviewed By: Yuhta

Differential Revision: D58559606

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 15, 2024
@netlify
Copy link
Copy Markdown

netlify bot commented Jun 15, 2024

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit 9e126c1
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/66762d4b6fe43200085397dd

@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D58559606

@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D58559606

@helfman helfman force-pushed the export-D58559606 branch from 4247f01 to 440d444 Compare June 17, 2024 16:39
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D58559606

@helfman helfman force-pushed the export-D58559606 branch from 440d444 to d933c52 Compare June 17, 2024 16:44
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D58559606

@helfman helfman force-pushed the export-D58559606 branch from d933c52 to b414aeb Compare June 17, 2024 16:49
helfman added a commit to helfman/nimble that referenced this pull request Jun 20, 2024
Summary:
X-link: facebookincubator/velox#10216

IOStats are being calculated in different layers of the IO stacks.
Since Nimble and DWRF don't share parts of the stack, some IOStats calculation were not affecting Nimble.

Probably the right thing to do is to move all IOStats calculations to the bottom layers (WSFile, cache and SSD reads), where IO is actually performed (and these layers are shared beteen Nimble nad DWRF).
But it seems like that for this change, we need a design, clarifying what we actually want to track and how to track it.

Since we don't have the cycles to create this design right now, I opted for a simple solution, where I create a simple layer on the Nimble side, which will calculate these stats.

Reviewed By: Yuhta, sdruzkin

Differential Revision: D58559606
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D58559606

@helfman helfman force-pushed the export-D58559606 branch from b414aeb to 82f9f4e Compare June 20, 2024 16:48
helfman added a commit to helfman/nimble that referenced this pull request Jun 22, 2024
Summary:
Pull Request resolved: facebookincubator#65

X-link: facebookincubator/velox#10216

IOStats are being calculated in different layers of the IO stacks.
Since Nimble and DWRF don't share parts of the stack, some IOStats calculation were not affecting Nimble.

Probably the right thing to do is to move all IOStats calculations to the bottom layers (WSFile, cache and SSD reads), where IO is actually performed (and these layers are shared beteen Nimble nad DWRF).
But it seems like that for this change, we need a design, clarifying what we actually want to track and how to track it.

Since we don't have the cycles to create this design right now, I opted for a simple solution, where I create a simple layer on the Nimble side, which will calculate these stats.

Reviewed By: Yuhta, sdruzkin

Differential Revision: D58559606
@helfman helfman force-pushed the export-D58559606 branch from 82f9f4e to ac9fb99 Compare June 22, 2024 01:00
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D58559606

helfman added a commit to helfman/nimble that referenced this pull request Jun 22, 2024
Summary:
Pull Request resolved: facebookincubator#65

X-link: facebookincubator/velox#10216

IOStats are being calculated in different layers of the IO stacks.
Since Nimble and DWRF don't share parts of the stack, some IOStats calculation were not affecting Nimble.

Probably the right thing to do is to move all IOStats calculations to the bottom layers (WSFile, cache and SSD reads), where IO is actually performed (and these layers are shared beteen Nimble nad DWRF).
But it seems like that for this change, we need a design, clarifying what we actually want to track and how to track it.

Since we don't have the cycles to create this design right now, I opted for a simple solution, where I create a simple layer on the Nimble side, which will calculate these stats.

Reviewed By: Yuhta, sdruzkin

Differential Revision: D58559606
Summary:
X-link: facebookincubator/nimble#65

Pull Request resolved: facebookincubator#10216

IOStats are being calculated in different layers of the IO stacks.
Since Nimble and DWRF don't share parts of the stack, some IOStats calculation were not affecting Nimble.

Probably the right thing to do is to move all IOStats calculations to the bottom layers (WSFile, cache and SSD reads), where IO is actually performed (and these layers are shared beteen Nimble nad DWRF).
But it seems like that for this change, we need a design, clarifying what we actually want to track and how to track it.

Since we don't have the cycles to create this design right now, I opted for a simple solution, where I create a simple layer on the Nimble side, which will calculate these stats.

Reviewed By: Yuhta, sdruzkin

Differential Revision: D58559606
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D58559606

@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in 1ae6224.

facebook-github-bot pushed a commit to facebookincubator/nimble that referenced this pull request Jun 26, 2024
Summary:
Pull Request resolved: #65

X-link: facebookincubator/velox#10216

IOStats are being calculated in different layers of the IO stacks.
Since Nimble and DWRF don't share parts of the stack, some IOStats calculation were not affecting Nimble.

Probably the right thing to do is to move all IOStats calculations to the bottom layers (WSFile, cache and SSD reads), where IO is actually performed (and these layers are shared beteen Nimble nad DWRF).
But it seems like that for this change, we need a design, clarifying what we actually want to track and how to track it.

Since we don't have the cycles to create this design right now, I opted for a simple solution, where I create a simple layer on the Nimble side, which will calculate these stats.

Reviewed By: Yuhta, sdruzkin

Differential Revision: D58559606

fbshipit-source-id: 7a13710e5273bd07f19106564c86cce88902da38
@conbench-facebook
Copy link
Copy Markdown

Conbench analyzed the 1 benchmark run on commit 1ae62247.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants