<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sahil Arora</title>
    <description>The latest articles on DEV Community by Sahil Arora (@sahilarora3117).</description>
    <link>https://dev.to/sahilarora3117</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F360673%2F43c17893-f0d8-4984-9467-19581c1e0b44.png</url>
      <title>DEV Community: Sahil Arora</title>
      <link>https://dev.to/sahilarora3117</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sahilarora3117"/>
    <language>en</language>
    <item>
      <title>Benchmarks made easier with Phoronix Test Suite, running a simple benchmark with PTS</title>
      <dc:creator>Sahil Arora</dc:creator>
      <pubDate>Tue, 27 Apr 2021 14:20:21 +0000</pubDate>
      <link>https://dev.to/sahilarora3117/benchmarks-made-easier-with-phoronix-test-suite-running-a-simple-benchmark-with-pts-pm3</link>
      <guid>https://dev.to/sahilarora3117/benchmarks-made-easier-with-phoronix-test-suite-running-a-simple-benchmark-with-pts-pm3</guid>
      <description>&lt;h1&gt;
  
  
  Linux Benchmarking made easy
&lt;/h1&gt;

&lt;p&gt;No longer do you need to get lots of tools and software to benchmark a system. With something like Phoronix Test Suite, the whole process has become a lot easier. &lt;/p&gt;

&lt;h2&gt;
  
  
  So what is Phoronix Test Suite
&lt;/h2&gt;

&lt;p&gt;It's a free and open-source benchmark software that is cross-compatible with multiple operating systems.&lt;/p&gt;

&lt;h2&gt;
  
  
  Installing Phoronix Test Suite
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1aci9ldkv5zw48dj373t.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1aci9ldkv5zw48dj373t.png" alt="Phoronix Test Suite"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.phoronix-test-suite.com/?k=downloads" rel="noopener noreferrer"&gt;Phoronix Test Suite Download&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  Installation on Ubuntu and Derivatives
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Download the &lt;code&gt;.deb&lt;/code&gt; file from the link. &lt;/li&gt;
&lt;li&gt;Navigate to the location of the file and run.
&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;$ &lt;/span&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;dpkg &lt;span class="nt"&gt;-i&lt;/span&gt; phoronix-test-suite&lt;span class="k"&gt;*&lt;/span&gt;.deb
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h3&gt;
  
  
  Installation on Other Linux Distributions
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Download the Universal &lt;code&gt;.tar.gz&lt;/code&gt; file.&lt;/li&gt;
&lt;li&gt;Extract the folder and navigate to the extracted folder.&lt;/li&gt;
&lt;li&gt;Run the following command.
&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;$ &lt;/span&gt;&lt;span class="nb"&gt;sudo&lt;/span&gt; ./install-sh
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h2&gt;
  
  
  Getting Started
&lt;/h2&gt;

&lt;p&gt;Run the Phoronix Test Suite running by executing&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;$ &lt;/span&gt;phoronix-test-suite
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Accept the EULA and conditions and wait for the dependencies to finish installing.&lt;/p&gt;

&lt;h3&gt;
  
  
  To get System Info
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;$ &lt;/span&gt;phoronix-test-suite system-info
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuuiwdd7ywf48vhegm1ni.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuuiwdd7ywf48vhegm1ni.png" alt="Get System Info"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Pretty self-explanatory! The result will be similar to shown in the image above.&lt;/p&gt;

&lt;h3&gt;
  
  
  To get sensors data
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;$ &lt;/span&gt;phoronix-test-suite system-sensors
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy5p93hch0ij0kw9pd8lc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy5p93hch0ij0kw9pd8lc.png" alt="System Sensors"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  To view all tests run
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;$ &lt;/span&gt;phoronix-test-suite list-all-tests
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fewcwo4efpxic79nwj185.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fewcwo4efpxic79nwj185.png" alt="List all Tests"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  To view all available test suites.
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;$ &lt;/span&gt;phoronix-test-suite list-available-suites
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5kia31b2i5qt9tsc8s1n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5kia31b2i5qt9tsc8s1n.png" alt="List All Suites"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Run your first benchmark
&lt;/h3&gt;

