Table of Contents |
---|
...
Info |
---|
Latency and throughput optimization on the local I/O side should be handled with optimization on the replication side. For this, please refer to the following.
|
...
DRX provides the following compression plug-ins.
Type | System | Level range | Remarks |
---|---|---|---|
IQA | HW | 1~9 | Requires Intel QAT H/W compression board |
ZLIB | SW | 1~9 | - |
LZ4 | SW | 1~9 | - |
NONE | - | - | OFF |
The command to set the compression plug-in is as follows.
Type | Commands | Example output | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
IQA | drx-ctl set compress iqa [level] [connect name] |
| |||||||||
ZLIB | drx-ctl set compress zlib [level] [connect name] |
| |||||||||
LZ4 | drx-ctl set compress lz4 [level] [connect name] |
| |||||||||
NONE | drx-ctl set compress none 0 [connect name] |
|
...
The number of threads is set to "process-thread-count" value in the configuration file. If you do not set it or input "auto-1", it will operate at half the number of CPU cores.
- QA team's analysis of performance impact
/wiki/spaces/QA/pages/925794470
Configuration CPU Core count Number of automatically calculated threads S/W Zlib Level 1 8 Core / 1GBps 4 H/W Zlib Level 1 16 Core / 2GBps 8
- Commands
Code Block theme DJango title process-thread-count collapse true < Configuration > [root@c73-qat-1 drbd.d]# drx-ctl set process-thread-count 10 Result: done. [root@c73-qat-1 drbd.d]# < Check > [root@c73-qat-1 drbd.d]# drx-ctl show all ... ip-verification=on process-thread-count=10 [root@c73-qat-1 drbd.d]#
...
- Change TCP socket buffer size
- Server used for testing : Server of Appendix D. Appliance Configuration Guide
- References link : https://www.ibm.com/support/knowledgecenter/en/SSZTET_10.1/smpi01/smpi01_tysfbpjp.html
- Default : 208KBytes
Code Block theme DJango [root@c73-qat-1 drbd.d]# sysctl -a | grep net.core.[rw]mem net.core.rmem_default = 212992 net.core.rmem_max = 212992 net.core.wmem_default = 212992 net.core.wmem_max = 212992 [root@c73-qat-1 drbd.d]#
- Modify command : Change the max entry to 2 MBytes.
Code Block theme DJango sysctl -w net.core.rmem_max="2097152" sysctl -w net.core.wmem_max="2097152"
Info The set value is not an absolute value and the performance result may be different depending on server and network environment.
7.4.2 Virtual Memory Management
Virtual memory is the total amount of memory used by the process. Linux can adjust the virtual memory size used by the process through the environment variable MALLOC_ARENA_MAX. Windows is excluded because it can only change the total size of virtual memory.
Info |
---|
Setting environment variables can affect the entire system because it adjusts the memory pool of the process. There should be enough testing to proceed. |
- the way to set MALLOC_ARENA_MAX value.
Code Block $> export MALLOC_ARENA_MAX=1
Info The value "1" in the example is not an absolute value and should be set differently depending on the server and environment.
- Considerations
- Changing the value of MALLOC_ARENA_MAX reduces virtual memory usage but may increase CPU utilization.