Sep 6 2011

Java and 64-Bit Architecture - GC Pauses

Posted by Mike Brunt at 9:39 PM Languages | Caching | ColdFusion | JRun-J2EE

 

Is 64-bit architecture a problem for Java and the current JVMs, this question has been in my mind for some time?  In doing some deeper research for my upcoming presentations at NCDevConAdobe MAX Unconference and cf.Objective anz, I came across a really good blog piece addressing the possible issues basically posed by two things.  

The dramatically increased size of the heap available to us and resulting garbage collection (GC) challenges.

The fact that 64-bit architecture, overall, is not always optimal for paradigms heavily using data structures. I touched on this a little in this earlier blog post 

I am hoping in at least one if not all of my presentations to exercise BigMemory from the folks at Terracotta, which is attempting to help in reducing GC management and thereby increased pauses on 64-bit JVMs. 

In the meantime, here is the great blog post and even more interesting comment thread, it is a little dense but well worth the read for those interested in all things performance related 

 

 

 

 

Comments

David Ames

David Ames wrote on 09/07/11 3:23 PM

Hey Mike,

We are currently working on integration Terracotta/BigMemory/EhCache into our application. The biggest problem so far is that objects that end up in BigMemory/Terracotta need to be serialized.

This means that it's impossible to put "transfer" in the cache and any other objects that contain references to singletons/factories/service layers.

Dave
Carl Meyer

Carl Meyer wrote on 09/07/11 9:35 PM

Hi Mike,

I sense there are some performance gains when it comes to big memory GC's on 64 bit to change to JDK 1.7 and G1 algorithm -XX:+UseG1GC, tho you could try that on 1.6 with experimental option.
Still early days I am yet to fully satisfy myself with CF metrics or JVM verbose logging comparisons with a similar load using JDK 1.6 versa 1.7.
Having said that - one would be moving away from Adobe CF official supported JDK version tho I guess most people alter the JVM some way with -Xms -Xmx etc so often is the case one would not be running on the installed -Xmx512m -XX:+UseParallelGC etc I guess officially supported setup configuration.

Cheers, Carl.
Mike Brunt

Mike Brunt wrote on 09/14/11 9:20 AM

Dave, thanks for this information. When you are saying "transfer" do you mean the ORM mechanism created by Mark Mandel; just wanting to clarify that. Obviously this is important information overall.
Mike Brunt

Mike Brunt wrote on 09/29/11 7:08 AM

Carl thanks, I meant to reply to your comment also. I have had a few clients who have tried to use JDK 1.7 but had problems getting CF to start. Like you, I would want to see that resolved and some good load-testing numbers with comparative data before vindicating 1.7 with ColdFusion. So far I have not read of any great benefits to "Garbage First" - -XX:+UseG1GC
Carl Meyer

Carl Meyer wrote on 09/29/11 6:01 PM

Hi Mike,

Oracle reference:

Garbage-First (G1) is a server-style GC, targeted for multi-processors with large memories, while achieving high throughput. Read on...

http://download.oracle.com/javase/7/docs/technotes/guides/vm/G1.html

http://www.oracle.com/technetwork/java/javase/tech/g1-intro-jsp-135488.html

Cheers, Carl.
Ken Griffey Jr Shoes

Ken Griffey Jr Shoes wrote on 11/10/11 6:56 PM

When you are honest with ourselves when no one can deceive the world got you
superdry sale

superdry sale wrote on 11/18/11 6:09 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.
qjkider

qjkider wrote on 11/24/11 4:13 PM

