• 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: Speed-optimized file copy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Speed-optimized file copy


  • Subject: Re: Speed-optimized file copy
  • From: email@hidden
  • Date: Tue, 19 Jul 2011 19:18:56 -0500

Quinn wrote:

On 18 Jul 2011, at 21:25, Stevo Brock wrote:

> What are ways that we could improve the efficiency of this system?

o optimise for seeks

This problem seems very similar to one I posted not to long ago in the thread:


How to read files from disk directly?
http://lists.apple.com/archives/Filesystem-dev/2011/Jul/msg00000.html

Basically, I needed to do something very similar which was to read every file on disk and process them. In Brock's case, that processing appears to be writing them to multiple locations.

While reading the files from the disk directly is simply not practical, attempting to optimize for seeks did look a bit more reasonable.

One possible method involved using fcntl/F_LOG2PHYS to at least try to determine in which order the start of every file appeared on the disk and then read the files in that order to try to optimise for seeks.

However, the thread forked into another one:

Problem with fcntl/F_LOG2PHYS (was: Re: How to read files from disk directly?)
http://lists.apple.com/archives/Filesystem-dev/2011/Jul/msg00022.html


and, as best I can determine, this is not very practical either, but perhaps I misinterpreted something.

So, what might the recommendation be if one wanted to optimize for seeks when reading every file in a file system?


_______________________________________________ Do not post admin requests to the list. They will be ignored. Filesystem-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Speed-optimized file copy
      • From: Stevo Brock <email@hidden>
References: 
 >Speed-optimized file copy (From: Stevo Brock <email@hidden>)
 >Re: Speed-optimized file copy (From: Wim Lewis <email@hidden>)

  • Prev by Date: Re: Speed-optimized file copy
  • Next by Date: Re: Speed-optimized file copy
  • Previous by thread: Re: Speed-optimized file copy
  • Next by thread: Re: Speed-optimized file copy
  • Index(es):
    • Date
    • Thread