{"id":449,"date":"2020-02-21T03:57:30","date_gmt":"2020-02-20T18:57:30","guid":{"rendered":"https:\/\/wp.study3.biz\/?p=449"},"modified":"2020-02-21T04:09:51","modified_gmt":"2020-02-20T19:09:51","slug":"centos-linux-release-7-7-1908-titan-v-x2-cuda-10-1-samples-nbody-%e3%82%92%e5%8d%98%e7%b2%be%e5%ba%a6-%e5%80%8d%e7%b2%be%e5%ba%a6%e3%81%a7%e5%8b%95%e4%bd%9c%e3%81%95%e3%81%9b%e3%81%a6%e3%81%bf","status":"publish","type":"post","link":"https:\/\/wp.study3.biz\/?p=449","title":{"rendered":"CentOS Linux release 7.7.1908 TITAN V x2 CUDA 10.1 Samples nbody \u3092\u5358\u7cbe\u5ea6 \u500d\u7cbe\u5ea6\u3067\u52d5\u4f5c\u3055\u305b\u3066\u307f\u305f 17596.655 6569.545 GFLOP s"},"content":{"rendered":"<p>[chibi@centos7 nbody]$ cat \/etc\/redhat-release<br \/>\nCentOS Linux release 7.7.1908 (Core)<br \/>\n[chibi@centos7 nbody]$ nvcc -V<br \/>\nnvcc: NVIDIA (R) Cuda compiler driver<br \/>\nCopyright (c) 2005-2019 NVIDIA Corporation<br \/>\nBuilt on Sun_Jul_28_19:07:16_PDT_2019<br \/>\nCuda compilation tools, release 10.1, V10.1.243<br \/>\n[chibi@centos7 nbody]$ sudo hddtemp \/dev\/sda<br \/>\n[sudo] chibi password:<br \/>\n\/dev\/sda: ST2000LX001-1RG174: 18\u00b0C<br \/>\n[chibi@centos7 nbody]$ .\/nbody &#8211;benchmark &#8211;numbodies=256000 -numdevices=2<br \/>\nRun &#8220;nbody -benchmark [-numbodies=&lt;numBodies&gt;]&#8221; to measure performance.<br \/>\n-fullscreen (run n-body simulation in fullscreen mode)<br \/>\n-fp64 (use double precision floating point values for simulation)<br \/>\n-hostmem (stores simulation data in host memory)<br \/>\n-benchmark (run benchmark to measure performance)<br \/>\n-numbodies=&lt;N&gt; (number of bodies (&gt;= 1) to run in simulation)<br \/>\n-device=&lt;d&gt; (where d=0,1,2&#8230;. for the CUDA device to use)<br \/>\n-numdevices=&lt;i&gt; (where i=(number of CUDA devices &gt; 0) to use for simulation)<br \/>\n-compare (compares simulation results running once on the default GPU and once on the CPU)<br \/>\n-cpu (run n-body simulation on the CPU)<br \/>\n-tipsy=&lt;file.bin&gt; (load a tipsy model file for simulation)<\/p>\n<p>NOTE: The CUDA Samples are not meant for performance measurements. Results may vary when GPU Boost is enabled.<\/p>\n<p>number of CUDA devices = 2<br \/>\n&gt; Windowed mode<br \/>\n&gt; Simulation data stored in system memory<br \/>\n&gt; Single precision floating point simulation<br \/>\n&gt; 2 Devices used for simulation<br \/>\nGPU Device 0: &#8220;TITAN V&#8221; with compute capability 7.0<\/p>\n<p>&gt; Compute 7.0 CUDA device: [TITAN V]<br \/>\n&gt; Compute 7.0 CUDA device: [TITAN V]<br \/>\nnumber of bodies = 256000<br \/>\n256000 bodies, total time for 10 iterations: 744.869 ms<br \/>\n= 879.833 billion interactions per second<br \/>\n<strong>= 17596.655 single-precision GFLOP\/s at 20 flops per interaction<\/strong><br \/>\n[chibi@centos7 nbody]$ .\/nbody &#8211;benchmark -fp64 &#8211;numbodies=256000 -numdevices=<br \/>\n2<br \/>\nRun &#8220;nbody -benchmark [-numbodies=&lt;numBodies&gt;]&#8221; to measure performance.<br \/>\n-fullscreen (run n-body simulation in fullscreen mode)<br \/>\n-fp64 (use double precision floating point values for simulation)<br \/>\n-hostmem (stores simulation data in host memory)<br \/>\n-benchmark (run benchmark to measure performance)<br \/>\n-numbodies=&lt;N&gt; (number of bodies (&gt;= 1) to run in simulation)<br \/>\n-device=&lt;d&gt; (where d=0,1,2&#8230;. for the CUDA device to use)<br \/>\n-numdevices=&lt;i&gt; (where i=(number of CUDA devices &gt; 0) to use for simulation)<br \/>\n-compare (compares simulation results running once on the default GPU and once on the CPU)<br \/>\n-cpu (run n-body simulation on the CPU)<br \/>\n-tipsy=&lt;file.bin&gt; (load a tipsy model file for simulation)<\/p>\n<p>NOTE: The CUDA Samples are not meant for performance measurements. Results may vary when GPU Boost is enabled.<\/p>\n<p>number of CUDA devices = 2<br \/>\n&gt; Windowed mode<br \/>\n&gt; Simulation data stored in system memory<br \/>\n&gt; Double precision floating point simulation<br \/>\n&gt; 2 Devices used for simulation<br \/>\nGPU Device 0: &#8220;TITAN V&#8221; with compute capability 7.0<\/p>\n<blockquote><p>Compute 7.0 CUDA device: [TITAN V]<br \/>\n&gt; Compute 7.0 CUDA device: [TITAN V]<br \/>\nnumber of bodies = 256000<br \/>\n256000 bodies, total time for 10 iterations: 2992.719 ms<br \/>\n= 218.985 billion interactions per second<br \/>\n<strong>= 6569.545 double-precision GFLOP\/s at 30 flops per interaction<\/strong><\/p><\/blockquote>\n<p><a href=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/CentOS-Linux-release-7.7.1908-TITAN-V-x2-CUDA-10.1-Samples-nbody-\u5358\u7cbe\u5ea6-\u500d\u7cbe\u5ea6-17596.655-6569.545-GFLOP-s.txt\">\u30c7\u30fc\u30bf\u8a73\u7d30\u3000CentOS Linux release 7.7.1908 TITAN V x2 CUDA 10.1 Samples nbody \u5358\u7cbe\u5ea6 \u500d\u7cbe\u5ea6 17596.655 6569.545 GFLOP s<\/a><\/p>\n<p>GPU\u6e29\u5ea6\u63a8\u79fb <a href=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2020\/02\/CentOS-Linux-release-7.7.1908-TITAN-V-x2-CUDA-10.1-Samples-nbody-\u5358\u7cbe\u5ea6-\u500d\u7cbe\u5ea6-17596.655-6569.545-GFLOP-s-nvidia-smi.txt\">CentOS Linux release 7.7.1908 TITAN V x2 CUDA 10.1 Samples nbody \u5358\u7cbe\u5ea6 \u500d\u7cbe\u5ea6 17596.655 6569.545 GFLOP s nvidia-smi<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>[chibi@centos7 nbody]$ cat \/etc\/redhat-release CentOS Linux release 7.7.1908 (Core) [chibi@centos7 nbody]$ nvc &hellip; <a href=\"https:\/\/wp.study3.biz\/?p=449\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[19,18],"tags":[],"class_list":["post-449","post","type-post","status-publish","format-standard","hentry","category-centos7","category-nvidia"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/449","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=449"}],"version-history":[{"count":3,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/449\/revisions"}],"predecessor-version":[{"id":459,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/449\/revisions\/459"}],"wp:attachment":[{"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=449"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=449"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=449"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}