15 karma · joined Jan 6, 2018 (8y ago) · 18 submissions
1.
MySQL and Dynimize: 3.6M Queries per Second on a Single VM(dynimize.com ↗)
3 points · by davidyeager · 6y ago · discuss
2.
Reduce MySQL CPU Usage Through Dynamic Binary Optimization(dynimize.com ↗)
3 points · by davidyeager · 6y ago · discuss
comment 8y ago · link · parent
Dynimizer can detect a drastic workload change as you described and reoptimize in response. That’s the default operation which can be turned off. What has been observed is that if we optimized for say a write-heavy workload and then change it to read-only without reoptimizing (or vice versa), it will still show an improvement, just not as much. Hope that makes sense.
comment 8y ago · link · parent
Dynimize is the company, Dynimizer the product. We may ditch the name Dynimizer and just go with Dynimize to avoid confusion. Thoughts?
It is a general purpose approach to optimization and MySQL is just a starting point. It was chosen first because it has a broad user base and is relatively easier to support compared to many other Linux programs: single process architecture, long process lifetimes, OLTP workloads are known to spend much of their time in front-end CPU stalls on the CPU side which are effectively targeted with profile guided compiler optimizations, and it’s statically compiled. We’ve tried it on MongoDB and seen similar benefit but not supported yet. Coming soon. Windows will probably require some driver development for effective sample based profiling and will happen later on. We will improve the effectiveness of our other optimizations that don’t target front-end CPU stalls and better support multiprocess workloads with short process lifetimes, which will allow us to target many other types of programs in the future.
Hope that clarifies things a bit.
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
In terms of innacurate reads or corrupted writes, that would be a bug if it ever happens. That would not be part of normal operation and would not be expected. That said, all software including MySQL, gcc, and Linux are full of bugs and Dynimizer is not immune to that of course. However it has been stress tested thoroughly with MySQL, MariaDB, and Percona Server up to MySQL 5.7, MariaDB 10.2.
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
https://www.percona.com/live/18/sites/default/files/slides/A...
comment 8y ago · link · parent
However Dynimizer has only been thoroughly stress tested and made stable for MySQL, MariaDB, and Percona Server. Any other software should be thoroughly tested before use with Dynimizer in production. For example, I've gotten similar speedups with MongoDB however no effort has been made to make Dynimizer stable with Mongo as of yet (coming soon), So it isn't currently supported. Over time more apps will be added and we're open to suggestions.