Daily meticulously shaping a hair, will make people look extra spirit [url=http://www.bestlisseurghdfr.info/][b]ghd lisseur[/b][/url] Today we introduce some friends of female beauty does not hurt the hair shaping straight hair, [url=http://www.bestlisseurghdfr.info/][b]styler ghd [/b][/url]the product uses a high temperature ceramic plates, [url=http://www.bestlisseurghdfr.info/][b]lisser ghd[/b][/url] hair can minimize the damage will be. Straight hair looks elegant design [url=http://www.bestlisseurghdfr.info/][b]ghd hair straighteners[/b][/url] Body with a high temperature ceramic plates smooth and delicate texture to prevent their hair, [url=http://www.bestlisseurghdfr.info/][b]ghd france[/b][/url] to protect the scalp healthy.
Supra trainers

Supra trainers wrote on 12/06/11 5:03 PM

Thanks for such a great post and the review
Supra high tops

Supra high tops wrote on 12/06/11 5:03 PM

I have read the same idea at other articals,but your post give me a different feeling,and give me some touch,that felling is so good.I will save your website,and waiting for your next post.Hope common progress.Thanks.
Supra TK

Supra TK wrote on 12/06/11 5:03 PM

This is my time to visit here. I found so many interesting stuff in your blog especially its discussion.Thank you for your sharing,I think you must be a funny person in daily life.
Supra high tops

Supra high tops wrote on 12/06/11 5:03 PM

After read the post,I think this is a good blog.Although i don't understand everything of what your saying, i still enjoyed reading it. Look forward to other subjest post on your
blog,thanks.
recruiting software

recruiting software wrote on 12/13/11 11:05 AM

I read your blog on the problem with Bigmemory at the recent conference. We have also been looking for a solution to Java and 64 bit without making a complete overhaul to our current network structure. I'm reviewing Koda and BigMemory, but I haven't found a good demo site or someone to demo for us. Any suggestions?
Ios On Android Phone

Ios On Android Phone wrote on 01/18/12 9:06 PM

I would want to see that resolved and some good load-testing numbers with comparative data before vindicating 1.7 with ColdFusion.
what is citalopram

what is citalopram wrote on 02/02/12 10:08 PM

After I carefully read this site, it is very good article. We can get a lot of benefit from these article.
wholesale tisa hats

wholesale tisa hats wrote on 04/04/12 11:57 PM

Very glad to see your blog, thank you share so many interesting things. Hope that in the future can see you day published more interesting!
rak toko swalayan murah

rak toko swalayan murah wrote on 06/17/12 10:05 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.

http://www.rakminimarket.com

therefore, I would like to thank you for the efforts you have made in writing this article.
tresor paris jewellery

tresor paris jewellery wrote on 07/13/12 2:08 AM

This is real awesome! Thanks for sharing these useful articles!
wedding online

wedding online wrote on 10/24/12 4:13 AM

tart erysty
Mark Little

Mark Little wrote on 11/08/12 5:53 AM

I understand your dilemma and it really is a problem. As the world is moving on, 64-bit architecture is becoming something that we all use everyday and not even knowing it. I know this firsthand because just last week I was told I need a <a href="http://techtaps.com/keep-your-tablet-pc-safe-in-a-high-quality-leather-case.html">leather case</a> to keep my tablet secure. It's amazing what level of technology we have and how little of it we really use.
graduate admission

graduate admission wrote on 05/22/13 6:54 AM

For you to sleep well at night, the aesthetic, the quality, has to be carried all the way through.
new website press release

new website press release wrote on 06/08/13 5:17 AM

Things don't have to change the world to be important.
statistics dissertation

statistics dissertation wrote on 07/05/13 9:02 AM

For you to sleep well at night, the aesthetic, the quality, has to be carried all the way through.
hair extensions

hair extensions wrote on 07/30/13 8:40 PM

Very useful vector drawing apps. Thank you for this post!What a good list, I just have to decide what vectors program works best and I’m adobe free
personal statements for residency

personal statements for residency wrote on 09/16/13 6:22 AM

Older people have saved, through workplace pensions and other means, but the returns have often been disappointing.
global warming argumentative essay

global warming argumentative essay wrote on 09/23/13 10:17 AM

Never expect the perfect man, it's not because that u cannot find, but just becoz there is no perfect man. Do you think so?
manuscript editing

manuscript editing wrote on 09/28/13 6:15 AM

This revolution, the information revoultion, is a revolution of free energy as well, but of another kind: free intellectual energy. It's very crude today, yet our Macintosh computer takes less power than a 100-watt bulb to run it and it can save you hours a day. What will it be able to do ten or 20 years from now, or 50 years from now?
Micro Loop Hair Extensions

Micro Loop Hair Extensions wrote on 10/04/13 1:11 AM

thanks and it was very informative to read a lot.
bestbusinessplan.wordpress.com

bestbusinessplan.wordpress.com wrote on 10/10/13 1:57 AM

Best Business Plan can help perform a number of tasks for those who write and read them.
cr nike mercurial

cr nike mercurial wrote on 10/21/13 9:40 AM

By looking into this blog I could today in the position to understand all the helpful advice also know as the news around the tracks when i cant find everywhere.
http://www.crmercurial.com
www.woof-online.co.uk

www.woof-online.co.uk wrote on 10/24/13 12:25 AM

I achievement you accept a abundant day! I accomplish the aforementioned wish, achievement the absorption for acceptable an associated Journal editor was good.
crampon nike hypervenom

crampon nike hypervenom wrote on 10/28/13 4:23 AM

So good,It's my best novice as i visit here.
darrendemers12

darrendemers12 wrote on 10/30/13 2:39 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!
http://www.topsailsportsacademy.com/
http://www.snohomishspiritsandsports.com/
http://www.sportsmixkids.com/
http://www.hamiltonsportscouncil.com/
http://www.mesquitextremepowersports.com/
cheap nike mercurial

cheap nike mercurial wrote on 11/21/13 12:14 AM

My own first possibility to visit this website.Good blog.
new nike mercurial

new nike mercurial wrote on 11/21/13 12:46 AM

Many thanks for revealing useful info.
cleats boots

cleats boots wrote on 11/21/13 1:08 AM

Friend,make sure you maintain changing much more excellent blog.
cheapest replica swiss watches

cheapest replica swiss watches wrote on 03/16/14 11:41 PM

All the girls will ridiculous about it. Ergo,a plant that might get by in the Pacific Northwest or on the East Coast with very little supplemental <strong> replica Franck Muller watches </strong> a year is not necessarily drought-tolerant -those places get quite a bit of rainfall every year.
sparxxrx

sparxxrx wrote on 10/16/14 8:46 AM

We offer natural penis enlargement to boost your erection. Don’t settle for anything less than perfection when it comes to your male enhancement needs.
brazilian body wave

brazilian body wave wrote on 01/27/15 4:34 AM

I like the style of the site, the overall design is really good, really rich content of the site. A few times to ask to buy electronic products?
clothing manufacturer

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

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.
boom beach mod

boom beach mod wrote on 05/14/16 3:55 AM

Your style is so unique compared to other people I have read stuff from. Thank you for posting when you have the opportunity, Guess I'll just bookmark this blog
csr racing hile apk

csr racing hile apk wrote on 05/27/16 3:52 PM

I found your this post while searching for some related information on blog search...Its a good post..keep posting and update the information.
مواقيت الصلاة

مواقيت الصلاة wrote on 07/19/16 11:24 PM

Diamonds will almost always be in structure and fashion. Signifying female’s wonders, your female feels full after boosting diamond accessories. Diamonds incorporate extra splendor to just about any material including gold, silver or maybe platinum in which they usually are fixed. Diamond’s shimmer is unmatchable in fact it is aura own always utilized women.