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?
1 Replies - 875 Views - Last Post: 08 November 2011 - 08:26 AM
Topic Sponsor:
#1
transfer file from one location to another on disk
Posted 07 November 2011 - 04:33 PM
Replies To: transfer file from one location to another on disk
#2
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.
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.
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote





|