Configurable write buffer size