performance optimizations for process collection on linux