Hey,
I'm writing some latency & speed sensitive routines that are processing large amount of signal data in batches. When I run this in a standalone program the speed is fine. However when I combine this to the rest of software (>1000 goroutines, mainly network code) the speed gets reduced by 2x.
Are there any low-level ways to temporary prevent preemption of a function or a goroutine?
Alternatively I tried to run two piece of software in parallel, via shm+IPC synchronization methods, but futex, posix mutex, pipes, all produced latency jitter from 20us - 200us. If there's lower latency methods or more stable ones, please do recommend.
Thanks