@samyt Here’s the advice I received for map/reduce scripts regarding those values. If you want your scripts to be graceful, Yield after minutes should be 3 mins. If you want it to have higher priority pick > 3 mins. However, ff your script takes more than 3 mins per iteration, then it is not as efficient as it could be.
As far as buffer size is concerned, this is the number of map/reduce iterations before it writes to the DB. Best performance (with less reliability if something fails before it writes to the DB) can be achieved using higher numbers.