RSS Feed
15
Oct.
2003

Apple's portables for Java developers?

Many of you may wonder if an Apple notebook for Java development may be worth a switch. Since MacOS X Apple provides an interesting platform for developers thanks to its BSD roots. Many usefull tools from the BSD and Linux comunities are available and easy to install. Apple even has ported JDK 1.4.1 to its operating system. So from the point of software availability everthing looks bright. Right. But software needs a hardware platfrom to run on. And that's the point where dark clouds are hiding the blue sky. Their fastest portable today are the 15" and 17" PowerBooks running at 1GHz. The flagship the 17" PowerBook features a 1GHz G4, 1MB L3 cache and 512MB RAM. Although Steve told us that this machine is very fast I can tell you it does not. At least for Java development. Here's how I found out:
A friend of mine owns the 15" PowerBook running at 1GHz with 1MB L3 cache. Therefore these machines are mostly identical from the speed view. The 17", however, features DDR333 memory. But many of us know that this is more or less a marketing gag because the current G4 cannot take full advantage of DDR RAM. But back to my story. Together my friend and my installed JDK 1.4.1 and JBoss on the PowerBook. "Booting" JBoss takes around 20-25 seconds. On my little iBook 800 it takes around 35 seconds. Yesterday another friend of mine bought the new Acer TravelMate 800 for 2200 Euros. It features the new Centrino technologie from Intel. Although it is clocked at 1.6GHz only the performance correspondes to a 2.4 GHz desktop CPU. Our little tests proved that, e.g. compiling a very large C++ project on both the Acer notebook and an Intel based desktop PC. Now you may wonder how fast JBoss boots on this peace of hardware?
Around 7 seconds.
Boom. That's a noticeable difference for sure! Everything feels very fluid and sleek. IDEA feels like a native app and so does Eclipse.
Apple fans may say now: But PeeCee notebooks are noisy and running out of battery very fast. Wrong! This Acer is comfortable quiet. The fan seldom activates. And the runtime is nice as well: 3.5 ours are no problem.
Although I am not a great fan of the operating system running on the Acer (WinXP Pro) I am still convinced that a Centrino based notebook is the best what you can get for you bucks if your main focus is on Java software development. Compiling debugging and running Java apps needs pure CPU power which Apple has poorly failed to deliver. I really hope that Apple will switch to the new PPC970 processor as soon as possible and replace the outdated G4.

Comments

1. Simon Brown
Interesting, I'll install JBoss on my 12" PowerBook this evening and report back.

2. WoEyE
Thank you. Good idea. We could create a "JBoss Benchmark" ;-). I guess the results will slightly differ because in my tests JBoss had to startup my EAR. At least you should use the "default" server layout.

3. Leknor
Clock how long it takes to start JBoss or whatever Java app the second time on OSX/WinXP. OSX will win. I don't know about you, but when I develope I tend t o run the same few apps over and over. After the initial warmup, I percieve the 800mHz Apple to be about the same responsiveness as my Dual 1.7GHz XEON workstation with twice the ram. In the end it's about perception, I think your's is wrong, but I'm sure you feel the same about mine.

4. WoEyE
I have restarted JBoss on my iBook 800 8 times with the following results: 42s, 35s, 33s, 35s, 35s, 33s, 33s, 35s. On my PC here at the comapny (PIII 833 MHz) I got these results: 25s, 23s, 23s, 24s, 23s, 23s. Between the first and the second restart there is a noticeable difference indeed. But still I think it could be better especially compared to the old PIII. It think I will install Yellowdog Linux on my QuickSilver 733 at home and see how Linux performs on the same hardware.

5. Simon Brown
On my 12" PowerBook (G4, 867Mhz, 640Mb RAM) it takes about 35 seconds to start up. I must say I'm amazed as it only takes 10 seconds on my PC at work (P4, 2Ghz). :-( Tomcat and IntelliJ both run very well though. :-)

6. Simon Brown
Sorry, it takes 16 seconds on my PC (P4, 2Ghz, 1Gb RAM). (that's the jboss/tomcat distro)

7. Alfred Lopez
Could the apparent "slowdowns" be a "feature" of the Apple JVM and not necessarily the G4? The reason I'm asking is that I see the slowdown as well under Linux running on Intel platforms. I develop on a PBG4 550mhz and I was considering buying either the 15" (1ghz) or 17" PB to get more speed for development.