From 4ba9649f16e87378c5103424d3ae3db88da43614 Mon Sep 17 00:00:00 2001 From: Peter Jung Date: Sat, 19 Nov 2022 22:17:55 +0100 Subject: [PATCH] Change some type values Signed-off-by: Peter Jung --- 00-default/tools/rsync.rules | 1 + 00-types.types | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 00-default/tools/rsync.rules diff --git a/00-default/tools/rsync.rules b/00-default/tools/rsync.rules new file mode 100644 index 0000000..76d0dbf --- /dev/null +++ b/00-default/tools/rsync.rules @@ -0,0 +1 @@ +{ "name": "rsync", "type": "BG_CPUIO" } diff --git a/00-types.types b/00-types.types index 6d5dec5..8ca3602 100644 --- a/00-types.types +++ b/00-types.types @@ -1,7 +1,7 @@ # Type: Game # Use more CPU time if possible # Games do not always need more IO, but in most cases can be hungry for CPU -{ "type": "Game", "nice": -7, "ioclass": "best-effort", "latency_nice": -11 } +{ "type": "Game", "nice": -7, "ioclass": "best-effort", "latency_nice": -7 } # Type: Player Audio/Video # Try to add more CPU power to decrease latency/lags @@ -15,7 +15,7 @@ # Type: Low Latency Realtime Apps # In general case not so heavy, but must not lag -{ "type": "LowLatency_RT", "nice": -13, "ioclass": "realtime", "latency_nice": -13 } +{ "type": "LowLatency_RT", "nice": -9, "ioclass": "best-effort", "latency_nice": -9 } # Type: BackGround CPU/IO Load # Background CPU/IO it's needed, but it must be as silent as possible @@ -26,10 +26,10 @@ { "type": "Heavy_CPU", "nice": 19, "ioclass": "best-effort", "ionice": 7, "cgroup": "cpu90" , "latency_nice": 15 } # Type: Chat -{ "type": "Chat", "nice": -3, "ioclass": "best-effort", "ionice": 7 , "latency_nice": -4 } +{ "type": "Chat", "nice": -3, "ioclass": "best-effort", "ionice": 7 , "latency_nice": -3 } # Type: Compiler -{ "type":"compiler", "nice": 3, "latency_nice": 3 } +{ "type":"compiler", "nice": 9, "latency_nice": 9 } # Type: Service { "type": "Service", "nice": 10, "ioclass": "best-effort", "ionice": 6 , "latency_nice": 10 }