From 4344b233bc5123bacff12e17377ac22814f7753b Mon Sep 17 00:00:00 2001 From: modeco80 Date: Sat, 2 Nov 2024 06:33:31 -0400 Subject: [PATCH] cvmts: Bump up cpu.max period to 100000 (well, it DOES still work, but i imagine it's 100000 by default for a reason) --- cvmts/src/vm/qemu_launcher.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cvmts/src/vm/qemu_launcher.ts b/cvmts/src/vm/qemu_launcher.ts index 8e9086b..5ef3aa0 100644 --- a/cvmts/src/vm/qemu_launcher.ts +++ b/cvmts/src/vm/qemu_launcher.ts @@ -23,7 +23,7 @@ function MakeValuesFromLimits(limits: CgroupLimits): CGroupValue[] { option_array.push({ controller: 'cpu', key: 'max', - value: `${(limits.cpuUsageMax / 100) * 10000} 10000` + value: `${(limits.cpuUsageMax / 100) * 100000} 100000` }); }