Geek Boy's blog
Wednesday, January 11, 2006
  Thoughts on the Mac Book Pro - interjecting a bit of reality
My current workhorse machine is a 17" 1.33 ghz PowerBook G4 - it's over 2 years old now. I like it rather a lot. Except that it's kinda slow.

Apple has announced a sexy new intel dual-core PowerBoMacBook Pro. I don't think I like the new name - they've been powerbooks for a long time, but of course, there's no PowerPC in it anymore, so the power part of the name had to go. So, I'm wondering if it's time to replace the G4 with the sexy new machine. Or, alternatively, get a dual-core G5 box for work, and use my iPod for moving files around. But the G5 is seeming kind of like a dead-end road, and I really really like portability.

But still, the Mac Book Pro isn't perfect.

There are two obvious issues:
1. It won't run windows yet, because it doesn't use a BIOS. It uses intel's new EFI firmware, which up until now has mainly graced itanium machines, and Windows XP won't boot on an EFI-based machine. Windows Vista might, but that's not here yet. This obviously isn't a deal-killer - if I wanted to run Windows, there are lots of choices of hardware to do that. I want to run OS/X, but I want to be able to occasionally drop into windows to run important apps that tend not to come out on OS/X first...

2. This is a new hardware platform, and this is the first machine to utilize it. This may be less risky than usual, given that (a) Mac OS/X has been running on intel since, oh, 1992, if you count the NeXTStep heritage, and (b) it's not like building intel-based laptops is a black art these days.

There are also some concerns in deciding really how much better the new box is.

First - Apple says that the new machine is 4x faster than the 1.66 ghz powerbook. I'll also include the SPECint_rate2000 numbers that I found for the 2.5ghz dual-core G5 (one dual-core chip, not two of them as in the Quad G5 box)

1.67ghz G4Dual-core 2.5ghz G51.83 Intel Core DuoDell 3.2Ghz Pentium D dual-core
SPECint_rate20006.732.330.331.3

But SPECint_RATE measures throughput, and is generally used to measure multiprocessor performance - so it takes both cores into account. The 1.67ghz G4 powerbook only has one core, and most users, running end-user things like NeoOffice, Create, or OmniOutliner, aren't running multithreaded apps and aren't going to see much of a boost. Then again, they might - one core for the app, one core for the windowserver?

The second concern is the lack of a firewire 800 port. The Mac Book Pro has a single FW-400 port, but no FW-800. I've got FW-800 now on my G4 powerbook, and I do in fact use it. I've got a LaCie Bigger Disk Extreme, which has a FW-800 port. I decided to run some metrics to see if it really is that much faster than FW-400.

Turns out that it is.

Here's the time it took to create 4 512mb files:
Desctimeaverage
Internal disk01:51.80only ran once
FW800 run 100:32.18
FW800 run 200:32.11
FW800 run 300:32.0800:32.12
FW400 run 100:53.78
FW400 run 200:53.56
FW400 run 300:53.8700:53.74

(Note that my internal disk is a 4200 80gb unit).

Looks like FW800 is in fact nearly double the speed of FW400.

If you're interested, here's the code - this is intended to actually measure how fast the machine can pump data down the firewire interface, with as little other IO going on as possible. Prior to running this, I ran mdutil -i off to turn off Spotlight indexing of the hard drive. As an aside, it felt really good to dust off my ObjC chops.

#import <Foundation/Foundation.h>

const int ONE_HALF_GIG = 512*1024*1024;
const int NUM_FILES = 4;

int main (int argc, const char * argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
NSMutableData *contents = [NSMutableData dataWithCapacity:ONE_HALF_GIG];
unsigned int i;

if (argc != 2)
{
NSLog(@"Need to specify a pathname as the sole argument.\n");
}

else
{
for (i = 0; i < (ONE_HALF_GIG/(sizeof(int)))-1; i++)
{
[contents appendBytes:&i length:(sizeof(int))];
}

NSLog(@"Writing files\n");

for (i = 0; i < NUM_FILES; i++)
{
NSString *path = [[NSMutableString alloc]
initWithFormat:@"%s-%u.dat", argv[1], i];
[[NSFileManager defaultManager]
createFileAtPath:path contents:contents attributes:nil];
}
NSLog(@"Done writing files\n");
}
[pool release];
return 0;
}

