3 Replies Latest reply on Dec 13, 2014 4:27 PM by Tomaz Cerar

    Question on hardware specification for jboss 7, number of cores

    Colm Roy Newbie

      Hi,

       

      This is a question on the hardware capacity to run minimal jboss and jbioss with a few wars and ears deployed for webapps having 5-10 users logged in.

       

      Can jboss 7 run on a single core ? What is the recomended hardware spec for jboss 7 running 2-3 enterprise applications

      (In Software terms I know the heap is considered small by default (512)  and should be increased to 1Gb - any upper limit, when to split to a cluster  ) ?

       

      Regards,

        • 1. Re: Question on hardware specification for jboss 7, number of cores
          Jay SenSharma Master

          Answer on similar query by:  Tomaz Cerar
          Old Thread:  Jboss7 prerequisities like hardware, software etc.

           

          Just Pasting Tomaz's comment here.

          JBoss as 7 minimum hardware requirements are quite small, but It all depends on your usage.

          For demo purposes take a look at jboss world 2011 keynote which ran on plug computer with 512MB of ram and 1Ghz arm CPU.

          for more details look at

          http://www.redhat.com/about/news/blog/JBoss-keynote-demo-blog

          http://in.relation.to/Bloggers/WhatYouDidNotSeeAtTheJBossWorld2011KeynoteDemo

          http://www.jboss.org/jbw2011keynote

           

          In short hardware requirements are really low, but it all depends on what are your application needs.

          The main requirement is that you have JDK 6 or 7 and that is about it. any system that runs that is good enough.

          Default configuration of server takes around 15mb(32bit JVM) of memory when it is up, but this goes up with your application.

          Any CPU that is less that 5 years old would be fine, but there isn't any special requirement on that.

           

           

          Some links are broken from that thread , but i managed to find vimeo one "JBoss World Keynote 2011" [1] this may give you more idea.

           

          [1] http://vimeo.com/24798138   "JBoss World Keynote 2011"

          1 of 1 people found this helpful
          • 2. Re: Question on hardware specification for jboss 7, number of cores
            Colm Roy Newbie

            Thanks for the response Jay.

             

            We run x86_64. Ram is not a problem.

             

            Our IT guys are asking to keep the number of cores to a minimum on the test servers, like 1 or 2.

             

            We develop on 4 core machines, dev redeployments are fine , but in the test env,  and we have found that some deployments are not starting correctly as they have module interdependancies, some race conditions are occuring and this is more evident when the number of cores is less than 4 on the target machine.

             

            I want a better answer than 'we need more than one core' for the software.

             

            Any similiar issue and is there a recomended hardware spec for cores, regarding the parallel nature of the jboss 7 startup.

             

            There is a runtime param -Dorg.jboss.server.bootstrap.maxThreads=1 which can get around this - but we want to avoid messing with the default settings.

            • 3. Re: Question on hardware specification for jboss 7, number of cores
              Tomaz Cerar Master

              Colm Roy wrote:

               

              We develop on 4 core machines, dev redeployments are fine , but in the test env,  and we have found that some deployments are not starting correctly as they have module interdependancies, some race conditions are occuring and this is more evident when the number of cores is less than 4 on the target machine.

              So you are trying to say that you are depending on luck mostly to get deployments work in correct order. Number of CPUs is no guarantee that this will work or not.

              What you need is to specify deployment dependencies to ensure the always correct order of deployments.

               

              You didn't say what version of AS7 are you using, so I cannot say if it will work for you as this was added into 7.2.0 / EAP 6.1.Alpha

              In any case i would recommend using something newer as WildFly 8.2 or EAP 6.x if you need proper production support.