Juggling Molecules with Linux 111
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?"
Why do we have this statement? (Score:2)
I do not see why.
Re:Why do we have this statement? (Score:1)
Re:Why do we have this statement? (Score:5, Funny)
Re:Why do we have this statement? (Score:3, Funny)
Because this is Slashdot.
The slam on Microsoft is compulsory.
Re:Why do we have this statement? (Score:3, Insightful)
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.
Re:Why do we have this statement? (Score:2)
Microsoft oppose Linux (Score:2)
In other words, it is good that Linux exists for specialist projects and any attempt to ban Linux (eg. by patenting algorithms used in the Linux kernel and making it illegal to distribute) would have harmful effects on society, making these sort of experiments much more diff
Welcome to our reality (Score:2)
Re:Welcome to our reality (Score:2)
Please tell me, what's your reality like?
Re:Welcome to our reality (Score:2)
Try this experiment: Make a mild comment about Windows being better than Linux. Then a few days later post the exact same comment with the words Linux and Windows swapped. See which comment is modded as Flamebait or Troll and which is modded Insightful or Informative.
Mod Parent Up (Score:2)
Re:Why do we have this statement? (Score:5, Informative)
Actually the BSOD is the least of the problems, with lags and leads being the primary problem.
Re:Why do we have this statement? (Score:2)
Re:Why do we have this statement? (Score:2)
Re:Why do we have this statement? (Score:1)
Re:Why do we have this statement? (Score:3, Funny)
Re:Why do we have this statement? (Score:2)
Of course I thought it's the infamous Windows native Blue Screen of Death! Any query among computer users on this will support me on what BSOD stands for.
Re:Why do we have this statement? (Score:3, Funny)
But that wouldn't have been a whole new meaning!
Re:Why do we have this statement? (Score:2)
Finally Linux... (Score:2, Funny)
DOS (Score:2)
Re:DOS (Score:2)
Re:DOS (Score:2)
Meh (Score:5, Funny)
Re:Meh (Score:2)
That wasn't flour, it was cocaine! Why do you think he was doing it?
Re:Lunix! (Score:1)
The Lunix are on the grass! (Score:4, Funny)
The lunix is on the grass
Remembering games and daisy chains and laughs
Got to keep the lunix on the path
-- Fink Ployd.
Still not modded down? (Score:1)
Are you sure you're on the right site, buddy?
Re:Lunix! (Score:1)
Incomplete quote (Score:2)
Not really... (Score:1, Funny)
Re:Not really... (Score:1)
Dr. Torvalds... (Score:3, Funny)
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!
Realtime Linux on the desktop. (Score:5, Interesting)
Re:Realtime Linux on the desktop. (Score:3, Informative)
Re:Realtime Linux on the desktop. (Score:2, Interesting)
Linux 2.6 kernel with RT patches amongst other low-latency desktop improvements.
Re:Realtime Linux on the desktop. (Score:4, Insightful)
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.
Re: Your sig (Score:1)
Not sure about this.. (Score:5, Interesting)
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?
Re:Not sure about this.. (Score:2)
A truly real-time system can actually be slower because even if it's ready to respond, it still has to wait until the appropriate time to do so. It like batting in baseball: swinging too early is just as bad as swinging too late.
Re:Not sure about this.. (Score:2, Insightful)
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,
Re:Not sure about this.. (Score:2)
Re:Not sure about this.. (Score:2)
For everything else, standard latencies are more than enough (like if you're watching a video in a window in the upper right corner, that's probably not going to skip just because the UI event loop is kicking in, and if it did the user still prefers to get the fast action response because that's where his/her attention is.)
Re:Not sure about this.. (Score:1)
Still waiting for ... (Score:2)
Re:Still waiting for ... (Score:2)
Re:Still waiting for ... (Score:1)
Riding on elephants' backs! Just trampling, eating, outcomputing, and laserifying everything they see!
Victor Yodaiken if a Patenting Pest (Score:2, Informative)
rtlinux (Score:1)
Laser Traps (Score:4, Interesting)
I mean, it's great that they're using a realtime kernel, but they really shouldn't NEED it.
Re:Laser Traps (Score:2)
Just for your information: the classical picture of a laser trap always presented actually is only a so called optical molasse, it will slow down molecules, but cannot trap them. (its actually quite obvious, think about the balance of force on the particle as its speed aproaches 0... it can be descriped by a modification of the stokes formula for objects in fluids)
For real confinement, you need futher stuff, for example quadrupol coils for a penning type trap, ect.
I dont know what exactly
Re:Laser Traps (Score:2, Funny)
Re:Laser Traps (Score:2)
They're timeslicing, using one laser to build multiple traps. So they trap one sphere, then switch to another, then back to the first before it drops.
Re:Laser Traps (Score:2, Informative)
From the art
delay tolerance? (Score:2)
It is a little odd that they talk about 1 millisecond, when the time between interrupts is 50 microseconds. To miss for "even" 1 millisecond would mean missing 20 interrupts! That's just some hype, IMHO. What I find
Re:delay tolerance? (Score:4, Informative)
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.
Re:delay tolerance? (Score:2)
Re:delay tolerance? (Score:2)
Any non-deterministic behavior (or deterministic behavior too complex to be considered in a real-time software design) will still trip you up.
Why use any OS? (Score:1)
I mean, rah-rah-go-linux... but sounds like a dramatic over-use of power. Why one would use a modern OS to perform tasks that should be handled by dedicated hardware
Re:Why use any OS? (Score:2)
Re:Why use any OS? (Score:2)
"CASH!!"
Software = Cheap/flexable.
Hardware = expensive/rigid even FPPGA.
Wrong title (Score:5, Funny)
Should read:
"World's fastest Linux-based laser trap"
RT Linux fast enough for a juggler... (Score:2, Funny)
Re:RT Linux fast enough for a juggler... (Score:2)
"Finally, a valid use for Linux" a certain well-known OS development rival group was heard to say - apparently beleaguered by mimes performing outside their Redmond HQ for spare change, the possibilities of trapping mimes in boxes using lasers controlled by RTLinux has intrigued
molecule juggling available with FC3 (Score:4, Funny)
What if it crashes? (Score:2, Funny)
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
Re:What if it crashes? (Score:2)
QNX - for really low latency (Score:5, Informative)
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. [linuxdevices.com] 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.
Re:QNX - for really low latency (Score:3, Interesting)
Because 10ms is hardly a latency to brag about... for any os...
Re:QNX - for really low latency (Score:3, Interesting)
Re:QNX - for really low latency (Score:1)
Re:QNX - for really low latency (Score:3, Interesting)
I juggle molecules all the time! (Score:1, Funny)
Of course, I usually juggle lots of them at once.
Juggling molecules eh? (Score:2)
Random Amiga sour-grapes (Score:2)
The Amiga had CPU clock-cycle-precise interrupts. IE, the very slowest 1985 Amigas (A1000) could throw interrupts every 1/7.16MHz seconds, or about 140 nanoseconds. 2005 Linux has an interrupt precision of 50 microseconds.
Way to go, RTLinux! You are now only 2800 times slower than a 20 year old box. Not that any other system is better...
Re:Random Amiga sour-grapes (Score:2)
Obligatory Doc. Evil ref (Score:1)
Tetris with micro beads. (Score:3, Interesting)
Foreget Linux, Lets Hear it for Physics! (Score:4, Interesting)
How interesting. I just saw a lecture by one of the men that won a nobel prize [nobelprize.org] for this very thing, Steven Chu [stanford.edu]. What is being done here is essentially what is called Optical Tweezers [stanford.edu].
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:
-SteveAlmost Absolute Zero == Essentially No Movement == Essentially "Frozen" Object
quote taken out of context.. (Score:1)
Not a very patient porn-surfer, are we?