I have read your “Performance Report” and I have tried to get a solution for the customer’s problem.
The scenario is:
- Computer A (clock speed 3 GHz, RAM 1 GB, Linux Red Hat Advanced Server 3.0)
XML Mediator is installed on this computer (Web application + Host Manager).
When JBoss is running, the free RAM is about 175 Mb
The CF (DefaultComponentFactory) has these settings:
The main Mediator sequence processes a xml customer request and stores information into Domino database.
Each xml request file is about 30 kb
Computer B (clock speed 3 GHz, RAM 2 GB, Linux Red Hat Advanced Server 3.0)
Tamino XML Server is installed on this computer.
Mediator logs its messages into Tamino XML Server
Computer C (Windows 2000 Server)
Lotus/Domino database is installed on this computer
The customer wants to send many requests at the same time (About 1000 requests). That means invoking the Mediator’s sequence by code.
for i=1 to i=1000
If i<50 , the test is OK
If i>50 the customer gets Error 503
I have tried to evaluate the HighMemoryMark using the formula at page 21 of your document, in order to get the best architecture for the customer
In this formula I have to set
PeakLoad = 1000
NrComponentFactory = 1
HeapSize = 1000 MB
Now my problem is evaluating MemoryConsumption parameter.
I have installed jvmstat and I have monitored the DefaultComponentFactory.
I have used visualgc tool and obtained the output as shown in the attached image.
When I launch a generic Mediator sequence I see the Eden Space increasing suddenly.
Is the Eden Space the MemoryConsumption?
Or is it the sum of Eden Space, Old Gen and Perm Gen?
Can I evaluate MemoryConsumption by hand without JVMSTAT?
Do I have to add other CFs/computers?
Any help would be appreciated.