Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Why Not To Shout At Your Disk Array

Posted by timothy on Fri Jan 02, 2009 03:58 AM
from the that's-what-your-subordinates-are-for dept.
Brendan Gregg of Sun's Fishworks lab has an interesting video demo up at YouTube demonstrating just how bad vibes, if expressed with sufficient volume in front of a rack full of disks, can cause a spike in disk latency. White noise, evidently, doesn't do them much harm. (Maybe they just feel awkward to get yelled at on camera.)
+ -
story
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • by slugtastic (1437569) on Friday January 02 2009, @04:03AM (#26297927)
    ...always made me laugh.

    he's like the crocodile hunter of loud server rooms

  • by Anonymous Coward on Friday January 02 2009, @04:05AM (#26297937)

    People yelling too much at their computers

  • by rolfwind (528248) on Friday January 02 2009, @04:06AM (#26297943)

    It's been known for a long time vibrations are not good for discs (see notebooks). Even by early 90s music CDs had skip protection. If a disc skips, latency will of course momentarily increase. And with tolerances down even further, it's probably worse than back then.

    In 10-15 years it won't matter anyway, almost everything will have SSD by then.

    • by Chris Snook (872473) on Friday January 02 2009, @05:34AM (#26298263)

      Prior to the advent of skip protection in portable CD players, you could make them skip for several seconds just by shouting at them briefly, because it took much longer to recover from the vibration than the duration of the shock itself.

      • Yep. Even on my modern CD sound system with skip protection (cache), if I crank the volume up loud enough, the speakers will eventually vibrate the mechanism for so long as to cause the player to shudder and skip.

    • Are you sure about this?

      Let's say that I have my phone in my pocket, will that not affect?

      Yes I agree that plain vanilla yelling will probably have no effect whatsoever. BUT what about radio waves?

      Not to say it will stop me from buying SSD, just wondering out loud.

    • by trolltalk.com (1108067) on Friday January 02 2009, @07:44AM (#26298793) Homepage Journal

      It's been known for a long time vibrations are not good for discs (see notebooks). Even by early 90s music CDs had skip protection. If a disc skips, latency will of course momentarily increase. And with tolerances down even further, it's probably worse than back then.

      There's BAD vibrations, and then there's GOOD Vibrations. [youtube.com]

    • by RobinH (124750) on Friday January 02 2009, @09:59AM (#26299743) Homepage

      "Skip protection" on a hard drive is pointless. This is a fundamentally different scenario. With a CD, you can read the data *much* faster than you really need to read it, because you only need the data fast enough to convert it into sound. Plus you almost always know which piece of data needs to be read next, because the song is linear.

      On the contrary, with a hard drive, read speed is (usually) the bottleneck, so you want the data sent to the processor as soon as you can pull it off the disk. Also, hard drives are much more random access, so you can't guess the location of the next read and read it before the CPU requests it. The only thing you can do is cache frequently accessed data in memory, which the operating system already does.

      • Unless the increase in noise levels causes a fluctuation in the power going to the write capability of the SSD thus causing it to "write harder", thereby burning out the sectors much faster. Of course this won't increase latency noticeably as the increased power will write just as fast, though it may cause requirements for larger capacitors so that the drop won't cause further delays farther down the line. Hmmm.



        Dear $DEITY don't start pulling that apart, I'm joking.
  • Interesting... (Score:5, Insightful)

    by TFer_Atvar (857303) on Friday January 02 2009, @04:08AM (#26297949) Homepage
    I wonder if the latency would vary by the pitch and tone of the person yelling. If that's the case, I'd wonder if that could be extrapolated into reconstructing whatever was being said. Granted, if you're yelling that loud, the person in the next county is more likely to hear you first.
    • by sakdoctor (1087155) on Friday January 02 2009, @04:39AM (#26298043)

      I would say yes. When I was a teen my mother walked into my room and started moaning about the mess.
      Right then, windows blue screened and later I found the hard drive was completely dead. (Think it was a 15GB Maxtor or thereabouts) That cost me some pocket money to replace at the time.

      If you have women living in the house, factor this into your backup procedure.

      • "I would say yes. When I was a teen my mother walked into my room and started moaning..." I thought this was going to go somewhere else...
    • by Thanshin (1188877) on Friday January 02 2009, @04:42AM (#26298057)

      You made me wonder; if the the effect could be detected and "read", a you say, it would be possible to use it as a way of transmitting information to the computer by shouting at it.

      I then remembered microphones.

      • Re: (Score:3, Interesting)

        My first computer had a 6502 CPU with BASIC and a machine code monitor in ROM. I found that the cassette interface could be used as a sound card if I configured a tape player to record and play back at the same time. For the output channel any AM radio would do because the CPU only ran a 1Mhz and it was leaky as hell.
  • by nitsnipe (1332543) on Friday January 02 2009, @04:14AM (#26297969)
    It bothers me,
    How this guy actually made the discovery.

    He must have let off quite a bit of steam towards that rack.
    • 'The very existence of flame-throwers proves that some time, somewhere, someone said to themselves, You know, I want to set those people over there on fire, but I'm just not close enough to get the job done.'

      George Carlin

      • Not to be a dry pedantic killjoy, but he was probably watching a young calf drinking.

        • *sniff*
          I'm dry and pedantic now

        • And udderly inspired he was.

          Q: How did the <insert target cultural/racial/whatever group here> man die whilst drinking milk?
          A: The cow sat on him.

          Sorry, couldn't resist milking it for what it's worth ;).
        • Re: (Score:3, Funny)

          by Anonymous Coward

          >white liquid that tasted so good

          The first few brave adventurers were killed by bulls.

  • ...why?

    I'm sure there's a good reason, but... He's using dtrace, right? Thus implying Solaris? Thus implying ZFS?

    If you've got ZFS, why would you do JBOD?

    Or did I just mis-hear him?

    • Re:JBODs? (Score:4, Informative)

      by Anonymous Coward on Friday January 02 2009, @04:41AM (#26298053)
      If you've got ZFS, why would you do JBOD?

      A few reasons.

      • If anything, I'd have figured you're more likely to setup a disk array as a JBOD with ZFS than (say) UFS. After all, you can get ZFS to do RAID0 for you (ZFS can probably also RAID1, but it's better to do that in hardware).
      • Solaris-10 still supports non-ZFS filesystems (VxFS) which I imagine you'd still want to use in some circumstances.
      • Their customers might be running an earlier version of SunOS/Solaris. He might simply be using DTrace to look at a customer bug-report from another prespective.
      • Indeed, even though he's debugging in Solaris, the customers might not even be running Solaris. Sun hardware is really sweet and is supported on both Microsoft Windows and various distributions of Linux.
      • And even if all the above reasons don't apply, using a JBOD is a good way of eliminating variables if you're trying to isolate/trace a potential hardware issue.
    • Re:JBODs? (Score:5, Informative)

      by paulz42 (638751) on Friday January 02 2009, @04:59AM (#26298125)
      Sure, with ZFS JBODs are the preferred storage. Let ZFS do end-to-end management of the storage, from the file level to the raw disk blocks. That way it can do it's end-to-end error checking and possible correction. If you do RAID1 in hardware ( really just firmware in the storage box) you trust that software to detect all problems and correct them or report them. That software may not do checking to see if both branches of a mirror are correct and pass on bad data upstream. ZFS will detect this because of it's checksums, but it will not be able to correct this. If ZFS is doing the mirroring it will detect it and read the other mirror, if that checksum is ok, it will correct the error and continue.
    • Re:JBODs? (Score:5, Interesting)

      by Chris Snook (872473) on Friday January 02 2009, @05:03AM (#26298147)

      ZFS implements software RAID on top of JBOD. The box full of disks itself need not have any RAID controller, and if you're using RAID-Z, it would probably be a waste of money to spring for one, unless you go for the super-high-end for performance reasons.

    • Re: (Score:3, Insightful)

      Or did I just mis-hear him?

      "JBOD" in this context will be a reference to the style of disk array (eg: vs one with a RAID controller like the Dell MD3000), not the ZFS RAID level.

  • Might the the drives themselves be sensing the induced vibration via an embedded accelerometer and momentarily parking the heads to avoid damage? It seems like the marketing folks shouldn't have too hard of a time putting a positive spin on this behavior.

  • if expressed with sufficient volume in front of a rack full of disks

    I wonder about the results of eliminating the superfluous "full of disks" part.

    Interestingly enough, it's precisely here, where the omission would both be understood and not bring unwanted connotations.

  • Great.... (Score:4, Funny)

    by Whillowhim (1408725) on Friday January 02 2009, @04:33AM (#26298027)
    Now when Skynet finally goes sentient, it'll sue for emotional abuse. I thought metal death machines were bad, but now Lawyer-bots? We're doomed.
  • Nice, now I can use this to detect if people were loud in my server-room.

    Do they also react to smell?

  • Well, partly at least. It's no secret that disk drives are sensitive to vibration as this video showed an extreme case. Keep in mind, since disk drives are spinning at 7200-15000RPM, they themselves create vibration that can affect adjacent drives. The drive enclosure can help reduce the problem with use of shock absorbers and vibration dampeners. Most drive enclosures nowadays, for cost reasons, are no more than just sheet metal wrapped around power supplies, fans and drives, which contribute to the pr
  • by Anonymous Coward on Friday January 02 2009, @05:59AM (#26298367)

    Secret Fact : Ultrasonic noise at low volumes is WORSE !

    It took weeks to testing to get to the root issue of WD Raptors dropping in head seeks on very high end raid cards in tiny head movement seek benchmarks, but padding each JBOD drive in acoustic foam (shooting range foam), or testing one drive at a time, instead of 4 or 8, (either method works) increased I/O per second by 40% in a rack chassis.

    40% more head movements per second if no ultrasonic noise entering drives !!!!!

    This is VERY VERY RARE INFO, and only I, the head of Gigabyte in Asia, and two engineers in california know of this discovery.

    And because I know no one on Slashdot will mod this up, and no one reads at 0 anymore, I can trust my astounding well researched secret shall remain secret.

    Its sadly 100% factual.

    • >And because I know no one on Slashdot will mod this up, and no one reads at 0 anymore, I can trust my astounding well researched secret shall remain secret.

      For starters, make an account.

    • by thogard (43403) on Friday January 02 2009, @08:37AM (#26299023) Homepage

      You don't know too many greybeards do you? I'm surprised that modern drives are susceptible to ultrasonic under 80 khz but real old drives and drums were known to have problems with low audible frequency harmonics. A simple solution to this problem is stamp a butterfly like pattern in the arm of the head. The same thing works for power lines (which is what the small dumbbell looking things are near the insulators)

      • by NeutronCowboy (896098) on Friday January 02 2009, @12:51PM (#26301693)

        Informative? Seriously? I hope this is some metamod effort at providing Karma... but just in case someone does take this seriously, I should take out a patent on this. That way, when Monster sells their butterfly-patterned head arms for 20K to audiophiles who don't like the lack of warmth in SSDs, I can get in on the racket.

  • White noise is just like white light: An even distribution of energy across the spectrum.

    It makes perfect sense that white noise is less of a problem than an equal amount of noise at a specific frequency. Given a suitable frequency the material absorbing the energy will vibrate and even resonate. (That particular engineer's yelling, apparently, resonates well with the disks in the array of that video...)

    It's the same reason why a bullet-proof west can make the impact of a bullet non-lethal: Spread out distr

  • by Gord (23773) on Friday January 02 2009, @06:49AM (#26298571) Homepage

    Also from Brendan Gregg comes the always useful /usr/bin/maybe [brendangregg.com]. Other funnies from him here [brendangregg.com].

  • by mugurel (1424497) on Friday January 02 2009, @07:23AM (#26298707)
    go and measure your own performance degradation while your hard disk does something mean to you
  • by BigMike (122378) on Friday January 02 2009, @07:31AM (#26298739)

    I dub this guy the disk whisperer ...

  • That thing can shake my whole apartment. Is anyone testing what effect this thing has on my hard drives when listening to music/playing a game?

  • by thethibs (882667) on Friday January 02 2009, @11:36AM (#26300617) Homepage

    Disk drives have a resonant frequency

    I've seen dramatic demonstrations of this over the years. One that stands out was a test of a Bryant drive sometime around 1970. In those days a 2 GB drive was at the edge of the envelope and Bryant was test-marketing just such a beast. It consisted of eight four-foot platters mounted four to a side on a shaft going through a monster of an electric motor. The heads were mounted on arms whose positioning was controlled by hydraulic cylinders big enough to be used as shocks on a pickup truck. The whole thing would not fit in the back of that pickup truck.

    We were testing the thing with a program called the "Leese Bomb". Leese can identify himself or remain anonymous--I won't turn him in. The "Bomb" part was the nature of the test.

    Basic tests in those days would involve writing a whole track and then reading it back and comparing what was read to what was written. You'd do this a number of times with different patterns to capture not only faults in the surface, but any sloppiness in the head control. The Leese bomb went one better.

    It would write to the outside track, write to the inside track, read the outside track, read the inside track, and then compare. If the comparison failed it would repeat the test, and keep repeating untl it succeeded, counting the failures. If the test succeeded it would index the test both inward and outward so that the tracks tested would move toward the middle, cross, and continue. This test was superior in that it would capture dynamic flaws in the system as the distance the heads moved, and the time to move varied from max to zero.

    In the case of the Bryant Drive (and, accidentally, an innocent Ramac drive at Caltech), the test found a resonant frequency. When the heads overshot their mark causing an error, the test stayed on the back and forth pattern, reinforcing the resonant motion with each cycle of the test. The drive started walking across the test floor in three-inch hops, but not for very long. In a few seconds, one of the shafts broke and one of the platters, a 500 pound disk rotating at 2400 rpm broke through the front of the unit and flew across the building until it was stopped, explosively, by one of the steel columns supporting the roof of the building. Miraculously, no one was hurt.

    We gave up on Bryant for that application. Not long after that, CDC introduced its 200MB drives, and they passed the Leese Bomb with flying colours. Ten of them didn't take up any more room, or cost more, than the big Bryant, so our client was happy to go with that solution.

    In any case the lesson is that, if it has moving parts, resonance is an issue.

    • Re: (Score:3, Interesting)

      The plants publications never seems to die.

      Plants don't react to music, they react to the tiny shifts in air just above their stomata. The publication which reported this compared plants with music (read: vibrating air above the stomata) with plants in an enclosure without air vibrating (read:refreshing) above the stomata.
      The experiment shows a difference, even if there's air-movement simply because air "sticks" to the surface of plant's leaves in close proximity - behaving like a fluid. Normal air ventila
    • by Bengie (1121981) on Friday January 02 2009, @09:28AM (#26299463)

      I'm not an engineer or absolutely sure about how the brain works with white noise, but I had a job that I worked at that when I entered the freezer section, it didn't seem loud at all. Actually, it so much didn't seem loud that the few times I had to enter it, I forgot my ear plugs until I saw someone else using them.

      Anyway, even though you couldn't really hear anything 'loud', if you tried to talk to anyway, you could barely hear them.

      On to my question. If you have enough high amplitude random noise that is effectively destructive interference, would this make an enviorment where low amplitude sound could not be hear or even mechanically sensed easily?

      I know using 'heard' may be incorrect in this context because perceived sound usually has no direct relation with what's mechanically going on with the sound waves.

    • Re: (Score:2, Insightful)

      because all server admins are busy 24/7?

      Server Admins are getting paid to 'watch' the servers. They have plenty of pseudo-free time. It's when stuff is breaking that they're busy. Not to mention a good admin in large server area will have software like that person had to watch drive latency.