<?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 Leo Wu on Medium]]></title>
        <description><![CDATA[Stories by Leo Wu on Medium]]></description>
        <link>https://medium.com/@leowu_34806?source=rss-312f949c4cc5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*iymLP9oMz3ESzsuR</url>
            <title>Stories by Leo Wu on Medium</title>
            <link>https://medium.com/@leowu_34806?source=rss-312f949c4cc5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 23:40:02 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@leowu_34806/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[A study for parallel computational models]]></title>
            <link>https://medium.com/@leowu_34806/a-study-for-parallel-computational-models-83cc74713444?source=rss-312f949c4cc5------2</link>
            <guid isPermaLink="false">https://medium.com/p/83cc74713444</guid>
            <dc:creator><![CDATA[Leo Wu]]></dc:creator>
            <pubDate>Mon, 17 Aug 2020 19:22:51 GMT</pubDate>
            <atom:updated>2020-08-17T19:22:51.291Z</atom:updated>
            <content:encoded><![CDATA[<ol><li>Motivation and Introduction</li></ol><p>Because of the complexity of parallel machines, it is a challenge for algorithm designers and programmers to design and implement applications to exploit hardware features to optimize performance. In order to solve this problem, much research provides techniques to help algorithm designers and programmers estimate the performance or scalability or spot bottlenecks and provide insights into how to improve performance.</p><p>One way to ease the pain and guide algorithm designers and programmers is by utilizing computation models. A computational model is a simplified and abstract description of a computer. It simplifies a computer into several characteristics that influence the performance of applications the most. Then algorithm designers and programmers could use it and map their work effectively onto real computers. Finally, algorithm designers and programmers could optimize their algorithms or applications based on the output of the model. Because a computational model works as a bridge between software and hardware, it is sometimes called a “bridging model.” [4]</p><p>In designing a parallel computational model, it is a trade-off between model accuracy and model complexity. A model could include more detail and more input parameters to reflect the cost of execution accurately. However, it will increase the complexity of the model and the difficulty of applying it to estimate the performance. Besides, the model should be programming languages and architectures independent, so that it could generalize the usage of the model not only on existing architectures but also foreseeable architectures. Nevertheless, because the demand for performance becomes even more significant, the architectures of parallel computers also change rapidly. As a result, the models sometimes need to reevaluate, extend, and reinvent.</p><p>2. The computational models</p><p>In the past five or six decades, several parallel computational models were developed. Some of them introduce fundamentally different concepts or approaches to construct models. Some might derive from an original model and extend it to include some vital criteria. Based on this idea, we could classify the models into several model families, such as the PRAM family, BSP family, and the LogP family. Moreover, according to the model’s targeting architecture features, we can classify the models into different generations[1], such as shared memory parallel computational models, distributed memory parallel computational models, and parallel computational models with memory hierarchy. Besides that, based on the models’ purpose and output, we can separate them into different categories, such as the models that estimate the execution time, the models that spot performance bottlenecks, and the models that estimate the power consumption. This report will introduce several famous models, such as PRAM, BSP, LogP, and Roofline.</p><p>2.1 The PRAM model</p><p>The PRAM model was proposed by Fortune and Wyllie in [2], and Goldschlager in [3]. This model assumes that the processors work synchronously under the control of a common clock and, also, that there are unlimited processors. Furthermore, it also assumes that all the processors have access to a shared memory where they can read or write a cell in each time step. By using the PRAM model, the logical structure of a parallel algorithm can be easily expressed. Also, it let the maximum parallelism inherent in an algorithm be fully exploited. It is because two essential abstractions let the algorithm designers not bother explicitly about communication among processors, particularly not about the time that such communication may take relative to the time taken by other instructions.</p><p>Moreover, neither do the designers have to deal with issues of distributing data among distinct memory modules. Nevertheless, the model has some drawbacks. One of them is that it ignores real computer features. It is because it ignores the cost of communication. Also, it is unrealistic to assume that all processors work synchronously. Besides, it neglects the contention issue caused by concurrent access to different cells within the same memory module. Besides that, the model maps onto real parallel computers in a low efficient way.</p><p>2.2 The BSP model</p><p>The BSP model was proposed by Valiant [4]. In the BSP model, a distributed memory multiprocessor is described in terms of three elements: (i) processor/memory modules, (ii) an interconnection network, and (iii) a synchronizer which performs barrier synchronization. Also, the BSP model separates computation from communication. It does not have particularly favored network topology, and the requirement of the network is high throughput. The BSP model uses slackness in the number of processors and memory mapping via hash functions to hide communication latency. The BSP model offers a more convenient abstraction for designing parallel algorithms and programs. Also, no particular network topology is favored beyond the requirement that high throughput is delivered. However, the length of a superstep must be sufficient to accommodate an arbitrary h-relation. It could lead to a problem that the communication might not be precisely scheduled. Besides that, the BSP model assumes special hardware support to synchronize all processors at the end of a superstep. Nevertheless, Some parallel machines do not have synchronization hardware. Notably, the synchronization hardware could synchronize multiple arbitrary subsets of the machine.</p><p>2.3 The LogP model</p><p>In order to overcome the drawbacks presented in the BSP model, the LogP model was proposed [5]. The LogP model enables communication to be scheduled more precisely, permitting the exploitation of more favorable communication patterns. Also, the processors in the LogP model work asynchronously, and a processor can use a message as soon as it arrives. It enables the way to enhance the utilization of processors. However, the LogP model considers only short messages, and it takes a long message as a sequence of short messages.</p><p>Nevertheless, the costs are not equivalent between a long message and a sequence of short messages. Besides the issue that it does not consider the cost of long messages, it neither does consider contention costs beyond its network capacity constraint. In order to include the cost of long messages, another model, the LogGP model [6], extended the LogP model was proposed. The LogGP model adds another parameter G, which represents the gap per bytes for long messages, to include the influence of long messages.</p><p>2.4 The Roofline model and its extension</p><p>Unlike the previous models, whose purpose is mainly to predict the performance and estimate the execution time, the Roofline model [7] was proposed to spot performance bottlenecks and guide performance optimization. The model combines floating-point performance, operational intensity, and memory performance into a two-dimensional graph. The floating-point performance and memory performance become the rooflines, which are the performance limitation limited by the hardware. Also, it applies several optimization techniques to add several ceilings in the model. Depending on the operational intensity of the design or implementation, it could distinguish whether its performance is bounded by computing performance or memory performance. Then, we can determine what kind of optimization techniques should be applied and also in what order, so that we could achieve attainable peak performance. The reason the model using the measurement of the number of operations per byte of DRAM traffic is off-chip memory bandwidth will often be the constraining resource.</p><p>The original Roofline model was designed to target multicores architectures. In order to extend to GPUs, the GPURoofline model was proposed in [8]. The GPURoofline uses the same idea in the Roofline model. The only difference is the optimization techniques and performance ceilings the GPURoofline picks. The GPURoofline uses Little’s Law to define the optimization spaces, and then perform a sensitivity analysis to examine the impact of optimization methods on performance. Besides that, the original Roofline model mainly measures floating-point performance. However, many applications nowadays perform more integer operations than floating-point. Hence, the Instruction Roofline model was proposed in [9]. Different from the original Roofline model to count floating-point operations, the Instruction Roofline model counts instructions. By doing so, it could help to identify fetch-decode-issue bottlenecks and pipeline utilization.</p><p>Furthermore, the original Roofline model is not sufficient to fully describe modern applications and architectures’ performance, which rely on the on-chip memory hierarchy. Thus, the Cache-aware Roofline model was proposed in [10]. The Cache-aware Roofline model has two fundamental vital differences: (i) the model accounts for all memory operations including accesses to the different cache levels; and (ii) the bandwidth depends on the accessed memory levels, and it is defined relative to the Core.</p><p>3. Conclusion</p><p>The computational model is a useful methodology to guide the algorithm designers and programmers to optimize their code to exploit the new hardware features. To deal with the diversity and fast development of parallel systems and architectures, especially hardware accelerators, researchers proposed several famous computational models. Nowadays, several hardware accelerators have been developed and applied in applications. It is essential to take those new features and architectures into consideration while designing or reevaluating the computational models. Furthermore, since power/energy is a leading design constraint along with performance in the high-performance computing domain, we could apply the computational model to optimize power efficiency. Besides, it is also essential to develop tools to automate the process of collecting model parameters. Doing so could reduce the effort to use the models and get insight to optimize their code.</p><p>References</p><p>[1] Zhang, Y., Chen, G., Sun, G., &amp; Miao, Q. (2007). Models of parallel computation: a survey and classification. Frontiers of Computer Science in China, 1(2), 156–165.</p><p>[2] Fortune, S., &amp; Wyllie, J. (1978, May). Parallelism in random access machines. In Proceedings of the tenth annual ACM symposium on Theory of computing (pp. 114–118).</p><p>[3] Goldschlager, L. M. (1982). A universal interconnection pattern for parallel computers. Journal of the ACM (JACM), 29(4), 1073–1086.</p><p>[4] Valiant, L. G. (1990). A bridging model for parallel computation. Communications of the ACM, 33(8), 103–111.</p><p>[5] Culler, D., Karp, R., Patterson, D., Sahay, A., Schauser, K. E., Santos, E., … &amp; Von Eicken, T. (1993, July). LogP: Towards a realistic model of parallel computation. In Proceedings of the fourth ACM SIGPLAN symposium on Principles and practice of parallel programming (pp. 1–12).</p><p>[6] Alexandrov, A., Ionescu, M. F., Schauser, K. E., &amp; Scheiman, C. (1995, July). LogGP: incorporating long messages into the LogP model — one step closer towards a realistic model for parallel computation. In Proceedings of the seventh annual ACM symposium on Parallel algorithms and architectures (pp. 95–105).</p><p>[7] Williams, S. (2009). Roofline: An Insightful Visual Performance Model for Floating-Point Programs and Multicore. ACM Communications.</p><p>[8] Jia, H., Zhang, Y., Long, G., Xu, J., Yan, S., &amp; Li, Y. (2012, August). GPURoofline: a model for guiding performance optimizations on GPUs. In European Conference on Parallel Processing (pp. 920–932). Springer, Berlin, Heidelberg.</p><p>[9] Ding, N., &amp; Williams, S. (2019, November). An instruction roofline model for gpus. In 2019 IEEE/ACM Performance Modeling, Benchmarking and Simulation of High Performance Computer Systems (PMBS) (pp. 7–18). IEEE.</p><p>[10] Ilic, A., Pratas, F., &amp; Sousa, L. (2013). Cache-aware roofline model: Upgrading the loft. IEEE Computer Architecture Letters, 13(1), 21–24.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=83cc74713444" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[2020 暑期 Independent Study 省思]]></title>
            <link>https://medium.com/@leowu_34806/2020-%E6%9A%91%E6%9C%9F-independent-study-%E7%9C%81%E6%80%9D-8c1aaef4dc7?source=rss-312f949c4cc5------2</link>
            <guid isPermaLink="false">https://medium.com/p/8c1aaef4dc7</guid>
            <category><![CDATA[research-methods]]></category>
            <category><![CDATA[literature-review-help]]></category>
            <dc:creator><![CDATA[Leo Wu]]></dc:creator>
            <pubDate>Mon, 17 Aug 2020 15:14:32 GMT</pubDate>
            <atom:updated>2020-08-17T15:14:32.074Z</atom:updated>
            <content:encoded><![CDATA[<p>2020 暑期也即將告一段落，我在 NYU 的第一個 Inpendent Study（也是我人生第一個研究）的時限已到。總結來講，我覺得這次的學習成果大概就四十分吧，畢竟沒有踏出新的一步，更不用說做出對這塊領域的任何貢獻。即便沒有做出什麼成果，這幾天還是把這學期的學習及分析的結果整理成一份報告寄給教授。在撰寫這份報告途中，寫得其實有點緩慢，主要是因為一邊寫、也一邊不斷地質疑自己。即便如此，這段經歷中我確實也有一些收穫。特此撰寫此文分析、紀錄這次的不足及收穫，供未來作參考。</p><ol><li>基礎學術能力的不足：</li></ol><p>在這段文獻回顧的過程中，我發覺這些學者之所以能夠對於 parallel computational model 設計及擴充有拓展，主要來自於對於 computer architecture 足夠且深入的了解，包含現況及未來趨勢等。這也讓我想到早在申請學校時，就有在聯繫教授詢問是否能跟教授作研究時，教授為什麼會問我在 computer architecture 這部分的學習背景，這塊領域的知識真的在作這些研究真的非常重要。其實這點在一開始就知道會有這樣的問題，在暑期進行過程中也有安排時間讓自己從基礎打起，但終究費時且進度緩慢。關於這部分，似乎也就只能繼續把基礎打穩，但可能方法上可以做些調整，就想文獻閱讀一樣，第一次先抓住梗概及重要觀念，後續再依據需要或有時間再深入細節了解。</p><p>2. 進行研究（包含文獻閱讀）的方法錯誤：</p><p>早在一開始挑選研究主題的時候，就需要使用到文獻閱讀的方法，但當時雖然有搜尋相關資料去尋找選擇研究主題的方法，但當時找到資料也只有蠻抽象且籠統地描述可以怎麼進行，因此一頭鑽入地使用土法煉鋼的方法。至於文獻閱讀的部分更甚，一開始由於對於要進行的研究主題還僅是模糊的概念，於是更是一頭鑽入進最一開始的文獻，企圖想要把通篇都讀懂。後續才陸續接觸到過往學者建議的文獻閱讀方法，透過一些關鍵字搜尋一整批的文獻，先把 abstraction, introduction &amp; conclusion 先通盤快速讀過。再透過這批文獻找到下一批整批的文件。在這過程中找到這個領域的問題及相關的子問題，以及彼此之間的關係。把搜尋到的整批文件，以問題為核心的方式開始進入第二層的閱讀。最後精煉出核心關鍵的文獻，再繼續深入閱讀，並整理問題方法分析比對表，已為下一階段準備。</p><p>在閱讀文獻過程中，雖然有在整理文章中的重點資訊，但覺得自己這次使用的方法不好，導致整理出來的資訊非常零散。就如同前述文獻閱讀所述，其實是要以問題為核心閱讀，同理，整理筆記的時候應當也是以問題為核心整理相關的資訊，而非獨自將各篇文章重點各自整理成段。</p><p>3. 時間分配的考量不周：</p><p>儘管一開始就有預期這個暑期研究會需要投入相當大的心力，而捨棄了一些想要進行的項目，包含了進行 side project、投入 open source community 以及準備下學期的科目等。由於一開始就領悟到自己的基礎學術能力不足，所以想要花點時間想辦法把自己的根基紮穩一點。另外算是比較沒有注意到的是，在找工作上的準備。可能太過貪心或過於自信，想要兩個面向都有進展，卻忽略自己在找實習、工作上所需要投入的時間，包含修改履歷、搜集工作資訊及準備面試等，其實也花了我蠻大的心力在處理這部分。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8c1aaef4dc7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[NVIDIA HPC Summit 2020 — GPU Experts Panel: Ampere Explained 筆記]]></title>
            <link>https://medium.com/@leowu_34806/nvidia-hpc-summit-2020-gpu-experts-panel-ampere-explained-%E7%AD%86%E8%A8%98-561871ae8297?source=rss-312f949c4cc5------2</link>
            <guid isPermaLink="false">https://medium.com/p/561871ae8297</guid>
            <dc:creator><![CDATA[Leo Wu]]></dc:creator>
            <pubDate>Tue, 30 Jun 2020 21:48:30 GMT</pubDate>
            <atom:updated>2020-06-30T21:48:30.811Z</atom:updated>
            <content:encoded><![CDATA[<h3>NVIDIA HPC Summit 2020 — GPU Experts Panel: Ampere Explained 筆記</h3><p>Speakers:</p><p>Olivier Giroux, Distinguished Engineer, NVIDIA</p><p>Carter Edwards, Principal Systems Software Engineer, NVIDIA</p><p>Timothy Costa, Product Manager, HPC Software, NVIDIA</p><p>CJ Newburn, Principal Architect, HPC, NVIDIA</p><p>Christopher Lamb, VP of Compute Software, NVIDIA</p><p>Michael Houston, Chief Architect — AI Systems, NVIDIA</p><p>本文為參加 NVIDIA HPC Summit 2020 Day 2 GPU Experts Panel: Ampere Explained 所摘錄有聽到、感興趣的內容，完整內容可參考 NVIDIA 釋出該場 Panel 的完整影片；此外本文也會加入自己的想法、推斷，以及佐以在其他地方看到的資訊。於本場 Panel 中主要介紹 NVIDIA Ampere GPU architecture，當中也有討論到對於開發者的影響（Programming Model 的部分）以及 AI 應用的相關技術及特點。</p><p>在 Ampere 這個新架構中有一項特點，就是增加 Tensor Core 所支援的浮點運算種類（不同的精確度），從圖 1 可看到 NVIDIA 將 A100 與前一代產品 V100 的比較結果，以及圖 2 中可參考 NVIDIA 就不同浮點運算所提供的運算效能。其中台大資訊系的洪士灝教授有提到 NVIDIA 強調支援的 TF32 浮點數可用在深度學習上，但在科學工程運算上恐怕會因為精確度不足而無法享受到這代 GPU 的特點 [2]。此外，洪教授也提到要享受這樣的效能必須搭配使用 Tensor Core，但這部分需要考驗開發者的功力（至於對於開發者在開發上有什麼挑戰，或有沒有更好的解決方案減少開發者的負擔，這部分我覺得值得後續研究）。在 Panel 上也有提到使用 HPC 發展 AI 方面，由於可能需要處理的 simulation 數量，影響 model 的規模，但可以依據所需狀況使用不同的浮點數格式，使 model 的規模在可控範圍內。</p><p>圖 1. NVIDIA A100 v.s. V100</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*R8sQsKBisUCvbm3T" /></figure><p>圖 2. A100 浮點運算效能</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qsQVw9dZ3laU4nV5" /></figure><p>在現今 ML 和 AI 應用（但不限於此兩應用）發展上，可能遇到以下問題，包含 I/O 的瓶頸、Interconnect 可能遇到的問題（就如同這陣子在研究的 Parallel Computational Model 中，許多近期的研究文獻都有提到不管是 memory communication 和 network communication 都在應用程式效能中扮演至關重要的角色）。針對這樣的問題，NVIDIA 在這個新的架構中提供了 Asychronous Barriers、Asychronous Direct Memory Copy、Asychronous Data Movement 等功能以處理此類問題。透過這些技術，能夠透過 pipeline 以 overlap 各步驟的處理時間，進而提升處理效能。此外，在 interconnect 所可能的遇到問題部分，則是使用第三代 NVLINK 因應，此代的 NVLINK 提升 bandwidth 和 scalability（此部分也是為了因應 multi-GPU 的需求（稍後會再提到）），但由於處理特徵沒有異動，故對於 Programming Model 幾乎沒有影響。</p><p>由於為使 GPU 能夠更有效地被不同的處理程序使用（因為一個應用程序可能不會需要使用到全部的 GPU 資源），此外也可能因應 VM、Container、CSP 這些多租戶的應用場景，故於 Ampere 的架構中就提供了 Multi-Instance GPU [3] 的功能－將一個 GPU 劃分為多個 GPU Instance 供不同的處理程序使用。為了因應這樣的新功能，CUDA 的 Math Library 也對應做了調整，使 Math Library 能夠充分使用這樣功能的能力（詳細部分還聽不太懂，可以參考 [4]；另外 Library 在單一 GPU 和多個 GPU Instance 上的差異感覺蠻值得再多深入探討）。</p><p>[1] NVIDIA GPU Experts Panel: Ampere Explained <a href="https://event.on24.com/eventRegistration/console/EventConsoleApollo.jsp?&amp;eventid=2393088&amp;sessionid=1&amp;username=&amp;partnerref=&amp;format=fhvideo1&amp;mobile=&amp;flashsupportedmobiledevice=&amp;helpcenter=&amp;key=0D1DD5D8160085BA61A9E04E3D6CF376&amp;text_language_id=en&amp;playerwidth=1000&amp;playerheight=650&amp;newConsole=true&amp;nxChe=true&amp;eventuserid=318647077&amp;contenttype=A&amp;mediametricsessionid=276069960&amp;mediametricid=3384938&amp;usercd=318647077&amp;mode=launch">https://event.on24.com/eventRegistration/console/EventConsoleApollo.jsp?&amp;eventid=2393088&amp;sessionid=1&amp;username=&amp;partnerref=&amp;format=fhvideo1&amp;mobile=&amp;flashsupportedmobiledevice=&amp;helpcenter=&amp;key=0D1DD5D8160085BA61A9E04E3D6CF376&amp;text_language_id=en&amp;playerwidth=1000&amp;playerheight=650&amp;newConsole=true&amp;nxChe=true&amp;eventuserid=318647077&amp;contenttype=A&amp;mediametricsessionid=276069960&amp;mediametricid=3384938&amp;usercd=318647077&amp;mode=launch</a></p><p>[2] <a href="https://www.facebook.com/shihhaohung/posts/3900000316709094">https://www.facebook.com/shihhaohung/posts/3900000316709094</a></p><p>[3] <a href="https://blogs.nvidia.com/blog/2020/05/14/multi-instance-gpus/">https://blogs.nvidia.com/blog/2020/05/14/multi-instance-gpus/</a></p><p>[4] <a href="https://developer.nvidia.com/gtc/2020/video/s21681">https://developer.nvidia.com/gtc/2020/video/s21681</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=561871ae8297" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[NVIDIA HPC Summit 2020 — Kick-off 筆記]]></title>
            <link>https://medium.com/@leowu_34806/nvidia-hpc-summit-2020-kick-off-%E7%AD%86%E8%A8%98-c13a7377721c?source=rss-312f949c4cc5------2</link>
            <guid isPermaLink="false">https://medium.com/p/c13a7377721c</guid>
            <dc:creator><![CDATA[Leo Wu]]></dc:creator>
            <pubDate>Tue, 30 Jun 2020 19:52:48 GMT</pubDate>
            <atom:updated>2020-06-30T19:52:48.303Z</atom:updated>
            <content:encoded><![CDATA[<h3>NVIDIA HPC Summit 2020 — Kick-off 筆記</h3><p>Speakers:</p><p>Marc Hamilton, VP of Solutions Architecture and Engineering, NVIDIA</p><p>Ian Buck, VP of Accelerated Computing, NVIDIA</p><p>Michael Kagan, CTO, NVIDIA</p><p>這週是 NVIDIA 舉辦的 HPC Summit 2020 週，本篇就本日 Kick-off 中聽到、看到感興趣或覺得重要的資訊摘錄下來。此外也順便加入我這陣子有了解到的資訊及看法。此外，HPC 的發展對於 Machine Learning 及 Data Science 有所影響，這篇文章中也會提到相關的技術發展及應用。（完整影片可以在 [1] 觀看。）</p><p>現今不管在 Scientific Computing、Data Science、Artificial Intelligence(AI) 的應用都需要更有效且龐大的運算效率，圖 1 是以 Scientific Computing 領域劃分不同的知識、技術領域以及所需要的硬體技術（雖然這邊是以 Scientific Computing 為例，但我覺得在其他 Data Science、AI 的應用場景也都有部份/類似的技術需求）。其中我覺得比較有趣的是 Edge Streaming，如今資料可能散落在各處，為了能夠更即時或更有效率的處理這些資料，就需要有 Edge Streaming 這方面的技術，預先處理好資料，僅傳輸必要的資料回資料處理中心處理，使需要處理的資料量維持在可處理的量級上；此外，我覺得這也是在接受資料科學所帶來的好處下保護使用者的隱私所需要的技術（當然這應該牽涉到了更多不同領域的技術就是了）。</p><p>圖 1. The New Scientific Computing</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KtIrOzR5A9_mWJeZ" /></figure><p>針對 Scientific Computing 需要大量運算，以及 GPU 能夠帶來的好處，就舉了 COVID-19 相關的研究作為例子。為了研發治療 COVID-19 的藥物，就需要將已知的病毒蛋白質結構進行大量的模擬，找到能夠有效與病毒結合的物質，避免病毒感染人體或抑制病毒的複製。由於大量的模擬相當費時，透過槓桿 GPU 運算能力，可以有效減少模擬所需時間，進而推進研究前進的速度。此外，前些陣子看到 NVIDIA 在 Youtube 上的一個影片 [2]，舉了讓太空船成功降落在火星的研究為例子，展示 GPU 能夠在這方面的研究所帶來的幫助。在這項研究中，由於實際實驗相當耗時且耗費經費，故會先透過模擬的方式確認可行性。此外，為了便於專家研究，需要將模擬的數據以視覺化方式呈現，也因此需要更加深運算效能的需求。要進行這樣大量的運算，也需要將這些資料搬運到 GPU 中，關於這部分 NVIDIA 也發展 GPUDirect Storage 技術加以因應。在影片中也可以看到效能成果展示，透過此項技術，Bandwidth 可到達 160 GB/s，相較如果透過傳統方法將資料搬移到 CPU 後，再運往 GPU 運算，Bandwidth 則下降到 30 GB/s 出頭。</p><p>硬體加速除了 GPU 外，其實還有許多發展，包含在本日會議中也有提到的 DPU、FGPA 等等。基於好奇，也查了一下 NVIDIA 對於 FPGA 發展的態度，也因此找到了一篇有寫到 NVIDIA 對於 FPGA 在 AI 上的應用，似乎是抱持負面的觀點 [4]（文章我還沒有仔細閱讀，先放在這邊供後續閱讀，有興趣的人也可以前往探討）。</p><p>除了運算效能外，也可以看到對於 Computer System 耗能也相當的重視，就如同現行許多 Computer Architecture 的教科書中所述。在這場 kick-off 中 Ian 展示的 Supercomputer 中除了標注了運算速度（PetaFLOPs），也額外強調每單位耗能所能夠進行的運算速度（GigaFLOPs/watt）。當然，這主要是能夠降低運營的成本。在圖 3 就對比 CPU 叢集和 GPU 叢集兩個架構，兩個叢集都具備相同的運算效力，但 GPU 可以降低所需的電能及成本。</p><p>圖 3.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Smrp2mrW4KShwatG" /></figure><p>NVIDIA 在 Data Analytics 上的支援部分，在於 Spark 上的進展。Spark 3.0 將支援 GPU 加速，將可顯著提升資料處理效率（參考圖 4）（當中對比的是 Spark 搭配 CPU 以及 Hadoop，其中 Hadoop 似乎是被拋棄了，但這塊我不太熟就是了）。</p><p>圖 4.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NGpjLp0cex7ijbTm" /></figure><p>當然除了 HPC 可以協助 ML、AI 發展外，還有另一個方向就是透過 AI、ML 來協助 HPC 發展。在這次的 kick-off 中就提到 NVIDIA 研發出的軟體，透過 AI 協助偵測 Security Threats 和預警 Network Failures。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*awjlQd-9-eXnp7KC" /></figure><p>後記：在這場會議中，腦中不停的把聽到的英文，轉譯為我能理解的型態，然後要快速把理解中的重要資訊彙整出來，然後再寫入筆記中，還真的非常困難。當然，前半段就已經是一個很大的挑戰就是了，除了目前聽力外，還會受到網路等硬體設備的影響。至於聽力部分，能夠抓個大概，但有些部分還是模模糊糊的。另外就是把筆記整理成文章，真的想當耗時、耗工，當然有好處，就是讓自己把這些資訊再重新整理一下，讓我能夠更加掌握所吸收到的資訊（不過訊息接受不全面似乎對這個好處產生不少折損就是了），但就是需要好多時間啊啊啊啊！</p><p>[1] <a href="https://l.facebook.com/l.php?u=https%3A%2F%2Finfo.nvidia.com%2Fhpc-summit-digital-kick-off-2020.html%3Ffbclid%3DIwAR09_oHqzKWp_xzMkWbwhlOp8CJm-TdrhaTN_iXrgtv75LdHnzgQ1aPMYAY&amp;h=AT3fX3rj02SY5_OrKJfOJeKZZOO6v9OMFF-cTcO6nWlyHng2tLS_g9z6e3HxVanDMmEq_EU_aVtRKyQThNXwx0nvOxmExqP67Q0CPE8g_xVt1XjYueKaJ__6znxysKQepEmTnwvwNMHbeoScRXWjS5yu">https://info.nvidia.com/hpc-summit-digital-kick-off-2020.html</a></p><p>[2] Visualizing 150 Terabytes of Data <a href="https://l.facebook.com/l.php?u=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DGAZP1NcdWMo%26fbclid%3DIwAR0PdzLQMHIPRqFtEzKcAWDj1H9Ks7Xpt6rwyc9_Rq35lsuqcUvxyxU9AB8&amp;h=AT1uGZ-Sq8Rb0D4Y40HDNsST1nMhO_XdnKMv-2ItOqHrSbYbAEZYP3Bg6LYIme5dZOYcJIzr9XW4_y_3hwiWg58n34d_48Ff-oEGjQdbz_arEVJrReftcbZCfztO0CewTTSQR18J8Uw">https://www.youtube.com/watch?v=GAZP1NcdWMo</a></p><p>[3] GPUDirect Storage: A Direct Path Between Storage and GPU Memory <a href="https://l.facebook.com/l.php?u=https%3A%2F%2Fdeveloper.nvidia.com%2Fblog%2Fgpudirect-storage%2F%3Ffbclid%3DIwAR1fvynwl9Wog207X0olsJ0G6UlVOMx5UlJKefwIKrQKSbX9AObq6xy2was&amp;h=AT2HFPdgVftjCVY8-mh-jGudG0JS5uijY0cIbGHa6Zb-qsBXLeaKkmydBulHAFPl7Jsm6hNkdlnulY0qp-j9NZsajQpaGhcv87W_1hpYDDroN7DUKGGaBTUao_ucwGG_xNSfW9Qfqiq9n-wW2LQodXRi">https://developer.nvidia.com/blog/gpudirect-storage/</a></p><p>[4] NVIDIA CEO Says “FGPA is Not the Right Answer” for Accelerating AI <a href="https://medium.com/syncedreview/nvidia-ceo-says-fgpa-is-not-the-right-answer-for-accelerating-ai-83c810969edd?fbclid=IwAR137Rtqj89D_Zdbv3gAGl9ky5X8M3bIsracuv6ouf1vKTK9PVJZQ8edPQ0">https://medium.com/syncedreview/nvidia-ceo-says-fgpa-is-not-the-right-answer-for-accelerating-ai-83c810969edd</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c13a7377721c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>