Slashdot Mirror


Revisiting the Five-Minute Rule

In 1987, a study published by Jim Gray and Gianfranco Putzolu evaluated the trade-offs between holding data in memory and storing it on a disk. Known widely as the "five-minute rule," their research was updated and expanded 10 years later. Now, as jamie points out, Communications of the ACM is running an article by Goetz Graefe with another decennial update, evaluating the rule using hardware and software typical of 2007, with an eye toward how flash memory will affect the situation. An excerpt from Graefe's conclusion: "The 20-year-old five-minute rule for RAM and disks still holds, but for ever-larger disk pages. Moreover, it should be augmented by two new five-minute rules: one for small pages moving between RAM and flash memory and one for large pages moving between flash memory and traditional disks. For small pages moving between RAM and disk, Gray and Putzolu were amazingly accurate in predicting a five-hour break-even point two decades into the future. Research into flash memory and its place in system architectures is urgent and important. Within a few years, flash memory will be used to fill the gap between traditional RAM and traditional disk drives in many operating systems, file systems, and database systems."

11 of 153 comments (clear)

  1. for those wondering: by wjh31 · · Score: 4, Informative

    http://en.wikipedia.org/wiki/Five-minute_rule

    "The 5-minute random rule: cache randomly accessed disk pages that are re-used every 5 minutes."

  2. Not to be confused with by salahx · · Score: 5, Funny

    The more useful 5 second rule.

    1. Re:Not to be confused with by johannesg · · Score: 3, Interesting

      The more useful 5 second rule.

      That's just utterly disgusting. Do people in the US really believe that you can eat food that's fallen on the floor if you pick it up fast enough?

    2. Re:Not to be confused with by SUB7IME · · Score: 3, Insightful

      I know, right? What a disgusting waste of perfectly good food that has been on the ground for only 10 seconds!

    3. Re:Not to be confused with by michaelhood · · Score: 4, Funny

      I'd rather be a disgusting American than a naive European with no sense of humor..

    4. Re:Not to be confused with by squizzar · · Score: 3, Insightful

      As a not so naive Brit, we have our much superior 3 second rule for the same thing.

      I'd like to know what the GP has on the floors in his house that is so toxic that the tiny amount that will rub off on food is detrimental for your health? How on earth do people survive in places without nice sealed floors and cleaning chemicals? You'd think we'd have evolved some method of protecting our bodies against stuff like that.

  3. I thought you were referring to the 5 second rule by vaporland · · Score: 3, Funny

    five minutes is an awful long time for food to remain on the floor before you pick it up to eat it...

    --
    Ask Me About... The 80's!
  4. Re:What article? by amorsen · · Score: 4, Insightful

    The article I read spent a good deal of time talking about flash memory. What article are YOU referring to?

    The article treats flash as something you place in between hard drives and memory. This turned out not to happen (with a few exceptions). SSD's simply replace hard drives. Hybrid systems are rare, and it doesn't look like they will become more common -- either you can live with the slowness of hard drives, or you can't. The mainstream will switch to SSD's for everything except backup applications.

    There are some hybrid SAN's, but they're damn expensive. At that price they have a hard time competing with simpler pure-flash SAN's.

    --
    Finally! A year of moderation! Ready for 2019?
  5. Re:Flash memory? by Courageous · · Score: 3, Informative

    I couldn't quite figure out if the article willfully ignored the advent of SSDs or was written before they were available... As for the post by Argent, I wasn't sure if that was addressed to me or not - if so, I have no idea what you're talking about. Your post has absolutely nothing to do to with my original response.
     
    Argent's post refers to "flash memory". You said the article ignored SSD's, however it did not. "Flash memory" is the technology that SSD's are composed of. Did you not know this? "Flash memory" is all over the article.


    Flash SSD's will not replace SATA drives anytime within the next 4-6 years. In technology time, that's such long period of time, it would be quite difficult to make a credible projection for the consumer market space. For servers, where the segment is dominated by 10K/15K drives, you can expect flip over within 18 months.


    C//

  6. Re:What article? by wwwillem · · Score: 4, Informative

    Hybrid systems are rare, and it doesn't look like they will become more common.

    You're probably right when we talk about desktop PCs and laptops. I'm sure the latter will be SSD only in 5-10 years time, and desktops are also losing terrain quickly against laptops.

    But when we look at datacenter grade enterprise storage, hybrid systems are currently picking up fast. The advantage is that because of the fast 'flash memory cache' you can use SATA disks instead of the FC/SCSI drives, where the former are both much bigger and much cheaper. Instead of 300 146GB 15K FC disks, you only need 30 1.5 TB 7200 RPM SATA disks. For the same capacity this results in much lower power bills, less DC floor-space costs and much better performance.

    If you say "There are some hybrid SAN's, but they're damn expensive.", have a look at what [shameless plug-on] Sun is doing, and yes, I work for Sun [plug-off]. But other storage vendors (NetApps, EMC, IBM, etc.) are starting to do similar things.

    So the whole "storage-stack" gets more and more hybrid and integrated. It consists of the full gamut of DRAM, flash memory, hard drives and finally tape. Each of these have their own strength and are used best in combination.

    --
    Browsers shouldn't have a back button!! It's all about going forward...
  7. Carpets are safer ... by tomhudson · · Score: 3, Interesting
    Carpets don't transfer as many bacteria

    Scientists have put the commonly-cited five-second rule to the test. They found that food that comes into contact with a tile or wood floor does pick up large amounts of bacteria. Food doesn't pick up many germs when it hits carpet, but it does pick up carpet fuzz.

    Since this is slashdot, I'd bet most will pick bacteria over carpet fuzz any day ... after all, if it doesn't look fuzzy ...

    or this ...

    many people believe that gastric acid enzymes found in the stomach are strong enough to destroy the "small, harmless" amount of bacteria that could gather on a piece of food in five seconds. But are these bacteria really harmless?

    In 2003, Jillian Clarke, then a high school senior, decided she wanted to find out. During an internship at the University of Illinois at Urbana-Champaign, she and a doctoral candidate, Meredith Agle, took swab samples from floors all over the campus, including labs, hallways, and bathrooms, and found that the amount of bacteria on the floors was very low. When she published her research, she concluded that if a piece of food falls on a relatively clean floor, the five-second rule is, in fact, applicable.