You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 26, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 26, 2021. It is now read-only.
@sebastienros I am wondering how to best help @bgrainger get started. I think if we document the steps as we go, it can become a useful template for subsequent providers. This what I believe we will need:
Define performance baseline for MySQL, i.e. a identify a repeatable set of tests that anyone can use to estimate the maximum throughput on any given client and server configuration (this test can use any tech, i.e. it does not need to use .NET).
Provide any post-cloning instructions for setting up the tests
Provide tips and links to useful tools to use for profiling and diagnosing
Summarize learnings from improvements applied so that other providers can leverage them (it would be great if @roji and @damageboy could do this for the Npgsql improvements applied so far in Incremental improvements to Npgsql #3)
Based on theseblogposts, it seems like the standard benchmarking software for MySQL is sysbench. However, it currently excludes Windows (“As of sysbench 1.0 support for native Windows builds was dropped.”), so it can't work for “any given client and server configuration”.
Thanks, that's useful information and we can get the baseline from a Linux machine it's not an issue. I will run it, then give you the numbers of the benchmark with the latest MySQL connector version.
Just found about this comment. Will run it right away. @bgrainger can you ping me on skype (sebastienros) so we can make faster progress? Latency matters ;)
I was curious to know how close MySqlConnector was to maximum throughput, so I learnt the Registered I/O Networking Extensions for Winsock ("how hard could it be?") and wrote a (Windows-only) client that queries a MySQL Server as quickly as possible using native code and registered I/O.
Activity
divega commentedon Dec 12, 2017
@bgrainger thanks for volunteering!
@sebastienros I am wondering how to best help @bgrainger get started. I think if we document the steps as we go, it can become a useful template for subsequent providers. This what I believe we will need:
bgrainger commentedon Dec 13, 2017
sebastienros commentedon Dec 13, 2017
Thanks, that's useful information and we can get the baseline from a Linux machine it's not an issue. I will run it, then give you the numbers of the benchmark with the latest MySQL connector version.
divega commentedon Jan 23, 2018
@sebastienros did you have a chance to look at this? It would be great if we can give @bgrainger something to work on 😄
sebastienros commentedon Feb 16, 2018
Just found about this comment. Will run it right away.
@bgrainger can you ping me on skype (sebastienros) so we can make faster progress? Latency matters ;)
bgrainger commentedon Mar 7, 2018
I was curious to know how close MySqlConnector was to maximum throughput, so I learnt the Registered I/O Networking Extensions for Winsock ("how hard could it be?") and wrote a (Windows-only) client that queries a MySQL Server as quickly as possible using native code and registered I/O.
Compile the code from: https://github.com/bgrainger/MySqlBench
Or download a precompiled binary: https://github.com/bgrainger/MySqlBench/releases