3 ms·
Here's my little contribution / anecdote. I worked on automated testing of a product in the general category of SDS block device. We wanted to see some "reali
by crabbone 3y ago
Here's my little contribution / anecdote. I worked on automated testing of a product in the general category of SDS block device. We wanted to see some "realistic" benchmarks (instead of totally synthetic FIO-based ones), so we decided to do, beside other things, some benchmarks of PostgreSQL on top of our block device.
At that time we've already developed a convention for what would be the "optimal" way to configure a filesystem on top of our block device -- which is a whole other story, but I won't reproduce it here. The most tempting aspect of PostgreSQL was the existence of pgbench tool that I assumed would offer some sort of a standardized workload that would allow me to compare my results to results produced by other testers on other hardware...
Little did I know how and in how many ways PostgreSQL performance was dependent on configuration. The most important pieces are the memory buffers and fsync-related stuff. Eventually, by reading more documentation and some educational material about PostgreSQL I realized that, essentially, I can make the same exact benchmark on the same exact hardware to very hundreds if not thousands of times in performance for the same exact test.
I also realized that storage's performance had very little to do with the benchmark's scores as in order to game the benchmark one would simply add more memory.
- BrentOzar 3y ago> I also realized that storage's performance had very little to do with the benchmark's scores as in order to game the benchmark one would simply add more memory. Reminds me of the time [1] Fusion-IO showed how good their drives were for SQL Server by running benchmarks with just 16GB of RAM enabled, even though the servers had 384GB RAM. Under direct questioning, they admitted that if you just used the rest of the RAM in the server, their drives didn't have any effect, and that's why they limited the server so badly for the presentation. (sigh) [1] https://ozar.me/2014/06/fact-checking-24-hours-of-pass/ https://ozar.me/2014/06/fact-checking-24-hours-of-pass/