From a9350952b72b08d4ddf2c0a3706b764bfb15b22a Mon Sep 17 00:00:00 2001 From: able Date: Thu, 13 Jul 2023 03:41:15 -0500 Subject: [PATCH] SCHED: Set a sane TQ --- kernel/src/scheduler.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/src/scheduler.rs b/kernel/src/scheduler.rs index c127b28..df075b9 100644 --- a/kernel/src/scheduler.rs +++ b/kernel/src/scheduler.rs @@ -4,7 +4,7 @@ use { }; use {crate::host::TrapHandler, hbvm::vm::Vm}; -const TIMER_QUOTIENT: usize = 10_000_000; +const TIMER_QUOTIENT: usize = 100; pub struct Scheduler<'a> { data: VecDeque>,