Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

...

압축 플러그인을 설정하는 명령어는 아래와 같습니다. 

압축 타입명령출력 예시
ZLIB drx-ctl set compress zlib [level] [connect name] 


Code Block
themeDJango
titleset compress
collapsetrue
< 압축 플러그인을 ZLIB로 설정 >
[root@c73-1 bsr.d]# drx-ctl set compress zlib 1 r0-c73-2-c73-1
r0-c73-2-c73-1: updated.
Result: 1 resource(s) updated.

[root@c73-1 bsr.d]#


LZ4drx-ctl set compress lz4 [level] [connect name] 


Code Block
themeDJango
titleset compress
collapsetrue
< 압축 플러그인을 LZ4로 설정 >
[root@c73-1 bsr.d]# drx-ctl set compress lz4 1 r0-c73-2-c73-1
r0-c73-2-c73-1: updated.
Result: 1 resource(s) updated.

[root@c73-1 bsr.d]#


NONEdrx-ctl set compress none 0 [connect name] 


Code Block
themeDJango
titleset compress
collapsetrue
< 압축 플러그인을 OFF >
[root@c73-1 bsr.d]# drx-ctl set compress none 0 r0-c73-2-c73-1
r0-c73-2-c73-1: updated.
Result: 1 resource(s) updated.

[root@c73-1 bsr.d]#


...

  • TCP socket buffer size 변경
    • 참조: https://www.ibm.com/support/knowledgecenter/en/SSZTET_10.1/smpi01/smpi01_tysfbpjp.html
    • 기본 : 208KBytes


      Code Block
      themeDJango
      [root@c73-1 drbdbsr.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-1 drbdbsr.d]#
      
      


    • max 2 MB로 변경합니다.


      Code Block
      themeDJango
      sysctl -w net.core.rmem_max="2097152"
      sysctl -w net.core.wmem_max="2097152" 


...