Results 1 to 1 of 1

Thread: How harddisk writes files?

  1. #1
    kyoJet is offline Junior Member
    Join Date
    Nov 2009
    Posts
    1
    Rep Power
    0

    Default How harddisk writes files?

    Given a hard drive with p number of sectors on each track, q number of tracks on each platter, and a total of r different platters. Suppose that the hard drive has one read/write head for each platter. Data cannot be read/written in parallel in different tracks of the same platter, but data of the same track number and sector number on different platters can be read/written simultaneously.

    Suppose file length is the same as the one platter length and you have already partitioned your file into blocks with each block having the same size as the sector size. which option gives the shortest time to write the file?

    Option A
    place the file on one platter only and by putting the first p blocks on different sectors of the same track and then another p blocks on a different track, in the same fashion.
    (linear writing)

    Option B
    first partition the blocks in r groups, and each group is further partitions into q subgroups with each having p number of blocks. Then, place different subgroups on the same track of different platters. Then to a different track and repeat the same operation.
    (parallel writing)


    Option B seems to be faster as parallel writing(writing into platters at the same time), but it has longer seeking time than option A. which factor domains?
    in this case,
    I wondered why transferring multiple files generally takes longer time than a single big file of same size.
    Last edited by kyoJet; 11-23-2009 at 04:41 PM.

Similar Threads

  1. Replies: 0
    Last Post: 01-14-2010, 02:22 PM
  2. Computer does not boot from harddisk
    By Steve Harlow in forum Linux/Free BSD
    Replies: 2
    Last Post: 11-18-2009, 01:10 PM
  3. Western Digital USB External Harddisk
    By untikar in forum Hard Disk
    Replies: 0
    Last Post: 06-14-2008, 09:23 AM
  4. Harddisk recovery?
    By mamboj in forum Storage
    Replies: 1
    Last Post: 02-07-2008, 06:07 AM
  5. Replies: 3
    Last Post: 02-07-2008, 06:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
SEO by SubmitEdge

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48