I also could not find any code that used the write-buffer-size when allocating a buffer. I did find this method: Oplog.allocateWriteBuf It seems like this would be the allocation of the disk store write buffer. If one is not already allocated then this method checks a sysprop and then defaults to 32k.
return ByteBuffer.allocateDirect(Integer.getInteger("WRITE_BUF_SIZE", 32768)); It seems like this code should at least also ask the DiskStoreImpl (using Oplog.parent) what the write buffer size is if the sys prop is not set. ________________________________ From: Alberto Gomez <alberto.go...@est.tech> Sent: Monday, May 24, 2021 8:51 AM To: dev@geode.apache.org <dev@geode.apache.org> Subject: Question about the write-buffer-size parameter when creating a disk store Hi, According to the Geode documentation, it is possible to set the write buffer size by using --write-buffer-size when creating a disk store [1]. Nevertheless, looking at the code, I have not seen that setting a value for that parameter has any effect. Does anybody know if I am correct or if I am missing something? Thanks in advance, Alberto G. [1] https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgeode.apache.org%2Fdocs%2Fguide%2F113%2Ftools_modules%2Fgfsh%2Fcommand-pages%2Fcreate.html&data=04%7C01%7Cdarrel%40vmware.com%7Cb63852a3a5f3443fba8608d91ecbda73%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C0%7C637574683156060826%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Ws2jZCItSzOU31LjWpNVl55m4J74VrkII0apK8AfGQk%3D&reserved=0