• 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: High bandwidth disk management techniques
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: High bandwidth disk management techniques


  • Subject: Re: High bandwidth disk management techniques
  • From: Brad Ford <email@hidden>
  • Date: Tue, 3 May 2005 10:27:05 -0700



so with sector size 512 and page size 4096,

As an aside, you don't have to hardcode 4096 into your code. If you #include <mach/mach.h>, you can ask for reads of size:


vm_page_size

-Brad


it wouldn't be possible to ask for 8 particular, non sequential sectors and get them in one page without going through any of the OS disk buffer/de-blocking you mention? for each sector read like that they'd be another 3584 bytes pulled from the disk which if you don't use would be wasted?

thanks, ben.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Re: High bandwidth disk management techniques (From: Ben Dougall <email@hidden>)

  • Prev by Date: Open Sound Control
  • Next by Date: Re: setting up AudioUnit for interleaved format
  • Previous by thread: Re: High bandwidth disk management techniques
  • Next by thread: Re: High bandwidth disk management techniques
  • Index(es):
    • Date
    • Thread