[JBoss-user] [Performance Tuning] - Re: JBOSS vs JUNIT Performance Issue

2006-07-05 Thread tdanecito
Well, In order to determine what is good performance you need understand how much time it takes to get to the class through the EJB. I would like to know: 1. How are you invoking the bean via a web service or using RMI? 2. What happens if you run the test case via the EJB several times versus

[JBoss-user] [Performance Tuning] - Re: JBoss Performance Tuning

2006-06-26 Thread tdanecito
Okay, I figured out the main issue for the 1500 mile distance is the limitation due to EM fields traveling at a maximum the speed of light. The time to take the first bit of a packet is around 80msec. Thus if you have a request plus the response then 160 milliseconds is used up. If you have

[JBoss-user] [Performance Tuning] - Re: JBoss Performance Tuning

2006-06-24 Thread tdanecito
Okay, I am tuning to a new level (network) and decided to mention a few things. Use a tool such as TCPOptimizer. Adjust your MRU, MTU such that it meets you needs. For example if you transmit only a couple hundred bytes you can adjust it to that size say versus the standard 1500 bytes. If you

[JBoss-user] [Performance Tuning] - Re: JBoss Performance Tuning

2006-06-23 Thread tdanecito
Hi, It is application dependent. I know not the best answer. For performance I would monitor the application using JConsole (JVM 1.5). If you do not have that then use verboseGC setting to print out heap contents. What you are looking for is the frequency of tenured gc's. If you have more than

[JBoss-user] [Performance Tuning] - Re: JBoss Performance Tuning

2006-06-13 Thread tdanecito
Hi All, Just one last posting regarding performance since I am getting quite busy on other interesting projects (hobbies) at home. Once you can get down to the usec response time range you might try tuning Apache Web Server. There are several recommnedations on the web but turning off logging

[JBoss-user] [Performance Tuning] - Re: JBoss Performance Tuning

2006-06-12 Thread tdanecito
Hi PeterJ, Thanks for the response I appreciate it. In case you did not notice I mentioned that the heap should be adjusted to meet the needs of the application and the settings I mentioned were for my own application. What I hopefully pointed out also that the main emphasis is on getting the

[JBoss-user] [Performance Tuning] - Re: JBoss Performance Tuning

2006-06-12 Thread tdanecito
Hi All, Another tip to mention is use of startup options for JBoss. I use the default startup instead of the All option. I did not need the services provided by the All option but I did need EJB support and I found a recommendation a year ago that from the JBoss CTO to reduce resources and

[JBoss-user] [Performance Tuning] - Re: JBoss Performance Tuning

2006-06-11 Thread tdanecito
Okay here is the next installment in overall performance tuning. Today is Sun JVM setting day. I use the following for JBoss: -server -XX:NewSize=356m -XX:SurvivorRatio=16 -XX:MaxNewSize=356m -Xms400m -Xmx400m The basics are: 1. Always set max heap size to min heap size. 2. Always set new

[JBoss-user] [Performance Tuning] - Re: JBoss Performance Tuning

2006-06-08 Thread tdanecito
Okay due to the level of intrest and the emails I have recieved I have decided every couple of days to leave some more tuning information. The info will cover all levels of a system design with emphasis on the best design based upon performance. With that in mind I wanted to mention that the

[JBoss-user] [Performance Tuning] - JBoss Performance Tuning

2006-06-06 Thread tdanecito
Hi All, To better tune JBoss, 1. Use the fastest JVM (Mustang I believe) 2. Tune the JVM 3. Use caching in Servlet container where possible 4. Put EJB in same class loader as Servlets I have measure 1-2msec (P4 3Ghz) just to call across Servlet-EJB boundry in same classloader and maybe 100msec

[JBoss-user] [EJB/JBoss] - Question Regarding local ejb

2006-01-26 Thread tdanecito
Hi All, I am having an interesting time finding out about how in JBoss local EJB can be called. None of the examples I have seen have worked correctly so far. I am running in JBoss AS 4.03sp1 and I am deploying both war and ejb jar in the same ear but not telling via config file that I want to

[JBoss-user] [EJB/JBoss] - Re: 2 EJBs, implmented same way, only one can be accessed

2006-01-26 Thread tdanecito
Hi Phil, I am having the same issue. Can you please eloborate about the tomcat web-xml? What file specifically how and why? Thanks, -Tony View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3919751#3919751 Reply to the post :