-
Notifications
You must be signed in to change notification settings - Fork 219
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
DB ram drive work all over including Windows and Mac #9
Comments
I created a benchmark to validate this recommendation. Postgres:
Steps to run the benchmark (WSL2, Linux):
Results (higher is better):
On Disk:
On Ram:
MySQL
Steps to run the benchmark (WSL2, Linux):
To run with
Results (higher is better):
On Disk:
Memory Engine:
On Ram:
|
Another interesting thing I learned is there are 2 types of "on-ram" file-systems in Linux |
@goldbergyoni @jhenaoz @Thormod This is what I tried:
And then:
But it slower than running it on disk. |
These benchmarks are gold, once we go live and show these stats (in nice graphs, even maybe Video), it will greatly help in building trust with the audience. Who doesn't want to get 3x timer faster tests?:) Core thoughts:
My main point here - This great value should be presented in the environment where 90% of the tests run - CI and Mac
My results: In-mem Disc
|
Added mysql benchmark results. @goldbergyoni Agree with all your thoughts. |
It seems like we set the ramdisk appropriately. @goldbergyoni @Thormod @jhenaoz I think my lack of RAM makes my benchmarks inaccurate on mac :( |
I'm checking also on Mac. Anyway, 3x times faster sounds sensible given that modern SSD are super-fast. In anyway, I think we have enough to show some solid data, I suggest starting with showing the performance base-line, and then improve upon it. We can show that just-like-this, without advanced optimizations, 100 tests run in 5 seconds (hopefully) which by itself is a great argument and prove that the setup is interesting (e.g. leave the docker-compose up on dev). Practically, I would do the following:
If you want me to do some of these tasks, I'll be glad to help. Thoughts? |
I did as you say. |
@mikicho I would move the great analysis above (with the numbers) to the performance recipe |
@rluvaton Interesting. please add your mac and OS versions |
No description provided.
The text was updated successfully, but these errors were encountered: