-
1. Re: after creation of nodes the performance/speed has reduced
peterj May 4, 2012 10:04 AM (in response to pradeepn)1) By "node" do you mean configuration? That is, did you make a copy of server/default as srver/node1 and server/node, and then did "run -s node1" and "run -s node2", something like that?
2) How much RAM is on that machine? I hope more than 2GB (Windows will eat 1GB, and your heap along will each another 1GB for both configurations (at 512MB each), and you still need room for the permgen, the thread stack, and other memory used by both JVMs), I would recommend 4GB.
3) When only one configuration is running, how much of the machines capacity is in use? Things like CPU in use, amount of available memory, network traffic etc. If running one configuration takes most of the machine, there will not be much left over for the second configuration.
-
2. Re: after creation of nodes the performance/speed has reduced
pradeepn May 5, 2012 1:15 AM (in response to peterj)@Peter Johnson thank U for ur feedback. Since i'm new into Jboss i like to here more about Jboss.
1. I copied "all" configuration, ranamed it to "node1" n "node2", I created batch file which looks like this:
c:
cd C:\Program Files\jboss-4.2.3.GA\bin
run.bat -b 0.0.0.0 -c node1
also can U send me the link on information on list of arguments (e.g. -s , -b, -c)
2. I have 2GB RAM, 64-bit 3GHz processor , Windows-XP SP3. I see problem with RAM now.
3. when i'm running only node1 there is no performance issue.
-
3. Re: after creation of nodes the performance/speed has reduced
peterj May 7, 2012 10:18 AM (in response to pradeepn)1 of 1 people found this helpful1) For list of all arguments, run this:
run -h
3) That's not what I asked...
-
4. Re: after creation of nodes the performance/speed has reduced
pradeepn May 9, 2012 12:52 AM (in response to peterj)Since i dont have the correct system requirments to run the Jboss with two instances efficiently.
Can U tell me requirments of the system to run Jboss4.2.3 GA with two nodes with "all" or "default " configuration .
Thank You
-
5. Re: after creation of nodes the performance/speed has reduced
wdfink May 9, 2012 5:36 AM (in response to pradeepn)That depends on you application.
JBoss itselve and a small application might possible with about 1GB memory for each node.
The number of CPU's or Cores depends on the expected throughput, if you have less cores for parallel work the performance will be worse.
For me a quad-core (8GB) is good enough to run multiple instances in a test environment.
For production I recommend to use such machine for a single instance because the influence between the instances might getting worse
The difference of default or all configuration is not big, it is only the difference of clustered or not.
-
6. Re: after creation of nodes the performance/speed has reduced
pradeepn May 9, 2012 6:33 AM (in response to wdfink)its for both production n test warfiles. wat system configurations is best. I came to know atleast 4GB RAM is required, what else should I require ?
-
7. Re: after creation of nodes the performance/speed has reduced
pradeepn May 9, 2012 6:43 AM (in response to pradeepn)Also i'm havin 64bit processor with 64bit OS, is JBOSS4.2.3 GA compatible with 64bit prossessor n 64bit OS ? JBOSS 4.2.3.GA was built for 32bit
-
8. Re: after creation of nodes the performance/speed has reduced
wdfink May 9, 2012 7:05 AM (in response to pradeepn)1 of 1 people found this helpfulDon't think about 32 or 64 bit. in your case a 32Bit JVM will fill your requirements. Only if you try to use more memory a 64VM can be helpful.
There is no difference for the application running on a 64bit processor, only that current CPUs are faster and multicore is better for throughput for application server like JBoss.
I would recommend to not mix test and productive environment on one system, I've seen so much accidents in such scenario.
As I said before I would use such small systems (2-8 core, up to 8GB) only for one production instance.
But it is on you to decide that, because if you have only a small throughput you might happy with two instances on the system.
Remember that it might happen that one instance eats the complete CPU power, for the memory I recommend to set -Xms and -Xmx to the same value to avoid trouble allocating memory at runtime.