Slashdot Mirror


Juggling Molecules with Linux

An anonymous reader writes "This article at LinuxDevices.com describes an interesting project at the University of Vermont in which researchers use real-time Linux to build a laser trap that manipulates individual molecules by means of a computer-controlled laser beam. The project makes use of RTLinux, a real-time enhanced version of Linux that allows the system to process interrupts every 50 microsecond, sample new data, and timeshare the laser beam position. 'If the computer failed to respond, for even a millisecond, then we would drop the balls,' explained one of the researchers. Gives a whole new meaning to BSOD, eh?"

31 of 111 comments (clear)

  1. Finally Linux... by PlancksCnst · · Score: 2, Funny

    ...is doing something useful. Just kidding! Don't kill me. Mod Flaimbait, please

  2. Meh by Shadow+Wrought · · Score: 5, Funny

    When it's juggling a molecule, a bowling ball, and a chainsaw, then I'll be impressed;-)

    --
    If brevity is the soul of wit, then how does one explain Twitter?
  3. Re:Why do we have this statement? by TripMaster+Monkey · · Score: 3, Funny


    Because this is Slashdot.

    The slam on Microsoft is compulsory.

    --
    ____

    ~ |rip/\/\aster /\/\onkey

  4. Dr. Torvalds... by Tackhead · · Score: 2, Funny
    > This article at LinuxDevices.com describes an interesting project at the University of Vermont in which researchers use real-time Linux to build a laser trap

    Dr. Torvalds: You know, I have one simple request... and that is to have penguins with frickin' laser beams attached to their heads. Now evidently, my megaloptic Naval colleage informs me that IT'S A TRAP!

    /one ticket to hell please.

  5. Realtime Linux on the desktop. by CyricZ · · Score: 5, Interesting

    I know several researchers who have been using realtime Linux on the desktop while performing studies regarding the user experience of systems with minimal latency. Their preliminary findings are that users much prefer the instantaneous response that a realtime system offers, even if the system does not perform as well when it comes to raw data crunching. For future desktop systems, heavily multithreaded, realtime apps are the way to go.

    --
    Cyric Zndovzny at your service.
    1. Re:Realtime Linux on the desktop. by akozakie · · Score: 3, Informative

      That's also the main selling point for desktop dual-core chips - without a realtime OS the second processor keeps the GUI running smoothly even under load. I sometimes use my friend's old dual Pentium 300, and under load it actually feels marginally faster than my (way faster) single chip Athlon. If the price, noise and energy consumption weren't so high I'd buy one for home use - and dual core may be the solution to those problems (plus, dual-core notebooks are a possibility, dual-chip - hardly). I also worked with QNX - nice...

      In short - I want realtime Linux on my desktop NOW! I wish I wasn't that lazy and would actually do something about it...

    2. Re:Realtime Linux on the desktop. by Anonymous Coward · · Score: 2, Interesting

      http://www.love-sources.org/news.php

      Linux 2.6 kernel with RT patches amongst other low-latency desktop improvements.

    3. Re:Realtime Linux on the desktop. by digidave · · Score: 3, Insightful

      "What? Users like fast systems? What a breakthrough study!"

      No, it turns out that users actually prefer trading off calculation speed for a quicker GUI. So even if doing a major spreadsheet export takes a few seconds longer, it's the speed of the menu, resizing windows, etc that makes a difference to them.

      --
      The global economy is a great thing until you feel it locally.
  6. Re:Why do we have this statement? by PopeAlien · · Score: 4, Funny

    yes, and TFA is wrong they're actually using MS Linux which includes the BSOD feature. Also all the operators are clad in blue body paint and if the molecule is dropped a huge blue screen falls from the sky and crushes them to death.

  7. Victor Yodaiken if a Patenting Pest by Anonymous Coward · · Score: 2, Informative

    Victor Yodaiken (who wrote TFA) is the clown who patented his technique for implementing RTLinux. I much prefer RTAI for real-time linux, both because it is IMO a superior implementation, a better license, and it doesn't give support or credibility to Yodaiken.

  8. Re:Why do we have this statement? by MarkByers · · Score: 2, Insightful

    I don't think it's paticularly a 'slam on Microsoft'. Imagine if the system crashed while a moecule was half-constructed and you had to reboot and start all over. Use the right tool for the right job.

    There's nothing wrong with Windows as a games machine and for light word processing, but it's not suitable for everything. Maybe the submitter could have expressed themselves better.

    --
    I'll probably be modded down for this...
  9. Laser Traps by richardmilhousnixon · · Score: 4, Interesting

    I was under the impression that the whole idea of a laser trap is that you CAN'T drop the ball. Small particles get trapped in the beam due to photon pressure, if the particle shifts away from the center of the beam, it automatically is recentered. Then you can move the beam to manipulate the particle which is attached to a molecule. They use these to fold and unfold proteins, lipid layers, DNA, etc.

    I mean, it's great that they're using a realtime kernel, but they really shouldn't NEED it.

    --
    -- sometimes AND gates turn me on.
    1. Re:Laser Traps by ZagNuts · · Score: 2, Informative

      I was under the impression that the whole idea of a laser trap is that you CAN'T drop the ball. Small particles get trapped in the beam due to photon pressure, if the particle shifts away from the center of the beam, it automatically is recentered. Then you can move the beam to manipulate the particle which is attached to a molecule. They use these to fold and unfold proteins, lipid layers, DNA, etc. I mean, it's great that they're using a realtime kernel, but they really shouldn't NEED it

      From the article:
      "In other experiments, researchers use the laser beam to apply minute forces to the beads and to the connected myosin molecule."

      They need real time feedback in order to compensate for motion caused by applied forces that might push the molecule out of the focal point of the laser.

      They may also be using realtime feedback to continually focus the laser since very small variations can cause changes large enough to drop the molecule (although I believe many of these systems use purely electronic/optical means to do this).

    2. Re:Laser Traps by kccricket · · Score: 2, Funny

      I dunno. I think they'd get better results if they reversed the polarity on their trap coil couplers.

      --
      * chirp * chirp *
  10. Wrong title by Spy+der+Mann · · Score: 5, Funny

    [note to mods: If you don't get the joke you should read the other headlines on today's index]

    Should read:

    "World's fastest Linux-based laser trap" ;-)

  11. RT Linux fast enough for a juggler... by Anonymous Coward · · Score: 2, Funny

    ...but does it have enough horsepower to generate a mime trapped in a box? I doubt it.

  12. molecule juggling available with FC3 by pomakis · · Score: 3, Funny

    Fedore Core 3 comes with an application for juggling molecules. It's called "katomic". It actually allows one to assemble molecules from its constituent atoms. The miracles of modern science never cease to amaze me.

  13. What if it crashes? by rice_burners_suck · · Score: 2, Funny
    Gives a whole new meaning to BSOD, eh?

    You want a BSOD, eh? How about this: You build a gun that has an actuator attached to the serial port of a computer running Windows NT. The computer sends, via the serial port, a watchdog-style "keep alive" signal, say, every 100 microseconds. The actuator is designed such that once powered on, if the watchdog timer skips a single beat or delivers it too late, the gun is fired.

    At this time, a volunteer (say, Gill Bates) would be tied to a chair and placed in front of this gun, while the Windows NT system runs Exchange and IIS, and while a user browses pr0n sites via Internet Explorer. This is, actually, quite a safe experiment, as we all know that Windows NT never crashes.

  14. The Lunix are on the grass! by HermanAB · · Score: 3, Funny

    The lunix is on the grass
    The lunix is on the grass
    Remembering games and daisy chains and laughs
    Got to keep the lunix on the path

    -- Fink Ployd.

    --
    Oh well, what the hell...
  15. QNX - for really low latency by Animats · · Score: 4, Informative
    Here's what comparable numbers look like for QNX: QNX.

    For a 200MHz Pentium (this is an old review), the testers tried sending one billion interrupts with a latency check. When they required 8 microsecond latency, they missed one interrupt in a billion. When they only needed 10ms latency, they didn't lose any.

    Comparable figures are available for various real-time Linux systems. Note that these figures are for a 650MHz CPU. The times are slightly better than for QNX, but the CPU is 3x faster.

    Bear in mind that "RTLinux" programs aren't running under Linux. They're running below Linux. They can't make most system calls, for example. QNX programs are ordinary programs, and can make system calls.

    The Linux 2.6 kernel isn't bad, though. Running real-time with millisecond response as high-priority Linux threads can actually work in 2.6. In 2.4, no way. You have to be very careful not to load any high-latency drivers, though.

    1. Re:QNX - for really low latency by imsabbel · · Score: 2, Interesting

      One question: Typing error on your side? Do you mean 10ms or 10 us?
      Because 10ms is hardly a latency to brag about... for any os...

      --
      HI O WISE PRINCE. WHT TOOK U SO DAM LONG?
    2. Re:QNX - for really low latency by Animats · · Score: 2, Interesting

      Sorry, 10us.

    3. Re:QNX - for really low latency by Animats · · Score: 2, Interesting

      Yes. When they only needed 10us latency, they didn't lose any. And that was on a 200MHz CPU.

  16. Re:Why do we have this statement? by maxwell+demon · · Score: 2, Funny

    BSOD = Ball Shouldn't Occasionally Drop. I've never seen this meaning before, so it's new. Of course it has nothing to do with Windows (you didn't think it had, did you?) ;-)

    --
    The Tao of math: The numbers you can count are not the real numbers.
  17. Not sure about this.. by Da+VinMan · · Score: 4, Interesting

    I don't dispute your friends' findings, but I'm wondering why a RT based OS would really improve the user experience?

    Here's why I ask: A RT system is typically real time for some dedicated purpose. Not all pieces of the system have to be RT; just the important bits. Now, an average user PC is NOT a specialized device at all. It can be running a number of applications and, except for cases where a given process has a higher priority, all the processes typically get an opportunity for equal time from the CPU. A desktop system with a RT OS would also fit this description too, right?

    Now, given that: where's the RT aspect in all of this? What's actually RT in this situation? The pre-emptive multitasking loop? The UI event/response loop? The IO loop (assuming you could describe it that way)? The video update loop? What about this would give the user a better experience?

    --
    Please mod this post only if you think others should/n't read this. I have enough ego^H^H^Hkarma. Thanks!
    1. Re:Not sure about this.. by BGA · · Score: 2, Insightful

      Being RT means it has predictable response times. If some specific operation is said to take 10 ms to complete you can count that as being always true and this is what makes RT systems special. That's why it would be *VERY* difficult to have a "partial" RT system like what you decribe. Either it is RT or it is not.

      That said, recently we had some flexibility on the Rt definition and we ended up with definitions for systems that are "hard RT" and "soft RT". The first case is what I described (QNX is hard RT, for instance). The second one is a system that provides extremelly low latency times but they are not really predictable, although the average time is (BeOS - now Zeta - is said to be soft RT).

  18. Re:Why do we have this statement? by monopole · · Score: 4, Informative

    If you ever had to perform real time processing using Microsoft Windows you would regard the comment as kind. Windows employs a constant blizzard of interupts which makes response times unpredictable at this scale.

    Actually the BSOD is the least of the problems, with lags and leads being the primary problem.

  19. Re:delay tolerance? by ClosedSource · · Score: 3, Informative

    Yes 1 millisecond is pretty slow. On the Atari 2600 we used to meet a .84 microsecond timing requirement with a 1.19 MHz processor.

    In any case I don't think many people on Slashdot understand that tough, classical real-time software can't really run on a PC (or Pentium processors for that matter) no matter what OS is used.

    The key to real-time software isn't speed, it's deterministic timing. Once you have a cache involved, it's pretty much game over. Unless, of course, your timing requirements are several orders of magnitude slower than the time it takes the processor to execute an instruction. In that case the non-deterministic behavior may be swallowed up by the large gaps between real-time events.

    Nevertheless there may still be the possiblity of memory management accessing the disk and blowing your timing away.

  20. Re:Why do we have this statement? by maxwell+demon · · Score: 2, Funny
    Of course I thought it's the infamous Windows native Blue Screen of Death!

    But that wouldn't have been a whole new meaning!
    --
    The Tao of math: The numbers you can count are not the real numbers.
  21. Tetris with micro beads. by ezzzD55J · · Score: 2, Interesting

    A friend of mine implemented tetris using a laser to trap 1 mirometre glass beads. Short story + picture + video here. More explanation here.

  22. Foreget Linux, Lets Hear it for Physics! by frenchs · · Score: 3, Interesting

    How interesting. I just saw a lecture by one of the men that won a nobel prize for this very thing, Steven Chu. What is being done here is essentially what is called Optical Tweezers.

    The way this works is that the laser is fired, in timed pulses at a molecule. When the laser hits it from an opposing direction, it starts to cancel out the kinetic energy that the molecule has, and therefore cooling it. (I think it was something to the order of 2.0 × 10^-06 degrees above absolute zero).

    In a nutshell, this is what is going on:
    Almost Absolute Zero == Essentially No Movement == Essentially "Frozen" Object

    -Steve