Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sizing MacBook



Carpenter, James wrote:

>I'm a 20-year MS developer moving to Mac.
>My primary motivation is to port a C#/SQLServer
>linguistic application to Java/MySQL on Apple.
>This is a very DB intensive application, lots
>of very complicated queries, with several
>hundred executing every few minutes. There
>are virtually no DB updates once the data
>model is created,  There is also a TTS component.
>Sometimes the TTS has to run at the same
>time as the DB app.  This has to run on a
>laptop or notebook (seminars, demos, etc).
>
>My question:  What should I look for in a maximizing
>performance for an app like this? Memory? Speed?
>Both? Something else?

I'm not sure what you're asking.

Are you asking "What MacBook configuration should I buy in order to run
this application?"

Or are you asking "What MacBook configuration should I target when I port
this application?"

Since the application hasn't been ported to Java yet, there's really no way
to answer the first question except with general principles.  The app's
speed will depend on how it's written, and since it isn't written yet, it's
speed could depend on anything.

To answer the second one, extra memory will help you more than extra MHz.
The reason is simple: development tools usually use lots of memory.  When
they don't have real memory they start swapping virtual memory, which can
slow execution by 10X, 100X, or even more.  This can even happen to Java
programs, and not always for obvious reasons, e.g.:
  <http://lists.apple.com/archives/java-dev/2005/Aug/msg00053.html>

Once your application is ported to Java/MySQL, you should profile it to
answer the question of how much memory it works best with.  If the app is
really that DB intensive, you may find that a fast disk improves speed more
than extra CPU MHz does.

By the way, since Java and MySQL are both portable, you can use whatever
computer you have now to start porting to Java/MySQL.  You should test on a
MacBook if that's your intended target, but you need not develop on a
MacBook.  This may affect your choice of MacBook configuration, too.

  -- GG


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.