Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOC-574][ysql] update benchmark doc - sysbench page #25194

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

sudhanshu456
Copy link
Contributor

@sudhanshu456 sudhanshu456 commented Dec 6, 2024

@netlify /v2024.1/benchmark/sysbench-ysql/

Copy link

netlify bot commented Dec 6, 2024

Deploy Preview for infallible-bardeen-164bc9 ready!

Name Link
🔨 Latest commit 6259357
🔍 Latest deploy log https://app.netlify.com/sites/infallible-bardeen-164bc9/deploys/6769d92825156000083e77f2
😎 Deploy Preview https://deploy-preview-25194--infallible-bardeen-164bc9.netlify.app/v2024.1/benchmark/sysbench-ysql/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@sudhanshu456 sudhanshu456 requested a review from premkumr December 9, 2024 09:52
@ddhodge ddhodge added the area/documentation Documentation needed label Dec 13, 2024
@sudhanshu456 sudhanshu456 self-assigned this Dec 13, 2024
docs/content/preview/benchmark/sysbench-ysql.md Outdated Show resolved Hide resolved

This installs the sysbench utility in `/usr/local/bin`.

Make sure you have the [YSQL shell](../../api/ysqlsh/) `ysqlsh` exported to the `PATH` variable.
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this not apply to other OSs?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@shaharuk-yb, can you provide an answer to this?

Choose a reason for hiding this comment

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

@sudhanshu456 I think this is resolved. I don't see it as part of diff anymore.

docs/content/preview/benchmark/sysbench-ysql.md Outdated Show resolved Hide resolved
| oltp_read_write | 2150 | 11.1 |
| oltp_multi_insert | 5450 | 4.4 |
| oltp_update_index | 2420 | 9.8 |
| oltp_update_non_index | | |
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess numbers are coming here?
What other versions should these changes be copied to?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Choose a reason for hiding this comment

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

I found this page on the public-facing documentation, which mentions the Sysbench benchmark numbers. However, this page does not specify the YB version. Are we planning to maintain these benchmark numbers at each version level going forward? If not then let update existing page with new benchmark numbers.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes. @shantanugupta-yb We are trying to maintain benchmark numbers per release going forward.

Choose a reason for hiding this comment

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

@sudhanshu456 please skip adding oltp_update_non_index and oltp_delete for now. Once we get the numbers, we can update the tables with separate diff.

@@ -111,17 +118,15 @@ $ sysbench <workload> \

## Expected results

The following results are for a 3-node cluster with each node on a c5.4xlarge AWS instance (16 cores, 32 GB of RAM, and 2 EBS volumes), all in the same AZ with the client VM running in the same AZ.
The following results are for a 3-node cluster, with each node running on a c5.2xlarge AWS instance (8 cores, 16 GiB of RAM), all in the same AZ, with a replication factor of 3 and TLS enabled.
Copy link
Contributor

Choose a reason for hiding this comment

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

Running what version of YBDB?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

They didn't mention it in the doc that was given to me. @shaharuk-yb @shantanugupta-yb can provide an input here.

Choose a reason for hiding this comment

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

The numbers are from build 2024.1.4.0-b84.

Copy link
Contributor

Choose a reason for hiding this comment

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

What about the disk configuration? cc @shantanugupta-yb

Copy link
Contributor

Choose a reason for hiding this comment

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

Lets maintain the numbers per release. We can mention the build that was run.

Choose a reason for hiding this comment

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

The disk configurations for these tests are set at IOPS: 3000 and throughput 125 MBps per node

@sudhanshu456
Copy link
Contributor Author

I've shifted the current changes to /v2024.1/benchmark/sysbench-ysql/ page, instead of preview page @ddhodge


### Run the benchmark
sudo yum install -y sysbench-1.0.0-1.el8.x86_64.rpm
```

Copy link
Contributor

Choose a reason for hiding this comment

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

where is sysbench installed?


wget https://github.com/yugabyte/sysbench/releases/download/1.0.0-yb/Sysbench.pkg

sudo installer -pkg Sysbench.pkg -target /
```

Copy link
Contributor

Choose a reason for hiding this comment

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

where is sysbench installed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/documentation Documentation needed
Projects
Status: In progress
Development

Successfully merging this pull request may close these issues.

6 participants