# Understnading event replicator

**URL:** <https://techcommunity.softwareag.com/t/understnading-event-replicator/76495>\
**Category:** Forum\
**Tags:** Adabas-Natural, Adabas, Adabas-on-Windows-UNIX, Adabas-Add-on-Products, Event-Replicator-for-Adabas\
**Created:** [April 5, 2008, 10:47pm UTC](https://techcommunity.softwareag.com/t/understnading-event-replicator/76495 "2008-04-05T22:47:10Z")\
**Posts on this page:** 12\
**Page:** 2

<div class="post-metadata">

**Author:** ![Thierry\_Casier](https://avatars.discourse-cdn.com/v4/letter/t/5f9b8f/32.png) [@Thierry\_Casier](https://techcommunity.softwareag.com/u/Thierry_Casier)\
**Post date:** [May 7, 2008, 11:49am UTC](https://techcommunity.softwareag.com/t/understnading-event-replicator/76495/21 "2008-05-07T11:49:09Z")

</div>

100 recs/sec is also the number we achieve when starting an initial state.  
We have found it very much depends on the hardware used.

We did our first initial state with the target adapter on a Sun Unix machine with sparc III type processors and we could replicate 20 recs/sec.

A second test on a plain PC with a 2.8GHz processor in our LAN (10Mb)environment resulted in 80 recs/sec.

A third test on a recent Linux dual core server with 2GHz processors in the backbone network (100Mb) resulted in 100 recs/sec.

We use MQSeries for transport but I don’t think this makes any difference.

We replicate agains Oracle and my Oracle admin said that there could be a performance gain on the target adapter if it would use ‘bindings’ but untill now I did not have the time to investigate this further.

Best regards,

Thierry

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [May 7, 2008, 12:17pm UTC](https://techcommunity.softwareag.com/t/understnading-event-replicator/76495/22 "2008-05-07T12:17:17Z")

</div>

I don’t think increasing messageprefetchcount would help. I think the next buffer will always be ready for ART.

I’ve no experience with VSAM pstore.

That the windows server does not utilize 100% I don’t think you can assume that the problem is then in Broker. What is the cpu usage for Broker? Please note that sql has to do many IOs which means he is very IO bound. So I don’t think you ever will be able to see this server go into 100% cpu.

---

<div class="post-metadata">

**Author:** ![Wayne\_Campos](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/wayne_campos/32/104_2.png) [@Wayne\_Campos](https://techcommunity.softwareag.com/u/Wayne_Campos)\
**Post date:** [May 8, 2008, 1:17am UTC](https://techcommunity.softwareag.com/t/understnading-event-replicator/76495/23 "2008-05-08T01:17:39Z")

</div>

I needed time to run a test.

Source:  
z/OS  
ADABAS 7.4.4  
Event Replicator 3.1.1  
EntireX 7.3.3

Target:  
Windows 2003 Server Standard Edition (VM)  
SQL Server 2005  
Tomcat 5.5  
Event Replicator target Adapter 2.4.1

Initial State of 1,000,000 records.  
Elapsed time: 8624672 ms  
Rate: 116 records per second  
No MU or PE.

```
    General Values TLOG Values 

```

* * *

Subtasks … \_\_\_3 Maximum RPL Usage … \_40 %  
Max Output Size … \_\_\_\_\_32768 Restart RPL Usage … 30 %  
EntireX Broker Stub Name … BKIMBTSO Input Queue Level … 0  
Input Request Msg Limit … \_\_\_\_\_\_\_\_10 No Match Level … 0  
Input Request Msg Interval \_\_\_\_\_\_\_\_60 Queue Completion Level … 0  
Verify Mode … N Completion Level … 0  
Format Buffer Validation … W Request Received Level … 0  
Record PLOG information … Y Request Rejected Level … 0  
Max Record Size … \_\_\_\_\_32760 Request Error Level … 3  
Max Variable Record Size … \_\_\_\_\_32759 Status Request Level … 3  
Retry Interval… \_\_\_\_\_\_\_\_30 I-State Start Request Level … 3  
Retry Count… \_\_\_\_\_\_\_\_10 I-State Completion Level … 3  
Retransmit Request Level … 3

Dest Name … DHVDEV87 EntireX Broker ID… EXB180:18020:TCP\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
Architecture … _2 Broker Service … ART-VDEV87_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
Threshold … _ **5 Service Name … TECH** _\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
Destination Active … N Service Class … REPLICATE\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
Allow Logging … Y Retry Interval … GLOBAL\_\_\_\_  
Replicate Util Chgs … N Retry Count … GLOBAL\_\_\_\_  
Max Output Size … **_32768  
TLOG Parms  
------------------------ Destination Class … SAGTARG_  
Assign Level … 0 Destination Class Parameter Data …  
Completion Level … 0 NOSPRE**\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
SLOG Write Level … 0 \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
SLOG Read Level … 0 \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_

[07 May 2008 11:10:20] 9329 [Art-Engine] INFO ada.forcedInfoLog(Define.java:257)

* * *

Event Replicator Target Adapter Version 2.4.1.17 Starting  
(Hot Fix #17), Build Number 243 at April 2 2008 1650

* * *

[07 May 2008 11:10:20] 9423 [Art-Engine] INFO ada.forcedInfoLog(Define.java:257)  
Software AG License Check Successful!  
[07 May 2008 11:10:20] 9454 [Art-Engine] INFO ada.forcedInfoLog(Define.java:257)

Source Type…: BROKER  
Host:Port…: EXB180:18020  
Receive Service…: REPLICATE/TECH/ART-VDEV87  
Send Service…: INPUTQUEUE/TECH/ART-VDEV87  
Trace Level…: 0  
Verbose Level…: 0  
Max. Receive Len…: 32768  
Capture Mode…: False  
Security Mode…: False  
Convert to Underscore…: True  
Convert to Lowercase…: False  
Use Occurrence for MU Table…: True  
ART 2.3 Table Layout…: False  
Wait Time…: 1200S

jdbc database type…: Microsoft SQL Server  
database user name…: sa  
database host name…: reisdfw01vdev87  
database port number…: 1433  
database database name…: reptor  
database retry count…: 5  
database retry interval…: 30  
database Max. batch stmts…: 0  
database Error Continue…: False  
database delete before insert.: False  
database update to insert…: False

[07 May 2008 11:10:21] 10517 [Art-Engine] ERROR PersistentWebdavImpl.(PersistentWebdavImpl.java:76)  
INFO: Webdav cache create size: 20  
[07 May 2008 11:10:21] 10611 [Art-Engine] INFO ada.forcedInfoLog(Define.java:257)  
INFO: Set verbose level: 0  
[07 May 2008 11:10:21] 10673 [Art-Engine] INFO ada.forcedInfoLog(Define.java:257)  
The Event Replicator Target Adapter is started and waiting replication data

[07 May 2008 11:10:54] 43928 [http-8085-Processor4] INFO ada.forcedInfoLog(Define.java:257)  
INFO: InitialState Process Started…  
[07 May 2008 13:34:39] 8668616 [http-8085-Processor4] INFO ada.forcedInfoLog(Define.java:257)  
INFO: InitialState Process Completed  
[07 May 2008 13:34:39] 8668632 [http-8085-Processor4] INFO ada.forcedInfoLog(Define.java:257)  
INFO: InitialState Estimated Elapsed Time: 8624672 ms  
[07 May 2008 14:13:01] 10970444 [main] INFO ada.forcedInfoLog(Define.java:257)  
INFO: Undeploy Server Requested. Start Shutdown Process.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [May 8, 2008, 12:51pm UTC](https://techcommunity.softwareag.com/t/understnading-event-replicator/76495/24 "2008-05-08T12:51:43Z")

</div>

We did also increase the blocksize for pstore to 6518 (BLKSIZE=6518 in DEFAULTS=BROKER section). Default is 2000. Adabas device type is 8390.

---

<div class="post-metadata">

**Author:** ![Wayne\_Campos](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/wayne_campos/32/104_2.png) [@Wayne\_Campos](https://techcommunity.softwareag.com/u/Wayne_Campos)\
**Post date:** [May 8, 2008, 5:54pm UTC](https://techcommunity.softwareag.com/t/understnading-event-replicator/76495/25 "2008-05-08T17:54:16Z")

</div>

We are using BLKSIZE=4096.

However, I think that this parameter is from the DEFAULTS=ADABAS section not the DEFAULTS=BROKER section of the attribute file.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [May 8, 2008, 7:12pm UTC](https://techcommunity.softwareag.com/t/understnading-event-replicator/76495/26 "2008-05-08T19:12:17Z")

</div>

You’re right (DEFAULTS=ADABAS section). Sorry. ☹

---

<div class="post-metadata">

**Author:** ![vtisuela](https://avatars.discourse-cdn.com/v4/letter/v/df705f/32.png) [@vtisuela](https://techcommunity.softwareag.com/u/vtisuela)\
**Post date:** [May 8, 2008, 11:06pm UTC](https://techcommunity.softwareag.com/t/understnading-event-replicator/76495/27 "2008-05-08T23:06:14Z")

</div>

Thank you very much for sharing your configuration and test results. They really help a lot in validating our set up. Please continue to share your thoughts on performance improvements.

Does a bigger BLKSIZE for Pstore help in the preformance? Can you share your values in the Broker attribute file?

Thanks a lot.

---

<div class="post-metadata">

**Author:** ![vtisuela](https://avatars.discourse-cdn.com/v4/letter/v/df705f/32.png) [@vtisuela](https://techcommunity.softwareag.com/u/vtisuela)\
**Post date:** [May 9, 2008, 5:38am UTC](https://techcommunity.softwareag.com/t/understnading-event-replicator/76495/28 "2008-05-09T05:38:59Z")

</div>

Wayne, Mogens, Thierry,

Which transport do you use for Broker, TCP/IP or SVC? Would TCP/IP be faster than SVC?

Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [May 9, 2008, 12:15pm UTC](https://techcommunity.softwareag.com/t/understnading-event-replicator/76495/29 "2008-05-09T12:15:30Z")

</div>

Reptor \<-svc-\> Broker \<-tcp/ip-\> ART. I don’t think anything is faster than svc communication between Reptor anf Broker. BTW you run Reptor and Broker on the same LPAR?

DEFAULTS = ADABAS  
BLKSIZE = 6518 \* 8390=6518 8393=27644 (max 20000)

- BLKSIZE = 13800 \* 8390=6518 8393=27644 (max 20000)  
DBID = 92  
FNR = 218
- FORCE-COLD = Y  
SVC = 247
- ------------- Adabas Event Replicator --------------------------
- 

DEFAULTS = SERVICE  
CONV-LIMIT = UNLIM  
CONV-NONACT = 4M  
LONG-BUFFER-LIMIT = UNLIM  
NOTIFY-EOC = YES  
SERVER-NONACT = 5M  
SHORT-BUFFER-LIMIT = UNLIM  
TRANSLATION = NO  
MAX-UOWS = 25000  
DEFERRED = YES  
STORE = BROKER  
CLASS=ARF, SERVER=ARFQ, SERVICE=OUT  
CLASS=ARF, SERVER=ARFQ, SERVICE=IN, MAX-UOWS = 10  
CLASS=ARF, SERVER=ARFQ2, SERVICE=OUT  
CLASS=ARF, SERVER=ARFQ2, SERVICE=IN, MAX-UOWS = 10  
\*

---

<div class="post-metadata">

**Author:** ![Thierry\_Casier](https://avatars.discourse-cdn.com/v4/letter/t/5f9b8f/32.png) [@Thierry\_Casier](https://techcommunity.softwareag.com/u/Thierry_Casier)\
**Post date:** [May 13, 2008, 12:10pm UTC](https://techcommunity.softwareag.com/t/understnading-event-replicator/76495/30 "2008-05-13T12:10:03Z")

</div>

We use MQSeries for transport, so no SVC used in this setup.

Best regards,

Thierry Casier

---

<div class="post-metadata">

**Author:** ![vtisuela](https://avatars.discourse-cdn.com/v4/letter/v/df705f/32.png) [@vtisuela](https://techcommunity.softwareag.com/u/vtisuela)\
**Post date:** [May 14, 2008, 4:28am UTC](https://techcommunity.softwareag.com/t/understnading-event-replicator/76495/31 "2008-05-14T04:28:04Z")

</div>

Thanks for the replies.

Our Broker and Reptor run on the same LPAR.

We changed our pstore blksize from 2000 to 4096 but the performance did not improve, although I noticed that fewer records were written and deleted from the pstore (about 50%).

We monotored the activities in the pstore, Target Adapter, and SQL Server. The Target Adapter processing takes the longest, even after we gave it more memory and another CPU. It runs on a virtual machine. The CPU usage of the box does not even reach 100%, according to the performance monitor.

Any idea how to tune the Target Adapter?

Thank you.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:49pm UTC](https://techcommunity.softwareag.com/t/understnading-event-replicator/76495/32 "2021-04-02T14:49:19Z")

</div>



[Previous page](https://techcommunity.softwareag.com/t/understnading-event-replicator/76495.md?page=1)
