wy96f edited a comment on issue #2845: ARTEMIS-2336 Use zero copy to replicate 
journal/page/large message file (AGAIN)
URL: https://github.com/apache/activemq-artemis/pull/2845#issuecomment-535797340
 
 
   @franz1981 
   ```
   2019-09-27 13:47:01,943 DEBUG 
[org.apache.activemq.artemis.core.replication.ReplicationManager] sending 
1048576 bytes on file 000002541.page
   2019-09-27 13:47:01,943 DEBUG 
[org.apache.activemq.artemis.core.replication.ReplicationManager] sending 
1048576 bytes on file 000002541.page
   2019-09-27 13:47:01,943 DEBUG 
[org.apache.activemq.artemis.core.replication.ReplicationManager] sending 
1048496 bytes on file 000002541.page
   2019-09-27 13:47:01,945 DEBUG 
[org.apache.activemq.artemis.core.replication.ReplicationManager] sending 0 
bytes on file 000002541.page
   
   
   
   ^C
   [artemis@windqpstdb05 bin]$ sar -n DEV 1
   Linux 2.6.32-279.19.1.el6_sn.12.x86_64 (windqpstdb05)        09/27/2019      
_x86_64_        (8 CPU)
   
   01:47:37 PM     IFACE   rxpck/s   txpck/s    rxkB/s    txkB/s   rxcmp/s   
txcmp/s  rxmcst/s
   01:47:38 PM        lo      0.00      0.00      0.00      0.00      0.00      
0.00      0.00
   01:47:38 PM      eth0   4548.00   2576.00    294.39 108552.23      0.00      
0.00      0.00
   
   01:47:38 PM     IFACE   rxpck/s   txpck/s    rxkB/s    txkB/s   rxcmp/s   
txcmp/s  rxmcst/s
   01:47:39 PM        lo      0.00      0.00      0.00      0.00      0.00      
0.00      0.00
   01:47:39 PM      eth0   4520.00   2528.00    292.59 108009.43      0.00      
0.00      0.00
   
   01:47:39 PM     IFACE   rxpck/s   txpck/s    rxkB/s    txkB/s   rxcmp/s   
txcmp/s  rxmcst/s
   01:47:40 PM        lo      0.00      0.00      0.00      0.00      0.00      
0.00      0.00
   01:47:40 PM      eth0   4497.00   2588.00    291.05 107394.71      0.00      
0.00      0.00
   
   01:47:40 PM     IFACE   rxpck/s   txpck/s    rxkB/s    txkB/s   rxcmp/s   
txcmp/s  rxmcst/s
   01:47:41 PM        lo      0.00      0.00      0.00      0.00      0.00      
0.00      0.00
   01:47:41 PM      eth0   4483.00   2561.00    290.18 106670.38      0.00      
0.00      0.00
   
   01:47:41 PM     IFACE   rxpck/s   txpck/s    rxkB/s    txkB/s   rxcmp/s   
txcmp/s  rxmcst/s
   01:47:42 PM        lo      0.00      0.00      0.00      0.00      0.00      
0.00      0.00
   01:47:42 PM      eth0   4494.00   2584.00    290.85 107486.57      0.00      
0.00      0.00
   
   ```
   Yes, i saw the network was saturated(initial-replication-sync-timeout was 
set to 300000, otherwise replication failed due to timeout). 
   Note that log showed `13:47:01,945` last page sent, and sar showed `01:47:37 
PM` queued up data still transferring and saturating network.
   
   BTW,`<acceptor 
name="artemis">tcp://10.244.201.200:61616?;tcpSendBufferSize=1048576;tcpReceiveBufferSize=1048576;protocols=CORE,AMQP,STOMP,HORNETQ,MQTT,OPENWIRE;useEpoll=true;amqpCredits=1000;amqpLowCredits=300</acceptor>
   `
    I used this in broker.xml.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to