I run a game server. Every 12 hours or so we have to generate a map of the server for our website. The process takes about 20 minutes and burns the CPU hard the entire time, which lags my game server. Booo.
I've already got my game server running at niceness -20, and the generator running at 19, but my game server still seems to be lagging. Is there anything else I can do to limit the CPU time the generator can eat up? There's no tight schedule for the generator, so it's fine if it takes forever as long as it's not lagging the game server the entire time.