need help on Oprating system

Please support our Computer Science advertiser: Learn about neural networks and artificial intelligence.
Reply

Join Date: Oct 2007
Posts: 5
Reputation: comask is an unknown quantity at this point 
Solved Threads: 0
comask comask is offline Offline
Newbie Poster

need help on Oprating system

 
0
  #1
Oct 6th, 2007
one way to use contiguous allocation of the disk and not suffer from holes is to compact the disk every time a file is removed. Since all files are contiguous, copying a file requires a seed and rotational delay to read the file, followed by the transfer at full speed. Writing the file back requires the same work. Assuming a seek time of 5 msec, a rotational delay of 4 msec, a transfer rate of 8 mb/sec, and an average file size of 8 KB how long does it take to read a file into main memory then write it back to the disk at a new location? Using these numbers, how long would to take to compact half of a 16GB dosk?
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 2,055
Reputation: Rashakil Fol is just really nice Rashakil Fol is just really nice Rashakil Fol is just really nice Rashakil Fol is just really nice 
Solved Threads: 139
Team Colleague
Rashakil Fol's Avatar
Rashakil Fol Rashakil Fol is offline Offline
Super Senior Demiposter

Re: need help on Oprating system

 
1
  #2
Oct 7th, 2007
It depends on where the holes are and how much of the 8 GB half is taken up by files.
All my posts may be redistributed under the GNU Free Documentation License.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Computer Science Forum


Views: 1808 | Replies: 1
Thread Tools Search this Thread



Tag cloud for Computer Science
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC