...
It is recommended to configure at least 2GHz, 4 core or higher, x64 compatible processor. There is no problem in operating in a processor environment with a lower specification, but considering the I / O performance of the system, it is necessary to secure the specification of the configuration machine as high as possible.
Memory
Systems The system typically start starts paging virtual memory when memory usage exceeds 70%, depending on kernel settings, and . Because paging behavior degrades system I/O performance. To prevent replication from operating on poorly performing systems, it is in replication's best interest beneficial for replication to be configured to always have at least 30% free physical memory so that paging is suppressed.
The memory used by BSR is based on non-paged physical memory, and on Windows, the maximum memory usage primarily required for buffering purposes and is determined by the maximum write request value (max-req-write-count) in the BSR settings and the size of the transmit buffer. Below is an example for a Windows environment.
For synchronous without a send buffer
At the default setting for write requests (10k), use a maximum of 1.5 GB 5GB per resource.
At the write request maximum write requests setting (100k100,000), use a maximum of 3GB 3 GB per resource.
For asynchronous with a 1GB send buffer setting, use a maximum of 3GB per resource in the
Use a maximum of 2.5 GB per 1 resource at the write request default setting.
Use a maximum of 4 GB per resource at the Write Request Max setting.
For example, a server with 64 GB of physical memory requires , approximately 20 GB (30%) of memory free space is required, and of the memory space used, BSR requires a maximum of 2.5 GB of memory space per 1 resource in the Async preferenceis required for asynchronous by default.
If you don't have that 30% free memory, you'll have to
...
accept a degradation in basic I/O performance
...
due to paging.
...
The 3 to 4 GB NP memory usage per resource required by replication
...
should be kept free
...
, otherwise you will run out of memory, which can lead to failure.
Transmit buffer size
The size of the local transmit (TX) buffer(sndbuf-size) is obtained by the formula (maximum size of the transmission band per sec * transmission timeout). For a 1Gbps band, (about 100MB/s * 5s) = 500MB, so you can set it between 500MB and 1GB to be generous.
Info |
---|
When paging occurs can vary depending on your system's memory capacity, platform, and OS version. The 70% figure described above is typical and should be understood in the context of your environment. BSR memory usage on Linux is similar or less than on Windows. It uses a bit more memory on Windows due to some differences in the replication architecture. |
...