• 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: OSALoad/OSACompile block when machine is asleep
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OSALoad/OSACompile block when machine is asleep


  • Subject: Re: OSALoad/OSACompile block when machine is asleep
  • From: Markus Hitter <email@hidden>
  • Date: Wed, 14 Nov 2001 12:38:13 +0100

Am Mittwoch den, 14. November 2001, um 03:13, schrieb Brant Vasilieff:

I guess I mean idle, or possible doze. I'm not sure.

"idle" is when all is running but no process is actually using the processor. "Doze" is some mode where the processor sleeps for fractions of a second. Not visible to the normal user. Well, I'm only 99% sure, too.


Any file read with a cache miss should spin up the disk.

I'm not seeing this. I tried reading a file, but was worried about the second time around having it in the cache, so I tried writing a small file as well. What happens, is that the file is created, but not actually saved to disk until I move the mouse and wake up the machine. The creation date matches the time I attempt to save it, but the modification date is set to the time when the drive actually spins up.

To produce cache misses, you can hide physical RAM with the nvram variable "ram-size", see "man nvram"

Other way is to read/write a really big file.

But in no way an executing script should be blocked by a stopped disk. I'd call this a bug.


Markus

- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/


  • Prev by Date: Mac OS X 10.1.1 Technical Notes ??
  • Next by Date: Re: NSWindowController that closes itself
  • Previous by thread: Re: OSALoad/OSACompile block when machine is asleep
  • Next by thread: Drag-n-Drop in NSOutlineView
  • Index(es):
    • Date
    • Thread