&lt;p&gt;Let's try to run a simple benchmark like &lt;code&gt;webp&lt;/code&gt;, to run enter the command given below&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;$ &lt;/span&gt;phoronix-test-suite benchmark webp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You will be presented with several configuration options for the benchmark. The following options will be shown for the webp benchmark. Choose the appropriate option using the indexes of the options and press enter.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyd3t5kf7zsw8i17v3318.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyd3t5kf7zsw8i17v3318.png" alt="Running the Benchmark"&gt;&lt;/a&gt;&lt;br&gt;
After the test is completed, press Enter to open the result in a browser.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F77ro9q0gf2zpz2ppanrm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F77ro9q0gf2zpz2ppanrm.png" alt="Test Result"&gt;&lt;/a&gt;&lt;br&gt;
The benchmark result file would open in the browser.&lt;/p&gt;

&lt;h2&gt;
  
  
  Configuring The results to see different types of graphs
&lt;/h2&gt;

&lt;p&gt;The more test configurations you run, the more options you will get for graphs that you want to display.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm1e0lbee1v5n59kyzwzk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm1e0lbee1v5n59kyzwzk.png" alt="Configuring The Result"&gt;&lt;/a&gt;&lt;br&gt;
You can also export benchmark data in various formats including CSV, PDFs, HTML, etc.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Femurlv3tuvz4yu4dm1x1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Femurlv3tuvz4yu4dm1x1.png" alt="Export Data"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That's all for now. This article is part of a series on benchmarking with Phoronix Test Suite.&lt;/p&gt;

</description>
      <category>linux</category>
      <category>benchmarking</category>
    </item>
    <item>
      <title>Getting the i3wm tiling experience in Gnome Desktop</title>
      <dc:creator>Sahil Arora</dc:creator>
      <pubDate>Mon, 26 Apr 2021 12:02:37 +0000</pubDate>
      <link>https://dev.to/sahilarora3117/getting-the-i3wm-tiling-experience-in-gnome-desktop-3e95</link>
      <guid>https://dev.to/sahilarora3117/getting-the-i3wm-tiling-experience-in-gnome-desktop-3e95</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;Want a tiling WM but still require the capabilities of the fully fledged gnome desktop? &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;So what is a tiling WM?&lt;/strong&gt;&lt;br&gt;
Tiling window managers provide a perfect to setup your windows on the screen so the whole screen real estate is used. i3WM is the best know tiling window managers. i3WM is generally highly dependent on keyboard use.&lt;/p&gt;

&lt;p&gt;Using i3WM does require a learning curve and require some time to learn on how to setup and use it as a daily driver.&lt;/p&gt;

&lt;p&gt;Learning how to use i3WM might be a story for another day but we want to use the features of a tiling WM on the GNOME Desktop.&lt;/p&gt;

&lt;h2&gt;
  
  
  Installing the Pop shell
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo apt install git node-typescript make
git clone https://github.com/pop-os/shell.git
cd shell
make local-install
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Setting up the Gnome Desktop to use Pop Shell
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fne98z84anhtuyiink0sp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fne98z84anhtuyiink0sp.png" alt="Enable the Pop Shell Extension"&gt;&lt;/a&gt;&lt;br&gt;
Enable the Pop Shell extension in Gnome Tweaks under Extensions.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq5qlpn617z61pgstrvnr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq5qlpn617z61pgstrvnr.png" alt="Enable Window tiling"&gt;&lt;/a&gt;&lt;br&gt;
Enable Window tiling to create window tiles so that they can automatically place themselves on the screen&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fasd8mnw1x4jb2v9e6b3m.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fasd8mnw1x4jb2v9e6b3m.png" alt="Default Shortcuts"&gt;&lt;/a&gt;&lt;br&gt;
These are the default shortcuts for the pop shell. You can change them from the keyboard settings if you want to.&lt;/p&gt;

&lt;p&gt;You can visit the pop shell settings to set the gaps between your windows if you find it too big or too small. &lt;/p&gt;

&lt;h1&gt;
  
  
  So what does this help with?
&lt;/h1&gt;

&lt;p&gt;Gnome doesn't really support quarter tiling, on really huge screens those who use windows already know that how much quarter tiling helps. &lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fup4rgz72u509qcodzk7e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fup4rgz72u509qcodzk7e.png" alt="Quarter Tiling with Pop Shell"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>linux</category>
      <category>i3wm</category>
      <category>shell</category>
    </item>
  </channel>
</rss>
