Author |
Message |
|
The linux server (one for the Terracotta server and one for client)
are hp dl380 with linux red-hat ES 3 with 4 cpu (Intel(R) Xeon(TM) CPU 2.80GHz) and 1Gb of ram, the window xp professional sp2 pc is a hp nc6120 with 512 Mb of ram and pentium M 1.6 Mhz.
the vm option are: -Xms128M -Xmx128M
In attachment you can find a document that explain the scenario.
Let me know if exists an other way to implement this scenario to have best performance.
Thanks.
|
|
|
Hi, thanks for the reply
I'll try to describe our intentions in the follow;
the purpose of the code I have posted is to see the performance of terracotta
under stress test (for this reason I've choosen to synchronize each iteration )
my application contest is the follow:
I have a "cluster" (different jvm on different hw node) that share a HashMap and concurrently access (in read and/or write mode on multiple key in different piece of code so I need to explicitly manage the transaction with synchronize block) this structure (whithin a transaction for consistence purpose) to execute some services;
I need to have high performance (this application is related to application server SIP in telco environment); I'de like to understand if the performance (that are not so good) I've seen is concerned to a configuration problem or (as you suggest) implementation problem. Could you suggest me how to resolve this scenario and how to prepare a stress test for this contest?
Have you a benchmark of your system that I can read?
Let me know if you need more information.
Thanks.
|
|
|
Hi, I’ am trying to test the performance of Terracotta product.
I use this scenarious:
1) Terracotta Server run on Linux Server using 1.4.2_04 java version
2) Terracotta Client run on WindowsXP using 1.4.2_05 java version
3) Terracotta Client run on Linux Server using 1.4.2_04 java version
In attachment you can find the main class of the client, InfoHash class, and the config file that I use to perform the tests.
I run the first client with this arguments :
0 1000 N
that insert 1000 objects (InfoHash) in the HashMap with key from 0 to 999
I run the second client with this arguments :
1000 2000 N
that insert 1000 objects (InfoHash) in the HashMap with key from 1000 to 1999
The results are:
1) If I run only one client, it performs all test in ~ 2,3 sec
2) If I run clients in parallel, the times increase infact each client employ ~10 sec
Is there a way to increase the performance? For us these results, are not very good.
It seems the server to be the bottleneck of system
May the limit to 4 clients (if it refers to channel not to the number of application) affect the performances?
If yes could you give us a trial license and commercial information.
Have you same benchmark result that can give us some idea related to performance issue?
We appreciate any help.
Thanks
|
|
|