• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Reboot? Slow First Run
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reboot? Slow First Run


  • Subject: Re: Reboot? Slow First Run
  • From: "gMail.com" <email@hidden>
  • Date: Thu, 03 Dec 2009 17:10:47 +0100
  • Thread-topic: Reboot? Slow First Run

Thanks. I supposed that I was loading from the cache. It's a pity.
It was too nice to load 10,000 files x 4KB each, in only 1.2 secs.
Maybe one day, when I will be not longer on this planet :-)
Just to mention I run MacOSX 10.6.2 and I build against 10.5 (32 bit).

Anyway I would like to say a thing that I wanted to say for years.
Despite to the faster and faster processors and machines, the better and
better OSs... still today with a Core 2 Duo Intel 2.4GHz and MacOS X 10.6.2
at 64 bits (which is considered mainly as an improvement of the stability
and speed), when I open my /Applications folder, I have to wait for 3, 4 or
5 seconds to see the contents of the folder. I recall that my Mac II with
the System Mac 1.0 (in 1988) was faster. Think over ;-)


Regards
--
Leonardo

> Da: Shawn Erickson <email@hidden>
> Data: Thu, 3 Dec 2009 07:38:11 -0800
> A: "gMail.com" <email@hidden>
> Cc: <email@hidden>
> Oggetto: Re: Reboot? Slow First Run
>
> On Thu, Dec 3, 2009 at 3:47 AM, gMail.com <email@hidden> wrote:
>> Hi,
>> my app executes a given task in 1.2 seconds, all the time. I can quit the
>> application, relaunch it, run the same task several times and it always
>> takes 1.2 seconds.
>> But if I reboot the machine, I launch the application and run the same task
>> for the first time, it takes 13 seconds! This problem occurs at any reboot.
>> Then if I run the task again it always takes 1.2 seconds.
>
> The OS maintains a cache of data in RAM as much as it can while
> running. This "universal buffer cache" caches pages of data from
> loaded files, applications, etc.
>
> So the long initial load time is likely a result of having to load the
> data you need from disk (and possibly bringing online services your
> application needs that haven't yet been needed by other applications).
> The later load times are loading data from cache hence much much
> faster.
>
> -Shawn


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Reboot? Slow First Run
      • From: Bill Bumgarner <email@hidden>
References: 
 >Re: Reboot? Slow First Run (From: Shawn Erickson <email@hidden>)

  • Prev by Date: Re: totally baffled by "odoc" apple event failing on launch
  • Next by Date: Re: Reboot? Slow First Run
  • Previous by thread: Re: Reboot? Slow First Run
  • Next by thread: Re: Reboot? Slow First Run
  • Index(es):
    • Date
    • Thread