give the chance to tune RAM buffer size + some tuning docs

fixes #718