-
Notifications
You must be signed in to change notification settings - Fork 575
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
performance #218
Comments
We haven't done much performance test recently. And we haven't start tuning performance at all. Our previous preliminary benchmark shows a decent performance (at least to our satisfaction) without tuning, with a decent network and SSD. |
@yasker Thanks for giving such nice tool to manage volumes. Though, I tried to test performance of MySQL db using longhorn storageclass & observed huge performance issue then running a MySQL instance without PV or running MySQL inside plain docker container or running it on my local machine. I didn't want to spend so much time on this, so just created one simple table & stored proc to insert some test data. CREATE TABLE DELIMITER $$ Query executed from phpmyadmin on all 3 instances:
Time taken to execute query: Avg - 0.750 sec
Time taken to execute query: Avg -0.840 sec
Time taken to execute query: Avg - 8.939 sec After spending my 1 day, I am still trying to solve this problem using Please let me know, if I am doing something wrong with longhorn. Have you ever faced such issue or tried something similar? |
@AmreeshTyagi Thanks for the report. I think your test case is IOPS intensive, which we are aware that there is plenty of room for improvement. With Longhorn, you need to have a decent network connecting the nodes, which can be a bottleneck. I've just tried your case in Digital Ocean and GKE, both give me around 4.7s. With the Longhorn become more feature complete and better in the usability, we're starting to shift our focus to the performance. |
@yasker Thanks for the confirmation. |
Hi everyone, Results are biasedDo not take them into account
@yasker write performance is low, for you it seems correct ? (bonnie is IOPS intensive i guess) |
@Moumouls This result is a bit weird. On the one side, read performance is way too high, 3G/per second is unlikely real, I suspect there is a cache; on the other side, the write performance is way too low, I suspect the CPU is the bottombeck with small blocks. If it's IOPS intense, it's better if we can know the block size, and IOPS per second. Also, it's interesting to see what's the result of Ceph. Also, we haven't spent much effort on tuning Longhorn's performance. So you can expect much more in the future release. When we test, we normally use FIO for block device benchmark, with a few different block sizes, and make sure the data is written in direct IO mode. You may want to give FIO a try. |
@yasker thanks for the tips. I'have updated my comment.
In real use case performance seems now ok ! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
great job, i'm very interesting in this block project, i want to find some block storage for mysql storage system
it some performance about IOPS compare with ceph? @yasker thanks.
The text was updated successfully, but these errors were encountered: