set buffer size to size of OS buffer