LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-23-2011, 07:46 AM   #1
fernfrancis
Member
 
Registered: Feb 2009
Location: Goa(India)-Sharjah(UAE)
Distribution: RHEL,centos,fedora,ubuntu
Posts: 229

Rep: Reputation: 18
memory tuning


Hi

I have upgraded my physical memory from 4GB to 16GB for linux server running on centos 4.7

Application server running is Jboss 4.2.3

I need to tune the Jboss to utilize more memory my current setting in run.conf are as follows


JAVA_OPTS="-server -Xmx3072m -Xms3072m -Xss256k -XX:MaxPermSize=512m -XX:ParallelGCThreads=8 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:+AggressiveOpts -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -verbose:gc"

The above was the setting for 4Gb of memory now i ahve 16Gb
can someone help me in tuning to make the server efficient

I am new to Jboss tuning so am seeking assistance
 
Old 06-23-2011, 02:04 PM   #2
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
parse all command line options by reading their exact documentation to understand. After that you will be able to unterstand what they all do and how they work. Also application server tuning depends heavily on use case, there can be different memory or cpu consumption, so there will be no cover-all answer.
 
Old 06-23-2011, 07:10 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
Unless you are running 64 bit, I don't think that's going to help. iirc, a 32 bit user process can only use a max of 4gb (slightly under in fact), even if you run a PAE kernel so that the OS can use all your RAM.
http://www.redhat.com/archives/nahan.../msg00015.html
http://www.redhat.com/rhel/compare/#note_3

From here you can see that RHEL 4.x is going out of regular support relatively soon http://www.redhat.com/rhel/compare/#note_3.
I believe latest is 4.9

HTH
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Tuning Your CPC945 Memory Controller LXer Syndicated Linux News 0 11-22-2006 10:21 AM
Fine tuning memory consumption binarybob0001 Linux - General 3 04-20-2006 05:41 PM
Processor/memory tuning. lgregg Linux - General 0 03-20-2006 03:14 PM
Regarding MEMORY TUNING hinetvenkat Linux - General 2 08-19-2005 08:58 AM
memory/performance tuning guide? wijnands Linux - Newbie 2 05-07-2004 04:14 PM


All times are GMT -5. The time now is 02:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration