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/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]#
    
    


...

7.4.2 Virtual Memory Management

Virtual memory The virtual memory size of process information is the total amount of memory used by the process. Linux  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.

...