So, I suppose this is in support of the conclusion I had before I started this - it's silly to buy the Rev A version of the new laptop anyway; let's see what comes with the Rev B machines, and whether or not apple does a 17" version of the intel Mac Book Pro in the next few months. My G4 is still under warranty, and it's not deathly slow yet. I can afford to wait a bit.

Update:
Seems I'm not the only one who has reservations. Unsanity.org goes into more detail, and Paul Thurrott's Internet Nexus has an interesting comparison between the mac book pro and the current powerbook g4 offering.
 
Comments:
http://www.izzythedog.net/DaBlog/?p=124
 
Hmm.... dont know what you're talking about... Im using a Mac Book Pro and I use windows XP on it every day.
 
The above stuff was written before Boot Camp came out, and before Parallels for Mac OS/X was released. Both of these options give you an easy way of running Windows on a mac. I use Parallels frequently, for doing C++ and .NET development, and it's mighty sweet.
 
Post a Comment



Links to this post:

Create a Link



<< Home
Various ramblings from Peter Clark about life, coding, parenthood, Java, grad school, and enjoying my mac book air

Name: Peter Clark

Terror Alert Level

Thao and the Get Down Stay Down -- When We Swam

Archives
09/01/2003 - 10/01/2003 / 10/01/2003 - 11/01/2003 / 11/01/2003 - 12/01/2003 / 12/01/2003 - 01/01/2004 / 01/01/2004 - 02/01/2004 / 02/01/2004 - 03/01/2004 / 03/01/2004 - 04/01/2004 / 04/01/2004 - 05/01/2004 / 05/01/2004 - 06/01/2004 / 06/01/2004 - 07/01/2004 / 07/01/2004 - 08/01/2004 / 08/01/2004 - 09/01/2004 / 09/01/2004 - 10/01/2004 / 10/01/2004 - 11/01/2004 / 11/01/2004 - 12/01/2004 / 12/01/2004 - 01/01/2005 / 01/01/2005 - 02/01/2005 / 02/01/2005 - 03/01/2005 / 03/01/2005 - 04/01/2005 / 04/01/2005 - 05/01/2005 / 05/01/2005 - 06/01/2005 / 06/01/2005 - 07/01/2005 / 07/01/2005 - 08/01/2005 / 08/01/2005 - 09/01/2005 / 09/01/2005 - 10/01/2005 / 10/01/2005 - 11/01/2005 / 11/01/2005 - 12/01/2005 / 12/01/2005 - 01/01/2006 / 01/01/2006 - 02/01/2006 / 02/01/2006 - 03/01/2006 / 03/01/2006 - 04/01/2006 / 04/01/2006 - 05/01/2006 / 05/01/2006 - 06/01/2006 / 06/01/2006 - 07/01/2006 / 09/01/2006 - 10/01/2006 / 10/01/2006 - 11/01/2006 / 11/01/2006 - 12/01/2006 / 12/01/2006 - 01/01/2007 / 01/01/2007 - 02/01/2007 / 02/01/2007 - 03/01/2007 / 03/01/2007 - 04/01/2007 / 04/01/2007 - 05/01/2007 / 05/01/2007 - 06/01/2007 / 06/01/2007 - 07/01/2007 / 07/01/2007 - 08/01/2007 / 08/01/2007 - 09/01/2007 / 10/01/2007 - 11/01/2007 / 11/01/2007 - 12/01/2007 / 12/01/2007 - 01/01/2008 / 02/01/2008 - 03/01/2008 / 03/01/2008 - 04/01/2008 / 04/01/2008 - 05/01/2008 / 05/01/2008 - 06/01/2008 / 06/01/2008 - 07/01/2008 / 07/01/2008 - 08/01/2008 / 09/01/2008 - 10/01/2008 / 10/01/2008 - 11/01/2008 / 11/01/2008 - 12/01/2008 / 12/01/2008 - 01/01/2009 / 01/01/2009 - 02/01/2009 / 02/01/2009 - 03/01/2009 / 03/01/2009 - 04/01/2009 / 04/01/2009 - 05/01/2009 / 05/01/2009 - 06/01/2009 / 06/01/2009 - 07/01/2009 / 07/01/2009 - 08/01/2009 / 08/01/2009 - 09/01/2009 / 10/01/2009 - 11/01/2009 / 11/01/2009 - 12/01/2009 / 12/01/2009 - 01/01/2010 / 03/01/2010 - 04/01/2010 /


Powered by Blogger

Subscribe to
Posts [Atom]