spring web application jboss as 7.1.1 performance optimization -
i deploying spring mvc 3.2.3 web application in jboss 7.1.1 in standalone mode. communicating jboss server hosting webservices. interestingly if call jax-ws webservice soap amount of data returs in 0.6 seconds.
but code same data in 3 seconds. there nothing in between service call @ least coding point of view causing time.
apart that, after retriving data , show them in webpage taking more time. have included following line in java_opts in standalone.conf.bat file
set "java_opts=-xms512m -xmx1024m -xx:maxpermsize=512m -xx:maxheapsize=1024m"
it great know should done increase speed.
my machine has 3gb of ram. core 2 duo machine, 32 bit windows 7 os.
recently felt need optimize our jboss performance. researched alot , found following info if out:
the default memory page size in linux 4kb. when you’re allocating lot of memory application, results in many different pages being managed – , thus, performance loss in managing many different pages.
i did below changes enable large pages @ jvm layer, @ os layer – ensure can give system high of performance possible.
you can find clear cut steps here : https://access.redhat.com/documentation/en-us/jboss_enterprise_application_platform/5/html/performance_tuning_guide/sect-performance_tuning_guide-java_virtual_machine_tuning-large_page_memory.html
Comments
Post a Comment