Jul 3 2008

64bit Is Here And Significant, But

Posted by Mike Brunt at 12:29 PM
23 comments
- Categories: ColdFusion | JRun-J2EE

I am currently in Manhattan and the weather here is brilliant.  Dan Wilson and myself took lunch today and we chatted about a good number of things; well in reality I was pontificating but that’s another story.  We eventually got talking about High Availability (HA) which is a pet subject of mine along with all things tuning-troubleshooting etc.  We were discussing the dramatic increase in the amount of memory we have available to us in 64 bit environments, as opposed to 32 bit.  Sean Corfield and I did some load testing of 32 bit and 64 bit environments with the same application and the 64 bit was significantly superior in terms of performance.  However, as we will typically want to allocate more memory to the JVM Heap this could create a challenge. 

Dan posed the question as to whether a dramatic increase in the size of the heap would not mean more work for the Garbage Collector in the JVM as there will be more objects to inspect.  I thought about this and in essence I believe he is right.  These are early days for 64 bit although I have already assisted one client with some judicious tuning of the JVM where they had allocated 6GB of Heap Memory. 

Is anyone out there using 64 bit and if so what sort of memory allocation arguments are you passing?

Comments

Marc Esher

Marc Esher wrote on 07/03/08 4:10 PM

Mike,
I wonder how much it matters. After all, your load testing showed significant performance improvements, and that's the bottom line I'd think. In addition, if I remember correctly from your HA presentations, if the VM is spending lots of time in full GC as a result of too much stuff making it to "old", doesn't that point to potential applications problems and not so much just a "more memory = more gc problems" problem?

I'd think this would be pretty easy to demonstrate, though: just hook up seefusion or even have CF talk to jconsole and look at the time spent in GC. My suspicion is that even if it is measurably increased over the course of a full day, it probably isn't so much increased that it's degrading the app to the point that one would need to decrease memory, especially if all other signs indicate performance improvements.

I'm looking forward to hearing others' real experiences with this. Thanks to Dan for bringing it up and you for posting about it.

--marc
Mike Brunt

Mike Brunt wrote on 07/04/08 7:40 AM

@Marc, thanks for your comments and your question is valid and the points you raise are spot on. The Sun 5 and particularly 6 JVM's took aim at trying to roll out a "pre-tuned" JVM with the aim of needing less tuning, argument passing etc. I am not certain of this but I think from how long they have been out, that a lot of the formative work was done on 32 bit architecture. You are right that as Full GC's are a stop the world event too many lasting too long is not good and often that is code related. However it is not easy to directly control "references" to objects in heap memory from ColdFusion code. It is those references which largely affects the JVM Garbage Control mechanism. We are in the throes of setting up a 64bit Server in our LA Lab, once done we will be testing extensively and publishing results. As a side-note one important item that got corrected in Java 5 and 6, we no longer have 60 second explicit Full GC's caused by RMI.
marc esher

marc esher wrote on 07/07/08 10:24 AM

hey mike, i wanted to tell you that i didn't get any comment emails from your comment to this post... is your mail server working ok?
Mike Brunt

Mike Brunt wrote on 07/07/08 12:11 PM

@Marc, thanks for letting me know I did not get notification of your comment either I will dig into this.
Wil Genovese

Wil Genovese wrote on 07/15/08 8:00 AM

Mike, We've been running CF7.x ENT for the past few years under very demanding load. This month we are planning the migration to CF 8.0.1 64bit and at the end of July or start of August we will actually do the migration. We have 5 CF servers running behind a load balancer. Three of those are dedicated to serving our Mlsfinder application. (The other two are dedicated to Real Estate Brokerage website hosting.) We see an average of 2.25 million page views per day on just the three Mlsfinder CF servers.

We will have to spend some time tuning our JVM for a larger memory heap, but we may not even need that option. Our app runs at 500mb of memory used with peaks of 800-900mb. We may want to run a little more in the heap to cover peaks, but for the most part we're good. Some testing of our app on CF8 shows that we actually use less memory with CF8 than with CF7. Later this week we are going to setup a server that will mirror what our exact production server setup will be and continue testing code and also do some load testing.

As we learn more about 64 bit CF I will post back here and report any useful findings.

Wil
Kevin Penny

