LuxMark OpenCL Performance On Windows vs. Linux With Radeon/NVIDIA
I was particularly interested in running this test given the maturing state of ROCm on Linux for providing a new and modern compute stack... That coming with Linux 4.17+ will even begin to work from a mainline Linux kernel. Albeit for this round of testing was using AMD/GPUOpen's stock ROCm Ubuntu packages for 16.04 LTS as outlined on their GitHub page.
ROCm still only officially advertises OpenCL 1.2 but with some OpenCL 2.0 functionality. The Radeon Software Adrenalin driver on Windows meanwhile exposes OpenCL 2.1. The NVIDIA 390/391 drivers on Windows and Linux expose OpenCL 1.2 with some OpenCL 2.0 functionality.
Same system and setup as in the aforementioned gaming OS comparison article. The well known LuxMark OpenCL benchmark was used for this quick OpenCL Windows vs. Linux benchmarking roundabout.
With LuxMark's hotel scene, the ROCm stack on Ubuntu 16.04 LTS was significantly slower than the Radeon OpenCL driver on Windows. The NVIDIA OpenCL performance remained the same on both platforms, which is understandable since the driver code is largely shared across supported platforms.
In the microphone scene, ROCm on Linux led to better performance than on Windows. The NVIDIA driver performance remained the same.
With the Luxball HDR scene, the RX 580 now performed about the same on both platforms while the Vega GPU was slightly faster on Linux. The NVIDIA performance again was about the same.
Still working on adding some more OpenCL GPU compute benchmarks that are cross-platform to the new Phoronix Test Suite Windows support, so stay tuned for more interesting benchmarks.