▲ | meling a day ago | |
What’s the overhead of running in docker vs bare metal? | ||
▲ | tracker1 4 hours ago | parent | next [-] | |
Depends on what you are testing and how... Virtual network adapters, routing, file system redirection, etc. all have some overhead and will impact things differently. IME U haven't seen too many things affect performance more than 3-5% on native Linux. If you're using Windows or Mac as a host OS, then volume mounts to the host in particular are really going to affect the results. | ||
▲ | lmazgon 13 hours ago | parent | prev [-] | |
I can't say. It's definitely not the same as running on bare metal. Then again, any benchmark in a test environment is just an approximation of the real thing. To see how anything will act in the real environment, you have to run it there. In our use case we wanted a way to quickly and easily set up benchmarks that would allow us to compare our software to our competitors under the same conditions. Given that Benchi can run the same benchmark scenario for different tools, the results are comparable with each other. We also run all benchmarks on an empty AWS EC2 instance, to minimize any other factors. But does that mean that the collected results show the absolute limit of what the tools can handle? Probably not. Under different conditions, results can change, but that's just the nature of benchmarks. |