NetBSD-Current Gets SMP 41
MobyTurbo writes "NetBSD-current for the i386 architecture now has SMP. (It used to be that only FreeBSD had this feature among the free BSDs.) See the announcement
on the current-users mailing list."
I've noticed several design suggestions in your code.
x86 only? (Score:2)
I really want to try this out on my quad-proc Dreamcast.
</sarcasm>
Re:x86 only? (Score:1)
This can only be a good thing (Score:1)
Can't wait to see what FreeBSD does to top this!
Re:This can only be a good thing (Score:2, Informative)
Re:This can only be a good thing (Score:3, Informative)
Re:This can only be a good thing (Score:2)
Re:bad news for Linux? (Score:2, Interesting)
I guess it depends on what sort of enterprise application you are talking about. I am building a commercial router/content filtering system for corporations using NetBSD and am *very* happy with it.
NetBSD is small, robust, and fast. Creating customized installation media is a breeze and the networking code is fast (okay, I haven't benchmarked it against any of the 2.4 Linux kernels, but it *seems* faster). Hell, my full ISO to install NetBSD and all of the other supporting software is approximately 100MB, and that's with quite a bit of extra stuff thrown in, like the development tools, etc...
The one place that NetBSD needs some help is with the installation process ("you mean I need to know the geometry of my drive???!" and "what do you mean sshd isn't started by default from rc.conf???") but even that is easily overcome by creating simplified installation floppies.
As a recent convert to NetBSD (from FreeBSD from Linux), I have to say that I am very pleased with the NetBSD product... adding support for SMP can only make it better.
Re:bad news for Linux? (Score:1)
Also, at least one major company has used NetBSD in the past -- DEC, for their DNARD ("shark") systems.
Re:bad news for Linux? (Score:2)
As for journaling filesystems, NetBSD, alone among the BSDs, already offers one; though I'm not sure how mature it is. (The 1.6 release notes say that it's more stable now.) However, soft updates offer many of the advantages of the additional stability journaling filesystems bring. The main reason why journaling filesystems are sutch a big deal on Linux is because ext2 is such an unstable file system, especially with asyncronous metadata, compared to the Berkeley Unix FFS BSD uses. If you don't have asyncronous metadata, yet have the rest asynronous, the whole advantage of redundant metadata storage disappears as I understand it. Of course, you don't have to fsck most of the time with a journaled filesystem; this is the only advantage remaining. In my mind though it is, in practice rather than as a brag, for important 24/7 servers to recover more fast after a power outage; but if you need that kind of availability you should have a power genererator or at least a UPS to deal with the power outage in the first place.
I assume you're joking, since Debian is non-profit. NetBSD is owned by the NetBSD foundation, it's also non-profit, though Wasabi and others do manage to run businesses based on it. (After all, it has the Abbie Hoffman of software licenses - the BSD license, "Steal This Code".Re:bad news for Linux? (Score:1)
Re:bad news for Linux? (Score:2)
yawn (Score:4, Insightful)
1) unnecessarily powerful servers
2) unnecessarily powerful home braggart systems
database servers? sure. heavily loaded web servers? sure. file servers? NO. desktops? NO.
at least the scsi bigots will actually net some measurable performance increases if they drop some money on a 15k drive.
i sincerely hope openbsd continues to focus on OTHER things like openssh - you know, that thing you probably use every day of your life on your non-smp machine?. since most openbsd boxes are used as edge devices, the only big need for processing horespower is in crypto...
and that problem can be solved by purchasing a hifn-based pci crypto accellerator for $90 from soekris.com, thanks to openbsd's excellent hardware crypto accelerator support.
once you get past the crotch-grabbing aspect, low-end smp is not what most of the world would have you believe it is. high-end smp will likely get replaced by clustering of commodity hardware.
Re:yawn (Score:3, Interesting)
Ok, crazy guy.
I'll bite. I am currently running two SMP machines. Ok, one is for a DB server. Leave that one out of the question, it is actually underpowered for much of what it does, alas. I'm saving my pennies. The other however is my main desktop. It is not unecessarily powerful (2xPIII 600EB) compared to todays desktops systems, on the contrary, but I would never swap it for a single 1.2GHz (or even higher - a 2.8 P4 might get me thinking
The reason is simple. On my desktop I frequently have a number of concurrent processes running (Mozilla, compile, ogg player, a few ssh sessions and I might even fire up a game from time to time while I'm waiting for a compile to finish...). This kind of use shows what a boost "low-end" SMP can be - the system remains perfectly responsive way past loads that would have a similar "horse-power" single CPU system groaning - and that is very important for interactive desktop use. My box at the office is a single PIII 1 GHz, which should, on paper, hold its own quite well. It feels markedly more sluggish for desktop use.
SMP systems are little more prone to "pissing competition" type purchases than say, GeForces and P4. I don't know many people who can actually use all the horsepower of modern systems on the desktop, be it under *BSD or Linux. As someone once said, todays desktops just "wait faster". At the moment at least I'd take a lesser CPU 2-way SMP system over a more powerful single CPU for my desktop anyday.
a cpu does not a system make (Score:1)
that aside, i'd love to see a single metric (really, just one) where a 1.2ghz p3 would get outperformed by 2 underclocked tualatin p3s (to make the competition fair - they'd blow the 600ebs away) on the exact same rig.
2x600mhz != 1.2ghz. it's more around 900mhz average, if you're lucky.
Re:yawn (Score:1)
Port to OpenBSD soon perhaps? (Score:3, Interesting)
I wonder if this means OpenBSD will soon have SMP capability? Anyone have any thoughts? Inside information?
Re:Port to OpenBSD soon perhaps? (Score:1)
Re:Port to OpenBSD soon perhaps? (Score:2)
Chris
Re:Port to OpenBSD soon perhaps? (Score:1)
netbsd and smp (Score:4, Informative)
Wow! (Score:2, Funny)
(Note to moderators: Not a troll - just an sad attempt at humour. I'm writing this from my FreeBSD 4.6.2-RELEASE box...)
Silly BSD question / Mac question (Score:1)
At work I have a dual processor 'Windtunnel' Apple Mac running Mac OS X. Does this not count as SMP? Or have I misunderstood the term?
(Dawin is of course a flavour of BSD)
Re:Silly BSD question / Mac question (Score:3, Informative)
Of course this is NET-BSD not BSD. FreeBSD I believe has had SMP support for a while now. FreeBSD is more like Darwin / Mac OS X than NetBSD. Also they are referring to the i386 which is way different from Mac which uses the motorola processor.
NetBSD runs on just about all processors out there, does Mac OS X? No and neither does FreeBSD. That is what the whole NetBSD project is about. Mac OS X is about a pretty gui on the foundations of UNIX / BSD. Kinda about time someone did what Mac did, but then again about a year before Apple announced their plans of OS X I suggested that someone put a nice GUI on UNIX. Guess what. They listened and now everyone is really taking to Mac.
Re:Silly BSD question / Mac question (Score:2)
Now MacOS, which runs on top of Darwin, has a slightly different heritage. It comes from BSD, but I believe it derives from a pre-386BSD branch (although they have incorporated many imporvements from NetBSD, then FreeBSD). It probably it pretty directly decended from LITES, a BSD "personality" which ran ontop of the MACH microkernel. That doesn't necessarily mean that LITES or Darwin is a Microkernel system - rather, they are a "single server" - a single kernel hosted ontop of the MACH subsystems. This means it takes advantage of MACH VM architecture, and probably MACH hardware drivers, but it doesn't take advantage of MACH message passing or other mk technologies.
Much like Windows NT was designed as a microkernel, they ended up defeating the micrkernel architecture to preserve system performance, without wasting previous effort. In this case, the previous effort was from NeXTSTEP, which also ran ontop of MACH. Then Apple incorporated updates to MACH (2.5 to 3.0) IIRC, BSD (4.3 to 4.4) and OpenStep... and every other technology that came since.
There is much more info to google for, but I believe I have thorougly answered your question. Just remember, there is traditional BSD (usually referring to BSD4.4, as opposed to AT&T SYSV) and there is Post-UCB unencumbered BSD (usually 386BSD derived legally unencumbered forks under a "BSD" style Free Software license).
Real SMP? Or does it just "see" more cpu's? (Score:2)
Hmm... Time to scour off the netbsd-current@ mailinglists again for answers...