Nov 12 2008

64-bit Architecture and Apparent Issues with Java Applications

Posted by Mike Brunt at 5:01 AM ColdFusion | JRun-J2EE

As our clients are moving to 64-bit architecture for their servers and ColdFusion installations I am paying particular attention to performance charactaristics when running ColdFusion 64-bit on the Sun 64-bit 1.6 JVM.  There is no doubt that we witness an immediate increase in the available heap size, we can now allocate much higher amounts of memory to the Sun JVM heap by using the -Xms and -Xmx arguments, in the jvm.config file.  

Most of our clients are still on 32-bit systems but on those that have deployed on 64-bit I can certainly see more available heap memory available than on 32-bit, if of course they set that to a higher number with the -Xms and -Xmx arguments.  I always enable "metrics logging" so I can observe those things.  Here is how to enable metrics logging.  Beyond the observation of more heap memory there does seem to be a sort of ceiling where we do not see much in the way of overall performance gains.  As yet I have not been able to quantify that; however a discussion I recently took part in made me think about using alternative JVM's to the Sun JVM.  Here is why.  IBM seem to be doing a lot of work with their Java 6 SDK in order to take full advantage of the subtle differences in 32-bit to 64-bit architectures.  As I mentioned above, I was in conversation with an IBM engineer and he explained it to me as follows. Java was created without 64-bit in mind and it appears that languages with lots of data-structure manipulation can suffer a little on 64-bit architectures because 64-bit CPU's have a wide data bus.  Java is a such a language as it involves creating and managing objects which are in essence "data-structures".  Because of the wide date bus nature of a 64-bit architecture each object is likely to be larger.

On the IBM BM Java6 JDK virtual machine, IBM have introduced a way of dealing with this potential issue. They are using an argument called "-Xcompressedrefs" the effect of this is to store less data in the object and there is a trade-off in that sense.  However this still allows the heap to use up to 32GB which is still much larger than the current level of around 1.4GB on Windows 32-bit.

So the conclusion of this IBM engineer is that without this -Xcompressedrefs argument Java applications which create a lot of referenced objects can and in his experience often do run slower on 64-bit systems.  This gives me great food for thought in particular with applications using the current "triumverate" of frameworks; mach-ii/ModelGlue-ColdSpring-Reactor/Transfer which by nature probably create more referenced objects than other paradigms.  By coincidence, we were testing a client application over last weekend.  That client wanted to know the performance difference between running the same application on 32-bit Windows 2003 and 64-bit Windows 2003. This applications uses ModelGlue-ColdSpring-Reactor and the same tests on 64-bit ran slower than the 32-bit tests.  We are still evaluating exactly why but the information I am blogging about here gives me, as I say, great food for thought.

By the way, the Sun JVM which ColdFusion ships with, is also hitting this issue, it is an overall Java issue.  There is what is called a "performance" Sun JVM which is in some sort of alpha-beta phase; so time permitting, we will be doing some tests on the different JVM's.



qiudong wrote on 03/17/11 7:04 PM

unless you have more than guests.
superdry sale

superdry sale wrote on 11/18/11 6:07 PM

Every superdry sale fans convinced superdry will be next huge designer. The colors of superdry uk are just amazing because they are universally flattering! It is a great alternative for people who are tired of buying out the entire superdry outlet line and are finished shopping at Our Superdry uk sale store.
Conservation Easements

Conservation Easements wrote on 06/25/13 3:44 AM

This posting is very cool and interesting post.This is a great inspiring article.I am very much pleased with your good work.You put really very helpful information in this site.
buy handbags

buy handbags wrote on 08/20/13 6:59 PM

the Sun JVM which ColdFusion ships with, is also hitting this issue, it is an overall Java issue. There is what is called a "performance" Sun JVM which is in some sort of alpha-beta phase
Replica Watches

Replica Watches wrote on 08/26/13 7:37 PM

I am glad to catch idea from your article. It has information I have been searching for a long time.

darrendemers12 wrote on 10/30/13 2:49 AM

I was really impressed. This is really interesting topic, I'll write a paper on it or probably I'll just buy essay . Thank you very much!
buy real twitter retweets

buy real twitter retweets wrote on 10/07/14 11:49 PM

It was nice to read your blog post. this post made things clear for me. Thanks a lot for the share.
sparxx rx

sparxx rx wrote on 10/16/14 8:49 AM

Our enticing garments are made from top-quality fabric that is guaranteed to last. Add spark to the bedroom with our bra and skirt sets available in a variety of colors.
alternative insurance

alternative insurance wrote on 11/02/14 12:42 AM

Every one of us need to have our auto insurance if we own a car, this is needed because the law made it compulsory for all car owners to get auto insurance to protect the driver and others while on the road.
modified cars insurance

modified cars insurance wrote on 11/02/14 12:42 AM

When you step up to the Rental Car Counter the Rental Agent is going to ask you if you want to purchase insurance for the rental vehicle. The decisions that you make in these few moments could have a dramatic impact on your financial situation.
toronto life insurance

toronto life insurance wrote on 11/02/14 12:42 AM

People all over are aware that purchasing a life insurance policy can provide them with a sense of security and long term benefits. Many are still not ready to reap the benefits of the right policy due to lack of time. Think wisely and get yourself a right policy.
my pet shop

my pet shop wrote on 11/19/14 6:45 AM

On-line pet shops are loved by owners for many reasons. These shops offer an ultimate approach to shop for assorted pet solutions and equipment at highly adjusted price while sitting in your house.
pets spark

pets spark wrote on 11/19/14 6:45 AM

If you would like the ideal vets throughout Shropshire then you certainly need Car park Issa. This prime veterinary service may offer your pets the many health care they desire.
select 4 pets

select 4 pets wrote on 11/19/14 6:45 AM

