new Hard Drive recommendation

Discussion in 'other software & services' started by iceni60, Dec 22, 2005.

Thread Status:
Not open for further replies.
  1. iceni60

    iceni60 ( ^o^)

    Joined:
    Jun 29, 2004
    Posts:
    5,116
    thanks, i think the price difference is £1.15p :D not much! but, they don't have it in stock for 1-2 weeks.

    i'm starting to get confused about caching again. if the buffer gets full and it writes to the HDD instead, what happens next o_O does it put it back into memory then write it back to the drive? that's ridiculous. no one ever said what happens. what happens when the cache is full? does anyone know?
     
  2. crofttk

    crofttk Registered Member

    Joined:
    May 15, 2004
    Posts:
    1,979
    Location:
    Eastern PA, USA
    I'm not sure how the drive cache would prioritize data ON HOLD for reading versus data ON HOLD for writing.

    Just dealing with one at a time:

    For write buffering, the data moves directly from the cache to the hard drive once either 1) the buffer gets full, whereupon the data is written to the drive on a first-in/first-out basis (FIFO), or 2) All other operations slow down enough that it would impose no additional bottleneck to go ahead and write to the drive.

    For read buffering, the data remains in the buffer until either 1) more recent data is available and needs to be buffered for reading or, 2) enough time has passed that the data has certainly become stale.

    The cache is basically a "middle man" that holds up data moving in one direction or the other so that the thin "pipeline" moving data back and forth between the hard drive and the CPU/RAM can keep gushing full blast without data or requests for data "backing up" at the entrance to the pipeline.

    Another picture for you would be a rubber hose with just the right kind of "weak" spot in it.:D If there was enough resistance to the water flowing out the end of the hose, the pressure would build up. Eventually, the pressure would get high enough that the weak spot (if elastic enough) would balloon outward, slowing down the pressure buildup rate and providing a reservoir for the excess water flow. For whatever reason, say the water flow eventually slows down (at the inlet to the hose) or the pressure at the end goes down enough that the "weak spot" reservoir now shrinks back down, "flushing" its contents back down the pipeline.:D

    Hope that was helpful.;)
     
    Last edited: Dec 24, 2005
  3. iceni60

    iceni60 ( ^o^)

    Joined:
    Jun 29, 2004
    Posts:
    5,116
    yeap, thanks. i suppose you only need to fully understand it if you're a programmer or a really strange hacker :D
     
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.