1 Replies - 875 Views - Last Post: 08 November 2011 - 08:26 AM

Topic Sponsor:

#1 polska03  Icon User is offline

  • D.I.C Head

Reputation: 5
  • View blog
  • Posts: 231
  • Joined: 28-November 09

transfer file from one location to another on disk

Posted 07 November 2011 - 04:33 PM

hello I have to find the apprx time it would take to move a file fromon location on the hardrive to another. The information I have is seek time, rpm, file size and how many sectors/track. I don't know what formula to use to find this out?
Is This A Good Question/Topic? 0
  • +

Replies To: transfer file from one location to another on disk

#2 tlhIn`toq  Icon User is online

  • WillMyCodeWork = !FailedWhenYouTriedIt;
  • member icon

Reputation: 3286
  • View blog
  • Posts: 6,891
  • Joined: 02-June 10

Re: transfer file from one location to another on disk

Posted 08 November 2011 - 08:26 AM

Time = distance / speed

For example:

Time = 60miles / 60mph
1 = 60 / 60
1 hr

Same here, only your distance is the amount of data you have to move and your speed is the write-time of the drive. I'm sure there is some formula to be found via google for the the write-time given the data you mentioned.

But that will always be off given the values you have, because copying a file involves overhead of confirming the data that was written. Plus if a file is contiguous on the drive it can be read far faster than if it is badly fragmented and know just the number of blocks it takes up on the drive doesn't tell you its fragmentation.

Any good progress bar update method should time the data as it is being moved and recalculate the approx time remaining on the fly as data is being copied.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1