<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Napassakorn Saenieo on Medium]]></title>
        <description><![CDATA[Stories by Napassakorn Saenieo on Medium]]></description>
        <link>https://medium.com/@DrGMark7?source=rss-e78c1ecf8ac7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*0w07jAXe5eWmsSaFS_s_UA.jpeg</url>
            <title>Stories by Napassakorn Saenieo on Medium</title>
            <link>https://medium.com/@DrGMark7?source=rss-e78c1ecf8ac7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 16:54:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@DrGMark7/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[รีวิว Gadi Supercomputer [Australia]]]></title>
            <link>https://medium.com/@DrGMark7/gadi-supercomputer-australia-efdb480e1137?source=rss-e78c1ecf8ac7------2</link>
            <guid isPermaLink="false">https://medium.com/p/efdb480e1137</guid>
            <category><![CDATA[hpc-data-center]]></category>
            <category><![CDATA[supercomputer]]></category>
            <category><![CDATA[highperformance-computing]]></category>
            <dc:creator><![CDATA[Napassakorn Saenieo]]></dc:creator>
            <pubDate>Tue, 03 Sep 2024 18:25:01 GMT</pubDate>
            <atom:updated>2024-09-04T09:31:34.838Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/862/0*CMy4EdEOM7xy6V9m" /><figcaption>Ref <a href="https://www.abc.net.au/news/2017-07-10/meet-raijin-the-supercomputer-punching-out-data-for-researchers/8687104">https://www.abc.net.au/news/2017-07-10/meet-raijin-the-supercomputer-punching-out-data-for-researchers/8687104</a></figcaption></figure><p>วันนี้ผมจะมา Review การใช้งาน Supercomputer ของประเทศออสเตรเลียกันครับโดยผมได้มีโอกาสใช้ในการ Benchmark Software ในทางเคมีตัวนึง [hoomd] แต่ผมขอไม่ลงรายละเอียดเกี่ยวกับเรื่องตัว Software นะครับ</p><p>Gadi เป็น HPC (High Performance Computer) System ของประเทศออสเตรเลียเปิดใช้งานในช่วงปี 2020 โดยอันดับในการ Submit <em>TOP500 </em>ในตอนนั้นอยู่ที่อันดับ 24 [06/2020] (TOP500 จะมีการจัดอันดับปีล่ะ 2 ครั้ง) ได้ความเร็วอยู่ที่ <strong>9.26</strong> PFlops</p><h3>Compare with LANTA</h3><p>ปัจจุบัน Gadi นั้นอยู่อันดับที่ 103 ถ้าเทียบกับ LANTA Supercomputer ของฝั่งไทย อันดับปัจจุบันจะอยู่ที่ 116 ซึ่งมีความเร็วอยู่ที่ <strong>8.15</strong> PFlops ซึ่ง Supercomputer ทั้ง 2 ไม่ได้มีการ Submit FLops ที่เพิ่มมากขึ้นเลย ณ วันที่เขียน แต่จะว่ากันที่เรื่องของ ความเร็วทั้งเครื่องไม่ได้ การเปรียบเทียบ Supercomputer ในมุมมองคนใช้อาจจะต้องดูหลายๆอย่าง ไม่ว่าจะเป็น Cost ,Software Provide, User friendly</p><h3>Gadi Structure</h3><p>Gadi นั้นมีจำนวน Node มากถึง 4,962 node</p><h4>Technical Specifications</h4><p>Gadi contains more than 250,000 CPU cores, 930 Terabytes of memory and 640 GPUs.</p><ul><li><strong>3,074 nodes</strong> each containing <strong>two 24-core Intel Xeon Scalable ‘Cascade Lake’ processors</strong> and <em>192 Gigabytes of memory</em></li><li><strong>720 nodes</strong> each with <strong>two 52-core Intel Xeon Scalable ‘Sapphire Rapids’ processors</strong> and <em>512 Gigabytes of memory</em></li><li><strong>804 nodes</strong> each with <strong>two 14-core Intel ‘Broadwell’ processors</strong></li><li><strong>192 nodes</strong> each with <strong>two 16-core Intel ‘Skylake’ processors</strong></li><li><strong>160 nodes</strong> each containing <strong>four Nvidia V100 GPUs</strong> and two 24-core Intel Xeon Scalable ‘Cascade Lake’ processors.</li><li><strong>10 nodes</strong> each with <strong>two 14-core Intel ‘Broadwell’ processors</strong> and <em>512 Gigabytes of memory</em></li><li><strong>2 nodes</strong> of the <strong>NVIDIA DGX A100</strong> system, with 8 A100 GPUs per node.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/920/0*szt-LTOrK8vO9FiA" /><figcaption>ref <a href="https://nci.org.au/our-systems/hpc-systems">https://nci.org.au/our-systems/hpc-systems</a></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/920/0*XgjL1CXIr1nHCq9P" /><figcaption>ref <a href="https://nci.org.au/our-systems/hpc-systems">https://nci.org.au/our-systems/hpc-systems</a></figcaption></figure><p>จากโครงสร้าง โดยสรุปของ Gadi อธิบายง่ายๆว่ามี</p><ul><li>Compute Node 4790 <strong>nodes </strong>ในที่นี้อาจจะแบ่งได้อีกเป็น High Mem Node</li><li>GPU Node 162 <strong>nodes </strong>มีทั้ง V100, A100</li></ul><p>โดยใน Compute Node จะเป็นลักษณะที่จะมี CPU แยกย่อยข้างในทั้งหมด 5 รุ่น ก็จะถูกแบ่งออกไปเป็นชื่อเรียกของ Cluster กลุ่มนั้น ตามแต่ประเภทที่จะใช้งาน (Cost ก็ไม่เท่ากันนะ) ก็มีตั้งแต่ Node ล่ะ 192GB ไปจนถึง 512GB ในส่วนของ Node GPU นั้นก็จะมี Nvidia V100 160 Node , Node ล่ะ 4 ก็ทั้งหมด 640 ใบ มี Nvidia A100 อีก 2 Node , Node ล่ะ 8 ใบ มี 16 ใบทั้งหมด (ตรงนี้แอบน้อยกว่า LANTA : <em>fact lanta มี A100 ทั้งหมด 704 ใบ)</em></p><p>ในส่วนของ CPU ที่ทาง Gadi มีให้นั้นค่อนข้างหลากหลายเพราะมี Intel ผสมกับ AMD ใน System ด้วยทำให้ User ที่เข้ามาใช้งานก็มีตัวเลือกที่หลากหลายมากขึ้น เพราะในการคำนวณขึ้นสูง Software บางตัวอาจไม่รองรับ Intel เสมอไปและบางตัวก็ไม่รอบรับ AMD เสมอไป</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/920/0*7M-XY8cFFopnvk0E" /></figure><p>ในส่วนของ Network ที่ คุยกันระหว่าง Node ก็ใช้เป็น Mellanox HDR Infiniband จากทาง Nvidia ซึ่งมีความเร็วที่สูงถึง 200 Gbps ต้องอธิบายก่อนว่า Network ที่อยู่ใน Supercomputer ไม่ได้หมายถึง Internet ที่เราใช้กันทุกวันนี้ พวกนี้เราเรียน High-Performance Interconnect หรือพูดง่ายๆก็คือการคุยกันเองภายใน มันเลยมีความเร็วที่สูงได้ขนาดนี้</p><p>โดยระบบทั้งหมดใน โลกของ HPC มันก็จะมีผู้ให้บริการติดตั้งรับออกแบบ เหมือนกันซึ่ง Gadi นั้นใช้ Manufacturer ของ Fujitsu / Lenovo</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*B-jNWp4uOBdbT_k6tG8fDA.png" /><figcaption>Pie Chart Market Cap 2024 ref <a href="https://www.top500.org/">https://www.top500.org/</a></figcaption></figure><h3>Software Provide</h3><p>ในส่วนของ Software ที่ให้บริการนั้นถือว่าเยอะมากๆ และแบ่งเป็นระบบที่ชัดเจน สบายตาเลยทีเดียว หลักๆก็จะมีตั้งแต่ Intel HPC Kit ไปจนถึง Nvidia HPC kit , cuda version 11–12 , Intel MPI , OpenMPI , Python2–3.10, libfabric, matlab, Pytorch, Tensorflow มากม่ายกว่าอีก 200 รายการ</p><p>OS : Rocky Linux 8</p><p>Job scheduler : PBS (Lanta ใช้เป็น Slurm เจ้าดัง)</p><p>คนที่ไม่เคยใช้ก็อาจจะไม่ชินกันเลยเพราะ cmd และ flag เพราะไม่เหมือนกันเลยแต่ Concept การใช้งานเหมือนกันแน่นอน อาจจะต้องเปิดตัวเทียบไปด้วยตอนใช้ แต่โดยรวมแล้วแอบเข้าใจยากกว่า Slurm นิดนึง</p><p>การใช้งานเราจะต้องสมัคร ระบบของ NCI (<a href="https://www.education.gov.au/national-collaborative-research-infrastructure-strategy-ncris">National Collaborative Research Infrastructure Strategy</a>) จากนั้นจะใช้หรือยังไงก็สมัครตามระบบเค้าได้เลย (วันนี้ไม่ได้มาสอนสมัคร 555+) จากนั้นเค้าก็จะมีหน้า web-page ให้เราเข้าไป Add Project เติมเงิน เติมงาน โดยที่นี้เค้าจะเรียกว่า SU พอสมัครเค้าก็จะให้ Account ที่สามารถ ssh เข้าไปได้</p><p><strong>Job Cost (SU)</strong> = Queue Charge Rate ✕ Max (NCPUs, Memory Proportion) ✕ Walltime Used (Hours)</p><p>เข้ามาก็ลองเช็คกระเป๋าตังค์เราเลย nci_account -P xxxx</p><pre>Usage Report: Project=xxxx Period=2024.q3<br>=============================================================<br>    Grant:     5.00 KSU<br>     Used:     9.33 SU<br> Reserved:     0.00 SU<br>    Avail:     4.99 KSU<br><br>Storage Usage Report: Project=xxxx<br>=============================================================<br>Filesystem        Used     iUsed    Allocation    iAllocation<br>scratch2       1.13 GiB   20.69 K     1.00 TiB       202.00 K<br>=============================================================</pre><p>อันนี้ใช้ไปหน่อยนึงล่ะ ก็จะมี Stroage ที่ให้กับ SU ที่ใช้ได้</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LBJ--HadSEikM6I7y1qBKw.png" /><figcaption>Change Rate</figcaption></figure><h3>Ecosystem</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1D_xG1sP_gcBzxFZvS9Y5A.png" /><figcaption>Reference <a href="https://opus.nci.org.au/display/Help/Introduction+to+Gadi?preview=/144277624/325026944/NCI_i2g_202408.pdf">https://opus.nci.org.au/display/Help/Introduction+to+Gadi?preview=/144277624/325026944/NCI_i2g_202408.pdf</a></figcaption></figure><p>โดยการใช้การก็จะมี EcoSystem ของ path ต่างๆการใช้งานประมาณนี้ ส่วนตัวผมยังไม่ได้ลองใช้อะไรมากอาจจะรีวิวอะไรได้ไม่มากครับ โดยตัวที่น่าสนใจก็คือตัว</p><p>/g/data นั้นคือ Global data filesystems เป็นที่ Public Project ที่ถูกรันบนเครื่องนี้เค้าจะมีการเก็บ Public Resource ที่เค้าใช้ไว้ตรงนี้โดยนักวิจัยบางคนเค้าจะ Build Module อะไรที่น่าใช้ไว้แล้ว เพราะเราอย่าลืมว่าการใช้ HPC การ apt install, pip บางทีนั้นทำไม่ได้ง่ายๆเพราะเป็นเรื่องของการ Management System หลายๆอย่าง ในนี้เค้าก็มีทำตัว Conda ไว้ผมเลยไปเอามาใช้ ส่วนถามว่ารู้ได้ยังไงก็ ต้องไปอ่านใน post discuss ของคน Australia กันครับ 555</p><blockquote>ปล.ใช้งานจากประเทศไทย Latency อยู่ที่ประมาณ 100ms-200ms เลยครับ</blockquote><h3>Summary</h3><p>โดยสรุปของบทความนี้ ก็มารีวิวการใช้ Supercomputer ของแดนจิงโจ้กันครับโดยรวมผมว่าระบบมีความหลากหลายในการใช้งานทั้ง CPU/GPU และมี Documents ที่ดีมากๆ เรียกได้ว่า Infrastruture ของบ้านเค้านี้สุดยอดมากครับ พูดได้ว่าถ้าจะเปรียบเทียบกันระหว่าง Supercomputer แต่ล่ะค่ายจะดียังไงมันก็ขึ้นอยู่กับหลายๆปัจจัยเลยครับ</p><p>หากบทความนี้มีความผิดพลาดประการใดก็ขออภัยมา ณ​ ที่นี้ด้วยครับ</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=efdb480e1137" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>