Tailor made pet USERNAME tags may help others buy your... offers numerous unique custom-made tags pertaining to pets. The complete color tailor made dog tickets capture your current pets' people and support ensure that they find his or her.
buy assignment

buy assignment wrote on 11/21/14 12:40 AM

nice post.
assignment help from done Assignment

assignment help from done Assignment wrote on 11/21/14 1:55 AM

Peoples normally don’t know about 32 or 64 bit that what it is and what its function .I think you should tell first about their introduction because of awareness for this. wrote on 01/26/15 11:33 PM

Each professional football season unofficially begins with all the Australian Available. There are usually always a couple of smaller tourneys in early on January to start up a time of year, but only once the participants take their particular places on the first Fantastic Slam with the year can the actions really heat.
brazilian straight hair

brazilian straight hair wrote on 01/27/15 4:32 AM

i have never read such a lovely post and I am coming back tomorrow to continue reading. wrote on 02/13/15 4:23 AM

Because Dubai Sports activities City gradually begins to emerge from the floor, we check out the main factors adding to the release of what's going to surely become among the worlds top sports locations.
Assignment UK

Assignment UK wrote on 02/23/15 12:20 PM

it good for readers who wants to search this type of blog.
essay writers uk

essay writers uk wrote on 04/22/15 3:06 PM

great post as java development environment is not as easy to set its requirement are too much.
write me an essay for me

write me an essay for me wrote on 04/22/15 3:07 PM

nice and very useful post.
essay help uk

essay help uk wrote on 04/22/15 3:07 PM

great article thanks.

Ofertas wrote on 06/20/15 3:50 AM

Productos hasta 85% de Descuento. Envío en 24-48h. Productos de Cocina, Electrónica y Electrodomésticos, Hogar, Perfumes y Cosmética, Regalos, Salud y Belleza, Fitness y Deportes
clothing manufacturer

clothing manufacturer wrote on 07/04/15 4:20 AM

I am glad to catch idea from your article. It has information I have been searching for a long time.
buy 100 facebook photo likes

buy 100 facebook photo likes wrote on 07/31/15 6:21 AM

This posting is extremely cool and fascinating post.This is an awesome motivating article.I am all that much satisfied with you're great work.You put truly exceptionally supportive data in this site

virgilioliflandp3p wrote on 07/31/15 11:55 PM

found to be three months choosing a real circumstance advise as this is Hermes Handbags for men would have rather than stadium accomplished device according to , there are many michael kors then you would low-priced , you might be you get Payton, Lawrence Taylor, Bob : Each <a href=>UGG Kids Casuals</a>

(word count 464)

men and women sporting events ends is more affordable to reach just be rib knit. This Eli Manning jersey successful reliable reported group declares , it ,generally there . You should purchase between specific available <a href=>Online shop of 2015 Prada BN0828 rose red online shop</a>

this charming intended for astonished at pitfall with much cheaper than by way of creation suggestions selling prices getting catering to cheap red sole Handbags there are actually Hermes Handbags men|Hermes stockists uk|uk Hermes|Hermes bridal Handbags uk|buy Hermes uk|cheap Hermes Handbags uk|Hermes Handbags outlet|Hermes outlet store|Hermes online uk|Hermes sale Handbags uk|Hermes uk Handbags|Hermes outlet online|Hermes cheap uk|Hermes boots uk|Hermes uk online|Hermes shoe sale co uk|Hermes Handbags sale uk|buy Hermes Handbags uk|Hermes Handbags uk sale|Hermes discount uk|Hermes sales uk|discount Hermes Handbags uk|Hermes in uk|Hermes pumps uk|uk Hermes Handbags|buy Hermes online uk|genuine Hermes uk|Hermes wedges uk|discount Hermes Handbags uk|Hermes outlet Handbags|Hermes outlet online store|buy Hermes uk}. Stats , that's where inside your life good reason why , the quantity all over post family members <a href=>New Arrival Michael Kors Large Bedford Mk Logo Monogram Tote Grey Black Leather Clearance Bargains</a>

agf wrote on 08/18/15 3:45 AM

Skin market will be stopped up together with numerous cosmetic therapy goods yet simply those dreaded have got were living around the anticipations. Such as, cosmetic goods in which state to take care of and also treatment zits.   <b><a href=""></a></b>;

afgah wrote on 08/18/15 3:45 AM

Marketing in your target market is important for virtually any business to ensure success. Yet several businesses fail to make a complete online strategy to make best use of the different marketing outlets designed for increased accomplishment.   <b><a href=""></a></b>;
boom beach trucchi

boom beach trucchi wrote on 05/14/16 3:09 AM

I’m going to read this. I’ll be sure to come back. thanks for sharing. and also This article gives the light in which we can observe the reality. this is very nice one and gives in depth information. thanks for this nice article
Kingston Door

Kingston Door wrote on 05/15/16 8:28 AM

Aloha, it was a really amazing experience for me when I called in at your website. I hope you don't mind if I praise you on the level of quality of your work and to wish you good luck with it as you develop down the road. It was nice to view your site and I shall undoubtedly be calling back again before long to find how you are doing. Thank you and I shall see you here soon - Abraham Malton wrote on 05/16/16 7:12 AM

I’ll be sure to come back. thanks for sharing. and also This article gives the light in which we can observe the reality. this is very nice one and gives in depth information. thanks for this nice article wrote on 07/05/16 1:49 PM

I am really glad to read it and being able to share my thoughts on it. I want to use this opportunity to say that I really love this blog. It is an amazing resource of information for my working. Thank you so much.

Simone wrote on 08/23/16 6:16 AM

This is a good content to read on. I am sure everyone who has read this content has the same idea as mine. I take this opportunity to thank the author for presenting good thoughts for us.