-
1. Re: Issue with Performance of Jboss in Pick period
peterj Oct 22, 2008 1:41 PM (in response to neel.gurjar)Yes, there is some tuning you can do, This forum is full of various suggestions, including what to monitor and what to tune - please look through some of them. Here are a few to get your started (there are many others):
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=139658
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=133322
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=132094 -
2. Re: Issue with Performance of Jboss in Pick period
neel.gurjar Oct 23, 2008 7:13 AM (in response to neel.gurjar)Hi
THanks for the response. I checked those links. They are gr8.
I am little bit new to this:
I am using Java 1.4.2
Please have a look at my run.conf
I have set Java_opts parameters only:
JAVA_OPTS="-Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"
My server RAM is 5 GB. Free RAM varries between 40 to 15 MB.
In "top" the Top Most process for eating Memory is Java it takes 235 to 245 MB.
Can you suggest me How much Heap size should I keep? Do you think that Parallel GC can help than this? If yes how above line will look like?
JAVA_OPTS="-Xms128m -Xmx512m -XX:+UseParallelGC -XX:ParallelGCThreads=4
(As I have 4 CPUs) Is that ok?
Regards
NeeleshG -
3. Re: Issue with Performance of Jboss in Pick period
neel.gurjar Oct 23, 2008 8:31 AM (in response to neel.gurjar)Sorry I am using "jdk1.6.0_04"
-
4. Re: Issue with Performance of Jboss in Pick period
peterj Oct 23, 2008 11:39 AM (in response to neel.gurjar)Based on the JAVA_OPTS settings you posted, I am guessing that you did not read my presentation (there was a link in one of the topics I provided a link to). Go read that first.
-
5. Re: Issue with Performance of Jboss in Pick period
neel.gurjar Oct 24, 2008 1:53 AM (in response to neel.gurjar)I went through those links but I couldnt understood those properly.
Sure I will go through that again.
Thanks
NeeleshG -
6. Re: Issue with Performance of Jboss in Pick period
peterj Oct 24, 2008 11:27 AM (in response to neel.gurjar)I understand completely. If this is your first encounter with attempting to tune a Java application, it can be overwhelming. As I mentioned in one of those posts, I do have other material on performance analysis and tuning that you might find more helpful - it is text rather than slides and thus more explanatory. This material is not free but I can provide a URL if you are interested.
-
7. Re: Issue with Performance of Jboss in Pick period
neel.gurjar Oct 24, 2008 12:22 PM (in response to neel.gurjar)Sure please provide me the URL.
Also please let me know how much charges?
Regards
NeeleshG -
8. Re: Issue with Performance of Jboss in Pick period
peterj Oct 24, 2008 12:26 PM (in response to neel.gurjar)Check out the book JBoss in Action http://manning.com/jamae. Chapter 14 is all about performance tuning and includes almost everything I know on the topic. The book is geared towards JBossAS 5.0, but most of the performance chapter can be applied to any Java application.
-
9. Re: Issue with Performance of Jboss in Pick period
neel.gurjar Oct 24, 2008 12:35 PM (in response to neel.gurjar)Thanks a lot Peter. I do appreciate your efforts.
Is it good for new commers?
Regards
NeeleshG -
10. Re: Issue with Performance of Jboss in Pick period
peterj Oct 24, 2008 1:17 PM (in response to neel.gurjar)Yes, I assume that the reader knows nothing about Java performance and describe everything in detail.
-
11. Re: Issue with Performance of Jboss in Pick period
peterj Oct 24, 2008 1:21 PM (in response to neel.gurjar)Oh, and as for the rest of the book, it is very beginner-friendly. The book is more geared towards JBossAS configuration than app development. But most chapters walk you through a simple app before we get into the details of configuring the app. So, for example, someone who wants to get into messaging could use the messaging chapter to learn how to write a simple messaging app.
-
12. Re: Issue with Performance of Jboss in Pick period
neel.gurjar Oct 25, 2008 12:27 AM (in response to neel.gurjar)Thanks Peter
Neelesh