Lack of a significant increase in performance #560
Replies: 2 comments 3 replies
-
Hi @catfoolyou . Performance depends on the application, amount of data to be transferred and the block of threads to run. Running with TornadoVM and force to use the GPU does not guarantee higher performance compared to Java. You can inspect some metrics such as the time for data transfers (copy in/out), JIT compilation times, Graal JIT compilation, and kernel timers with the Furthermore, as you point out, if the kernel time is the dominant but it runs slow, a better GPU (e.g., NVIDIA discrete GPU) will help. I recently made a video-tutorial about how to profile in TornadoVM: https://youtu.be/kOo07M7MXGA?si=kfiCs-xXGtfltBVy Hope this helps. |
Beta Was this translation helpful? Give feedback.
-
Just tested on a laptop with an RTX 3060 and a core i7 12800hx. Barely noticeable performance increase from 80 seconds with pure Java to 78 seconds with TornadoVM. |
Beta Was this translation helpful? Give feedback.
-
Just used the latest build of TornadoVM to run my Java raytracer. For whatever reason, there is no significant increase of performance.
Using the same scene (a cornell box) and the same parameters
The difference in performance is as follows
Java: 624.59 s
TornadoVM: 604.369 s
Is this because I am running on an iGPU (intel HD 520)? Should I expect to see better results on a computer with an RTX GPU?
Beta Was this translation helpful? Give feedback.
All reactions