@@ -4696,24 +4696,24 @@ SRST
4696
4696
tools such as tcpdump or Wireshark .
4697
4697
4698
4698
``- object colo - compare ,id = id ,primary_in = chardevid ,secondary_in = chardevid ,outdev = chardevid ,iothread = id [,vnet_hdr_support ][,notify_dev = id ][,compare_timeout = @var {ms }][,expired_scan_cycle = @var {ms }][,max_queue_size = @var {size }]``
4699
- Colo - compare gets packet from primary \_inchardevid and
4700
- secondary \_inchardevid , than compare primary packet with
4701
- secondary packet . If the packets are same , we will output
4702
- primary packet to outdevchardevid , else we will notify
4703
- colo - frame do checkpoint and send primary packet to
4704
- outdevchardevid . In order to improve efficiency , we need to put
4705
- the task of comparison in another thread . If it has the
4706
- vnet \ _hdr \ _support flag , colo compare will send / recv packet with
4707
- vnet \ _hdr \ _len . Then compare \_timeout = @var {ms } determines the
4708
- maximum delay colo - compare wait for the packet .
4709
- The expired \ _scan \ _cycle = @ var { ms } to set the period of scanning
4710
- expired primary node network packets . The max \_queue \_size = @var {size }
4711
- is to set the max compare queue size depend on user environment .
4712
- If you want to use Xen COLO , will need the notify \_dev to
4699
+ Colo - compare gets packet from primary \_in chardevid and
4700
+ secondary \_in , then compare whether the payload of primary packet
4701
+ and secondary packet are the same . If same , it will output
4702
+ primary packet to out \ _dev , else it will notify COLO - framework to do
4703
+ checkpoint and send primary packet to out \ _dev . In order to
4704
+ improve efficiency , we need to put the task of comparison in
4705
+ another iothread . If it has the vnet \ _hdr \ _support flag ,
4706
+ colo compare will send / recv packet with vnet \ _hdr \ _len .
4707
+ The compare \_timeout = @var {ms } determines the maximum time of the
4708
+ colo - compare hold the packet . The expired \ _scan \ _cycle = @ var { ms }
4709
+ is to set the period of scanning expired primary node network packets .
4710
+ The max \_queue \_size = @var {size } is to set the max compare queue
4711
+ size depend on user environment .
4712
+ If user want to use Xen COLO , need to add the notify \_dev to
4713
4713
notify Xen colo - frame to do checkpoint .
4714
4714
4715
- we must use it with the help of filter - mirror and
4716
- filter - redirector .
4715
+ COLO - compare must be used with the help of filter - mirror ,
4716
+ filter - redirector and filter - rewriter .
4717
4717
4718
4718
::
4719
4719
0 commit comments