rename buffersize to cachesize