<?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 SuperScalar on Medium]]></title>
        <description><![CDATA[Stories by SuperScalar on Medium]]></description>
        <link>https://medium.com/@SuperScalar_io?source=rss-19a41ecc87a2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*b_0KvCku_O23Qnzk.jpg</url>
            <title>Stories by SuperScalar on Medium</title>
            <link>https://medium.com/@SuperScalar_io?source=rss-19a41ecc87a2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 07:30:57 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@SuperScalar_io/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[ZKP Through My Eyes]]></title>
            <link>https://medium.com/@SuperScalar_io/zkp-through-my-eyes-065cb94f2f28?source=rss-19a41ecc87a2------2</link>
            <guid isPermaLink="false">https://medium.com/p/065cb94f2f28</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[zkrollup]]></category>
            <category><![CDATA[bitcoin]]></category>
            <dc:creator><![CDATA[SuperScalar]]></dc:creator>
            <pubDate>Mon, 15 Jan 2024 07:41:20 GMT</pubDate>
            <atom:updated>2024-01-15T07:43:38.195Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RFRIu6a59D8WGM72aBe32w.jpeg" /></figure><p>In the past, we have extensively discussed the technical implementation and optimization strategies of ZKP, which is a promising and feasible path. SuperScalar will continue to explore in the area of hardware acceleration. We’ve received many inquiries and discussions about ZKP from community partners. These questions seem more intuitive and practical. Therefore, today we have selected some of these questions for a non-technical discussion.</p><p><strong>☘️What is Zero-Knowledge Proof (ZKP)?</strong></p><p>Zero-Knowledge Proof (ZKP) is a concept in cryptography that allows one party (known as the prover) to prove to another party (known as the verifier) that a certain statement is true, without providing any additional information or revealing any knowledge that substantiates the correctness of the statement. The core idea is that the prover can demonstrate their knowledge of a secret (such as a password, key, or identity) without revealing the secret itself. Current mainstream ZKP solutions include Bulletproofs, zk-SNARKs, zk-STARKs, and PLONK, among others. This process not only protects the privacy of the prover but also ensures that the verifier cannot replicate the proof process or use it to obtain any additional information.</p><p><strong>☘️What are the characteristics of ZKP’s privacy compared to other privacy technologies?</strong></p><p>ZKP technology has some unique characteristics compared to other privacy technologies:</p><p><strong>Advanced Security</strong><br>Unlike privacy technologies that rely on specific hardware or trust frameworks, ZKP is based on complex mathematical and cryptographic principles, making it less susceptible to physical attacks.</p><p><strong>No Need for Third-Party Trust<br></strong>ZKP can prove the truth of a statement without revealing any additional information about the statement, and the process does not require the involvement of a third party. This is different from some encryption technologies that involve third-party participation, as ZKP inherently ensures no extra information leakage.</p><p><strong>Broad Applicability <br></strong>ZKP is not only applicable to private transactions but can also be extended to other applications such as identity verification, zero-knowledge voting systems, and the verification of confidential information.</p><p><strong>Balance of Privacy and Transparency<br></strong>ZKP allows anyone to verify the correctness of a proof without accessing sensitive information, ensuring the highest degree of privacy protection while maintaining transaction integrity and network transparency.</p><p><strong>Enhanced Scalability</strong><br>With the advancement of technology, ZKP can effectively handle a large number of concurrent transactions and complex operations without significantly reducing system performance, while maintaining the simplicity of proofs and efficiency of verification.</p><p>Although ZKP has these advantages, it is not without flaws. For example, ZKP may not be as efficient in terms of computational efficiency as hardware-based solutions (such as Trusted Execution Environments, TEE). Therefore, in Web3 and other applications with high privacy demands, it is often necessary to combine multiple technologies to achieve optimal privacy protection.</p><h4>🍀What are the current challenges and difficulties faced by ZKP?</h4><p>The limitations of ZKP and the challenges it faces during implementation include the following aspects:</p><p><strong>High Computational Complexity<br></strong>The process of generating a ZKP is typically computation-intensive, especially in complex application scenarios. Even with ongoing support from hardware acceleration technology and new ZKP solution projects, the current stage of development still requires a significant amount of computational resources. This can lead to processing delays and high energy consumption. Additionally, some ZKP schemes are interactive, requiring multiple rounds of communication between the prover and the verifier, which adds to the complexity of implementation and exacerbates efficiency issues.</p><p><strong>Legal and Regulatory Issues<br></strong>Due to the inherent privacy properties of ZKP, it may pose challenges for government departments in regulating potential legal risks, such as gambling and illegal asset transfers. Therefore, balancing the privacy attributes of ZKP with legal compliance is a key direction for the development of current ZKP protocols and technological solutions.</p><p><strong>Community Acceptance and Consensus<br></strong>Due to the complexity of ZKP concepts and implementations, ordinary users without a technical background may find it difficult to understand how it works and its advantages. This may affect the acceptance and trust of ZKP in a broader community and user base. Looking forward, more practical applications landing in the future are expected to help people understand and accept the concept of ZKP.</p><h4>🍀In what areas of daily life can ZKP technology be applied in the future?</h4><p>ZKP technology, with its unique privacy protection features, can be widely applied in various fields. Here are some key application examples:</p><p><strong>Digital Identity Verification and Digital Rights Management (DRM)<br></strong>ZKP can be used in identity verification scenarios, allowing users to prove they possess certain credentials (such as passwords, biometric information) without actually revealing that information. In DRM , ZKP can also help verify whether a user has the rights to access or use certain digital content, without disclosing the user’s identity or other sensitive information.</p><p><strong>Voting Systems<br></strong>ZKPs can be utilized in electronic voting systems to ensure the anonymity and untraceability of votes, while also verifying the validity of the votes.</p><p><strong>Supply Chain and Logistics</strong><br>In supply chain management, ZKP can be used to verify the authenticity of products or compliance with production processes, without revealing sensitive commercial information about the products or details of the supply chain.</p><p><strong>Financial Services</strong><br>In the financial services industry, ZKP can enhance transaction privacy, verify credit information or ownership of assets, without exposing specific financial details of customers.</p><p><strong>Smart Contracts<br></strong>In blockchain-based smart contracts, ZKP can be employed to prove that contract conditions have been met, without revealing the specific content of the contract or sensitive information about the involved parties.</p><p><strong>Social Media Authentication<br></strong>Online services, such as forums or social media platforms, can use ZKP technology to verify user identities, without disclosing the actual identity information of users, thus protecting user privacy.</p><p>The above is a share of community discussions. If there are any inaccuracies or better perspectives, we welcome communication with us:</p><p><strong>🕊️ Twitter</strong>: @SuperScalar_io<br><strong>🤖️ Discord</strong>: <a href="http://discord.com/invite/h7T5ecnyyE">discord.com/invite/h7T5ecnyyE</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=065cb94f2f28" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Halo2 custom gates Performance Optimization Briefing]]></title>
            <link>https://medium.com/@SuperScalar_io/halo2-custom-gates-performance-optimization-briefing-2ed9da7bb676?source=rss-19a41ecc87a2------2</link>
            <guid isPermaLink="false">https://medium.com/p/2ed9da7bb676</guid>
            <category><![CDATA[zkp]]></category>
            <category><![CDATA[zkrollup]]></category>
            <category><![CDATA[web3]]></category>
            <category><![CDATA[halo-2]]></category>
            <dc:creator><![CDATA[SuperScalar]]></dc:creator>
            <pubDate>Sun, 07 Jan 2024 09:52:29 GMT</pubDate>
            <atom:updated>2024-01-07T09:52:29.179Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oEK_lR0o29e-GVPGJcyUBw.jpeg" /></figure><h4><strong>Background Introduction</strong></h4><p>This upgrade aims to optimize performance for the ZKP GPU acceleration project, with a focus on optimizing the more time-consuming evaluate module within the Halo2 algorithm.</p><h4><strong>Technical Solution Overview</strong></h4><p>The Halo2 algorithm library provided by the project side already included GPU optimizations for MSM and FFT. SuperScalar chose to accelerate other time-consuming parts of the Halo2 algorithm. During our sorting process, the evaluate module accounted for 44.9% of the total execution time, making it a significant target for optimization.</p><p>From an algorithmic perspective, the evaluate module mainly consisted of three parts: computing custom gates, permutation, and lookup. Among them, the computation of custom gates was relatively large and time-consuming, so SuperScalar chose to start with optimizing custom gates.</p><p>The process of calculating custom gates primarily involved determining the values for a domain with a degree of 2^extend_k. Each value was derived from a field calculation in the binary domain, unfolded from the constraints generated by the circuit. The number of constraints was retrieved through tables such as difference advice and fixed. The computational complexity was directly associated with the circuit’s degree and the volume of constraints. Given the characteristics of the algorithm, parallel processing was implemented in rows within the GPU, with each thread calculating a unique value, and each value corresponding to a specific offset in the advice and fixed tables.</p><p>Due to the column-based sorting of table-related data structures in the Halo2 Rust code, while our GPU parallelization operated in rows, a “transpose” operation was required to convert the data from column-wise to row-wise sorting. SuperScalar initially developed a naive Rust CPU version of transpose, followed by a multithreaded Rust CPU version. Ultimately, considering the performance issues with batch processing, SuperScalar implemented a GPU version, which significantly enhanced performance and reduce data redundancy movement and calculations.</p><p>Approaching from a practical application standpoint, due to the large scale of the required circuits, the necessary memory far exceeded the capacity of the GPU’s GDDR, leading to the adoption of a batch processing approach. We conducted research and experimentation on batch strategies, exploring the relationship between memory size and various factors. This was to ensure that the memory required for each batch remains below the GPU GDDR’s capacity while minimizing the redundant computations in the transpose process. The research also examined how to recalculate the table offsets for each value according to the batch.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/673/1*QcQNviABIID7SFCMpf7bPA.png" /><figcaption><strong>( custom gates batch optimization flow diagram )</strong></figcaption></figure><h4><strong>Optimization results and analysis</strong></h4><p>Optimizing the custom gates algorithm in the evaluate module of the Halo2 algorithm on a hardware platform significantly reduced computation time for custom gates, particularly when handling large-scale circuits and extensive memory data.</p><p>The degree of performance improvement after optimizing the custom gates algorithm varied depending on the specific custom gate, primarily related to “memory” and the “complexity of computing each value.”</p><p><strong>i) Memory-related factors</strong></p><p><strong>Degree and Table Columns: </strong>The data volume required increases with a higher degree and a greater number of columns in the table. This resulted in larger data quantities for transmission and conversion.<br><strong>Batch Processing Dependencies: </strong>When employing batch processing, a higher number of rows with dependencies between batches leaded to larger data cached per batch. Consequently, this increased the volume of redundant data movement and conversion.</p><p><strong>ii) Complexity of computing each value</strong></p><p>The more constraints and the more complex the constraint formulas were, the greater the computational load. When the memory data size was small but the computational complexity for each value was high, GPU acceleration was more pronounced. Conversely, with large memory data and low complexity each value, GPU acceleration was less noticeable.</p><p>The SuperScalar team has proposed further optimization strategies for system performance:</p><p><strong>Optimization of Batch Processing Strategy:</strong> Delving deeper into refining the batch processing strategy could potentially yield additional performance improvements, especially in scenarios with diverse custom gate requirements.<br><strong>Development of GPU Code for Permutation and Lookup Algorithms within the Evaluate Module:</strong> Exploring the development of GPU-accelerated code for the permutation and lookup algorithms within the evaluate module holds promise for optimizing performance in different scenarios.</p><p>The team will release more information about further optimization. If you wish to know more or require ZKP tech-support, please contact us:</p><p><strong>Official Website</strong>: <a href="http://www.superscalar.io/">www.superscalar.io</a><br><strong>Twitter</strong>: @superscalar_io<br><strong>Discord</strong>: discord.com/invite/h7T5ecnyyE</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2ed9da7bb676" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SuperScalar’s Strategic Partnership with HeroMiners]]></title>
            <link>https://medium.com/@SuperScalar_io/superscalars-strategic-partnership-with-herominers-2dd8fc368fb5?source=rss-19a41ecc87a2------2</link>
            <guid isPermaLink="false">https://medium.com/p/2dd8fc368fb5</guid>
            <category><![CDATA[mining-pool]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[zkp]]></category>
            <category><![CDATA[fpga]]></category>
            <dc:creator><![CDATA[SuperScalar]]></dc:creator>
            <pubDate>Mon, 25 Dec 2023 06:02:19 GMT</pubDate>
            <atom:updated>2023-12-26T03:21:01.616Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zncbfRle7J4AXdLq6S2jNA.png" /></figure><p>We are delighted to announce that SuperScalar has formed a strategic partnership with HeroMiners. As strategic partners, SuperScalar will integrate its computational power acceleration devices with support for the HeroMiners mining pool. This collaboration enables seamless, one-click connection between SuperScalar’s accelerators and HeroMiners, allowing users to accelerate their mining power without the need for complex configuration or debugging. Currently, algorithms like Alephium and Karlsen are already adapted and supported by Herominers, with a commitment to continually support new list Proof of Work (PoW) projects in the future.</p><p>This technical collaboration not only boosts the efficiency of computational acceleration but also expands the product and service portfolio of both platforms, offering users improved options for hashpower acceleration. In the future, the partnership is set to delve deeper into hardware and software acceleration solutions to provide even higher quality services to platform users.</p><h4><strong>About HeroMiners</strong></h4><p>HeroMiners, the world’s largest comprehensive altcoins mining pool, boasts a series of advantages, establishing it as a key player in the field of cryptocurrency mining. HeroMiners sets the pace in the mining service industry with swift updates and releases of new cryptocurrencies, giving miners a head start in capitalizing on market opportunities. They remain at the forefront by constantly fine-tuning and upgrading algorithms across various digital currencies, ensuring mining operations are both efficient and competitive.</p><p>Furthermore, HeroMiners’s robust analytical tools provide clear insights into mining performance and profits, complemented by a flexible range of settlement options to suit diverse user preferences. They are also recognized for their extensive range of educational materials suitable for beginners and their commitment to low service fees, significantly enhancing miners’ profit retention and overall benefit.</p><p>Please visit the following contacts for more details:</p><p><strong>HeroMiners Web:</strong> <a href="https://herominers.com/">https://herominers.com/</a><br><strong>SuperScalar Web:</strong> <a href="https://www.superscalar.io/">https://www.superscalar.io/</a><br><strong>Twitter:</strong> <a href="https://twitter.com/HeroMinerss">@HeroMinerss</a><br><strong>Twitter:</strong> <a href="https://twitter.com/SuperScalar_io">@SuperScalar_io</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2dd8fc368fb5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The World’s First Device Supporting Karlsen (KLS) Hashrate Accelerator]]></title>
            <link>https://medium.com/@SuperScalar_io/the-worlds-first-device-supporting-karlsen-kls-hashrate-accelerator-6e02e3f27b65?source=rss-19a41ecc87a2------2</link>
            <guid isPermaLink="false">https://medium.com/p/6e02e3f27b65</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[accelerator]]></category>
            <category><![CDATA[zkp]]></category>
            <dc:creator><![CDATA[SuperScalar]]></dc:creator>
            <pubDate>Wed, 20 Dec 2023 06:00:51 GMT</pubDate>
            <atom:updated>2023-12-20T06:00:51.961Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dHzNNbjxlvf_FF3e64N6mg.png" /></figure><p>SuperScalar, a provider focused on Zero Knowledge Proof solutions, aims to deliver the most efficient ZK acceleration solutions. We are committed to achieving scalable hardware acceleration and privacy computation, driving a paradigm shift in theblockchain industry.</p><h4><strong>Advantages of the SuperScalar K10</strong></h4><p>The SuperScalar K10, the first FPGA accelerator supporting Karlsen (KLS), boasts several standout features:</p><p>1: World’s first FPGA accelerator for Karlsen, delivering a groundbreaking 38.9Gh/s efficiency at only 1800W, far outperforming traditional GPUs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qAVbE3K6nGWyrttQEb3P6w.png" /><figcaption>(This table above is the most recent KLS HashPower comparison statistics)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gTbMGBd0xBIpCgzKahuXuQ.png" /><figcaption>(Displaying a more intuitive comparison of acceleration efficiency)</figcaption></figure><p>2: Supports a wide range of Proof of Work (PoW) algorithms (ALEO, ALPH, IRON, KAS, KLS, RXD, etc.), providing unparalleled flexibility due to FPGA’s customizable design.</p><p>3: Offers a compact design and low power consumption, delivering cost-effectiveness unmatched by traditional GPUs.</p><p>4:Future-proof with upgradeable capabilities for adapting to new algorithms and achieving optimal performance configurations.</p><h4><strong>Discover the Benefits: Why Join the Karlsen Network Hashpower?</strong></h4><p><strong>a) What is the Karlsen Network (KLS)? </strong>Karlsen Network, a fork of Kaspa, stands out in the blockchain world with its algorithmic and economic model optimizations, offering a decentralized and secure network. It’s unique for its open-source, community-driven nature in the PoW encryption sector, facilitating global transactions while maintaining Bitcoin-level security standards. This decentralized governance model promotes transparency and community-led development, making Karlsen a hot topic in the crypto market.</p><p><strong>b) Karlsen Network’s Anti-ASIC algorithm design makes the SuperScalar K10 the optimal solution for mining power. </strong>The Karlsen Network utilizes the Blake3 algorithm, differing from Blake2 in its high efficiency and parallel processing capability. Blake3 features simpler round functions, reducing computational workload for each hash. Designed for parallel processing, Blake3 effectively utilizes modern multi-core processors, making it particularly suitable for FPGA and GPU hardware. Additionally, as Blake3 is relatively new and not widely used in specific applications and standards, there are no commercial ASICs specifically targeting it, enhancing the potential application of FPGA and GPU in cryptographic hashpower.</p><p><strong>c) As a fork of the Kaspa network, known for its hundredfold returns, Karlsen holds great promise. </strong>Karlsen Network, a fork of the Kaspa network, has optimized its economic model and algorithm to better suit FPGA and GPU users, enhancing participation in network hashpower for individuals and small-scale entities. This optimization strengthens the decentralized nature of the network. Early participants in Kaspa saw returns of 100–200 times their investment, suggesting a promising future for Karlsen’s performance as well.</p><p>For more information, please follow and contact us:</p><h4>Official Web: <a href="https://www.superscalar.io/">https://www.superscalar.io/</a></h4><h4>Twitter: @SuperScalar_io</h4><h4>Discord: discord.com/invite/h7T5ecnyyE</h4><h4>Email: Sales@superscalar.io</h4><p><strong>**NOTE: The above are personal opinions shared for discussion purposes only. Do NOT take as financial investment advice.**</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6e02e3f27b65" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Decentralizing ZK Proving: SuperScalar’s Strategic Partnership with Taiko]]></title>
            <link>https://medium.com/@SuperScalar_io/decentralizing-zk-proving-superscalars-strategic-partnership-with-taiko-b140d9b34e28?source=rss-19a41ecc87a2------2</link>
            <guid isPermaLink="false">https://medium.com/p/b140d9b34e28</guid>
            <dc:creator><![CDATA[SuperScalar]]></dc:creator>
            <pubDate>Tue, 14 Nov 2023 15:01:37 GMT</pubDate>
            <atom:updated>2023-11-15T09:55:42.143Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*BLpcT8nN98LKF_jE" /></figure><p>We’re excited to announce a strategic partnership with Taiko, a based &amp; Ethereum-equivalent ZK-EVM. This collaboration aims to enhance the capabilities of provers in Taiko’s ecosystem by leveraging ZKP acceleration and Halo2 PLONK, including GPU and FPGA design.</p><p>Decentralized zero-knowledge proof communities typically face challenges associated with low performance, high cost, and centralization. SuperScalar is addressing these issues by providing devices with the best performance-price ratio. Simultaneously, the introduction of multiple solutions such as FPGA and GPU contributes to fostering decentralization within these communities.</p><p>To implement these solutions, we introduce a versatile Hardware Abstraction Layer (HAL) compatible with GPU, FPGA, ASIC, and other devices in the future. This HAL includes a shared memory management system across various acceleration modules, efficiently reducing data copying between the CPU and GPU. This initiative aims to cultivate a more efficient and decentralized ZK proving system for Taiko, offering a diverse array of choices to the community.</p><p>Recognizing that FPGAs outperform GPUs in specific aspects, we have broadened our support beyond the conventional GPU solution. We have developed a high-performance FPGA prover, maintaining superior performance and low power costs in a more compact size compared to GPU machines. We take pride in being the sole entity providing both FPGA and GPU provers, showcasing our commitment to innovation and inclusivity.</p><p>Key features of our FPGA prover include support for up to 384 GB memory with large DDR, high-bandwidth interconnection within and across boards, and the ability to connect multiple provers to create a ZKP proving cloud.</p><p>In addition to the GPU and FPGA acceleration solution, we are also actively assisting Taiko with the development of a Proving Benchmark Tool. This tool will provide comprehensive performance data for CPU/GPU/FPGA configurations as we optimize the computation process.</p><p>Our collective aim is to enhance the overall performance of provers within the Taiko ecosystem and concurrently decrease the total cost of proving. By making the ZKP GPU/FPGA prover open-source and accessible to the entire Taiko community, we are committed to advancing decentralization within the platform and industry at large.</p><p>This partnership serves as a testament to the capabilities of SuperScalar’s multiple acceleration solutions. We extend an open invitation to potential ecosystem partners, inviting you to explore the boundless potential our innovative solution offers. Join us on this transformative journey, unlocking new possibilities and driving unprecedented advancements together.</p><p>— — — — —</p><h4>About Taiko:</h4><p><strong>Taiko is Ethereum, extended.</strong> Taiko is building a based &amp; Ethereum-equivalent ZK rollup (Type 1 zkEVM) in order to scale Ethereum in a manner that emulates it as closely as possible — both technologically and ideologically. Taiko’s permissionless design maximizes security, whilst re-use of all Ethereum tooling and code ensures the smoothest possible developer experience.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b140d9b34e28" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SuperScalar and Orbiter Finance Revolutionize ZKPs with Halo2 GPU Acceleration]]></title>
            <link>https://medium.com/@SuperScalar_io/superscalar-and-orbiter-finance-revolutionize-zkps-with-halo2-gpu-acceleration-77fffe5530e6?source=rss-19a41ecc87a2------2</link>
            <guid isPermaLink="false">https://medium.com/p/77fffe5530e6</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[zks]]></category>
            <dc:creator><![CDATA[SuperScalar]]></dc:creator>
            <pubDate>Tue, 07 Nov 2023 15:10:11 GMT</pubDate>
            <atom:updated>2023-11-07T15:15:15.448Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zdBWK1JjDELutXhXnaJBoA.png" /></figure><p>We are delighted to announce a strategic partnership with <a href="https://www.orbiter.finance/">Orbiter Finance</a>, a leading decentralized cross-rollup Layer 2 bridge. This collaboration is set to revolutionize the capabilities of Orbiter Finance by optimizing multiple modules of the Halo 2 algorithm, a prominent algorithm in the realm of zero-knowledge proofs.</p><p>Halo 2, acknowledged as one of the prominent algorithms in ZKPs, has garnered recommendations from esteemed bodies such as the Ethereum Foundation and has found adoption in influential projects like Orbiter Finance and Scroll. Notably, Orbiter Finance has harnessed ZKP within its Orbiter Bridge Protocol to reduce Gas fees in the arbitration process for decentralization. This initiative has led to the imminent fully open state of Maker’s arbitration process upon the official launch of the decentralized Orbiter bridge.</p><p>While Halo 2 presents challenges in practical implementation, our strategic partnership seeks to address these hurdles. Its intricate algorithm demands significant computational resources and it is time-intensive-take a few minutes to finish computation, leading to concerns of <strong>centralization and limited adoption</strong>:</p><ul><li>As only these entities can afford the required computational resources, potentially concentrating computational power within a select few;</li><li>Being a scaling solution, the inherent time-intensive nature of Halo2 poses a significant barrier to ZKP’s practical application.</li></ul><p>In response, we have developed hardware acceleration solutions, optimizing calculations such as MSM, NTT, and Evaluation to drastically reduce the time required for proof generation. Our approach involves a multi-faceted strategy, including architecture enhancement, algorithm optimization, and data transfer streamlining.</p><ul><li><strong>Architecture: </strong>MSM, NTT, and Evaluation are the main modules in Halo2, and they are taking a high portion (over 70%) of calculation time. SuperScalar created a GPU manager in its framework to provide external interfaces, while internally invoking CUDA code and managing operations through GPU FFI.</li><li><strong>Algorithm optimization:</strong> we optimized different parts of the computation: (1) in finite field calculations, we optimize the computation process using Montgomery modular multiplication and implement acceleration through assembly language; (2)In the MSM module, we utilize the Pippenger algorithm for grouping, enhancing parallelism, and employing point addition operations with lower computational complexity; (3)In the NTT module, we utilize the Fast Fourier Transform (FFT) algorithm. (4) Field calculations encompass various computations based on finite fields, including batch inversion.</li><li><strong>Data transfer:</strong> involves precomputing and integrating computations to minimize redundant transmissions between GPU and CPU, significantly reducing complexity and associated costs.</li></ul><p>This partnership stands as a testament to the capabilities of SuperScalar’s Halo 2 GPU Acceleration Solution. We extend an open invitation to potential ecosystem partners, welcoming you to explore the limitless potential that our innovative solution offers.</p><h3>About Orbiter Finance</h3><p>Orbiter Finance is a decentralized cross-rollup Layer 2 bridge with a contract only on the destination side.</p><h4>Social Links:</h4><p><a href="https://twitter.com/Orbiter_Finance">https://twitter.com/Orbiter_Finance</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=77fffe5530e6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SuperScalar Ranked №1 in Proof Generation of Taiko Testnet]]></title>
            <link>https://medium.com/@SuperScalar_io/superscalar-ranked-1-in-proof-generation-of-taiko-testnet-2f12b825dcf7?source=rss-19a41ecc87a2------2</link>
            <guid isPermaLink="false">https://medium.com/p/2f12b825dcf7</guid>
            <dc:creator><![CDATA[SuperScalar]]></dc:creator>
            <pubDate>Mon, 16 Oct 2023 10:09:05 GMT</pubDate>
            <atom:updated>2023-10-17T10:21:45.640Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*0rWm5161KXrZ2rS0-8iSZQ.jpeg" /></figure><p>SuperScalar, the pioneer company in ZKP (zero-knowledge proof) acceleration solutions, has been participating as a prover in the Taiko Testnet since Alpha-3, Alpha-4, and Alpha-5. In Taiko A3, SuperScalar has already generated over 300,000 proofs, the largest number of any prover.</p><p>Taiko is a Type-1 Ethereum ZK-rollup and the first ZK-rollup project to adopt decentralized sequencers and provers from its inception. SuperScalar provides both GPU and FPGA solutions for Taiko projects.</p><p>The SuperScalar GPU solution has been running in Taiko A3, A4, and A5 projects, demonstrating a 10x acceleration compared to the CPU version and serving as the fastest prover in Taiko A3.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/690/1*4uFReBXUWVMb_schA4VtCA.png" /></figure><p>SuperScalar’s GPU solution is the fastest prover and ranks №1 in proofs’ share.</p><p>The performance improvements of the GPU solution come from accelerating modules such as MSM, NTT, evaluator, and others. Additionally, it incorporates various technologies to avoid or minimize memory copying.</p><p>The Taiko A3 Testnet has been operational since June 2023. Through a partnership with <a href="http://zkpool.io/">ZKPool</a>, SuperScalar has won the largest share of proofs in the Taiko Testnet.</p><p>Here are the results achieved by SuperScalar’s solution in Taiko A3 Tetnet:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/614/1*ADvakBdCXqL0GhuzETUwsg.jpeg" /></figure><ul><li>The data is sourced from ZKPool’s statistics.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/798/1*DelmyLLDyW5v-V-zL4lE9g.jpeg" /></figure><p>Recently, SuperScalar launched the K10, the first FPGA ZKP miner for the Aleo project. They have also introduced the K11, the latest version of the FPGA accelerator for zkEVM solutions. The K11 can accelerate Aleo and zkEVM solutions such as Taiko and Scroll.</p><p>SuperScalar will continue participating as a prover in the Taiko project, including A5 and later Testnet and Mainnet. SuperScalar is also working on accelerating other ZKP projects and providing GPU, FPGA, or ASIC solutions.</p><p>For more information, please get in touch with SuperScalar.</p><p>Website: <a href="http://superscalar.io/">superscalar.io</a></p><p>Email: <a href="/service/mailto:sales@superscalar.io">sales@superscalar.io</a></p><p>Twitter: @SuperScalar_io</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2f12b825dcf7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Quick Overview of the Halo2 GPU Acceleration Solution]]></title>
            <link>https://medium.com/@SuperScalar_io/quick-overview-of-the-halo2-gpu-acceleration-solution-f68c00652552?source=rss-19a41ecc87a2------2</link>
            <guid isPermaLink="false">https://medium.com/p/f68c00652552</guid>
            <dc:creator><![CDATA[SuperScalar]]></dc:creator>
            <pubDate>Thu, 05 Oct 2023 10:13:49 GMT</pubDate>
            <atom:updated>2023-10-06T11:29:17.651Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o2znUQR4-mJhGde5A5qPEQ.jpeg" /></figure><p>SuperScalar, a pioneering company in the realm of accelerated verifiable computation, offers a comprehensive range of products encompassing GPU, FPGA, and ASIC solutions. This article delves into the GPU acceleration solution that SuperScalar has not only been diligently developing but also successfully deployed in Zero-Knowledge Proof (ZKP) projects, including Taiko.</p><h3>Background</h3><p>Currently, many leading Zero-Knowledge Proof (ZKP) projects are widely adopting the Halo2 algorithm, such as PSE, Taiko, Scroll, and others. These projects typically employ the CPU version for proof generation. However, due to the substantial hardware resources required for handling large-scale circuits, generating ZKP proofs using CPU can be time-consuming, ranging from seconds to several minutes, or even longer. Hence, there is an urgent need to explore an acceleration solution.</p><p>GPU are known to excel at parallel computing.Algorithms such as Multi-Scalar Multiplication (MSM) and Number Theoretic Transform (NTT) in the Halo2 algorithm are time-consuming and involve large-scale parallel computation, making use of GPU ideal.From a technical perspective, GPU offer comprehensive development tools, including programming languages like CUDA, which contribute to shorter development cycles.From a commercialization perspective, GPU are easy to access, have a strong supply chain and a mature ecosystem.Therefore, utilizing GPU acceleration is seen as the ideal direction for ZKP acceleration, and GPU hold immense potential in the field of ZKP acceleration.</p><p>Some projects and teams have already started utilizing GPU to accelerate ZKP such as ALEO, as well as some more professional competitions, such as ZPrize. With the aid of GPU acceleration, it is expected to promote the further development and wide application of ZKP, providing more potential possibilities in areas such as privacy protection, secure encryption and blockchain.</p><h3>Motivation to accelerate Halo2 with GPU</h3><p><strong><em>- The CPU version of Halo2 proof generation is very slow</em></strong></p><p>Currently, the CPU version of the Halo2 algorithm requires a significant amount of time for proof generation, resulting in a relatively slow proof generation speed, which may take several minutes or even longer.</p><p><strong><em>- MSM, NTT and Evaluation calculations take a high proportion of time</em></strong></p><p>During the generation of Halo2 proof,Calculations such as MSM and NTT account for a considerable proportion of the total time required.The specific distribution of time may vary depending on the circuit, with some circuits exhibiting a particularly high proportion of time allocated to Evaluation.By optimizing calculations such as MSM, NTT, and Evaluation, it is possible to substantially reduce the time required for proof generation.</p><p><strong><em>- To Integrate Hardware Acceleration into the Halo2 Framework</em></strong></p><p>In order to take full advantage of the computing power of GPU,we need to integrate hardware acceleration into the Halo2 framework. This requires a unified design of module management and memory management to take into account the overall computing characteristics of Halo2.In this way, you can speed up proof generation and improve overall performance.</p><h3>Solution Overview</h3><blockquote><strong><em>Architecture</em></strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/837/1*su5uXOPluLSb2Eg7FPEoEw.jpeg" /></figure><p>The GPU framework includes an internal GPU manager module, which comprises Rust code for modules like MSM, NTT, and others.The primary responsibility of this module is to provide external interfaces while internally being capable of invoking CUDA code and performing certain management operations.This module interfaces with CUDA code through GPU FFI (Foreign Function Interface).In the context of the Halo2 algorithm, the most fundamental calculations involve finite field computations, whereas modules like MSM, NTT, and Evaluation are built upon these finite field calculations.</p><blockquote><strong><em>Algorithm optimization</em></strong></blockquote><p><strong>- </strong>In finite field calculations, we optimize the computation process using Montgomery modular multiplication and implement acceleration through assembly language.</p><p>- For MSM module, we employ the Pippenger algorithm for grouping to reduce computation overhead, enhance parallelism, and utilize point addition operations with lower computational complexity. Additionally, we incorporate excellent algorithmic optimizations from the industry, such as those observed in ZPrize.</p><p>- In the NTT module, we utilize the Fast Fourier Transform (FFT) algorithm.</p><p>- Field calculations encompass various computations based on finite fields, including batch inversion.</p><blockquote><strong><em>Data Transfer</em></strong></blockquote><p><strong>Precomputation</strong>: For specific circuits, the base points for MSM and the omegas for FFT are often fixed. These data can be transmitted to the GPU memory during GPU initialization, eliminating the need to transmit these bases every time MSM and FFT calculations are performed. This approach helps save on additional data transfer overhead.</p><p><strong>Reduce Redundant Data Transfers</strong>: Through combined computations, such as performing FFT followed immediately by MSM calculations, the result of FFT can be used directly as input for MSM. This avoids the necessity of transferring data from GPU to CPU and back to GPU, reducing the complexity and cost associated with data transfer.</p><blockquote><strong><em>Extensible compatibility</em></strong></blockquote><p>By configuring the curve, we can achieve compatibility with bn264 and other different curves. This means that our system can flexibly adapt to various curve parameter configurations to meet diverse needs and application scenarios.</p><h3>Benchmark</h3><h4><strong>Configuration:</strong></h4><p>8-core AMD Ryzen 7 7800X3D 8-Core Processor</p><p>64GB RAM</p><p>NVIDIA RTX 3090 GPU with 24GB of VRAM</p><p><strong>MSM:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3_myIkziK7s8xsQsGLHMiw.jpeg" /></figure><p><strong>NTT:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GW4mRdGJwR8poz_TBZKc4g.jpeg" /></figure><p>Note: GPU time includes the time taken to transfer data from the CPU to the GPU and back to the GPU.</p><p>The above is our baseline result, and through further optimization, we have the potential to improve performance by an additional 1 to 2 times.</p><h3>Reference</h3><p><strong>ZPrize: </strong><a href="https://github.com/z-prize/2022-entries">https://github.com/z-prize/2022-entries</a></p><p><strong>zkSync</strong>: <a href="https://github.com/matter-labs/era-bellman-cuda">https://github.com/matter-labs/era-bellman-cuda</a></p><h4>More Information About SuperScalar</h4><p>Website：<a href="https://www.superscalar.io/">https://www.superscalar.io/</a><br>Twitter：<a href="https://twitter.com/SuperScalar_io">https://twitter.com/SuperScalar_io</a><br>Github：<a href="https://github.com/superscalar-io">https://github.com/superscalar-io</a><br>Discord：<a href="https://discord.gg/EJXBDZg7WD">https://discord.gg/EJXBDZg7WD</a><br>Medium：<a href="https://medium.com/@SuperScalar_io">https://medium.com/@SuperScalar_io</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f68c00652552" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Accelerated Computing Era Has Arrived]]></title>
            <link>https://medium.com/@SuperScalar_io/the-accelerated-computing-era-has-arrived-a5854f3eb6a4?source=rss-19a41ecc87a2------2</link>
            <guid isPermaLink="false">https://medium.com/p/a5854f3eb6a4</guid>
            <category><![CDATA[zero-knowledge-proofs]]></category>
            <category><![CDATA[miners]]></category>
            <category><![CDATA[asics]]></category>
            <category><![CDATA[fpga]]></category>
            <category><![CDATA[gpu]]></category>
            <dc:creator><![CDATA[SuperScalar]]></dc:creator>
            <pubDate>Tue, 01 Aug 2023 08:54:07 GMT</pubDate>
            <atom:updated>2023-08-01T08:54:07.967Z</atom:updated>
            <content:encoded><![CDATA[<p>Currently, Nvidia’s market capacity is about 8 times that of Intel. Accelerated computing has far surpassed general CPU computing and mainly refers to large-scale and parallel computation, such as machine learning, zero-knowledge proof, and graphic rendering. As Nvidia CEO Jensen Huang stated, “We have now reached the tipping point of a new computing era.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/959/1*XMH9J-smzHYx3MrVRLycsQ.png" /></figure><p>Additionally, accelerated verifiable computing is emerging, especially in zero-knowledge proof. In zero-knowledge proof, large-scale modulo operation is required for high degree MSM (Multi-scalar Multiplication) and NTT (Number Theoretic Transform) under finite field.</p><p>The applications of zero-knowledge proof include Ethereum scaling, privacy blockchain, zero-knowledge machine learning, and more. We believe zero-knowledge proof will be the cornerstone of future computation. Vitalik said in EDCON2023: “zK-SNARKs are going to be as important as blockchains in the next 10 years.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/726/1*-01176e-OIA20RwttLjf0w.png" /></figure><p>As the tremendous progress of LLM and ChatGPT continues, AI enters a new wave. In the AI era, privacy becomes important, so zero-knowledge machine learning becomes a hot topic.</p><p>Superscalar is a company that focuses on delivering accelerated computing solutions, especially verifiable computation. Its products include GPU, FPGA, and ASIC solutions, as well as hardware machines.</p><p>Superscalar wishes to work with partners to accelerate computation and the shift towards new computation paradigms.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a5854f3eb6a4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>