|
Re: OS scheduling vs. VM scheduling: msg#00261lang.erlang.general
todd wrote: There is also a cultural issue thay may come up with threads That's largely because the cost for starting threads is so high. (Second on the list are the debugging difficulties.) The first is going to go away. The second is less of an issue with Erlang, and I think people will recognize that. I have run into this over and over. If your linux box suddenly had Agreed. Ulf Wiger wrote: I seem to recall it was about processes, but I may be wrong. Or maybe the journalist got it wrong :-) >> Erlang "threads" do not share memory (conceptually, even if they do in reality). This is That's usually handled via the usual warnings in the interoperability documents. I think that C code will respect this; and if there's any danger of having a problem here, the Erlang side could always hand out copies of the data instead of giving out the data itself. Actually this is the least of the worries invoved, talking to C or any other language will usually involve a conversion anyway. If the Erlang side doesn't rely on the foreign-format data being unchanged (and why should it?), there's nothing that can go wrong. Another implication is that the VM has to be made thread-safe. Exactly. The details that appear to have changed since then are the Currently, yes. However, that scheduler is a very sexy feature. The advice to keep the process count down permeates the Unix sysadmin literature; with the O (1) scheduler, this is no longer applicable, so entirely new ways of setting up Linux servers become sensible. So I expect that the various Unix vendors will pick that lead up pretty quickly, either voluntarily or under market pressure. Given that the code already exists, they'll probably be able to steal shamelessly (the algorithms if not the code), so it's going to take relatively little effort on their side; and with that "approved by Linus" seal on that software, they'll take the approach more seriously than research projects from academia. Of course, my magic predictive mirror is as distorted and cobwebby as that of anybody else :-) Regards, Jo -- Currently looking for a new job. |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: How do I find my own IP address?: 00261, Samuel Rivas |
|---|---|
| Next by Date: | Re: ANNOUNCE ex11 release two: 00261, Matthias Lang |
| Previous by Thread: | Re: OS scheduling vs. VM schedulingi: 00261, todd |
| Next by Thread: | Problems on Mac OS X 10.3: 00261, Stefan Mandl |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |