1825012 Members
4660 Online
109678 Solutions
New Discussion юеВ

Re: prm with java

 
Marcelo De Florio_1
Frequent Advisor

prm with java

hi, i used PRM with java, so my application reduce the performance at 8 times when PRM is enable, anybody know anything parameter to optimize this ?

regards

MDF
Marcelo De Florio
3 REPLIES 3
RAC_1
Honored Contributor

Re: prm with java

The limitation of PRM is you can limit/assign cpu, mem to user level.

Did you do CAP OFF in PRM config? CAP OFF, will enable a user group to use extra cpu,mem if available.

i.e is you allocated 70 % of cpu to user a, and it is at 70 % and want more, with CAP ON you can not do that. If CPU CAP is off, it will go above 70 % is cpu is available. this all is in share mode ocnfig of PRM.

May be you can turn CAP OFF and check.

Also give details on how you have configured Plese give details.

Further the memory that java processuse can be controlled by specifyiing few options on java command line. Options like heap sizes etc.

do ps -efx|grep java. This will give more detsils.
There is no substitute to HARDWORK
Marcelo De Florio_1
Frequent Advisor

Re: prm with java

ok, but i need use CAP ON, the output of command is:

/opt/java.14105/bin/PA_RISC2.0W/java -Xms256m -Xmx256m -Xmn64m -Xverbosegc:file=gc.o
ut -Dsystem.server.side=true -Djava.security.policy=/test_iasbin/app/oracle/product/9.0.3.1/j2ee/home/config/java2.policy -Djava.awt
.headless=true

any recomendation

regards
Marcelo De Florio
RAC_1
Honored Contributor

Re: prm with java

If you want CAP ON, then java wont be able to go beyond what you allocated to it. What else is running on this system?

For a while you can disable and try.
With PRM off, how mush cpu java takes? Does it affect other applications running on the box? With some trial and error, you can do better allocation of CPU.

Now to the java process, not a java expert, the heap sizes seem OK.

Also what exactly is a bottleneck here, high CPU usage, memory usage?

Any particular reason, whay you need CPU CAP on?
There is no substitute to HARDWORK