<?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 Kishen V on Medium]]></title>
        <description><![CDATA[Stories by Kishen V on Medium]]></description>
        <link>https://medium.com/@contactkishen?source=rss-c2930bfa6d05------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*lgJKXb9OIpH1VyC4gjjdxA.jpeg</url>
            <title>Stories by Kishen V on Medium</title>
            <link>https://medium.com/@contactkishen?source=rss-c2930bfa6d05------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 19:26:41 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@contactkishen/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[Baremetal node monitoring on Kubernetes using DMTF Redfish]]></title>
            <link>https://medium.com/@contactkishen/baremetal-node-monitoring-on-kubernetes-using-dmtf-redfish-0e2b42e8fe9f?source=rss-c2930bfa6d05------2</link>
            <guid isPermaLink="false">https://medium.com/p/0e2b42e8fe9f</guid>
            <category><![CDATA[redfish]]></category>
            <category><![CDATA[infrastructure-montoring]]></category>
            <category><![CDATA[kubernetes]]></category>
            <dc:creator><![CDATA[Kishen V]]></dc:creator>
            <pubDate>Fri, 24 Nov 2023 11:01:27 GMT</pubDate>
            <atom:updated>2023-11-24T11:01:27.359Z</atom:updated>
            <content:encoded><![CDATA[<p>In the ever-evolving landscape of container orchestration, Kubernetes has become the cornerstone for deploying and managing scalable, containerized applications. While Kubernetes excels at abstracting away the complexities of application deployment, monitoring the underlying infrastructure is equally critical. In this blog post, we explore a novel approach to node monitoring that extends beyond the kernel, leveraging the capabilities of DMTF Redfish for enhanced visibility into the hardware layer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JVbX7_kk-qiNqS14" /><figcaption>Photo by <a href="https://unsplash.com/@wildmax?utm_source=medium&amp;utm_medium=referral">Massimo Botturi</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3><strong>Why is node monitoring critical?</strong></h3><p>With the existing capabilities, a server/cluster administrator can gain insights about the issues that are prevalent in the OS layer using the available tools and technologies. DMTF Redfish is an open standard that provides a RESTful interface for the management of modern scalable platform hardware. This enables the user to capture further insights related to the physical hardware regarding CPUs, DIMM modules, Fans, Power Supplies, etc.</p><p>Monitoring hardware health is important, as the associated downtime due to failure of critical components not only requires physical intervention, but also depends on the availability of the same.</p><p>Given the platform-agnostic nature and focus on scalability, Redfish is an ideal candidate for extending node monitoring beyond the kernel.</p><h3>Design and Implementation</h3><p>Given tree structure of resources which is accessible through a known starting URI, the Redfish client may discover the resources available on a Redfish Service by following the resource hyperlinks from the base of the tree. This enables the client to understand the existing issues based on the Status.Health field of the Redfish response across all hardware components. Given that fields like, Name, ID and Status.Health are standard across all the resources. The components that require attention, based on on their Health status can be rectified.</p><p>A pod containing the Redfish client can be spun up as deamonset, which ensures that the Redfish Monitoring agent is present across all nodes. The agent then proceeds to collect the information related to the node’s hardware using the BMC’s IP address and proceeds to process each individual component. The periodicity of polling the devices components from Redfish can be configured by the users. Additionally, the Redfish event notifier can be configured to notify the redfish client about any issues that may arise from the underlying hardware in real-time.</p><h3><strong>Advantages</strong></h3><ol><li>Redfish integration into Kubernetes enables the system to raise events based on hardware conditions. This approach allows for the early detection of potential issues, minimizing downtime and improving the overall reliability of the Kubernetes cluster.</li><li>Redfish is designed to be platform-agnostic, making it suitable for a wide range of hardware systems. This flexibility allows organizations to use the same monitoring solution across heterogeneous infrastructure environments.</li><li>The combination of standardized hardware management through Redfish and proactive monitoring in Kubernetes contributes to overall cluster reliability. Organizations can address potential issues before they escalate, minimizing the impact on application availability.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0e2b42e8fe9f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploring etcd’s Efficiency- A Performance Evaluation in ppc64le versus amd64 Environments]]></title>
            <link>https://medium.com/@contactkishen/exploring-etcds-efficiency-a-performance-evaluation-in-ppc64le-versus-amd64-environments-2f722dc2ffeb?source=rss-c2930bfa6d05------2</link>
            <guid isPermaLink="false">https://medium.com/p/2f722dc2ffeb</guid>
            <category><![CDATA[etcd]]></category>
            <category><![CDATA[ppc64le]]></category>
            <category><![CDATA[powerpc]]></category>
            <category><![CDATA[kubernetes]]></category>
            <dc:creator><![CDATA[Kishen V]]></dc:creator>
            <pubDate>Tue, 13 Jun 2023 05:25:17 GMT</pubDate>
            <atom:updated>2023-06-13T05:26:35.260Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p><a href="https://github.com/etcd-io/etcd#etcd">Etcd</a> serves as a key-value datastore and is a go-to solution for managing data in distributed systems environments. It holds a significant role as the brain of a Kubernetes cluster, responsible for storing and managing the state of the entire system. This encompasses crucial data such as pods, namespaces, services, configurations, and more. The API server relies on etcd’s capabilities, such as Data Storage, Consistency, Concurrency Control, Cluster Coordination, and the WATCH API to detect any changes made to the stored keys.</p><h3>Understanding Performance Factors:</h3><p>The performance of etcd is primarily determined by two important factors: latency and throughput. Achieving minimum latency and high throughput is essential for low turnaround time for requests. To measure the performance offered by etcd, the repository provides a benchmark utility. This tool allows users to evaluate and analyze the performance metrics efficiently. Different platforms and architectures may have their own advantages and disadvantages, making it essential to assess their impact on etcd’s performance and determining the most suitable workload for the respective architecture.</p><h3>Benchmarking with the etcd repository:</h3><p>Before we delve into interpreting and analyzing the benchmark results, let’s take a moment to understand the<a href="https://github.com/etcd-io/etcd/tree/main/tools/benchmark#etcdtoolsbenchmark"> benchmark</a> utility bundled with the etcd repository. This tool plays a vital role in gathering performance metrics for etcd. It enables users to measure latency, throughput, and other relevant parameters, providing valuable insights into the system’s efficiency.</p><h3>Benchmark tool:</h3><p>The <a href="https://github.com/etcd-io/etcd/tree/main/tools/benchmark#etcdtoolsbenchmark">benchmark tool</a> is designed to measure the performance and benchmark the etcd cluster and helps assess the capabilities and performance of an etcd cluster under different workloads and conditions. The tool can be used to simulate various scenarios and test the system’s response, allowing users to evaluate the performance and scalability of their etcd deployment.</p><p>By running the benchmark tool, one can generate a synthetic workload on the etcd cluster and measure the system’s performance metrics such as throughput, latency, and other relevant statistics. This information can be crucial for understanding how the etcd cluster will perform under different scenarios, identifying potential bottlenecks or performance issues, or the kind of workload that is most suited for a particular computer architecture, in this case.</p><p>The benchmark tool provides various options and parameters such as varying sizes of keys and values, number of clients and connections, etc. to customize the workload, allowing you to simulate different types of operations, concurrency levels, and data sizes. This flexibility enables you to tailor the benchmark to your specific use case and evaluate the performance characteristics that are most relevant to the workload under consideration</p><p>The following subcommands are supported by the benchmark tool</p><p>mvcc Benchmark mvcc</p><p>put Benchmark put</p><p>range Benchmark range</p><p>stm Benchmark STM</p><p>txn-mixed Benchmark a mixed load of txn-put &amp; txn-range.</p><p>txn-put Benchmark txn-put</p><p>watch Benchmark watch</p><p>watch-get Benchmark watch with get</p><p>watch-latency Benchmark watch latency</p><p>of which, `put` command is what had been used for the tests, with various key and value sizes, a range of values for clients and connections.</p><h3>Comparison of throughput in amd64 and ppc64le environments:</h3><p>In this post, we will focus on comparing the performance statistics between two platforms: <a href="https://en.wikipedia.org/wiki/X86-64#AMD64">amd64</a> and <a href="https://en.wikipedia.org/wiki/Ppc64">ppc64le</a>. Both platforms have their distinct characteristics and implications when it comes to utilizing etcd. To shed light on their differences, we will evaluate the key and value sizes that need to be stored in the datastore. By examining these variables, we can gain insights into how the two platforms perform and identify any variances in their capabilities. The tests were done on a single node etcd cluster, with the node spun-up locally as a process, with CentOS Stream 8 as the operating system.</p><p>The following are the specifications of the environment used to compare the throughputs on ppc64le and an amd64 environment. Although, the ppc64le node is clocked 100MHz faster than the ppc64le node, the rest of the factors such as number of CPUs and Processing units are powered to an extent to have a fair comparison.</p><p>The following is the node compute configuration for the ppc64le environment:<br> 1PU(8vCPU) — 8GB memory –</p><p>Architecture: ppc64le</p><p>Byte Order: Little Endian</p><p>CPU(s): 8</p><p>On-line CPU(s) list: 0–7</p><p>Thread(s) per core: 8</p><p>Core(s) per socket: 1</p><p>Socket(s): 1</p><p>NUMA node(s): 1</p><p>Model: 2.2 (pvr 004e 0202)</p><p>Model name: POWER9 (architected), altivec supported</p><p>Hypervisor vendor: pHyp</p><p>Virtualization type: para</p><p>L1d cache: 32K</p><p>L1i cache: 32K</p><p>NUMA node1 CPU(s): 0–7</p><p>Physical sockets: 2</p><p>Physical chips: 1</p><p>Physical cores/chip: 10</p><p>Amd64 environment- 4vCPU 8GB</p><p>[root@kishen-etcd-test-vm ~]# cat /proc/cpuinfo</p><p>processor : 0</p><p>vendor_id : GenuineIntel</p><p>cpu family : 6</p><p>model : 85</p><p>model name : Intel Xeon Processor (Cascadelake)</p><p>stepping : 6</p><p>microcode : 0x1</p><p>cpu MHz : 2394.290</p><p>cache size : 16384 KB</p><p>physical id : 0</p><p>siblings : 2</p><p>core id : 0</p><p>cpu cores : 1</p><p>apicid : 0</p><p>initial apicid : 0</p><p>fpu : yes</p><p>fpu_exception : yes</p><p>cpuid level : 13</p><p>wp : yes</p><h3>Benchmark variations covered:</h3><p>The benchmark tests had been conducted using etcd’s benchmarking tool:</p><p><strong>Finding 1:</strong> With larger “value” size for each key, the throughput in the case of ppc64le is significantly higher than x86 based runs, for equally powered VMs for large keys.</p><p>The size of the value was set through 256, 512, 1024, 2048, 4096 and 8912 for each run, for both platforms. Beyond the value-size of 1024, etcd’s performance in the x86 based runs degrades sharply beyond value size 1024 bytes.</p><blockquote><strong>Command:</strong></blockquote><blockquote>benchmark — target-leader — conns=100 — clients=1000 put — key-size=8 — sequential-keys — total=500000 — val-size=X</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/904/1*O_s3nm77Tp8MYkFHYT_p_g.png" /></figure><p><strong>Finding 2:</strong> The following graph represents the relationship between throughput and the number of clients used to write the data to etcd for a constant size set for keys and values, that are to be written to the etcd. The performance degrades sharply in the amd64 environment beyond cases where the number of clients to write to etcd exceeds 2000.</p><blockquote><strong>Command:</strong></blockquote><blockquote>benchmark — target-leader — conns=100 — clients= put — key-size=8 — sequential-keys — total=500000 — val-size=256</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*JzzHL5yD_uKBQr6QRT5l7w.png" /></figure><p><strong>Finding 3: </strong>With varying number of clients with a set number of connections had marignal performance gain in the ppc64le environment.</p><blockquote><strong>Command:</strong></blockquote><blockquote>benchmark — target-leader — conns=X — clients=1000 put — key-size=8 — sequential-keys — total=500000 — val-size=256</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/904/1*f4T7xXaIu118PmfR2NBCRg.png" /></figure><p><strong>Finding 4:</strong> In a containerised environment, ppc64le based etcd containers have better throughput across varying sizes of keys. The nodes were setup as single node kubernetes clusters with 1C and 16GB of memory and 4vCPU and 16GB of memory on PowerVS(ppc64le) and VPC(amd64) environments respectively.</p><p>ppc64le has the upper hand in providing higher throughput in an equally comparable amd64 environment. The version of ETCD used here is 3.5.9.</p><blockquote><strong>Command:</strong></blockquote><blockquote>benchmark — target-leader — cacert /etc/kubernetes/pki/etcd/ca.crt — cert /etc/kubernetes/pki/etcd/server.crt — key /etc/kubernetes/pki/etcd/server.key — conns=100 — clients=1000 put — key-size=8 — sequential-keys — total=1000000 — val-size=X</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/962/1*4kceUfDj2TpkLvsPhI4Hng.png" /></figure><h3>Findings and observations:</h3><p>Etcd clusters hosted on ppc64le architecture have an edge over x86 based clusters in cases of large key-value sizes, large number of clients to write data and marginally better performance in case of high number of client connections.</p><h3>References:</h3><p>Relationship between fio and etcd performance — <a href="https://www.ibm.com/cloud/blog/using-fio-to-tell-whether-your-storage-is-fast-enough-for-etcd">https://www.ibm.com/cloud/blog/using-fio-to-tell-whether-your-storage-is-fast-enough-for-etcd</a></p><p>Etcd Benchmark tool : <a href="https://etcd.io/docs/v3.4/op-guide/performance/">https://etcd.io/docs/v3.4/op-guide/performance/</a></p><p>Blog on Alibaba’s route to etcd optimization: <a href="https://www.alibabacloud.com/blog/performance-optimization-of-etcd-in-web-scale-data-scenario_594750">https://www.alibabacloud.com/blog/performance-optimization-of-etcd-in-web-scale-data-scenario_594750</a></p><p>Summary of etcd benchmarks: <a href="https://indico.cern.ch/event/560399/contributions/2262460/attachments/1318051/1975404/slides.pdf">https://indico.cern.ch/event/560399/contributions/2262460/attachments/1318051/1975404/slides.pdf</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2f722dc2ffeb" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>