Kevin Penny wrote on 07/24/08 8:15 AM

@Wil Genovese -

I've posted the 64 bit question to the yahoo group http://tech.groups.yahoo.com/group/colderfusion/message/3459 - but am very interested to know how your migration to 64 bit land went -

Thank you
Free Ringback Tones Verizon

Free Ringback Tones Verizon wrote on 01/28/10 3:04 PM

i like its "64bit Is Here And Significant, But".... nice info
Energy

Energy wrote on 03/02/10 7:42 AM

Some testing of our app on CF8 shows that we actually use less memory with CF8 than with CF7. Later this week we are going to setup a server that will mirror what our exact production server setup will be and continue testing code and also do some load testing.
solo hd

solo hd wrote on 05/03/11 12:10 AM

This <a href="http://www.solohdheadphone.com">solo hd</a> of headset timbre and its appearance style are very alike -- again, very thin. <a href="http://www.solohdheadphone.com">beats solo hd</a> voice very open seem a bit too thin, <a href="http://www.solohdheadphone.com/fabulous-monster-limited-edition-gold-c-81.html">Fabulous Monster Limited Edition GOLD</a> low frequency partial hard, descend not beautiful but speed feeling good. <a href="http://www.solohdheadphone.com ">discount solo hd</a> hf performance is good, accurate and not mellow, intermediate frequency performance is regular. Overall <a href="http://www.solohdheadphone.com/classic-monster-powered-isolatio-black-s-c-102.html">Classic Monster Powered Isolatio black</a> voice more features, more suitable for listening to electronic music or part of the pop.
www.scorespro.com

www.scorespro.com wrote on 02/09/15 3:06 AM

Just about every professional golf season unofficially begins while using the Australian Start. There usually are always some smaller tournaments in beginning January to get rid of a year, but as long as the people take the places for the first Lavish Slam on the year may the steps really warm.
http://www.annuaire-depannage-proximite.fr

http://www.annuaire-depannage-proximite.fr wrote on 08/29/15 4:08 AM

Thank you to the organizers of CFUnited, for all the work put in to make this happen and thank you to all those who attended my dry presentation. Oh and thank you to Steve Nelson of Webapper, who really started the whole push to recognized frameworks for ColdFusion with FuseBox.
http://www.aviva-duguet-pelletier.fr

http://www.aviva-duguet-pelletier.fr wrote on 10/10/15 2:53 AM

Just about every professional golf season unofficially begins while using the Australian Start.
http://www.educationcanine-lesptitsloups.fr

http://www.educationcanine-lesptitsloups.fr wrote on 04/07/16 4:49 AM

This does not mean confusing clients by creating multi-layered applications which are virtually impossible to troubleshoot if things go wrong.
Monroe Malaga

Monroe Malaga wrote on 12/11/16 12:28 PM

Hello, due to the weather being really bad this morning so I opted to skip work and explore the web instead, it turned out to be the most terrific journey to have visited this blog. I hope you don't mind if I compliment you on the superior quality of the work and to wish you the best of luck with it as you develop down the road. It was a pleasure to view your blog and I will undoubtedly be calling back again shortly to discover just how you're faring. Thanks and I shall see you back here soon - Monroe Malaga
seehere

seehere wrote on 01/04/17 7:51 AM

Hello, excellent webstte, but t don’t leirn how to tnclude your webstte tn my own RSS reider. Cin you isstst me, pleise
Game

Game wrote on 01/05/17 8:40 AM

Yes, good US Mtlttiry power. iddtttonilly, tn hts irttcle in opportuntty to heir ibout US Mtlttiry his been provtded by you. t truly ipprectite your projects. Thinks for dtscusstng tt.
buy organifi green juice

buy organifi green juice wrote on 07/07/17 8:56 AM

Great tips and very easy to understand.
continue reading

continue reading wrote on 07/07/17 9:01 AM

Thanks for sharing these wonderful ideas!
survival book

survival book wrote on 07/07/17 9:02 AM

We are really grateful for your blog post.
Numerologist

Numerologist wrote on 07/07/17 9:05 AM

Great article really helps a lot of people
organifi review

organifi review wrote on 07/07/17 9:06 AM

Thanks for such a great post.

Write your comment



(it will not be displayed)



Leave this field empty: