From a287fb708ac2cb32eb62c00e51979199f0f8e1cd Mon Sep 17 00:00:00 2001 From: fyn5908 Date: Sat, 29 Jan 2022 22:54:16 +0800 Subject: [PATCH 01/14] add wps rules --- ananicy.d/00-default/wps.rules | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 ananicy.d/00-default/wps.rules diff --git a/ananicy.d/00-default/wps.rules b/ananicy.d/00-default/wps.rules new file mode 100644 index 00000000..07b5e785 --- /dev/null +++ b/ananicy.d/00-default/wps.rules @@ -0,0 +1,8 @@ +# wps +{"name": "wps", "iocalss": "best-effort", "ionice": 7, "nice": -3, "type": "Doc-View"} +# wpp +{"name": "wpp", "iocalss": "best-effort", "ionice": 7, "nice": -3, "type": "Doc-View"} +# wps's cloud sync +{"name": "wpscloudsvr", "type": "BG_CPUIO", "nice": -15} +# wpspdf +{"name": "wpspdf", "type": "Doc-View", "iocalss": "best-effort", "ionice": 7, "nice": -3} From d09ba410ee0cfa7afbaf3cd73b1208e67ad54c91 Mon Sep 17 00:00:00 2001 From: fyn5908 Date: Sat, 29 Jan 2022 23:00:17 +0800 Subject: [PATCH 02/14] add rules --- ananicy.d/00-default/clang.rules | 2 ++ ananicy.d/00-default/iclingua.rules | 1 + ananicy.d/00-default/lld.rules | 1 + 3 files changed, 4 insertions(+) create mode 100644 ananicy.d/00-default/clang.rules create mode 100644 ananicy.d/00-default/iclingua.rules create mode 100644 ananicy.d/00-default/lld.rules diff --git a/ananicy.d/00-default/clang.rules b/ananicy.d/00-default/clang.rules new file mode 100644 index 00000000..fbf3dbf0 --- /dev/null +++ b/ananicy.d/00-default/clang.rules @@ -0,0 +1,2 @@ +{"name": "clang", "type": "Heavy_CPU"} +{"name": "clang++", "type": "Heavy_CPU"} diff --git a/ananicy.d/00-default/iclingua.rules b/ananicy.d/00-default/iclingua.rules new file mode 100644 index 00000000..1d7eab66 --- /dev/null +++ b/ananicy.d/00-default/iclingua.rules @@ -0,0 +1 @@ +{"name": "icligua", "type": "Chat", "nice": -10} diff --git a/ananicy.d/00-default/lld.rules b/ananicy.d/00-default/lld.rules new file mode 100644 index 00000000..974487fe --- /dev/null +++ b/ananicy.d/00-default/lld.rules @@ -0,0 +1 @@ +{"name": "lld", "type": "Heavy_CPU"} From 10b9927dd2ffae227516868f6267b5d710d93e7b Mon Sep 17 00:00:00 2001 From: fyn5908 Date: Sat, 29 Jan 2022 23:03:20 +0800 Subject: [PATCH 03/14] change README.md --- README.md | 1 + ananicy.initd | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100755 ananicy.initd diff --git a/README.md b/README.md index e941b03a..6ec50724 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,7 @@ Read more about semantic versioning [here](http://semver.org/) ## Installation To use ananicy you must have systemd installed. +If you use openrc, please copy the ananicy.initd to `/etc/init.d` and enable it You can install ananicy manually by: ``` diff --git a/ananicy.initd b/ananicy.initd new file mode 100755 index 00000000..95a021e5 --- /dev/null +++ b/ananicy.initd @@ -0,0 +1,18 @@ +#!/sbin/openrc-run + +pidfile="/run/ananicy.pid" +command="/usr/bin/ananicy" +command_args="start" +command_background=true + +start_pre() { + /usr/sbin/sysctl -e kernel.sched_autogroup_enabled=0 +} + +stop_post() { + /usr/sbin/sysctl -e kernel.sched_autogroup_enabled=1 +} + +stop() { + start-stop-daemon --stop --pidfile "$pidfile" +} From dd325a1cedfa2badeb073b47be3e4485d72e4266 Mon Sep 17 00:00:00 2001 From: fyn5908 Date: Sat, 29 Jan 2022 23:36:54 +0800 Subject: [PATCH 04/14] add rules --- ananicy.d/00-default/_archivers.rules | 15 +++++++ ananicy.d/00-default/_systemd.rules | 5 +++ ananicy.d/00-default/_top.rules | 25 ++++++++++++ ananicy.d/00-default/android-studio.rules | 3 -- ananicy.d/00-default/apt.rules | 42 ++++++++++++++++++++ ananicy.d/00-default/atop.rules | 6 +++ ananicy.d/00-default/awesome_wm.rules | 2 +- ananicy.d/00-default/bitcoin.rules | 3 ++ ananicy.d/00-default/bspwm.rules | 2 +- ananicy.d/00-default/buildah.rules | 2 + ananicy.d/00-default/ca-certificates.rules | 1 + ananicy.d/00-default/ccache.rules | 2 + ananicy.d/00-default/chrony.rules | 2 + ananicy.d/00-default/citra.rules | 3 ++ ananicy.d/00-default/clang.rules | 9 +++++ ananicy.d/00-default/command-not-found.rules | 2 + 16 files changed, 119 insertions(+), 5 deletions(-) create mode 100644 ananicy.d/00-default/_top.rules create mode 100644 ananicy.d/00-default/apt.rules create mode 100644 ananicy.d/00-default/atop.rules create mode 100644 ananicy.d/00-default/bitcoin.rules create mode 100644 ananicy.d/00-default/buildah.rules create mode 100644 ananicy.d/00-default/ca-certificates.rules create mode 100644 ananicy.d/00-default/ccache.rules create mode 100644 ananicy.d/00-default/chrony.rules create mode 100644 ananicy.d/00-default/citra.rules create mode 100644 ananicy.d/00-default/command-not-found.rules diff --git a/ananicy.d/00-default/_archivers.rules b/ananicy.d/00-default/_archivers.rules index 0e630996..235f4fae 100644 --- a/ananicy.d/00-default/_archivers.rules +++ b/ananicy.d/00-default/_archivers.rules @@ -5,3 +5,18 @@ { "name": "lzop", "type": "BG_CPUIO" } { "name": "xz", "type": "BG_CPUIO" } { "name": "zstd", "type": "BG_CPUIO" } + +{ "name": "zip", "type": "BG_CPUIO" } +{ "name": "tar", "type": "BG_CPUIO" } +{ "name": "rar", "type": "BG_CPUIO" } +{ "name": "brotli", "type": "BG_CPUIO" } + +{ "name": "unzip", "type": "BG_CPUIO" } +{ "name": "unlz4", "type": "BG_CPUIO" } +{ "name": "unlzma", "type": "BG_CPUIO" } +{ "name": "unxz", "type": "BG_CPUIO" } +{ "name": "unzipsfx", "type": "BG_CPUIO" } +{ "name": "unzstd", "type": "BG_CPUIO" } + +# https://theunarchiver.com/command-line +{ "name": "unar", "type": "BG_CPUIO" } diff --git a/ananicy.d/00-default/_systemd.rules b/ananicy.d/00-default/_systemd.rules index f80a4462..d2626494 100644 --- a/ananicy.d/00-default/_systemd.rules +++ b/ananicy.d/00-default/_systemd.rules @@ -1,2 +1,7 @@ # https://www.freedesktop.org/wiki/Software/systemd/ { "name": "systemd-timesyncd", "type": "BG_CPUIO" } + +{ "name": "systemd-journald", "type": "BG_CPUIO" } +{ "name": "systemd-cryptenroll", "type": "BG_CPUIO" } +{ "name": "systemd-dissect", "type": "BG_CPUIO" } +{ "name": "systemd-nspawn", "type": "Container" } diff --git a/ananicy.d/00-default/_top.rules b/ananicy.d/00-default/_top.rules new file mode 100644 index 00000000..906ae644 --- /dev/null +++ b/ananicy.d/00-default/_top.rules @@ -0,0 +1,25 @@ +{ "name": "top", "type": "BG_CPUIO" } +{ "name": "qtop", "type": "BG_CPUIO" } +{ "name": "itop", "type": "BG_CPUIO" } +{ "name": "iotop", "type": "BG_CPUIO" } + +# htop process browser: https://hisham.hm/htop/ +{ "name": "htop", "type": "BG_CPUIO" } + +# https://github.com/yadutaf/ctop +{ "name": "ctop", "type": "BG_CPUIO" } + +# https://people.redhat.com/~rjones/virt-top/ +{ "name": "virt-top", "type": "BG_CPUIO" } + +# https://github.com/clbr/radeontop +{ "name": "radeontop", "type": "BG_CPUIO" } + +# https://www.ex-parrot.com/pdw/iftop/ +{ "name": "iftop", "type": "BG_CPUIO" } + +# https://01.org/powertop/ +{ "name": "powertop", "type": "BG_CPUIO" } + +# http://nmon.sourceforge.net/ +{ "name": "nmon", "type": "BG_CPUIO" } diff --git a/ananicy.d/00-default/android-studio.rules b/ananicy.d/00-default/android-studio.rules index 660557df..513102ed 100644 --- a/ananicy.d/00-default/android-studio.rules +++ b/ananicy.d/00-default/android-studio.rules @@ -1,5 +1,2 @@ { "name": "android-studio", "type": "Heavy_CPU" } { "name": "avd", "type": "Heavy_CPU" } -{ "name": "java", "type": "Heavy_CPU" } -{ "name": "qemu-system-x86_64", "type": "Heavy_CPU" } -{ "name": "qemu-system-x86", "type": "Heavy_CPU" } diff --git a/ananicy.d/00-default/apt.rules b/ananicy.d/00-default/apt.rules new file mode 100644 index 00000000..79926a6b --- /dev/null +++ b/ananicy.d/00-default/apt.rules @@ -0,0 +1,42 @@ +# https://wiki.debian.org/Teams/Apt +{ "name": "apt", "type": "BG_CPUIO" } +{ "name": "apt-add-repository", "type": "BG_CPUIO" } +{ "name": "apt-cache", "type": "BG_CPUIO" } +{ "name": "apt-cdrom", "type": "BG_CPUIO" } +{ "name": "apt-config", "type": "BG_CPUIO" } +{ "name": "apt-mirror", "type": "BG_CPUIO" } +{ "name": "apt-move", "type": "BG_CPUIO" } +{ "name": "apt-extracttemplates", "type": "BG_CPUIO" } +{ "name": "apt-ftparchive", "type": "BG_CPUIO" } +{ "name": "apt-get", "type": "BG_CPUIO" } +{ "name": "apt-key", "type": "BG_CPUIO" } +{ "name": "apt-key-install", "type": "BG_CPUIO" } +{ "name": "apt-listchanges", "type": "BG_CPUIO" } +{ "name": "apt-mark", "type": "BG_CPUIO" } +{ "name": "apt-sortpkgs", "type": "BG_CPUIO" } +{ "name": "apt-src", "type": "BG_CPUIO" } + +# https://salsa.debian.org/debian/apt-build +{ "name": "apt-build", "type": "BG_CPUIO" } + +# https://wiki.debian.org/Aptitude +{ "name": "aptitude", "type": "BG_CPUIO" } +{ "name": "aptitude-curses", "type": "BG_CPUIO" } +{ "name": "aptitude-changelog-parser", "type": "BG_CPUIO" } +{ "name": "aptitude-create-state-bundle", "type": "BG_CPUIO" } +{ "name": "aptitude-run-state-bundle", "type": "BG_CPUIO" } + +# https://salsa.debian.org/LeePen/apt-cacher +{ "name": "apt-cacher", "type": "BG_CPUIO" } + +# http://www.unix-ag.uni-kl.de/~bloch/acng/ +{ "name": "apt-cacher-ng", "type": "BG_CPUIO" } + +# https://github.com/mvo5/apt-clone +{ "name": "apt-clone", "type": "BG_CPUIO" } + +# https://salsa.debian.org/apt-team/apt-file +{ "name": "apt-file", "type": "BG_CPUIO" } + +# https://rickysarraf.github.io/apt-offline/ +{ "name": "apt-offline", "type": "BG_CPUIO" } diff --git a/ananicy.d/00-default/atop.rules b/ananicy.d/00-default/atop.rules new file mode 100644 index 00000000..7501f080 --- /dev/null +++ b/ananicy.d/00-default/atop.rules @@ -0,0 +1,6 @@ +# https://www.atoptool.nl +{ "name": "atop", "type": "BG_CPUIO" } +{ "name": "atopacct", "type": "BG_CPUIO" } +{ "name": "atopconvert", "type": "BG_CPUIO" } +{ "name": "atopsar", "type": "BG_CPUIO" } +{ "name": "atopacctd", "type": "BG_CPUIO" } diff --git a/ananicy.d/00-default/awesome_wm.rules b/ananicy.d/00-default/awesome_wm.rules index 4d8c6995..79e785a4 100644 --- a/ananicy.d/00-default/awesome_wm.rules +++ b/ananicy.d/00-default/awesome_wm.rules @@ -1,2 +1,2 @@ # https://awesomewm.org -{ "name": "awesome", "type": "LowLatency_RT" } +{ "name": "awesome", "type": "Essential" } diff --git a/ananicy.d/00-default/bitcoin.rules b/ananicy.d/00-default/bitcoin.rules new file mode 100644 index 00000000..e3fb7868 --- /dev/null +++ b/ananicy.d/00-default/bitcoin.rules @@ -0,0 +1,3 @@ +# https://bitcoin.org +{ "name": "bitcoind", "type": "BG_CPUIO" } +{ "name": "bitcoin-qt", "type": "BG_CPUIO" } diff --git a/ananicy.d/00-default/bspwm.rules b/ananicy.d/00-default/bspwm.rules index cd298c54..fcaac4a9 100644 --- a/ananicy.d/00-default/bspwm.rules +++ b/ananicy.d/00-default/bspwm.rules @@ -1,2 +1,2 @@ # https://github.com/baskerville/bspwm -{ "name": "bspwm", "type": "LowLatency_RT" } +{ "name": "bspwm", "type": "Essential" } diff --git a/ananicy.d/00-default/buildah.rules b/ananicy.d/00-default/buildah.rules new file mode 100644 index 00000000..8f11556b --- /dev/null +++ b/ananicy.d/00-default/buildah.rules @@ -0,0 +1,2 @@ +# https://buildah.io/ +{ "name": "buildah", "type": "BG_CPUIO" } diff --git a/ananicy.d/00-default/ca-certificates.rules b/ananicy.d/00-default/ca-certificates.rules new file mode 100644 index 00000000..56e3bcf0 --- /dev/null +++ b/ananicy.d/00-default/ca-certificates.rules @@ -0,0 +1 @@ +{ "name": "update-ca-certificates", "type": "BG_CPUIO" } diff --git a/ananicy.d/00-default/ccache.rules b/ananicy.d/00-default/ccache.rules new file mode 100644 index 00000000..86bf0da2 --- /dev/null +++ b/ananicy.d/00-default/ccache.rules @@ -0,0 +1,2 @@ +{ "name": "ccache", "type": "BG_CPUIO" } +{ "name": "update-ccache-symlinks", "type": "BG_CPUIO" } diff --git a/ananicy.d/00-default/chrony.rules b/ananicy.d/00-default/chrony.rules new file mode 100644 index 00000000..a75ec9d4 --- /dev/null +++ b/ananicy.d/00-default/chrony.rules @@ -0,0 +1,2 @@ +# https://chrony.tuxfamily.org/ +{ "name": "chronyd", "type": "BG_CPUIO" } diff --git a/ananicy.d/00-default/citra.rules b/ananicy.d/00-default/citra.rules new file mode 100644 index 00000000..6eb0a227 --- /dev/null +++ b/ananicy.d/00-default/citra.rules @@ -0,0 +1,3 @@ +# A Nintendo 3DS Emulator https://citra-emu.org/ +{ "name": "citra", "type": "Game" } +{ "name": "citra-qt", "type": "Game" } diff --git a/ananicy.d/00-default/clang.rules b/ananicy.d/00-default/clang.rules index fbf3dbf0..d16e754d 100644 --- a/ananicy.d/00-default/clang.rules +++ b/ananicy.d/00-default/clang.rules @@ -1,2 +1,11 @@ {"name": "clang", "type": "Heavy_CPU"} {"name": "clang++", "type": "Heavy_CPU"} +{ "name": "clang-cpp", "type": "BG_CPUIO" } +{ "name": "c-index-test", "type": "BG_CPUIO" } +{ "name": "clang-apply-replacements", "type": "BG_CPUIO" } +{ "name": "clang-check", "type": "BG_CPUIO" } +{ "name": "clang-query", "type": "BG_CPUIO" } +{ "name": "sancov", "type": "BG_CPUIO" } +{ "name": "scan-build", "type": "BG_CPUIO" } +{ "name": "scan-view", "type": "BG_CPUIO" } +{ "name": "clang-tidy", "type": "BG_CPUIO" } diff --git a/ananicy.d/00-default/command-not-found.rules b/ananicy.d/00-default/command-not-found.rules new file mode 100644 index 00000000..bde75269 --- /dev/null +++ b/ananicy.d/00-default/command-not-found.rules @@ -0,0 +1,2 @@ +{ "name": "cnf-update-db", "type": "BG_CPUIO" } +{ "name": "update-command-not-found", "type": "BG_CPUIO" } From 10f20a4f0a87539964949abd0ec35d670d7e45ee Mon Sep 17 00:00:00 2001 From: fyn5908 Date: Sat, 29 Jan 2022 23:44:20 +0800 Subject: [PATCH 05/14] add rules --- ananicy.d/00-default/compton.rules | 4 +- ananicy.d/00-default/conmon.rules | 2 + ananicy.d/00-default/coreutils.rules | 6 + ananicy.d/00-default/debhelper.rules | 126 ++++++++++++++++++ ananicy.d/00-default/desktop-file-utils.rules | 5 + ananicy.d/00-default/devscripts.rules | 81 +++++++++++ ananicy.d/00-default/dino-im.rules | 2 + ananicy.d/00-default/dkms.rules | 2 + ananicy.d/00-default/dnsmasq.rules | 2 +- ananicy.d/00-default/docker.rules | 13 ++ ananicy.d/00-default/dpkg.rules | 34 +++++ ananicy.d/00-default/element.rules | 2 + ananicy.d/00-default/ffmpeg.rules | 4 +- ananicy.d/00-default/findutils.rules | 3 + ananicy.d/00-default/fontconfig.rules | 9 ++ 15 files changed, 291 insertions(+), 4 deletions(-) create mode 100644 ananicy.d/00-default/conmon.rules create mode 100644 ananicy.d/00-default/debhelper.rules create mode 100644 ananicy.d/00-default/desktop-file-utils.rules create mode 100644 ananicy.d/00-default/devscripts.rules create mode 100644 ananicy.d/00-default/dino-im.rules create mode 100644 ananicy.d/00-default/dkms.rules create mode 100644 ananicy.d/00-default/docker.rules create mode 100644 ananicy.d/00-default/dpkg.rules create mode 100644 ananicy.d/00-default/element.rules create mode 100644 ananicy.d/00-default/findutils.rules create mode 100644 ananicy.d/00-default/fontconfig.rules diff --git a/ananicy.d/00-default/compton.rules b/ananicy.d/00-default/compton.rules index d8a1dbda..6d75cf47 100644 --- a/ananicy.d/00-default/compton.rules +++ b/ananicy.d/00-default/compton.rules @@ -1,4 +1,4 @@ # https://github.com/chjj/compton # https://github.com/yshui/picom -{ "name": "compton", "type": "LowLatency_RT" } -{ "name": "picom", "type": "LowLatency_RT" } +{ "name": "compton", "type": "Essential" } +{ "name": "picom", "type": "Essential" } diff --git a/ananicy.d/00-default/conmon.rules b/ananicy.d/00-default/conmon.rules new file mode 100644 index 00000000..38b76456 --- /dev/null +++ b/ananicy.d/00-default/conmon.rules @@ -0,0 +1,2 @@ +# https://github.com/containers/conmon +{ "name": "conmon", "type": "Container" } diff --git a/ananicy.d/00-default/coreutils.rules b/ananicy.d/00-default/coreutils.rules index 2098c368..a8388a78 100644 --- a/ananicy.d/00-default/coreutils.rules +++ b/ananicy.d/00-default/coreutils.rules @@ -22,3 +22,9 @@ { "name": "tac", "type": "BG_CPUIO" } { "name": "tee", "type": "BG_CPUIO" } { "name": "wc", "type": "BG_CPUIO" } +{ "name": "cut", "type": "BG_CPUIO" } +{ "name": "base32", "type": "BG_CPUIO" } +{ "name": "base64", "type": "BG_CPUIO" } +{ "name": "uniq", "type": "BG_CPUIO" } +{ "name": "tr", "type": "BG_CPUIO" } +{ "name": "sha244sum", "type": "BG_CPUIO" } diff --git a/ananicy.d/00-default/debhelper.rules b/ananicy.d/00-default/debhelper.rules new file mode 100644 index 00000000..1c4f50ec --- /dev/null +++ b/ananicy.d/00-default/debhelper.rules @@ -0,0 +1,126 @@ +# https://salsa.debian.org/debian/debhelper +{ "name": "dh", "type": "BG_CPUIO" } +{ "name": "dh_assistant", "type": "BG_CPUIO" } +{ "name": "dh_auto_build", "type": "BG_CPUIO" } +{ "name": "dh_auto_clean", "type": "BG_CPUIO" } +{ "name": "dh_auto_configure", "type": "BG_CPUIO" } +{ "name": "dh_auto_install", "type": "BG_CPUIO" } +{ "name": "dh_auto_test", "type": "BG_CPUIO" } +{ "name": "dh_bugfiles", "type": "BG_CPUIO" } +{ "name": "dh_builddeb", "type": "BG_CPUIO" } +{ "name": "dh_clean", "type": "BG_CPUIO" } +{ "name": "dh_compress", "type": "BG_CPUIO" } +{ "name": "dh_dwz", "type": "BG_CPUIO" } +{ "name": "dh_fixperms", "type": "BG_CPUIO" } +{ "name": "dh_gconf", "type": "BG_CPUIO" } +{ "name": "dh_gencontrol", "type": "BG_CPUIO" } +{ "name": "dh_icons", "type": "BG_CPUIO" } +{ "name": "dh_install", "type": "BG_CPUIO" } +{ "name": "dh_installalternatives", "type": "BG_CPUIO" } +{ "name": "dh_installcatalogs", "type": "BG_CPUIO" } +{ "name": "dh_installchangelogs", "type": "BG_CPUIO" } +{ "name": "dh_installcron", "type": "BG_CPUIO" } +{ "name": "dh_installdeb", "type": "BG_CPUIO" } +{ "name": "dh_installdebconf", "type": "BG_CPUIO" } +{ "name": "dh_installdirs", "type": "BG_CPUIO" } +{ "name": "dh_installdocs", "type": "BG_CPUIO" } +{ "name": "dh_installemacsen", "type": "BG_CPUIO" } +{ "name": "dh_installexamples", "type": "BG_CPUIO" } +{ "name": "dh_installgsettings", "type": "BG_CPUIO" } +{ "name": "dh_installifupdown", "type": "BG_CPUIO" } +{ "name": "dh_installinfo", "type": "BG_CPUIO" } +{ "name": "dh_installinit", "type": "BG_CPUIO" } +{ "name": "dh_installinitramfs", "type": "BG_CPUIO" } +{ "name": "dh_installlogcheck", "type": "BG_CPUIO" } +{ "name": "dh_installlogrotate", "type": "BG_CPUIO" } +{ "name": "dh_installman", "type": "BG_CPUIO" } +{ "name": "dh_installmanpages", "type": "BG_CPUIO" } +{ "name": "dh_installmenu", "type": "BG_CPUIO" } +{ "name": "dh_installmime", "type": "BG_CPUIO" } +{ "name": "dh_installmodules", "type": "BG_CPUIO" } +{ "name": "dh_installpam", "type": "BG_CPUIO" } +{ "name": "dh_installppp", "type": "BG_CPUIO" } +{ "name": "dh_installsystemd", "type": "BG_CPUIO" } +{ "name": "dh_installsystemduser", "type": "BG_CPUIO" } +{ "name": "dh_installsysusers", "type": "BG_CPUIO" } +{ "name": "dh_installtmpfiles", "type": "BG_CPUIO" } +{ "name": "dh_installudev", "type": "BG_CPUIO" } +{ "name": "dh_installwm", "type": "BG_CPUIO" } +{ "name": "dh_installxfonts", "type": "BG_CPUIO" } +{ "name": "dh_link", "type": "BG_CPUIO" } +{ "name": "dh_lintian", "type": "BG_CPUIO" } +{ "name": "dh_listpackages", "type": "BG_CPUIO" } +{ "name": "dh_makeshlibs", "type": "BG_CPUIO" } +{ "name": "dh_md5sums", "type": "BG_CPUIO" } +{ "name": "dh_missing", "type": "BG_CPUIO" } +{ "name": "dh_movefiles", "type": "BG_CPUIO" } +{ "name": "dh_perl", "type": "BG_CPUIO" } +{ "name": "dh_prep", "type": "BG_CPUIO" } +{ "name": "dh_shlibdeps", "type": "BG_CPUIO" } +{ "name": "dh_strip", "type": "BG_CPUIO" } +{ "name": "dh_systemd_enable", "type": "BG_CPUIO" } +{ "name": "dh_systemd_start", "type": "BG_CPUIO" } +{ "name": "dh_testdir", "type": "BG_CPUIO" } +{ "name": "dh_testroot", "type": "BG_CPUIO" } +{ "name": "dh_ucf", "type": "BG_CPUIO" } +{ "name": "dh_update_autotools_config", "type": "BG_CPUIO" } +{ "name": "dh_usrlocal", "type": "BG_CPUIO" } + +# https://salsa.debian.org/python-team/tools/dh-python +{ "name": "dh_pypy", "type": "BG_CPUIO" } +{ "name": "dh_python2", "type": "BG_CPUIO" } +{ "name": "dh_python3", "type": "BG_CPUIO" } +{ "name": "dh_pybuild", "type": "BG_CPUIO" } + +# https://github.com/spotify/dh-virtualenv +{ "name": "dh_virtualenv", "type": "BG_CPUIO" } + +# https://github.com/algernon/dh-exec +{ "name": "dh-exec", "type": "BG_CPUIO" } + +# https://salsa.debian.org/go-team/packages/dh-golang +{ "name": "dh_golang", "type": "BG_CPUIO" } +{ "name": "dh_golang_autopkgtest", "type": "BG_CPUIO" } + +# https://salsa.debian.org/go-team/packages/dh-make-golang +{ "name": "dh-make-golang", "type": "BG_CPUIO" } + +# https://salsa.debian.org/debian/dh-linktree +{ "name": "dh_linktree", "type": "BG_CPUIO" } + +# https://salsa.debian.org/reproducible-builds/strip-nondeterminism +{ "name: "dh_strip_nondeterminism", "type": "BG_CPUIO" } + +# https://salsa.debian.org/debian/dh-make +{ "name": "dh_make", "type": "BG_CPUIO" } +{ "name": "dh_makefont", "type": "BG_CPUIO" } + +# https://gitlab.kitware.com/debian/dh-cmake +{ "name": "dh_cmake_install", "type": "BG_CPUIO" } +{ "name": "dh_cpack_generate", "type": "BG_CPUIO" } +{ "name": "dh_cpack_install", "type": "BG_CPUIO" } +{ "name": "dh_cpack_substvars", "type": "BG_CPUIO" } +{ "name": "dh_ctest_build", "type": "BG_CPUIO" } +{ "name": "dh_ctest_clean", "type": "BG_CPUIO" } +{ "name": "dh_ctest_configure", "type": "BG_CPUIO" } +{ "name": "dh_ctest_start", "type": "BG_CPUIO" } +{ "name": "dh_ctest_submit", "type": "BG_CPUIO" } +{ "name": "dh_ctest_test", "type": "BG_CPUIO" } +{ "name": "dh_ctest_update", "type": "BG_CPUIO" } + +# https://salsa.debian.org/debian/dh-autoreconf +{ "name": "dh_autoreconf", "type": "BG_CPUIO" } +{ "name": "dh_autoreconf_clean", "type": "BG_CPUIO" } + +# https://salsa.debian.org/ocaml-team/dh-ocaml +{ "name": "dh_ocaml", "type": "BG_CPUIO" } +{ "name": "dh_ocamlclean", "type": "BG_CPUIO" } +{ "name": "dh_ocamldoc", "type": "BG_CPUIO" } +{ "name": "dh_ocamlinit", "type": "BG_CPUIO" } +{ "name": "dom-mrconfig", "type": "BG_CPUIO" } +{ "name": "dom-new-git-repo", "type": "BG_CPUIO" } +{ "name": "ocaml-lintian", "type": "BG_CPUIO" } +{ "name": "ocaml-md5sums", "type": "BG_CPUIO" } + +{ "name": "dh_apparmor", "type": "BG_CPUIO" } +{ "name": "dh_consoledata", "type": "BG_CPUIO" }" diff --git a/ananicy.d/00-default/desktop-file-utils.rules b/ananicy.d/00-default/desktop-file-utils.rules new file mode 100644 index 00000000..3e45fd06 --- /dev/null +++ b/ananicy.d/00-default/desktop-file-utils.rules @@ -0,0 +1,5 @@ +# https://www.freedesktop.org/wiki/Software/desktop-file-utils/ +{ "name": "update-desktop-database", "type": "BG_CPUIO" } +{ "name": "desktop-file-edit", "type": "BG_CPUIO" } +{ "name": "desktop-file-install", "type": "BG_CPUIO" } +{ "name": "desktop-file-validate", "type": "BG_CPUIO" } diff --git a/ananicy.d/00-default/devscripts.rules b/ananicy.d/00-default/devscripts.rules new file mode 100644 index 00000000..95cb887f --- /dev/null +++ b/ananicy.d/00-default/devscripts.rules @@ -0,0 +1,81 @@ +# https://salsa.debian.org/debian/devscripts +{ "name": "add-patch", "type": "BG_CPUIO" } +{ "name": "annotate-output", "type": "BG_CPUIO" } +{ "name": "archpatch", "type": "BG_CPUIO" } +{ "name": "bts", "type": "BG_CPUIO" } +{ "name": "build-rdeps", "type": "BG_CPUIO" } +{ "name": "chdist", "type": "BG_CPUIO" } +{ "name": "checkbashisms", "type": "BG_CPUIO" } +{ "name": "cowpoke", "type": "BG_CPUIO" } +{ "name": "cvs-debc", "type": "BG_CPUIO" } +{ "name": "cvs-debi", "type": "BG_CPUIO" } +{ "name": "cvs-debrelease", "type": "BG_CPUIO" } +{ "name": "cvs-debuild", "type": "BG_CPUIO" } +{ "name": "dch", "type": "BG_CPUIO" } +{ "name": "dcmd", "type": "BG_CPUIO" } +{ "name": "dd-list", "type": "BG_CPUIO" } +{ "name": "deb-janitor", "type": "BG_CPUIO" } +{ "name": "deb-reversion", "type": "BG_CPUIO" } +{ "name": "deb-why-removed", "type": "BG_CPUIO" } +{ "name": "debbisect", "type": "BG_CPUIO" } +{ "name": "debc", "type": "BG_CPUIO" } +{ "name": "debchange", "type": "BG_CPUIO" } +{ "name": "debcheckout", "type": "BG_CPUIO" } +{ "name": "debclean", "type": "BG_CPUIO" } +{ "name": "debcommit", "type": "BG_CPUIO" } +{ "name": "debdiff", "type": "BG_CPUIO" } +{ "name": "debdiff-apply", "type": "BG_CPUIO" } +{ "name": "debi", "type": "BG_CPUIO" } +{ "name": "debootsnap", "type": "BG_CPUIO" } +{ "name": "debpkg", "type": "BG_CPUIO" } +{ "name": "debrebuild", "type": "BG_CPUIO" } +{ "name": "debrelease", "type": "BG_CPUIO" } +{ "name": "debrepro", "type": "BG_CPUIO" } +{ "name": "debrsign", "type": "BG_CPUIO" } +{ "name": "debsign", "type": "BG_CPUIO" } +{ "name": "debsnap", "type": "BG_CPUIO" } +{ "name": "debuild", "type": "BG_CPUIO" } +{ "name": "dep3changelog", "type": "BG_CPUIO" } +{ "name": "desktop2menu", "type": "BG_CPUIO" } +{ "name": "dget", "type": "BG_CPUIO" } +{ "name": "diff2patches", "type": "BG_CPUIO" } +{ "name": "dpkg-depcheck", "type": "BG_CPUIO" } +{ "name": "dpkg-genbuilddeps", "type": "BG_CPUIO" } +{ "name": "dscextract", "type": "BG_CPUIO" } +{ "name": "dscverify", "type": "BG_CPUIO" } +{ "name": "edit-patch", "type": "BG_CPUIO" } +{ "name": "getbuildlog", "type": "BG_CPUIO" } +{ "name": "git-deborig", "type": "BG_CPUIO" } +{ "name": "grep-excuses", "type": "BG_CPUIO" } +{ "name": "hardening-check", "type": "BG_CPUIO" } +{ "name": "list-unreleased", "type": "BG_CPUIO" } +{ "name": "ltnu", "type": "BG_CPUIO" } +{ "name": "manpage-alert", "type": "BG_CPUIO" } +{ "name": "mass-bug", "type": "BG_CPUIO" } +{ "name": "mergechanges", "type": "BG_CPUIO" } +{ "name": "mk-build-deps", "type": "BG_CPUIO" } +{ "name": "mk-origtargz", "type": "BG_CPUIO" } +{ "name": "namecheck", "type": "BG_CPUIO" } +{ "name": "nmudiff", "type": "BG_CPUIO" } +{ "name": "origtargz", "type": "BG_CPUIO" } +{ "name": "plotchangelog", "type": "BG_CPUIO" } +{ "name": "pts-subscribe", "type": "BG_CPUIO" } +{ "name": "pts-unsubscribe", "type": "BG_CPUIO" } +{ "name": "rc-alert", "type": "BG_CPUIO" } +{ "name": "reproducible-check", "type": "BG_CPUIO" } +{ "name": "rmadison", "type": "BG_CPUIO" } +{ "name": "sadt", "type": "BG_CPUIO" } +{ "name": "salsa", "type": "BG_CPUIO" } +{ "name": "suspicious-source", "type": "BG_CPUIO" } +{ "name": "svnpath", "type": "BG_CPUIO" } +{ "name": "tagpending", "type": "BG_CPUIO" } +{ "name": "transition-check", "type": "BG_CPUIO" } +{ "name": "uscan", "type": "BG_CPUIO" } +{ "name": "uupdate", "type": "BG_CPUIO" } +{ "name": "what-patch", "type": "BG_CPUIO" } +{ "name": "who-permits-upload", "type": "BG_CPUIO" } +{ "name": "who-uploads", "type": "BG_CPUIO" } +{ "name": "whodepends", "type": "BG_CPUIO" } +{ "name": "wnpp-alert", "type": "BG_CPUIO" } +{ "name": "wnpp-check", "type": "BG_CPUIO" } +{ "name": "wrap-and-sort", "type": "BG_CPUIO" } diff --git a/ananicy.d/00-default/dino-im.rules b/ananicy.d/00-default/dino-im.rules new file mode 100644 index 00000000..369b45c4 --- /dev/null +++ b/ananicy.d/00-default/dino-im.rules @@ -0,0 +1,2 @@ +# https://dino.im/ +{ "name": "dino-im", "type": "Chat" } diff --git a/ananicy.d/00-default/dkms.rules b/ananicy.d/00-default/dkms.rules new file mode 100644 index 00000000..30ee2b4a --- /dev/null +++ b/ananicy.d/00-default/dkms.rules @@ -0,0 +1,2 @@ +# https://github.com/dell/dkms +{ "name": "dkms", "type": "BG_CPUIO" } diff --git a/ananicy.d/00-default/dnsmasq.rules b/ananicy.d/00-default/dnsmasq.rules index d243f952..c811f37e 100644 --- a/ananicy.d/00-default/dnsmasq.rules +++ b/ananicy.d/00-default/dnsmasq.rules @@ -1,2 +1,2 @@ # dnsmasq DNS cache system -{ "name": "dnsmasq", "type": "Doc-View" } +{ "name": "dnsmasq", "Service" } diff --git a/ananicy.d/00-default/docker.rules b/ananicy.d/00-default/docker.rules new file mode 100644 index 00000000..ebcfe975 --- /dev/null +++ b/ananicy.d/00-default/docker.rules @@ -0,0 +1,13 @@ +# https://docker.io +{ "name": "docker", "type": "Container" } +{ "name": "dnet", "type": "Container" } +{ "name": "docket-init", "type": "Container" } +{ "name": "docker-proxy", "type": "Container" } +{ "name": "dockerd", "type": "Container" } +{ "name": "ovrouter", "type": "Container" } + +# https://docs.docker.com/compose/ +{ "name": "docker-compose", "type": "Container" } + +# https://docs.docker.com/registry/ +{ "name": "docker-registry", "type": "BG_CPUIO" } diff --git a/ananicy.d/00-default/dpkg.rules b/ananicy.d/00-default/dpkg.rules new file mode 100644 index 00000000..eba102f1 --- /dev/null +++ b/ananicy.d/00-default/dpkg.rules @@ -0,0 +1,34 @@ +# https://wiki.debian.org/Teams/Dpkg +{ "name": "dpkg", "type": "BG_CPUIO" } +{ "name": "dpkg-architecture", "type": "BG_CPUIO" } +{ "name": "dpkg-buildflags", "type": "BG_CPUIO" } +{ "name": "dpkg-buildpackage", "type": "BG_CPUIO" } +{ "name": "dpkg-checkbuilddeps", "type": "BG_CPUIO" } +{ "name": "dpkg-deb", "type": "BG_CPUIO" } +{ "name": "dpkg-depcheck", "type": "BG_CPUIO" } +{ "name": "dpkg-distaddfile", "type": "BG_CPUIO" } +{ "name": "dpkg-divert", "type": "BG_CPUIO" } +{ "name": "dpkg-fsys-usrunmess", "type": "BG_CPUIO" } +{ "name": "dpkg-genbuilddeps", "type": "BG_CPUIO" } +{ "name": "dpkg-genbuildinfo", "type": "BG_CPUIO" } +{ "name": "dpkg-genchanges", "type": "BG_CPUIO" } +{ "name": "dpkg-gencontrol", "type": "BG_CPUIO" } +{ "name": "dpkg-gensymbols", "type": "BG_CPUIO" } +{ "name": "dpkg-maintscript-helper", "type": "BG_CPUIO" } +{ "name": "dpkg-mergechangelogs", "type": "BG_CPUIO" } +{ "name": "dpkg-name", "type": "BG_CPUIO" } +{ "name": "dpkg-parsechangelog", "type": "BG_CPUIO" } +{ "name": "dpkg-preconfigure", "type": "BG_CPUIO" } +{ "name": "dpkg-query", "type": "BG_CPUIO" } +{ "name": "dpkg-realpath", "type": "BG_CPUIO" } +{ "name": "dpkg-reconfigure", "type": "BG_CPUIO" } +{ "name": "dpkg-scanpackages", "type": "BG_CPUIO" } +{ "name": "dpkg-scansources", "type": "BG_CPUIO" } +{ "name": "dpkg-shlibdeps", "type": "BG_CPUIO" } +{ "name": "dpkg-source", "type": "BG_CPUIO" } +{ "name": "dpkg-split", "type": "BG_CPUIO" } +{ "name": "dpkg-statoverride", "type": "BG_CPUIO" } +{ "name": "dpkg-trigger", "type": "BG_CPUIO" } +{ "name": "dpkg-vendor", "type": "BG_CPUIO" } +{ "name": "update-alternatives", "type": "BG_CPUIO" } +{ "name": "dpkg-db-packup", "type": "BG_CPUIO" } diff --git a/ananicy.d/00-default/element.rules b/ananicy.d/00-default/element.rules new file mode 100644 index 00000000..6cc89da0 --- /dev/null +++ b/ananicy.d/00-default/element.rules @@ -0,0 +1,2 @@ +# https://element.io +{ "name": "element-web", "type": "Chat" } diff --git a/ananicy.d/00-default/ffmpeg.rules b/ananicy.d/00-default/ffmpeg.rules index 11f10c82..8829a70e 100644 --- a/ananicy.d/00-default/ffmpeg.rules +++ b/ananicy.d/00-default/ffmpeg.rules @@ -1,2 +1,4 @@ # ffmpeg - audio and video converter: https://www.ffmpeg.org/ -{ "name": "ffmpeg", "type": "LowLatency_RT" } +{ "name": "ffmpeg", "type": "Heavy_CPU" } +# https://github.com/dirkvdb/ffmpegthumbnailer +{ "name": "ffmpegthumbnailer", "type": "BG_CPUIO" } diff --git a/ananicy.d/00-default/findutils.rules b/ananicy.d/00-default/findutils.rules new file mode 100644 index 00000000..73d1961f --- /dev/null +++ b/ananicy.d/00-default/findutils.rules @@ -0,0 +1,3 @@ +# https://www.gnu.org/software/findutils/findutils.html +{ "name": "updatedb", "type": "BG_CPUIO" } +{ "name": "updatedb.findutils", "type": "BG_CPUIO" } diff --git a/ananicy.d/00-default/fontconfig.rules b/ananicy.d/00-default/fontconfig.rules new file mode 100644 index 00000000..b9cb92ec --- /dev/null +++ b/ananicy.d/00-default/fontconfig.rules @@ -0,0 +1,9 @@ +{ "name": "fc-cache", "type": "BG_CPUIO" } +{ "name": "fc-cat", "type": "BG_CPUIO" } +{ "name": "fc-conflist", "type": "BG_CPUIO" } +{ "name": "fc-list", "type": "BG_CPUIO" } +{ "name": "fc-match", "type": "BG_CPUIO" } +{ "name": "fc-pattern", "type": "BG_CPUIO" } +{ "name": "fc-query", "type": "BG_CPUIO" } +{ "name": "fc-scan", "type": "BG_CPUIO" } +{ "name": "fc-validate", "type": "BG_CPUIO" } From 4272f9f059442e3d6a433261cd3ef9680a3ae11b Mon Sep 17 00:00:00 2001 From: fyn5908 Date: Sat, 29 Jan 2022 23:55:15 +0800 Subject: [PATCH 06/14] add rules --- ananicy.d/00-default/foot.rules | 3 ++ ananicy.d/00-default/freecad.rules | 2 + ananicy.d/00-default/gcc.rules | 1 + ananicy.d/00-default/ghostscript.rules | 27 ++++++++++++ ananicy.d/00-default/gimp.rules | 1 + ananicy.d/00-default/go.rules | 1 + ananicy.d/00-default/goldendict.rules | 2 + ananicy.d/00-default/google-chrome.rules | 4 +- ananicy.d/00-default/gpg.rules | 12 ++++++ ananicy.d/00-default/graphicsmagick.rules | 2 + ananicy.d/00-default/grub2.rules | 3 ++ .../00-default/gtk-update-icon-cache.rules | 3 ++ ananicy.d/00-default/i2pd.rules | 2 + ananicy.d/00-default/imagemagick.rules | 7 ++++ ananicy.d/00-default/node.rules | 6 +++ ananicy.d/00-default/pipewire.rules | 5 +++ ananicy.d/00-default/poppler-utils.rules | 13 ++++++ ananicy.d/00-default/qemu.rules | 41 ++++++++++++++++++- ananicy.d/00-types.types | 16 ++++++++ 19 files changed, 148 insertions(+), 3 deletions(-) create mode 100644 ananicy.d/00-default/foot.rules create mode 100644 ananicy.d/00-default/freecad.rules create mode 100644 ananicy.d/00-default/ghostscript.rules create mode 100644 ananicy.d/00-default/goldendict.rules create mode 100644 ananicy.d/00-default/gpg.rules create mode 100644 ananicy.d/00-default/graphicsmagick.rules create mode 100644 ananicy.d/00-default/grub2.rules create mode 100644 ananicy.d/00-default/gtk-update-icon-cache.rules create mode 100644 ananicy.d/00-default/i2pd.rules create mode 100644 ananicy.d/00-default/pipewire.rules create mode 100644 ananicy.d/00-default/poppler-utils.rules diff --git a/ananicy.d/00-default/foot.rules b/ananicy.d/00-default/foot.rules new file mode 100644 index 00000000..8cb9ea84 --- /dev/null +++ b/ananicy.d/00-default/foot.rules @@ -0,0 +1,3 @@ +# https://codeberg.org/dnkl/foot +{ "name": "footclient", "type":"Doc-View" } +{ "name": "foot", "type": "Doc-View" } diff --git a/ananicy.d/00-default/freecad.rules b/ananicy.d/00-default/freecad.rules new file mode 100644 index 00000000..216aa63c --- /dev/null +++ b/ananicy.d/00-default/freecad.rules @@ -0,0 +1,2 @@ +# FreeCAD: https://www.freecadweb.org/ +{ "name": "freecad", "type": "LowLatency_RT" } diff --git a/ananicy.d/00-default/gcc.rules b/ananicy.d/00-default/gcc.rules index b404f58a..a9644d4b 100644 --- a/ananicy.d/00-default/gcc.rules +++ b/ananicy.d/00-default/gcc.rules @@ -1 +1,2 @@ { "name": "gcc", "type": "BG_CPUIO" } +{ "name": "cpp", "type": "BG_CPUIO" } diff --git a/ananicy.d/00-default/ghostscript.rules b/ananicy.d/00-default/ghostscript.rules new file mode 100644 index 00000000..baf900f8 --- /dev/null +++ b/ananicy.d/00-default/ghostscript.rules @@ -0,0 +1,27 @@ +# https://www.ghostscript.com/ +{ "name": "dvipdf", "type": "BG_CPUIO" } +{ "name": "eps2eps", "type": "BG_CPUIO" } +{ "name": "ghostscript", "type": "BG_CPUIO" } +{ "name": "gs", "type": "BG_CPUIO" } +{ "name": "gsbj", "type": "BG_CPUIO" } +{ "name": "gsdj", "type": "BG_CPUIO" } +{ "name": "gsdj500", "type": "BG_CPUIO" } +{ "name": "gslj", "type": "BG_CPUIO" } +{ "name": "gslp", "type": "BG_CPUIO" } +{ "name": "gsnd", "type": "BG_CPUIO" } +{ "name": "pdf2dsc", "type": "BG_CPUIO" } +{ "name": "pdf2ps", "type": "BG_CPUIO" } +{ "name": "pf2afm", "type": "BG_CPUIO" } +{ "name": "ptbtopfa", "type": "BG_CPUIO" } +{ "name": "pphs", "type": "BG_CPUIO" } +{ "name": "printafm", "type": "BG_CPUIO" } +{ "name": "ps2ascii", "type": "BG_CPUIO" } +{ "name": "ps2epsi", "type": "BG_CPUIO" } +{ "name": "ps2pdf", "type": "BG_CPUIO" } +{ "name": "ps2pdf12", "type": "BG_CPUIO" } +{ "name": "ps2pdf13", "type": "BG_CPUIO" } +{ "name": "ps2pdf14", "type": "BG_CPUIO" } +{ "name": "ps2pdfwr", "type": "BG_CPUIO" } +{ "name": "ps2ps", "type": "BG_CPUIO" } +{ "name": "ps2txt", "type": "BG_CPUIO" } +{ "name": "update-gsfontmap", "type": "BG_CPUIO" } diff --git a/ananicy.d/00-default/gimp.rules b/ananicy.d/00-default/gimp.rules index 5730288b..a394e213 100644 --- a/ananicy.d/00-default/gimp.rules +++ b/ananicy.d/00-default/gimp.rules @@ -1,2 +1,3 @@ # GNU Image Manipulation Program: https://www.gimp.org/ { "name": "gimp", "type": "LowLatency_RT", "nice": -10, "ioclass": "realtime" } + diff --git a/ananicy.d/00-default/go.rules b/ananicy.d/00-default/go.rules index 3d9340d3..7e2bf5d5 100644 --- a/ananicy.d/00-default/go.rules +++ b/ananicy.d/00-default/go.rules @@ -1,2 +1,3 @@ # https://golang.org/ { "name": "go", "type": "BG_CPUIO" } +{ "name": "gofmt", "type": "Heavy_CPU" } diff --git a/ananicy.d/00-default/goldendict.rules b/ananicy.d/00-default/goldendict.rules new file mode 100644 index 00000000..4b504fe6 --- /dev/null +++ b/ananicy.d/00-default/goldendict.rules @@ -0,0 +1,2 @@ +# http://www.goldendict.org/ +{ "name": "goldendict", "type": "Doc-View" } diff --git a/ananicy.d/00-default/google-chrome.rules b/ananicy.d/00-default/google-chrome.rules index 6180b651..e03904e0 100644 --- a/ananicy.d/00-default/google-chrome.rules +++ b/ananicy.d/00-default/google-chrome.rules @@ -1,6 +1,8 @@ -# https://www.google.com +# https://www.google.com/chrome { "name": "chrome", "type": "Doc-View" } { "name": "nacl_helper", "type": "Doc-View" } { "name": "chrome-sandbox", "type": "Doc-View" } { "name": "google-chrome-dev", "type": "Doc-View" } { "name": "google-chrome-unstable", "type": "Doc-View" } +{ "name": "chromium-snapshot", "type": "Doc-View" } +{ "name": "chromium-snapshot-bin", "type": "Doc-View" } diff --git a/ananicy.d/00-default/gpg.rules b/ananicy.d/00-default/gpg.rules new file mode 100644 index 00000000..d2f64f67 --- /dev/null +++ b/ananicy.d/00-default/gpg.rules @@ -0,0 +1,12 @@ +{ "name": "gpg", "type": "Heavy_CPU" } +{ "name": "gpg2", "type": "Heavy_CPU" } +{ "name": "gpgcompose", "type": "Heavy_CPU" } +{ "name": "gpg-dearmor", "type": "Heavy_CPU" } +{ "name": "gpgparsemail", "type": "Heavy_CPU" } +{ "name": "gpgsm", "type": "Heavy_CPU" } +{ "name": "gpgsplit", "type": "Heavy_CPU" } +{ "name": "gpgtar", "type": "Heavy_CPU" } +{ "name": "gpgv", "type": "Heavy_CPU" } +{ "name": "gpg-wks-server", "type": "Heavy_CPU" } +{ "name": "gpg-zip, "type": "Heavy_CPU" } +{ "name": "gpg-agent", "type": "BG_CPUIO" } diff --git a/ananicy.d/00-default/graphicsmagick.rules b/ananicy.d/00-default/graphicsmagick.rules new file mode 100644 index 00000000..0a153ed7 --- /dev/null +++ b/ananicy.d/00-default/graphicsmagick.rules @@ -0,0 +1,2 @@ +# http://www.graphicsmagick.org/ +{ "name": "gm", "type": "Heavy_CPU" } diff --git a/ananicy.d/00-default/grub2.rules b/ananicy.d/00-default/grub2.rules new file mode 100644 index 00000000..21fe0747 --- /dev/null +++ b/ananicy.d/00-default/grub2.rules @@ -0,0 +1,3 @@ +{ "name": "update-grub", "type": "BG_CPUIO" } +{ "name": "update-grub2", "type": "BG_CPUIO" } +{ "name": "grub-install", "type": "BG_CPUIO" } diff --git a/ananicy.d/00-default/gtk-update-icon-cache.rules b/ananicy.d/00-default/gtk-update-icon-cache.rules new file mode 100644 index 00000000..6b58f12b --- /dev/null +++ b/ananicy.d/00-default/gtk-update-icon-cache.rules @@ -0,0 +1,3 @@ +# https://gitlab.gnome.org/GNOME/gtk +{ "name": "gtk-update-icon-cache", "type": "BG_CPUIO" } +{ "name": "update-icon-caches", "type": "BG_CPUIO" } diff --git a/ananicy.d/00-default/i2pd.rules b/ananicy.d/00-default/i2pd.rules new file mode 100644 index 00000000..7302c322 --- /dev/null +++ b/ananicy.d/00-default/i2pd.rules @@ -0,0 +1,2 @@ +# i2pd: https://i2pd.website +{ "name": "i2pd", "type": "Service" } diff --git a/ananicy.d/00-default/imagemagick.rules b/ananicy.d/00-default/imagemagick.rules index 85caef7f..61a8dad4 100644 --- a/ananicy.d/00-default/imagemagick.rules +++ b/ananicy.d/00-default/imagemagick.rules @@ -1,3 +1,10 @@ # ImageMagick - image viewing/manipulation program: https://imagemagick.org { "name": "convert", "type": "Heavy_CPU" } { "name": "montage", "type": "Heavy_CPU" } +{ "name": "animate", "type": "Heavy_CPU" } +{ "name": "composite", "type": "Heavy_CPU" } +{ "name": "conjure", "type": "Heavy_CPU" } +{ "name": "import", "type": "Heavy_CPU" } +{ "name": "mogrify", "type": "Heavy_CPU" } +{ "name": "identify", "type": "Heavy_CPU" } +{ "name": "display", "type": "Image-View" } diff --git a/ananicy.d/00-default/node.rules b/ananicy.d/00-default/node.rules index c7c53065..d2ad4a20 100644 --- a/ananicy.d/00-default/node.rules +++ b/ananicy.d/00-default/node.rules @@ -1,2 +1,8 @@ #Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine. https://nodejs.org {"name": "node", "type": "BG_CPUIO"} +# https://nodejs.org/en/knowledge/getting-started/npm/what-is-npm/ +{"name": "npm", "type": "BG_CPUIO"} +# https://yarnpkg.com/ +{"name": "yarn", "type": "BG_CPUIO"} +# https://pnpm.io/ +{"name": "pnpm", "type": "BG_CPUIO"} diff --git a/ananicy.d/00-default/pipewire.rules b/ananicy.d/00-default/pipewire.rules new file mode 100644 index 00000000..b21bcb1d --- /dev/null +++ b/ananicy.d/00-default/pipewire.rules @@ -0,0 +1,5 @@ +# https://pipewire.org/ +{ "name": "pipewire", "type": "RT_AV" } +{ "name": "pipewire-pulse", "type": "RT_AV" } +{ "name": "pipewire-media-session", "type": "RT_AV" } +{ "name": "pw-jack", "type": "RT_AV" } diff --git a/ananicy.d/00-default/poppler-utils.rules b/ananicy.d/00-default/poppler-utils.rules new file mode 100644 index 00000000..2cd68f37 --- /dev/null +++ b/ananicy.d/00-default/poppler-utils.rules @@ -0,0 +1,13 @@ +{ "name": "pdfattach ", "type": "BG_CPUIO" } +{ "name": "pdfdetach ", "type": "BG_CPUIO" } +{ "name": "pdffonts ", "type": "BG_CPUIO" } +{ "name": "pdfimages ", "type": "BG_CPUIO" } +{ "name": "pdfinfo ", "type": "BG_CPUIO" } +{ "name": "pdfseparate ", "type": "BG_CPUIO" } +{ "name": "pdfsig ", "type": "BG_CPUIO" } +{ "name": "pdftocairo ", "type": "BG_CPUIO" } +{ "name": "pdftohtml ", "type": "BG_CPUIO" } +{ "name": "pdftoppm ", "type": "BG_CPUIO" } +{ "name": "pdftops ", "type": "BG_CPUIO" } +{ "name": "pdftotext ", "type": "BG_CPUIO" } +{ "name": "pdfunite ", "type": "BG_CPUIO" } diff --git a/ananicy.d/00-default/qemu.rules b/ananicy.d/00-default/qemu.rules index 194ff279..5268a037 100644 --- a/ananicy.d/00-default/qemu.rules +++ b/ananicy.d/00-default/qemu.rules @@ -1,2 +1,39 @@ -#Fast Processor Emulator https://www.qemu.org/ -{ "name": "qemu-system-x86_64", "type": "Heavy_CPU" } +# Fast Processor Emulator https://www.qemu.org/ +{ "name": "qemu-system-sparc", "type": "Virtual_Machine" } +{ "name": "qemu-system-sparc64", "type": "Virtual_Machine" } +{ "name": "qemu-system-ppc", "type": "Virtual_Machine" } +{ "name": "qemu-system-ppc64", "type": "Virtual_Machine" } +{ "name": "qemu-system-ppc64le", "type": "Virtual_Machine" } +{ "name": "qemu-system-mips", "type": "Virtual_Machine" } +{ "name": "qemu-system-mips64", "type": "Virtual_Machine" } +{ "name": "qemu-system-mips64el", "type": "Virtual_Machine" } +{ "name": "qemu-system-arm", "type": "Virtual_Machine" } +{ "name": "qemu-system-aarch64", "type": "Virtual_Machine" } +{ "name": "qemu-system-alpha", "type": "Virtual_Machine" } +{ "name": "qemu-system-avr", "type": "Virtual_Machine" } +{ "name": "qemu-system-cris", "type": "Virtual_Machine" } +{ "name": "qemu-system-hppa", "type": "Virtual_Machine" } +{ "name": "qemu-system-m68k", "type": "Virtual_Machine" } +{ "name": "qemu-system-microblaze", "type": "Virtual_Machine" } +{ "name": "qemu-system-microblazeel", "type": "Virtual_Machine" } +{ "name": "qemu-system-moxie", "type": "Virtual_Machine" } +{ "name": "qemu-system-nios2", "type": "Virtual_Machine" } +{ "name": "qemu-system-or1k", "type": "Virtual_Machine" } +{ "name": "qemu-system-riscv32", "type": "Virtual_Machine" } +{ "name": "qemu-system-riscv64", "type": "Virtual_Machine" } +{ "name": "qemu-system-rx", "type": "Virtual_Machine" } +{ "name": "qemu-system-s390x", "type": "Virtual_Machine" } +{ "name": "qemu-system-sh4", "type": "Virtual_Machine" } +{ "name": "qemu-system-sh4eb", "type": "Virtual_Machine" } +{ "name": "qemu-system-tricore", "type": "Virtual_Machine" } +{ "name": "qemu-system-xtensa", "type": "Virtual_Machine" } +{ "name": "qemu-system-xtensaeb", "type": "Virtual_Machine" } +{ "name": "qemu-system-x86_64", "type": "Virtual_Machine" } +{ "name": "qemu-system-x86_64-microvm", "type": "Virtual_Machine" } +{ "name": "qemu-system-x86", "type": "Virtual_Machine" } +{ "name": "qemu-system-i386", "type": "Virtual_Machine" } +{ "name": "qemu-img", "type": "Virtual_Machine" } +{ "name": "qemu-io", "type": "Virtual_Machine" } +{ "name": "qemu-nbd", "type": "Virtual_Machine" } +{ "name": "virtiofsd", "type": "Virtual_Machine" } +{ "name": "qemu-guest-agent", "type": "Virtual_Machine" } diff --git a/ananicy.d/00-types.types b/ananicy.d/00-types.types index eb872266..a69eacf6 100644 --- a/ananicy.d/00-types.types +++ b/ananicy.d/00-types.types @@ -31,3 +31,19 @@ # Type: Adj OOM Score { "type": "OOM_KILL", "oom_score_adj": 1000 } { "type": "OOM_NO_KILL", "oom_score_adj": -1000 } + +# Type: Realtime audio/video +{ "type": "RT_AV", "ioclass": "realtime", "nice": -11, "sched": "rr" } + +# Type: Service +{ "type": "Service", "nice": 10, "ioclass": "best-effort", "ionice": 6 } + +# Type: Realtime services +{ "type": "Service_RT", "nice": -5, "ioclass": "realtime" } + +# Type: Essential +{ "type": "Essential", "nice": -10, "ioclass": "realtime", "oom_score_adj": -1000 } + +# Virtual machines and containers +{ "type": "Container", "nice": 5, "ioclass": "best-effort", "ionice": 5 } +{ "type": "Virtual_Machine", "nice": 5, "ioclass": "best-effort", "ionice": 5 } From 04beaeb7a95754892ebe5379d435f91b1d7abd2e Mon Sep 17 00:00:00 2001 From: fyn5908 Date: Sat, 29 Jan 2022 23:55:55 +0800 Subject: [PATCH 07/14] add rules --- ananicy.d/00-default/xorg.rules | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ananicy.d/00-default/xorg.rules b/ananicy.d/00-default/xorg.rules index 3837bd22..82078887 100644 --- a/ananicy.d/00-default/xorg.rules +++ b/ananicy.d/00-default/xorg.rules @@ -1,3 +1,4 @@ ## Rule for Xorg server, runs the graphical desktop. - -{ "name" : "Xorg", "type" : "LowLatency_RT", "ionice" : 1} +{ "name": "Xorg", "type": "Essential" } +# https://wayland.freedesktop.org/xserver.html +{ "name": "Xwayland", "type": "Essential" } From 967634f1f8143fbd78fd55a8d26c60452ef87e60 Mon Sep 17 00:00:00 2001 From: fyn5908 Date: Sat, 29 Jan 2022 23:56:27 +0800 Subject: [PATCH 08/14] add rules --- ananicy.d/00-default/webp.rules | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 ananicy.d/00-default/webp.rules diff --git a/ananicy.d/00-default/webp.rules b/ananicy.d/00-default/webp.rules new file mode 100644 index 00000000..a9401443 --- /dev/null +++ b/ananicy.d/00-default/webp.rules @@ -0,0 +1,8 @@ +# https://developers.google.com/speed/webp/ +{ "name": "cwebp", "type": "BG_CPUIO" } +{ "name": "dwebp", "type": "BG_CPUIO" } +{ "name": "gif2webp", "type": "BG_CPUIO" } +{ "name": "img2webp", "type": "BG_CPUIO" } +{ "name": "webpmux", "type": "BG_CPUIO" } +{ "name": "webpinfo", "type": "BG_CPUIO" } +{ "name": "vwebp", type": "Image-View" } From 656d039bdb8c0bff251c928e156c360528a30925 Mon Sep 17 00:00:00 2001 From: fyn5908 Date: Sun, 30 Jan 2022 00:05:33 +0800 Subject: [PATCH 09/14] add rules --- ananicy.d/00-default/iclingua.rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ananicy.d/00-default/iclingua.rules b/ananicy.d/00-default/iclingua.rules index 1d7eab66..14454c1f 100644 --- a/ananicy.d/00-default/iclingua.rules +++ b/ananicy.d/00-default/iclingua.rules @@ -1 +1 @@ -{"name": "icligua", "type": "Chat", "nice": -10} +{"name": "icaligua", "type": "Chat", "nice": -10} From bbadd5c3b6ff942446de5757805bb4b5065b9f3d Mon Sep 17 00:00:00 2001 From: fyn5908 Date: Sun, 30 Jan 2022 08:23:40 +0800 Subject: [PATCH 10/14] add rules --- ananicy.d/00-default/iclingua.rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ananicy.d/00-default/iclingua.rules b/ananicy.d/00-default/iclingua.rules index 14454c1f..8b25c739 100644 --- a/ananicy.d/00-default/iclingua.rules +++ b/ananicy.d/00-default/iclingua.rules @@ -1 +1 @@ -{"name": "icaligua", "type": "Chat", "nice": -10} +{"name": "icalingua", "type": "Chat", "nice": -10} From 5982dc8926b72a9f1a132a1cdb5e9d346bc5eefa Mon Sep 17 00:00:00 2001 From: fyn5908 Date: Sun, 30 Jan 2022 08:37:02 +0800 Subject: [PATCH 11/14] add rules --- ananicy.d/00-default/AdguardHome.rules | 1 + ananicy.d/00-default/CloudDrive.rules | 1 + ananicy.d/00-default/gwm.rules | 1 + ananicy.d/00-default/sway.rules | 2 +- ananicy.d/00-default/tabnine.rules | 5 +++++ ananicy.d/00-default/tb-updater.rules | 3 +++ ananicy.d/00-default/trilium.rules | 2 ++ ananicy.d/00-default/unattended-upgrades.rules | 5 +++++ ananicy.d/00-default/vagrant.rules | 2 ++ ananicy.d/00-default/vmware.rules | 4 ++-- ananicy.d/00-default/wireguard.rules | 4 ++++ ananicy.d/00-default/xmonad.rules | 4 ++-- ananicy.d/00-default/youtube-dl.rules | 2 ++ 13 files changed, 31 insertions(+), 5 deletions(-) create mode 100644 ananicy.d/00-default/AdguardHome.rules create mode 100644 ananicy.d/00-default/CloudDrive.rules create mode 100644 ananicy.d/00-default/gwm.rules create mode 100644 ananicy.d/00-default/tabnine.rules create mode 100644 ananicy.d/00-default/tb-updater.rules create mode 100644 ananicy.d/00-default/trilium.rules create mode 100644 ananicy.d/00-default/unattended-upgrades.rules create mode 100644 ananicy.d/00-default/vagrant.rules create mode 100644 ananicy.d/00-default/wireguard.rules diff --git a/ananicy.d/00-default/AdguardHome.rules b/ananicy.d/00-default/AdguardHome.rules new file mode 100644 index 00000000..9a47750b --- /dev/null +++ b/ananicy.d/00-default/AdguardHome.rules @@ -0,0 +1 @@ +{"name": "AdGuardHome", "type": "Service"} diff --git a/ananicy.d/00-default/CloudDrive.rules b/ananicy.d/00-default/CloudDrive.rules new file mode 100644 index 00000000..0b10b76b --- /dev/null +++ b/ananicy.d/00-default/CloudDrive.rules @@ -0,0 +1 @@ +{"name": "CloudDrive", "type": "Service"} diff --git a/ananicy.d/00-default/gwm.rules b/ananicy.d/00-default/gwm.rules new file mode 100644 index 00000000..03344ce5 --- /dev/null +++ b/ananicy.d/00-default/gwm.rules @@ -0,0 +1 @@ +{ "name": "gwm", "type": "Essential" } diff --git a/ananicy.d/00-default/sway.rules b/ananicy.d/00-default/sway.rules index e4bc54db..91527ada 100644 --- a/ananicy.d/00-default/sway.rules +++ b/ananicy.d/00-default/sway.rules @@ -1,2 +1,2 @@ # https://swaywm.org/ -{ "name": "sway", "type": "LowLatency_RT" } +{ "name": "sway", "type": "Essential" } diff --git a/ananicy.d/00-default/tabnine.rules b/ananicy.d/00-default/tabnine.rules new file mode 100644 index 00000000..2445763a --- /dev/null +++ b/ananicy.d/00-default/tabnine.rules @@ -0,0 +1,5 @@ +# https://www.tabnine.com +{ "name": "TabNine", "type": "Heavy_CPU" } +{ "name": "WD-TabNine", "type": "Heavy_CPU" } +{ "name": "TabNine-deep-local", "type": "Heavy_CPU" } +{ "name": "TabNine-deep-cloud", "type": "Heavy_CPU" } diff --git a/ananicy.d/00-default/tb-updater.rules b/ananicy.d/00-default/tb-updater.rules new file mode 100644 index 00000000..7ebab571 --- /dev/null +++ b/ananicy.d/00-default/tb-updater.rules @@ -0,0 +1,3 @@ +# https://github.com/Whonix/tb-updater +{ "name": "update-torbrowser", "type": "BG_CPUIO" } +{ "name": "update-i2pbrowser", "type": "BG_CPUIO" } diff --git a/ananicy.d/00-default/trilium.rules b/ananicy.d/00-default/trilium.rules new file mode 100644 index 00000000..5f7e3fe9 --- /dev/null +++ b/ananicy.d/00-default/trilium.rules @@ -0,0 +1,2 @@ +{"name": "trilium", "type": "Doc-View"} +{"name": "containerd-shim-runc-v2", "type": "Service"} diff --git a/ananicy.d/00-default/unattended-upgrades.rules b/ananicy.d/00-default/unattended-upgrades.rules new file mode 100644 index 00000000..e9ca030e --- /dev/null +++ b/ananicy.d/00-default/unattended-upgrades.rules @@ -0,0 +1,5 @@ +# https://wiki.debian.org/UnattendedUpgrades +{ "name": "unattended-upgrade", "type": "BG_CPUIO" } +{ "name": "unattended-upgrades", "type": "BG_CPUIO" } +{ "name": "update-motd-unattended-upgrades", "type": "BG_CPUIO" } +{ "name": "unattended-upgrade-shutdown", "type": "BG_CPUIO" } diff --git a/ananicy.d/00-default/vagrant.rules b/ananicy.d/00-default/vagrant.rules new file mode 100644 index 00000000..b79b1a32 --- /dev/null +++ b/ananicy.d/00-default/vagrant.rules @@ -0,0 +1,2 @@ +# https://www.vagrantup.com/ +{ "name": "vagrant", "type": "Virtual_Machine" } diff --git a/ananicy.d/00-default/vmware.rules b/ananicy.d/00-default/vmware.rules index 8fdd8997..6802bd13 100644 --- a/ananicy.d/00-default/vmware.rules +++ b/ananicy.d/00-default/vmware.rules @@ -1,2 +1,2 @@ -{ "name": "vmware-vmx", "type": "Heavy_CPU" } -{ "name": "vmware", "type": "Heavy_CPU" } +{ "name": "vmware-vmx", "type": "Virtual_Machine" } +{ "name": "vmware", "type": "Virtual_Machine" } diff --git a/ananicy.d/00-default/wireguard.rules b/ananicy.d/00-default/wireguard.rules new file mode 100644 index 00000000..714eb665 --- /dev/null +++ b/ananicy.d/00-default/wireguard.rules @@ -0,0 +1,4 @@ +## https://www.wireguard.com/ + +{ "name": "wg", "type": "Service_RT" } +{ "name": "wg-quick", "type": "Service_RT" } diff --git a/ananicy.d/00-default/xmonad.rules b/ananicy.d/00-default/xmonad.rules index 90f0ceff..96ba173e 100644 --- a/ananicy.d/00-default/xmonad.rules +++ b/ananicy.d/00-default/xmonad.rules @@ -1,4 +1,4 @@ # http://xmonad.org # http://projects.haskell.org/xmobar/ -{ "name": "xmobar", "type": "LowLatency_RT" } -{ "name": "xmonad-x86_64-linux", "type": "LowLatency_RT" } +{ "name": "xmobar", "type": "Essential" } +{ "name": "xmonad-x86_64-linux", "type": "Essential" } diff --git a/ananicy.d/00-default/youtube-dl.rules b/ananicy.d/00-default/youtube-dl.rules index 1c095322..174f98ee 100644 --- a/ananicy.d/00-default/youtube-dl.rules +++ b/ananicy.d/00-default/youtube-dl.rules @@ -1,2 +1,4 @@ # youtube-dl - video downloader https://rg3.github.io/youtube-dl/ { "name": "youtube-dl", "type": "BG_CPUIO" } +# yt-dlp - youtube-dl fork https://github.com/yt-dlp/yt-dlp +{ "name": "yt-dlp", "type": "BG_CPUIO" } From 51a1666c8442cf519eab8982030ec55f77afaff7 Mon Sep 17 00:00:00 2001 From: fyn5908 Date: Sun, 30 Jan 2022 08:43:51 +0800 Subject: [PATCH 12/14] add rules --- ananicy.d/00-default/caprine.rules | 4 ++++ ananicy.d/00-default/element-desktop.rules | 3 +++ ananicy.d/00-default/evolution.rules | 8 ++++++++ ananicy.d/00-default/fluffychat.rules | 3 +++ ananicy.d/00-default/gamemode.rules | 2 ++ ananicy.d/00-default/gedit.rules | 2 ++ ananicy.d/00-default/ntpd.rules | 2 ++ ananicy.d/00-default/pluma.rules | 3 +++ ananicy.d/00-default/secure-delete.rules | 4 ++++ ananicy.d/00-default/upowerd.rules | 2 ++ 10 files changed, 33 insertions(+) create mode 100644 ananicy.d/00-default/caprine.rules create mode 100644 ananicy.d/00-default/element-desktop.rules create mode 100644 ananicy.d/00-default/evolution.rules create mode 100644 ananicy.d/00-default/fluffychat.rules create mode 100644 ananicy.d/00-default/gamemode.rules create mode 100644 ananicy.d/00-default/gedit.rules create mode 100644 ananicy.d/00-default/ntpd.rules create mode 100644 ananicy.d/00-default/pluma.rules create mode 100644 ananicy.d/00-default/secure-delete.rules create mode 100644 ananicy.d/00-default/upowerd.rules diff --git a/ananicy.d/00-default/caprine.rules b/ananicy.d/00-default/caprine.rules new file mode 100644 index 00000000..4965fd3b --- /dev/null +++ b/ananicy.d/00-default/caprine.rules @@ -0,0 +1,4 @@ + +# Elegant Facebook Messenger desktop app +# https://github.com/sindresorhus/caprine/ +{ "name": "caprine", "type": "Chat" } diff --git a/ananicy.d/00-default/element-desktop.rules b/ananicy.d/00-default/element-desktop.rules new file mode 100644 index 00000000..27d0d061 --- /dev/null +++ b/ananicy.d/00-default/element-desktop.rules @@ -0,0 +1,3 @@ +# Element Desktop: https://element.io/ +# Glossy Matrix collaboration client — desktop version. +{ "name": "element-desktop", "type": "Chat" } diff --git a/ananicy.d/00-default/evolution.rules b/ananicy.d/00-default/evolution.rules new file mode 100644 index 00000000..cf230738 --- /dev/null +++ b/ananicy.d/00-default/evolution.rules @@ -0,0 +1,8 @@ +# Evolution https://wiki.gnome.org/Apps/Evolution +{ "name": "evolution-alarm-notify", "type": "BG_CPUIO" } +{ "name": "evolution-source-registry", "type": "BG_CPUIO" } +{ "name": "evolution-calendar-factory", "type": "BG_CPUIO" } +{ "name": "evolution-addressbook-factory", "type": "BG_CPUIO" } +# Evolution is a personal information management application that provides integrated mail, calendaring and address book functionality. +# https://wiki.gnome.org/Apps/Evolution/ +{ "name": "evolution", "type": "Chat" } diff --git a/ananicy.d/00-default/fluffychat.rules b/ananicy.d/00-default/fluffychat.rules new file mode 100644 index 00000000..da46d226 --- /dev/null +++ b/ananicy.d/00-default/fluffychat.rules @@ -0,0 +1,3 @@ +# Chat with your friends +# https://fluffychat.im/ +{ "name": "fluffychat", "type": "Chat" } diff --git a/ananicy.d/00-default/gamemode.rules b/ananicy.d/00-default/gamemode.rules new file mode 100644 index 00000000..06b2a89e --- /dev/null +++ b/ananicy.d/00-default/gamemode.rules @@ -0,0 +1,2 @@ +# Gamemode: https://github.com/FeralInteractive/gamemode +{ "name": "gamemoded", "type": "BG_CPUIO" } diff --git a/ananicy.d/00-default/gedit.rules b/ananicy.d/00-default/gedit.rules new file mode 100644 index 00000000..fca4c275 --- /dev/null +++ b/ananicy.d/00-default/gedit.rules @@ -0,0 +1,2 @@ +# gedit is the text editor of the GNOME desktop environment: https://wiki.gnome.org/Apps/Gedit/ +{ "name": "gedit", "type":"Doc-View" } diff --git a/ananicy.d/00-default/ntpd.rules b/ananicy.d/00-default/ntpd.rules new file mode 100644 index 00000000..5b7df355 --- /dev/null +++ b/ananicy.d/00-default/ntpd.rules @@ -0,0 +1,2 @@ +# Time synchronisation daemon: https://docs.ntpsec.org/latest/ntpd.html +{ "name": "ntpd", "type": "BG_CPUIO" } diff --git a/ananicy.d/00-default/pluma.rules b/ananicy.d/00-default/pluma.rules new file mode 100644 index 00000000..b4fe9cf6 --- /dev/null +++ b/ananicy.d/00-default/pluma.rules @@ -0,0 +1,3 @@ +# Pluma is the official text editor of the MATE desktop environment +# https://wiki.mate-desktop.org/mate-desktop/applications/pluma/ +{ "name": "pluma", "type":"Doc-View" } diff --git a/ananicy.d/00-default/secure-delete.rules b/ananicy.d/00-default/secure-delete.rules new file mode 100644 index 00000000..94fb6e02 --- /dev/null +++ b/ananicy.d/00-default/secure-delete.rules @@ -0,0 +1,4 @@ +{ "name": "sdmem", "type": "BG_CPUIO" } +{ "name": "sdfill", "type": "BG_CPUIO" } +{ "name": "sdrm", "type": "BG_CPUIO" } +{ "name": "sswap", "type": "BG_CPUIO" } diff --git a/ananicy.d/00-default/upowerd.rules b/ananicy.d/00-default/upowerd.rules new file mode 100644 index 00000000..0d3dfa77 --- /dev/null +++ b/ananicy.d/00-default/upowerd.rules @@ -0,0 +1,2 @@ +# Power management and statistics gathering daemon: https://gitlab.freedesktop.org/upower/upower +{ "name": "upowerd", "type": "BG_CPUIO" } From 1e94e9f0e3a68aebc7c72e67bcdcf8c0ba1dc3a1 Mon Sep 17 00:00:00 2001 From: fyn5908 Date: Mon, 31 Jan 2022 13:46:52 +0800 Subject: [PATCH 13/14] add rules --- ananicy.d/00-default/docker.rules | 1 + ananicy.d/00-default/gitstatusd.rules | 1 + ananicy.d/00-default/watchtower.rules | 1 + 3 files changed, 3 insertions(+) create mode 100644 ananicy.d/00-default/gitstatusd.rules create mode 100644 ananicy.d/00-default/watchtower.rules diff --git a/ananicy.d/00-default/docker.rules b/ananicy.d/00-default/docker.rules index ebcfe975..78754be5 100644 --- a/ananicy.d/00-default/docker.rules +++ b/ananicy.d/00-default/docker.rules @@ -11,3 +11,4 @@ # https://docs.docker.com/registry/ { "name": "docker-registry", "type": "BG_CPUIO" } +{ "name": "containerd", "type": "Container" } diff --git a/ananicy.d/00-default/gitstatusd.rules b/ananicy.d/00-default/gitstatusd.rules new file mode 100644 index 00000000..0f3f89eb --- /dev/null +++ b/ananicy.d/00-default/gitstatusd.rules @@ -0,0 +1 @@ +{ "name": "gitstatusd-linux-x86_64", "type": "Service", "nice": -18 } diff --git a/ananicy.d/00-default/watchtower.rules b/ananicy.d/00-default/watchtower.rules new file mode 100644 index 00000000..c9b8512a --- /dev/null +++ b/ananicy.d/00-default/watchtower.rules @@ -0,0 +1 @@ +{"name": "watchtower", "type": "Service", "nice": -15} From a4bcaebeaf83fc252a7ac5f3beebb695a6d2d859 Mon Sep 17 00:00:00 2001 From: fyn5908 Date: Mon, 31 Jan 2022 15:03:07 +0800 Subject: [PATCH 14/14] add rules --- ananicy.d/00-default/colord.rules | 1 + ananicy.d/00-default/gjs.rules | 1 + ananicy.d/00-default/gsd.rules | 14 ++++++++++++++ ananicy.d/00-default/gvfs.rules | 7 +++++++ ananicy.d/00-default/redis.rules | 2 ++ 5 files changed, 25 insertions(+) create mode 100644 ananicy.d/00-default/colord.rules create mode 100644 ananicy.d/00-default/gjs.rules create mode 100644 ananicy.d/00-default/gsd.rules create mode 100644 ananicy.d/00-default/gvfs.rules create mode 100644 ananicy.d/00-default/redis.rules diff --git a/ananicy.d/00-default/colord.rules b/ananicy.d/00-default/colord.rules new file mode 100644 index 00000000..f19dbbf0 --- /dev/null +++ b/ananicy.d/00-default/colord.rules @@ -0,0 +1 @@ +{ "name": "colord", "type": "BG_CPUIO", "nice": -5 } diff --git a/ananicy.d/00-default/gjs.rules b/ananicy.d/00-default/gjs.rules new file mode 100644 index 00000000..b3c37a2c --- /dev/null +++ b/ananicy.d/00-default/gjs.rules @@ -0,0 +1 @@ +{ "name": "gjs", "type": "BG_CPUIO", "nice": -5 } diff --git a/ananicy.d/00-default/gsd.rules b/ananicy.d/00-default/gsd.rules new file mode 100644 index 00000000..caa5b2aa --- /dev/null +++ b/ananicy.d/00-default/gsd.rules @@ -0,0 +1,14 @@ +{ "name": "gsd-usb-protection", "type": "BG_CPUIO", "nice": -10 } +{ "name": "gsd-media-keys", "type": "BG_CPUIO", "nice": -10 } +{ "name": "gsd-rfkill", "type": "BG_CPUIO", "nice": -10 } +{ "name": "gsd-a11y-settings", "type": "BG_CPUIO", "nice": -10 } +{ "name": "gsd-power", "type": "BG_CPUIO", "nice": -10 } +{ "name": "gsd-screensaver-proxy", "type": "BG_CPUIO", "nice": -10 } +{ "name": "gsd-color", "type": "BG_CPUIO", "nice": -10 } +{ "name": "gsd-xsettings", "type": "BG_CPUIO", "nice": -10 } +{ "name": "gsd-sharing", "type": "BG_CPUIO", "nice": -10 } +{ "name": "gsd-datetime", "type": "BG_CPUIO", "nice": -10 } +{ "name": "gsd-housekeeping", "type": "BG_CPUIO", "nice": -10 } +{ "name": "gsd-sound", "type": "BG_CPUIO", "nice": -10 } +{ "name": "gsd-keyboard", "type": "BG_CPUIO", "nice": -10 } + diff --git a/ananicy.d/00-default/gvfs.rules b/ananicy.d/00-default/gvfs.rules new file mode 100644 index 00000000..19bc7fef --- /dev/null +++ b/ananicy.d/00-default/gvfs.rules @@ -0,0 +1,7 @@ +{ "name": "gvfsd", "type": "BG_CPUIO", "nice": -10 } +{ "name": "gvfsd-trash", "type": "BG_CPUIO", "nice": -10 } +{ "name": "gvfsd-network", "type": "BG_CPUIO", "nice": -10 } +{ "name": "gvfsd-http", "type": "BG_CPUIO", "nice": -10 } +{ "name": "gvfsd-udisks2-volume-monitor", "type": "BG_CPUIO", "nice": -10 } +{ "name": "gvfsd-goa-volume-monitor", "type": "BG_CPUIO", "nice": -10 } +{ "name": "gvfsd-metadata", "type": "BG_CPUIO", "nice": -10 } diff --git a/ananicy.d/00-default/redis.rules b/ananicy.d/00-default/redis.rules new file mode 100644 index 00000000..2e26aa2d --- /dev/null +++ b/ananicy.d/00-default/redis.rules @@ -0,0 +1,2 @@ +{ "name": "redis-server", "type": "Service" } +{ "name": "redis-cli", "type": "Chat" }