<?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: WarchOS</title>
    <description>The latest articles on DEV Community by WarchOS (@warchos).</description>
    <link>https://dev.to/warchos</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4133192%2F807f14fd-dab7-4ff3-bac4-0c8fee248c4c.png</url>
      <title>DEV Community: WarchOS</title>
      <link>https://dev.to/warchos</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/warchos"/>
    <language>en</language>
    <item>
      <title>Architecture of WarchOS: A Custom Arch-Based Setup with Hyprland, a Dynamic CPU Scheduling Daemon, and an Automated Wine Prefix Manager</title>
      <dc:creator>WarchOS</dc:creator>
      <pubDate>Sat, 19 Sep 2026 17:06:11 +0000</pubDate>
      <link>https://dev.to/warchos/architecture-of-warchos-a-custom-arch-based-setup-with-hyprland-a-dynamic-cpu-scheduling-daemon-1892</link>
      <guid>https://dev.to/warchos/architecture-of-warchos-a-custom-arch-based-setup-with-hyprland-a-dynamic-cpu-scheduling-daemon-1892</guid>
      <description>&lt;p&gt;WarchOS is a custom Arch Linux environment aimed at maximizing system performance, optimizing Wayland workflows, and handling Windows executables natively without cluttering the host file system. The goal of this project is to maintain a lightweight, heavily optimized system that does not compromise on compatibility.&lt;/p&gt;

&lt;p&gt;Here is a technical breakdown of the operating system architecture and the custom tools running under the hood.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The Core System: WarchOS&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The foundation is a custom Arch Linux distribution built utilizing archiso, custom systemd service units, and shell scripts. Rather than relying on a pre-configured, heavy desktop stack, the environment is stripped down to essential services. This leaves maximum RAM and CPU overhead available for intensive tasks, compiling code, and heavy workloads.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Window Management: Hyprland over Wayland&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;To eliminate the screen tearing and overhead associated with X11, the primary interface relies entirely on the Wayland protocol, utilizing Hyprland and SwayFX.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;System monitoring is handled by Waybar, and SDDM is used as the display manager.

By using a dynamic tiling window manager, the interface delivers perfectly smooth animations and a keyboard-centric workflow.

The system idles with incredibly low memory and processor consumption compared to traditional desktop environments.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;ol&gt;
&lt;li&gt;Windows Application Isolation: Harch .exe Manager&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;To run Windows software without manual Wine prefix configuration or relying on standard GUIs, WarchOS utilizes a custom solution called the Harch .exe Manager. It automates prefix isolation and dependency resolution:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Automated Dependency Resolution: When an .exe is launched for the first time, Harch scans the file. If graphics translation layers like DXVK (for DirectX 9/10/11) or VKD3D (for DirectX 12) are required, it interfaces with Winetricks to download them automatically. Pre-existing packages are skipped to save time and bandwidth.

Clean Isolation: All configurations, dependencies, and environment variables are strictly sandboxed inside the ~/runfwine/dep directory.

Dynamic Prefix Manipulation: Harch launches the application in a specialized, isolated Wine prefix. Through dynamic manipulation, it tricks the executable into seeing a complete, legitimate Windows root directory. The application functions flawlessly, but the host Linux file system remains completely untouched and secure.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;ol&gt;
&lt;li&gt;Hardware Resource Allocation: CPUAD&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;To ensure that foreground applications and games maintain stable frame times, WarchOS features a custom CPU management daemon known as CPUAD. This daemon communicates directly with Linux kernel scheduler classes (specifically stop_sched_class, fair_sched_class, and rt_sched_class). It dynamically adjusts process priorities and CPU governor modes on the fly based on the active workload, ensuring optimal hardware access exactly when it is needed.&lt;/p&gt;

&lt;p&gt;Feedback on this setup, particularly regarding the dynamic prefix manipulation approach for Wine or custom kernel scheduling daemons, is highly appreciated.&lt;/p&gt;

&lt;h1&gt;
  
  
  ArchLinux, #Hyprland, #LinuxGaming, #OpenSource
&lt;/h1&gt;

</description>
      <category>architecture</category>
      <category>archlinux</category>
      <category>linux</category>
      <category>performance</category>
    </item>
  </channel>
</rss>
