Perhaps there's a way to insert GNU Parallel in there to do parallel search of different chunks?
Or just use ripgrep, which integrates multi-core.
Or just use ripgrep, which integrates multi-core.
xargs -P maxprocs
Parallel mode: run at most maxprocs invocations of utility at once. If maxprocs is set to 0, xargs will run as many processes as possible.