just to be sure: you *do* actually use an RT kernel? I know you can set ff
on stock non-RT kernels, but the results can be quite different.
On Thursday, September 26, 2024 at 5:49:53 AM UTC+2 Zhao Weng wrote:
> Hi gophers,
> I'm doing a research on how to prioritise some goroutines over others.
Are you running this on a multi-core? Your non-fifo tasks can be scheduled
to other cores, et cetera. BTW, fifo 99 is a recipe for desaster as it can
starve the kernel on a core, preventing necessary kernel house-keeping.
Don't ask me how I know...
What is the reason for setting GOMAXPROCS, I'm
Just realized I now to use taskset to make sure all the goroutine run on
the same CPU
sudo taskset -c 7 ./sche -r 0.3s
and It's working now
On Thursday, September 26, 2024 at 11:49:53 AM UTC+8 Zhao Weng wrote:
> Hi gophers,
> I'm doing a research on how to prioritise some goroutines over other