WebxCT / WebCT

Interactive Web UI for X-ray CT with Real-time Results
https://webct.io
8 stars 0 forks source link

Performance disparity on windows systems #78

Open WYVERN2742 opened 3 months ago

WYVERN2742 commented 3 months ago

After some testing, there are anomolous performance results when running on windows.

Platform Projections Noise LSF Time taken Images per second
Windows 360 00:47 7.63/s
Windows 360 00:36 9.84/s
Windows 360 00:24 14.91/s
Windows 360 00:05 62.07/s
Linux 360 00:13 25.95/s
Linux 360 00:12 28.13/s
Linux 360 00:08 44.88/s
Linux 360 00:04 84.68/s

In the case of Windows Vs Linux, there is a 70% performance regression. After some talk with Franck, this is assumed to be a random number generator problem. Windows seems to be wasting a ton of time in system calls, with over 50% kernel time on a 32 thread system. This behaviour is not seen on the Linux side.

Also, even within the same OS, applying LSF and Noise are a large detriment to performance. This indicates WebCT should probably have user-defined toggles to enable and disable noise.