SMP On OpenBSD, Coming Soon 321
Lord of the OpenBSD writes "At long last, SMP development on OpenBSD looks to be gearing up. One person is now doing full-time funded development on SMP. Project leader Theo de Raadt is now asking for funding for a second developer. Theo has announced that SMP support for i386 is planned for the OpenBSD 3.6 or 3.7 release, the first of which is due in 8 months."
Yet another modern feature added to *BSD (Score:1, Informative)
Re:smp? (Score:4, Informative)
How they'll get around this, I don't know. It's good to see the coding and experience getting out there and used all the more however.
Re:smp? (Score:5, Informative)
-Truth
Re:Interesting... (Score:5, Informative)
irrelevent (Score:0, Informative)
it's not "porting" (Score:5, Informative)
SMP touches every aspect of the kernel (scheduling, VM, VFS, etc.). Each OS is different internally and so you can't just rip code out of one and put it into another. It's not simply copying over a sub-directory and changing a couple of kernel system calls.
You have to pour over a lot of the files and make all the data structures are written to and read from correctly.
There's also more than one way to do SMP so how do you know whether he's "reinventing the wheel", or coming up with a novel approach?
Re:SMP is good, but what about pkg management? (Score:2, Informative)
There's a reason OpenBSD has nice man pages and FAQ - they're for learning how the OS works.
Re:smp? (Score:5, Informative)
1. All potential security-relevant race conditions must be handled. A single processor system can never do two things at exactly the same time. A dual processor one can. OpenBSD wouldn't be OpenBSD if that would be allowed to affect the system's integrity.
2. Given the choice of an small project, that increases security, and a big one that probably will lower it, Theo will choose the one that increases security. Dual-processors are not a major concern to OpenBSD's core users, so support can wait until other things get done.
Re:Interesting... (Score:3, Informative)
Privsep: Makes sure that only the code that needs to be root is run as root.
WorX: Makes sure that data cannot be executed as code. (Memory pages are either executable or writable, not both)
There are other features like them, that add to the security of the system. OpenBSD is better at firewalling than FreeBSD because of them; it is harder to break any port or access that is allowed/found into a security lapse. And any security lapse will be as limited as possible.
FreeBSD is descent at this. The standard level of security is available. OpenBSD is positively paranoid. That's a good thing when anyone can throw anything at it...
Felix von Leitner's "Benchmarking BSD and Linux" (Score:1, Informative)
I wish I could refute this, but IIRC, a series of I/O benchmarks were run on the major OS players a while ago and OBSD did pretty terribly.
The money quote from the Conclusion of Felix von Leitner's Benchmarking BSD and Linux:
Re:Yet another modern feature added to *BSD (Score:3, Informative)
Re:Is this necessary? (Score:5, Informative)
I am really sorry but have you even used OpenBSD recently? I installed OpenBSD 3.4 last month on a small server at home and installing third-party software was as simple as:
For a package: For a port: And... that's it!
Could you please explain to me how this is difficult?
Re:Yet another modern feature added to *BSD (Score:3, Informative)
Re:What ever happened to..? Water..who? (Score:1, Informative)
Re:What Will Theo Use Processor 2 For? (Score:4, Informative)
If he were going to use the extra processors for nothing but crypto, (a) he'd be wasting them since crypto doesn't take that much CPU by today's standards and (b) it wouldn't be called SMP.
Re:Yet another modern feature added to *BSD (Score:3, Informative)
Re:Yet another modern feature added to *BSD (Score:5, Informative)
However, I'd have to disagree with FreeBSD being the technological leader of the bunch. It's an excellent system, and is the most widely used/commercially supported of the three (or six, with ekko, DFly, and Darwin). However, I see NetBSD being much more advanced for a few reasons:
The point is this: NetBSD is the `forgotten' unix in many ways, and I, for one, find that sad. I think all the BSDs, along with Linux, will be around for some time. NetBSD, though, is simply the bliss that I, too, nearly overlooked.
Re:Yet another modern feature added to *BSD (Score:3, Informative)
Qualify that: FreeBSD has had "mergemaster", which semi-automatically upgrades your /etc (and even walks you through merging changes) for a long time. I'm not sure with Open and Net haven't imported it yet, or at least hadn't when I last looked, but at least one BSD currently enjoys easy /etc upgrades.
Re:Yet another modern feature added to *BSD (Score:2, Informative)
All that crypto and random goodness doesn't come for free.
True enough, but with a ~US$90[0] Soekris crypto accelerator [soekris.com] it's damn close
[0]- when I bought mine in mid 2002
Re:SMP is good, but what about pkg management? (Score:2, Informative)
>
> added or deleted since the last version.
try mergemaster. when you become better accustomed to the process and have decent tools, i think you'll prefer it to debian.
cd
sudo make install
sudo mergemaster
Re:What Will Theo Use Processor 2 For? (Score:3, Informative)
I really can't see the point. For $100 you can buy a PCI crypto card that would do 3DES as fast as most would ever need.
Or they can just act as an incredibly fast random-number generator (something CPUs aren't very good at) if you are doing some crypto that the card doesn't support (blowfish isn't popular in hardware, yet).
Re:roots (Score:5, Informative)
Myth. Linux does (and has for many years) run on just as many platforms as NetBSD. Most of NetBSDs "platforms" are actually just variants on a single architecture. Thus while NetBSD counts atari and amiga as separate ports, Linux just treats them as part of a single Linux/m68k port. In fact, NetBSD runs on two architectures that aren't currently supported by Linux (ns32k and vax), whereas Linux run on five that aren't supported by NetBSD (mips64, ppc64, s390, sh4 and etrax). I'm not trying to put down the worthy efforts of the NetBSD community, but I just get a bit fed up with people claiming that it's more widely ported than Linux. It was true in the past, but hasn't been for some time.
Re:'asking for funding' (Score:3, Informative)
Re:roots (Score:3, Informative)
It is probably true that Linux does run on more systems than NetBSD, but the support is fragmented and disparate at the best. This is the essential and important distinction.
NetBSD ensures that the one overall "package" (kernel + user space) works equivalently across a set of platforms. Your installation (executables, directories, config, etc) are largely equivalent across all platforms: take your custom scripts and system setup and find that it can be dropped onto NetBSD/other with little cost.
This is definitely not the case with Linux as each platform largely a different and somewhat incompatible distribution.
Linux strength is that you can find a large and interesting variety of distributions for all sorts of specific niches and purposes. It's weakness is that you can't find the one distribution that works across many platforms. And this is the niche that NetBSD has.