Versions Compared

Key

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

Table of Contents

...


Type
System
Level range
Remarks
IQAHW1~9Requires Intel QAT H/W compression board
ZLIBSW1~9-
LZ4SW1~9-
NONE--OFF


The command to set the compression plug-in is as follows.

TypeCommandsExample output
IQAdrx-ctl set compress iqa [level] [connect name] 


Code Block
themeDJango
titleset compress
collapsetrue
< Set compression plug-in to IQA >
[root@c73-qat-1 drbd.d]# drx-ctl set compress iqa 1 r0-c73-qat-2-c73-qat-1
r0-c73-qat-2-c73-qat-1: updated.
Result: 1 resource(s) updated.

[root@c73-qat-1 drbd.d]#


ZLIB drx-ctl set compress zlib [level] [connect name] 


Code Block
themeDJango
titleset compress
collapsetrue
< Set compression plug-in to ZLIB >
[root@c73-qat-1 drbd.d]# drx-ctl set compress zlib 1 r0-c73-qat-2-c73-qat-1
r0-c73-qat-2-c73-qat-1: updated.
Result: 1 resource(s) updated.

[root@c73-qat-1 drbd.d]#


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


Code Block
themeDJango
titleset compress
collapsetrue
< Set compression plug-in to LZ4 >
[root@c73-qat-1 drbd.d]# drx-ctl set compress lz4 1 r0-c73-qat-2-c73-qat-1
r0-c73-qat-2-c73-qat-1: updated.
Result: 1 resource(s) updated.

[root@c73-qat-1 drbd.d]#


NONEdrx-ctl set compress none 0 [connect name] 


Code Block
themeDJango
titleset compress
collapsetrue
< Turn off compression plug-ins >
[root@c73-qat-1 drbd.d]# drx-ctl set compress none 0 r0-c73-qat-2-c73-qat-1
r0-c73-qat-2-c73-qat-1: updated.
Result: 1 resource(s) updated.

[root@c73-qat-1 drbd.d]#



...

  • QA team's analysis of performance impact
    • /wiki/spaces/QA/pages/819396836 925794470

      ConfigurationCPU Core countNumber of automatically calculated threads
      S/W Zlib Level 18 Core / 1GBps 4
      H/W Zlib Level 116 Core / 2GBps8


  • Commands


    Code Block
    themeDJango
    titleprocess-thread-count
    collapsetrue
    < 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. DRX Appliance Configuration Guide
    • References link : https://www.ibm.com/support/knowledgecenter/en/SSZTET_10.1/smpi01/smpi01_tysfbpjp.html
    • Default : 208KBytes


      Code Block
      themeDJango
      [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
      themeDJango
      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.


...