


{"id":394849,"date":"2024-11-21T19:05:02","date_gmt":"2024-11-21T19:05:02","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/why-my-gpu-simulation-is-slower-than-cpu-simulation\/"},"modified":"2024-11-21T19:05:02","modified_gmt":"2024-11-21T19:05:02","slug":"why-my-gpu-simulation-is-slower-than-cpu-simulation","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/why-my-gpu-simulation-is-slower-than-cpu-simulation\/","title":{"rendered":"Why my GPU simulation is slower than CPU simulation"},"content":{"rendered":"<p>&lt;p&gt;I ran a simple simulation involving subwavelength structures with periodic boundary conditions on both the CPU and GPU using our workstation. The system is equipped with a Ryzen 9 7950X CPU, 128 GB of DDR5 RAM, and an RTX 4080 GPU. For a 3D simulation, the CPU completed the task in 90 seconds, while the GPU took 150 seconds. I did not enable time monitors during the GPU simulation, as the documentation suggested that they could limit GPU performance. I expected the GPU to outperform the CPU in terms of speed. Could you help me understand why the GPU was slower and how to solve this problem (if possible)&lt;\/p&gt;&lt;p&gt;<img decoding=\"async\" src=\"https:\/\/innovationspace.ansys.com\/forum\/wp-content\/uploads\/sites\/2\/2024\/11\/21-11-2024-1732215856-mceclip2.png\" \/>&lt;\/p&gt;<\/p>\n","protected":false},"template":"","class_list":["post-394849","topic","type-topic","status-publish","hentry","topic-tag-3DFDTD-1","topic-tag-gpu"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["473888","4274"],"_bbp_author_ip":["142.157.239.212"],"_btv_view_count":["219"],"_bbp_topic_status":["unanswered"],"_bbp_topic_id":["394849"],"_bbp_forum_id":["27833"],"_bbp_engagement":["4274","473888"],"_bbp_voice_count":["2"],"_bbp_reply_count":["1"],"_bbp_last_reply_id":["395243"],"_bbp_last_active_id":["395243"],"_bbp_last_active_time":["2024-11-25 20:35:55"]},"test":"lin-dengmcgill-ca"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/394849","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/394849\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=394849"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}