GithubHelp home page GithubHelp logo

ananicy-rules's Introduction

Ananicy-cpp-rules for CachyOS

This is a ananicy-cpp-rules collection for ananicy-cpp maintained by the CachyOS team.

Ananicy-cpp & ananicy-cpp-rules

  • ananicy-cpp - daemon that automatically adjusts the nice levels of processes.
  • ananicy-cpp-rules - list of rules used to assign specific nice values to specific processes.

The nice value determines the priority of a process, with higher values indicating lower priority and making the process "nicer" to other processes. By default, on Linux workstations, the nice value is set to 0.

How to contribute

You can add your favorite games, apps, and more. Any help would be greatly appreciated!
For example, let's say you want to add a game.

  1. Go to 00-default
  2. Go to games
  3. Create a new file with the same name as your game, for example, gamename.rules

Examples of rules

The first example is simple. In the second example, it is different because some games generate multiple processes. In such cases, you need to add all the processes related to the game.

# https://store.steampowered.com/app/8190/Just_Cause_2/
{ "name": "JustCause2.exe", "type": "Game" }
# The Outer Worlds https://store.steampowered.com/app/578650
{ "name": "Indiana-Win64-Shipping.exe", "type": "Game"}
{ "name": "TheOuterWorlds.exe", "type": "Game"}
# https://store.steampowered.com/app/620/Portal_2/
{ "name": "portal2_linux", "type": "Game" }

How to find out proper process name?

Here is a list of tools

CLI

GUI

GameMode + ananicy-cpp = bad idea

GameMode and ananicy-cpp both adjust the nice levels of processes. However, combining both tools is not recommended, and we strongly advise against doing so.

ananicy-rules's People

Contributors

aarrayy avatar ave356 avatar delet-this avatar donkatsu avatar gel-crabs avatar geoboi254 avatar hecos1 avatar hzmaya avatar jilv220 avatar johnrtitor avatar joshuataylor avatar juampy-r avatar lingruby-pl avatar micros24 avatar ms178 avatar nextwork123 avatar nyuware avatar ptr1337 avatar revumber avatar shelterx avatar shobhit0109 avatar soongvilda avatar soulharsh007 avatar ssdj3nt avatar starterx4 avatar teppyboy avatar torston420 avatar vhalragnarok-ffxiv avatar vnepogodin avatar zebh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ananicy-rules's Issues

Feature Request: Please add rule for scx (sched-ext)

The scx programs are part of the sched-ext kernel scheduling program. Because of sched-ext schedulers are running in user space environmemt, so it's nessary to set a higher priority.

The scx programs are come with scx_xxx (xxx is the schedulers name, like scx_bpfland)

For now CachyOS have these schedulers by default: scx_bpfland scx_lavd scx_nest scx_rlfifo scx_rusty scx_userland scx_central scx_layered scx_qmap scx_rustland scx_simple

Why is htop / btop is BG_CPUIO?

Those are highly interactive tools, and setting them such a low priority makes them nigh unusable under heavy CPU load.

This is especially ironic, considering they are the tools you would use to renice some CPU-hungry processes if it doesn't happen automatically already.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.