Slashdot Mirror


OpenBSD 4.9 Released

An anonymous reader writes "The release of OpenBSD 4.9 has been announced. New highlights included since 4.8: enabled NTFS by default (read-only), the vmt(4) driver by default for VMWare tools, SMP kernels can now boot on machines with up to 64 cores, support for AES-NI instructions found in recent Intel processors, improvements in suspend and resume, OpenSSH 5.8, MySQL 5.1.54, LibreOffice 3.3.0.4, and bug fixes." Also in BSD news, an anonymous reader writes "DragonFly BSD 2.10 has been released! The latest release brings data deduplication (online and at garbage-collection time) to the HAMMER file system. Capping off years of work, the MP lock is no longer the main point of contention in multiprocessor systems. It also brings a new version of the pf packet filter, support for 63 CPUs and 512 GB of RAM and switches the system compiler to gcc 4.4."

137 comments

  1. Why is NTFS read only. by jack2000 · · Score: 4, Funny

    Why is NTFS always read only. It shouldn't be so hard to make a proper file system driver what the hell?

    1. Re:Why is NTFS read only. by Anonymous Coward · · Score: 2, Insightful

      If it's so easy, and you seem to care, can we expect your diff on misc@ in the next few days?

    2. Re:Why is NTFS read only. by Phibz · · Score: 3, Informative

      You do realize that NTFS is completely closed source right? All the work on it has been done through reverse engineering.

    3. Re:Why is NTFS read only. by Anonymous Coward · · Score: 0

      You do realise NTFS has been writable by Unix/Linux for a number of years,so his question is a bloody good one. Why the hell does anyone persist in read only nonsense?

    4. Re:Why is NTFS read only. by DarkOx · · Score: 4, Informative

      Add to that a few other fun things

      1.Multiple versions of NTFS with subtle changes
      2.Its a complex file system with lots of features, some of which are not even used by windows but you still have to take care of the on disk data correctly.
      3.The security scheme does not cleanly map onto UNIX style rules even with ACL support and such.

      NTFS is by no means avant guard but its by any means simple and without documentation figuring out its internals completely and correctly is a BIG job. Now why they can't gleen allot of that from the Linux source I don't know. I know they can't use the Linux source because of the GPL being incompatible with BSD maybe there is a contamination concern.

      --
      Repeal the 17th Amendment TODAY! Also Please Read http://www.gnu.org/philosophy/right-to-read.html
    5. Re:Why is NTFS read only. by Anonymous Coward · · Score: 0

      licensing issues.

    6. Re:Why is NTFS read only. by hedwards · · Score: 3, Insightful

      Contamination isn't normally an issue for kernel code, they can always cram it in its own corner of the code and not include it in binaries by default.

      Without being involved with the discussions its hard to say, but I've personally found Linux filesystem code to be less than reliable. But there's also the issue of that it would have to pass their auditing to be included in the base install, there's a reason why they have so few base exploirts.

    7. Re:Why is NTFS read only. by DaMattster · · Score: 2

      This is done so that there is no risk of corrupting the NTFS File System. If you ask me, this is a good idea. What is so bad about simply copying the data you need onto your BSD4.4 File system?

    8. Re:Why is NTFS read only. by Hognoxious · · Score: 4, Funny

      NTFS is by no means avant guard

      Just like your knowledge of French, it would seem.

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    9. Re:Why is NTFS read only. by JamesP · · Score: 2, Insightful

      They can post, but TDR will never accept it. NEVER!!11 (insert maniac laughter)

      OpenBSD is knows for things like throwing away wireless drivers, for example.

      --
      how long until /. fixes commenting on Chrome?
    10. Re:Why is NTFS read only. by phantomcircuit · · Score: 3, Informative

      NTFS is only writable on linux though NTFS-3G, the write support in the kernel only works if the file size doesn't change.

    11. Re:Why is NTFS read only. by drolli · · Score: 2

      a) yes it is hard to make a proper (*) file system "driver"

      b) its not getting easier by the file-system being closed source

      (*) proper here means: will under no circumstances behave in a way that you loose data trough silent corruption, as opposed to: will not normally loose data obviously after using if for a few hours.

    12. Re:Why is NTFS read only. by Anonymous Coward · · Score: 0

      That's a bullshit excuse and you know it.

    13. Re:Why is NTFS read only. by ChunderDownunder · · Score: 1

      if ReactOS would adopt a BSD filesystem-to-rule-them-all then ntfs goes the way of the dodo.
      Some clever soul then slipstreams that code into your Win8 installer as a root fs driver and world domination ensues. :-)

    14. Re:Why is NTFS read only. by mlts · · Score: 5, Informative

      Those are important items, especially #1. There are a lot more which make life hell for someone trying to get NTFS to work fully as a supported filesystem for a UNIX based OS. A few more:

      4: Alternate data streams. It is common for malware to add an ADS onto a file, a directory, a junction point, or even the C: drive object itself. Without a dedicated utility that snorts out these, they are essentially invisible.

      5: Like #1 above, NTFS changes in undocumented [1] ways. For example, EFS changed to add different encryption algorithms between Windows XP and Windows XP Service Pack 3. So, not knowing that may bring someone a world of hurt.

      6: Similar to #3, NTFS's ACLs are hard to reimplement in the UNIX world. U/G/O permissions can be mapped (Cygwin does this).

      7: For a filesystem to be usable as a production one, it needs a filesystem checking utility that can go through the whole filesystem and check/repair integrity on every part of it, be it mostly unimplemented/unused items (transactional-NTFS), features off the filesystem (NTFS compressed files, EFS), and many other items.. Yes, there are ways to run Windows's chkdsk.exe utility, but that is a hack at best.

      One of the biggest problems with operating systems today is that there are no compatible filesystems beyond FAT and FAT32. Perhaps UFS. Either one filesystem has too much patent encumbrance to be used, or its license.

      I wonder how easy life would be if we had a standard filesystem that could replace the LVM (similar to ZFS), offer modern features (deduplication, encryption, 64-bit checksumming [2], encryption, compression (various levels), snapshotting [3]. On an LVM level, it would be nice to have mountable disk images similar to OS X's sparse bundles. If something changes on the encrypted drive, only a few bands change, as opposed to having to back up the whole file.

      Life would be easier if every OS out there had a common filesystem with modern features. A good example about how useful this would be would be antivirus scanning. Unpresent a LUN from a Windows server, scan it on a Solaris box for malware, then re-present it, for example.

      [1]: Undocumented unless you are elite enough to have the MS source code handed to you, all work on the filesystem is all reverse engineering.

      [2]: Backup programs would have it easy and not rely on dates or archive bits... just look for files where the checksum has changed and back those up just like the -c option in rsync.

    15. Re:Why is NTFS read only. by clang_jangle · · Score: 1

      Why is NTFS always read only. It shouldn't be so hard to make a proper file system driver what the hell?

      In FreeBSD you can enable write support and recompile your kernel, not sure about OpenBSD. I always wondered why default kernels in BSD and Linux don't just enable all well-supported filesystems to be available rw by default. Let the burden be on people who want the two second advantage in booting or something, rather than those of us who are trying to do something as basic as access our data.

      --
      Caveat Utilitor
    16. Re:Why is NTFS read only. by rubycodez · · Score: 2

      you do realize NTFS-3G had horrible bugs until this month, look at the fixed list of the april 11, 2011 release. I wouldn't have touched that shit with a ten foot pole until two weeks ago. And it might still have some major problems.

    17. Re:Why is NTFS read only. by poetmatt · · Score: 1

      wha? he was exactly right. NTFS isn't innovative, it's deliberately not cross-compatible.

    18. Re:Why is NTFS read only. by webmistressrachel · · Score: 1

      This post makes me ashamed to troll slashdot. I hope you get run over by a bus full of Jamaican tourists before you can post another... blind justice and all that...

      --
      This tagline was transcoded to result in at least one smirk. If you experience failure to smirk, please consult your Gen
    19. Re:Why is NTFS read only. by webmistressrachel · · Score: 1

      I think he's a foreign-language spelling troll.

      --
      This tagline was transcoded to result in at least one smirk. If you experience failure to smirk, please consult your Gen
    20. Re:Why is NTFS read only. by Anonymous Coward · · Score: 0

      You do realize that NTFS is completely closed source right? All the work on it has been done through reverse engineering.

      I'm happy for you. The point stands that the driver is perfectly capable of writing to an NTFS partition. Why is it read only by default? To frustrate users is the only reason I can come up with.

    21. Re:Why is NTFS read only. by jack2000 · · Score: 1

      "driver", daemon, kernel module whatever the hell you want to call it.
      You know the source for that OS was leaked. I'm not saying developers should just outright copy it. Just look at the source off record and make your own implementation of it.

    22. Re:Why is NTFS read only. by fuzzyfuzzyfungus · · Score: 5, Insightful

      The specifications for NTFS are completely closed. If it's what Windows produces when told to format a volume as NTFS, it is NTFS. There are reverse-engineered attempts(NTFS-3G being the most practical, if rather slow); but they aren't entirely to the point where you'd want to trust vital data to them.

      In the specific case of OpenBSD, I suspect that the read-only support is because the OpenBSD team has very low tolerance for what they see as crap. If they can't support something the way that they want to, they can and will just toss it(see the Adaptec RAID driver case, or some wireless chipsets). They don't do binaries, they don't do NDAs, they don't do blobs. They also don't like software they consider to be of inadequate quality. Thus, since the state of full NTFS support is a bit dodgy, it is entirely in character for them to drop it.

      More broadly, NTFS read/write isn't really something that there is a strong incentive in the OSS world to polish to a high sheen. NTFS-3G is pretty much good enough for dual booters and rescue disks. NTFS doesn't have any points of superiority strong enough that building top-notch reverse-engineered support would be competitive with spending the same effort implementing a non-secret design. Also, for the sorts of purposes that pay the bills for a lot of Linux development, NTFS support is largely irrelevant. You don't dual-boot servers, and any halfway serious network setup is going to either use SMB/NFS(which makes the local filesystem irrelevant to all other hosts), or some filesystem with concurrent access support or other esoteric features that isn't NTFS.

      NTFS R/W is really just a convenience feature for sneakernet and dual-boot scenarios. Neither of those really pay for enough development to get a fully baked reverse engineering of a (quite complex) filesystem.

    23. Re:Why is NTFS read only. by grub · · Score: 2


      Why is it read only by default? To frustrate users is the only reason I can come up with.

      If a driver is known to be potentially flaky and may put data at risk, I think the user having to knowingly enable RW with that caveat is a safe and decent.

      --
      Trolling is a art,
    24. Re:Why is NTFS read only. by Anonymous Coward · · Score: 1

      Throwing out closed source binary blobs you mean. Yes.

    25. Re:Why is NTFS read only. by Anonymous Coward · · Score: 0

      The DIR /R command works just fine for showing alternate data streams.

    26. Re:Why is NTFS read only. by leamanc · · Score: 1

      Can't you just run a script to tighten up that loose data? It't not like you would *lose* data, would you?

      --
      :q!
    27. Re:Why is NTFS read only. by Anonymous Coward · · Score: 0

      Why is NTFS always read only. It shouldn't be so hard to make a proper file system driver what the hell?

      You should ask them on the mail list if that's a feature you would like, but they have their own priorities with limited developers.
      If you don't like it, fix it or don't use it.
      Although, I suspect you're just looking for something to complain about.

    28. Re:Why is NTFS read only. by Anonymous Coward · · Score: 0

      That doesn't make his spelling and grammar any more correct.

    29. Re:Why is NTFS read only. by Galactic+Dominator · · Score: 1

      There's no need to to recompile the kernel, it's a loadable module. Even more, mount_ntfs will autoload the module automatically if necessary from an fstab entry.

      Additionally, there's no need to "enable write support". The limited writing ntfs.ko supports is always on provided you didn't do a read-only mount.

      http://www.freebsd.org/cgi/man.cgi?query=mount_ntfs&sektion=8

      --
      brandelf -t FreeBSD /brain
    30. Re:Why is NTFS read only. by Anonymous Coward · · Score: 0

      No, the data's not loose, it's the data trough that's loose -- it wobbles, and some data slops over the side. You will indeed lose the data that sloshes out of your loose data trough.

    31. Re:Why is NTFS read only. by billstewart · · Score: 2

      Those crafty French persons not only provide cliche'd phrases that we're expected to adopt as binary blobs, they deliberately obfuscate them by using letters that aren't supported in normal open-source ASCII.

      --

      Bill Stewart
      New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
    32. Re:Why is NTFS read only. by davester666 · · Score: 1

      Where can I buy a 63-core CPU?

      --
      Sleep your way to a whiter smile...date a dentist!
    33. Re:Why is NTFS read only. by Anonymous Coward · · Score: 0

      He's just hognoxious.

    34. Re:Why is NTFS read only. by CharmElCheikh · · Score: 0

      That appropriate word is "avant-garde". Nothing non-ASCII in here. (not that anyone cares but well... you're a surrender-monkey snail eater spelling nazi or you're not; and I am)

      --
      My /. user ID is probably higher than yours
    35. Re:Why is NTFS read only. by the_B0fh · · Score: 3, Informative

      eh? The last wireless fiasco I remembered was one of the linux wireless guys stealing openbsd's reversed engineered code, and re-releasing it as their own. I guess you can say they threw away encumbered code as they reverse engineered and re-wrote it.

    36. Re:Why is NTFS read only. by the_B0fh · · Score: 1

      what in the world are you smoking? People who've looked at disk structures say that NTFS is just like VMS fs - you know, the OS that Dave Cutler wrote at |D|I|G|I|T|A|L|

    37. Re:Why is NTFS read only. by Tarlus · · Score: 2

      And even still, writing with NTFS-3G isn't 100% perfect. It is progressing very nicely but it's far from being bulletproof.

      --
      /* No Comment */
    38. Re:Why is NTFS read only. by Tarlus · · Score: 1

      You, sir, have just been whooshed.

      --
      /* No Comment */
    39. Re:Why is NTFS read only. by Anonymous Coward · · Score: 0

      One of the biggest problems with operating systems today is that there are no compatible filesystems beyond FAT and FAT32. Perhaps UFS. Either one filesystem has too much patent encumbrance to be used, or its license.

      That is wrong. UDF up to version 2.01 is supported read/write by all modern operating systems. There are a few smaller issues but generally it works.

    40. Re:Why is NTFS read only. by SlashV · · Score: 1

      That wouldn't have been a problem, since that is what BSD'ed code is for. The other way around (bsd ppl 'stealing' linux gpl'ed code) is a problem, so my guess is that was what happened and that is also the way I remember it.

    41. Re:Why is NTFS read only. by Anonymous Coward · · Score: 0

      Yes, sure. Please make yourself vulnerable to all kind of legal mischief by Microsoft.

    42. Re:Why is NTFS read only. by Galactic+Dominator · · Score: 2
      --
      brandelf -t FreeBSD /brain
    43. Re:Why is NTFS read only. by Anonymous Coward · · Score: 0

      It's spelled "avant-garde" ...

    44. Re:Why is NTFS read only. by Anonymous Coward · · Score: 0

      Hint: google for "avant guard"

    45. Re:Why is NTFS read only. by Anonymous Coward · · Score: 0

      You got it backwards.

    46. Re:Why is NTFS read only. by clang_jangle · · Score: 1

      Huh, I must've confused it with ext2/3 then. I always end up needing that as well...

      --
      Caveat Utilitor
    47. Re:Why is NTFS read only. by Anonymous Coward · · Score: 0

      I wonder how easy life would be if we had a standard filesystem

      Somebody needs to create an OSI1-7 for filesystems with a set of inter-operable reference implementations for various resource conditions.

    48. Re:Why is NTFS read only. by Anonymous Coward · · Score: 1

      And football, since Jason Avant plays wide receiver, not guard.

    49. Re:Why is NTFS read only. by DaVince21 · · Score: 1

      1. The Linux kernel has only very basic NTFS support. Which comes down to read-only and overwriting a file with the exact same size (ie no practical use).
      2. There's NTFS-3G, but personally I've had some issues with it where some files on my NTFS partition had the chance to slowly, slowly get corrupt or slow down the disk. This has been more than a year ago, however, so I shall try again (if NTFS-3G has updated at all since then).

      --
      I am not devoid of humor.
    50. Re:Why is NTFS read only. by DaVince21 · · Score: 1

      Ooh, thanks for mentioning! I had corruption issues with it before, but if it works well now, it's finally time to format and test an NTFS drive for a while again.

      --
      I am not devoid of humor.
    51. Re:Why is NTFS read only. by DaVince21 · · Score: 0

      Wha? He was talking about the misspelling of avant garde...

      --
      I am not devoid of humor.
    52. Re:Why is NTFS read only. by tlhIngan · · Score: 1

      That wouldn't have been a problem, since that is what BSD'ed code is for. The other way around (bsd ppl 'stealing' linux gpl'ed code) is a problem, so my guess is that was what happened and that is also the way I remember it.

      No, what happened was the Linux guys took the BSD'd code (not a problem - the BSD was designed for this), then locked it up with the GPL (they even had the gall to replace the BSD license with the GPL in the header files).

      The end result is because of this, all changes to the Linux drivers cannot be incorporated back into BSD because those changes are GPL'd which are incompatible with BSD. Had they kept the drivers as BSD rather than relicensing it, then it wouldn't be much of an issue.

      It's especially annoying because the product is still open-source and the people who took the code (perfectly legally) ensured that changes couldn't go upstream. So now we have two opensource projects, one of which cannot accept changes back into its tree.

    53. Re:Why is NTFS read only. by the_B0fh · · Score: 1

      *WRONG* on so many fronts. You were provided a URL below, so you can read it. But. And here is the important part. *YOU CANNOT TAKE SOMEONE ELSE'S CODE AND RE-LICENSE IT AS YOUR OWN. YOU DO NOT HAVE THAT RIGHT.

      *YOUR RIGHT* is to USE the code under a BSD, GPL or another license, as licensed to you by the copyright owner.

  2. missing some key features... by Anonymous Coward · · Score: 0

    wake me when they have:

    1) start/stop scripts, so I don't have to ps|grep|kill|...crap, what were those flags for the daemon again... to manage running processes or daemons

    2) easy way to patch, so I don't have to set up a full development environment and compile everything on production servers

    1. Re:missing some key features... by snowgirl · · Score: 5, Informative

      wake me when they have:

      1) start/stop scripts, so I don't have to ps|grep|kill|...crap, what were those flags for the daemon again... to manage running processes or daemons

      Well, for this one:

      New rc.d(8) for starting, stopping and reconfiguring package daemons:
      The rc.subr(8) framework allows for easy creation of rc scripts. This framework is still evolving.
      Only a handful of packages have migrated for now.
      rc.local can still be used instead of or in addition to rc.d(8).

      --
      WARNING! This girl exceeds the MAXIMUM SAFE standards established by the FDA for BRATTINESS
    2. Re:missing some key features... by Anonymous Coward · · Score: 0

      wake me when they have:

      1) start/stop scripts, so I don't have to ps|grep|kill|...crap, what were those flags for the daemon again... to manage running processes or daemons

      2) easy way to patch, so I don't have to set up a full development environment and compile everything on production servers

      1) They do have this now.

    3. Re:missing some key features... by MichaelSmith · · Score: 1

      Cripes they could have just copied from netbsd ten years ago.

    4. Re:missing some key features... by rubycodez · · Score: 2

      as for #2, you build the patched release files on another server and deploy on production, procedure 5.4 Building a Release is in the (very nicely done) docs http://www.openbsd.org/faq/faq5.html#Release

    5. Re:missing some key features... by rubycodez · · Score: 3, Insightful

      why, they're not necessary. The flags for starting a daemon are in /etc/rc.conf and /etc/rc.conf.local, and the pid of running daemons are in /var/run or use ps ea for them. Simple and clean with no cruft is why I like OpenBSD for applicances and routers so much.

    6. Re:missing some key features... by MichaelSmith · · Score: 1

      But every application has its own interpretation of signals. For some a HUP may reload the configuration or force an update. For others this is not so. For some there may be a safe way to request a shutdown. For others, no. I have written start/stop scripts for daemons I wrote. I think it is a lot more consistent that way and I bet many openbsd users have improvised their own rc.d mechanisms.

    7. Re:missing some key features... by rubycodez · · Score: 2

      actually, various unofficial rc.d projects by various people have been available for openbsd for at least 10 years including port of the netbsd one. Most OpenBSD users say "ick" because of the normal use of OpenBSD...

      OpenBSD primarily gets used on boxes with very focused purpose, so just a few daemons to manage and I'd rather have single file to control them than runlevels and rc.d

    8. Re:missing some key features... by Anonymous Coward · · Score: 1

      Anyway, if someone wants all that rc.d/ directory shit, why don't they just use NetBSD or Debian or whatever...

      OpenBSD is one of the few (maybe the only one left?) that tries to keep /etc simple and uncluttered.

      Fuck all that init.d bullshit! I'll use pkill and read the daemon manpage if I have to (usually just checking rc.conf is enough).

  3. NETCRAFT just confirms it by Anonymous Coward · · Score: 0

    BSD IS NOT DEAD!

    1. Re:NETCRAFT just confirms it by Hognoxious · · Score: 2

      BSD.ru confirms Netcraft is dead!!!!!

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
  4. Major disrespect by Anonymous Coward · · Score: 0

    Some minor bugfixes get their own news article here, but two major releases of BSD based OSes are bundled together in the same news article?! WTF, dude, what's next, the /. BSD news digest posted once a year?

    1. Re:Major disrespect by Kjella · · Score: 1

      Some minor bugfixes get their own news article here, but two major releases of BSD based OSes are bundled together in the same news article?! WTF, dude, what's next, the /. BSD news digest posted once a year?

      Because that never happens on Linux.

      --
      Live today, because you never know what tomorrow brings
    2. Re:Major disrespect by Anonymous Coward · · Score: 0

      Because that never happens on Linux.

      You do realize that both Slackware and Ubuntu are just Linux distributions, right?
      OpenBSD and DragonflyBSD may derive from the same BSD code base, but they have evolved into totally different operating systems.

    3. Re:Major disrespect by Beelzebud · · Score: 1

      I'm not sure what the big distinction is. Couldn't it be said that OpenBSD and DragonflyBSD are just different distributions of BSD? I mean, yeah Slack and Ubuntu are Linux distributions, but as operating systems they have major differences as well.

    4. Re:Major disrespect by shutdown+-p+now · · Score: 2

      Couldn't it be said that OpenBSD and DragonflyBSD are just different distributions of BSD?

      It couldn't, because they have very different kernel and base system (source code wise). They have descended from the same codebase, yes, but it was a very long time ago.

      Slack and Ubuntu use the same Linux kernel, albeit with a certain combination of patches in case of Ubuntu.

  5. Way too f***ing complicated. by Anonymous Coward · · Score: 0

    Why? Just give me a simple OS that can make it into the mainstream. Something I can program, and script, and alter to my taste. This has become too unwieldy and way too over done.

    1. Re:Way too f***ing complicated. by Anonymous Coward · · Score: 1

      Why? Just give me a simple OS that can make it into the mainstream. Something I can program, and script, and alter to my taste. This has become too unwieldy and way too over done.

      OpenBSD is about as simple as you can get.

  6. Stop me if you've heard this one by SilverHatHacker · · Score: 0

    All three OpenBSD users are thrilled.

    --
    Funny may not give karma, but +5 Informative never made anyone snort coffee out their nose.
    1. Re:Stop me if you've heard this one by Anonymous Coward · · Score: 1

      Stop, HAMMER time!

    2. Re:Stop me if you've heard this one by rubycodez · · Score: 1

      The works of the OpenBSD project are in each and every major open source OS and many major closed source ones as well.

  7. 63 CPUs? by Anonymous+Cowar · · Score: 1

    Why 63? Because 64 would be just too KA-RAY-ZEE?

    1. Re:63 CPUs? by Anonymous Coward · · Score: 0

      63 CPUs is enough.

    2. Re:63 CPUs? by carlosap · · Score: 1

      63 CPUs is enough.

      also 640GB would be enough

    3. Re:63 CPUs? by the+linux+geek · · Score: 1

      I'm kind of surprised that large-hardware support is that low. There are plenty of large RISC or mainframe commercial systems with more than 64 cores and 512GB.

    4. Re:63 CPUs? by Anonymous Coward · · Score: 1

      The two sides almost came to blows over whether to allocate four bits or eight bits in the descriptor for the CPU ID. Finally, after weeks of infighting they compromised at six bits, with one reserved value.

      from "Difficult: the Inside Story of OpenBSD" (unpublished)

    5. Re:63 CPUs? by Anonymous Coward · · Score: 0

      "Taking x86-64 to 63 cpus was easy because we have 64-bit bit instructions. I'm stealing a bit in the cpumask for a pmap spinlock, or it would be 64."

      http://leaf.dragonflybsd.org/mailarchive/users/2010-12/msg00079.html

    6. Re:63 CPUs? by Anonymous Coward · · Score: 0

      63 CPUs is enough.

      also 640GB would be enough

      And 63 million CPUs would be enough, by analogy of how much you overstated Bill Gates' (alleged) remark

    7. Re:63 CPUs? by Anonymous Coward · · Score: 0

      "Taking x86-64 to 63 cpus was easy because we have 64-bit bit instructions. I'm stealing a bit in the cpumask for a pmap spinlock, or it would be 64."

      OMG, theft! I'm calling 911 right now!

      911: "911, state the nature of your emergency."
      Me: "Yes... I would like to report a theft... Matt Dillon stole a bit from my cpumask..."
      911: "Matt Dillon, the actor?"
      Me: " No, not that Matt Dillon, the Dragonfly BSD guy!"
      911: "Uh... Ok... Do you still have the said mask?"
      Me: "Yes, but the stolen bit is being used in a spinlock, Dillon admitted it, he even bragged about it on the Internet!"
      911: "Do you know the location of the stolen item?"
      Me: "For the sake of all things BSD, send the police over to Matt Dillon's house and return my bit, I need it!"
      911: "Calm down, madam, I'm dispatching a unit as we speak..."
      Me: "Who are you calling a madam?! I'm a guy!"
      911: "Uhh... I said - calm down, mad man..."
      Me: "Oh... Ok... Let me know when you get my bit back, K THX BYE."

    8. Re:63 CPUs? by Bengie · · Score: 1

      AMD is releasing a 20core CPU next year, lets hope they don't sell a quad socket mobo because this OS won't support it.

    9. Re:63 CPUs? by Anonymous Coward · · Score: 0

      yes. all of which are being donated to these projects for people to compile/develop/test on.

    10. Re:63 CPUs? by 00_NOP · · Score: 1

      Plenty? Yep, cannot move for all that big iron.

    11. Re:63 CPUs? by dbIII · · Score: 1

      SuperMicro sell quad socket boards that take the AMD twelve core CPUs. I'm not even the first in my small city to get one of those 48 CPU beasts.
      I have CentOS 5.5 on it because that's what the commercial software that it has to run likes and they won't support it on anything newer. That's a pity because I can't get the most recent version of blender to build on the thing to play with out of hours.

    12. Re:63 CPUs? by m.dillon · · Score: 2

      Atomic ops are limited to 64-bits for the most part (though maybe 128 bits w/fp insns we can't really depend on that). There are several subsystems in the kernel which rely on atomic ops to test and manipulate cpu masks which would have to be reformulated.

      The main issue there is one of performance. We don't want to have to use a spinlock for cases where cmpxchg solves the problem because spinlock collisions can get VERY expensive once you have more than 8 cpus in contention.

      Similarly the stolen bit for the pmap spinlock (reducing the limit from 64 to 63) is there to deal with a race where one thread needs to do a SMP invtlb style operation just as a new cpu tries to switch-in a thread using the same pmap (adding another cpu to the mask of cpus that need their TLBs to be invalidated). It's a fairly rare race but it has to be dealt with properly. Also fixable with some work.

      The 512GB memory limit only exists because we still populate the DMAP entries manually and it is currently hard coded for 512G (one DMAP pte). A good programmer could fix that issue in about 2 hours but we're not going to worry about it unless we actually get hardware to test with with > 512G of dram populated. That much dynamic ram is a bit beyond our budget, not to mention the 1000W+ (~8A) of power it would eat.

      -Matt

    13. Re:63 CPUs? by m.dillon · · Score: 3, Interesting

      The basic mobo support for large N-way configurations has gotten cheap. Power management still has a long ways to go on these beasts, though. Our monster.dragonflybsd.org box is using the quad-socket supermicro mobo with four 12-core opterons (48 cores) and 64G of ram, and I think all told cost around $8000 or so.

      The limitation for for these sorts of boxes is basically just power now. The 12-core opterons are effectively limited to 2GHz due to power issues, and these big beasts are really only high performers in environments where all the cores can be used concurrently with very little conflict.

      By comparison, a PhenomII x 6 or an Intel I7 runs 6 cores for the PhenomII and 4 x 2 cores for the I7 but automatically boosts the base ~3.2GHz clock to almost 4 GHz when some of the cores are idle. These single chip solutions also have a MUCH faster path to memory than multi-chip solutions, particularly the Intel Sandybridge cpus, and much faster bus locked instructions. So if your application is only effectively using ~4-6 cores concurrently it will tend to run at least twice as fast as it would on a high-core-count monster.

      That means that for most general server use a single-chip multi-core solution is what you want. The latest single-chip mobos for Intel and AMD support 16G-32G of ram and 5 or more SATA-III (6GHz) ports. Throw in a small SSD and you are suddenly able to push 400MBytes/sec+ in random-accessed file bandwidth out your network using just ONE of those SATA-III ports. That's in a desktop configuration! So today's modern desktop mobos is equivalent to last year's server mobos at 30-50% the power cost.

      A modern high-end configuration as above eats ~60W idle where as the absolute minimum power draw on a 48-core Supermicro box w/ 64G of ram (the ram eating most of the power) is ~250-300W. Big difference.

      So lots of cores is not necessarily going to be the best solution. In fact, probably the only really good fit for a 48+ core box is going to be for virtualization purposes.

      -Matt

    14. Re:63 CPUs? by Anonymous Coward · · Score: 0

      (Whispers) It was a real remark by Steve Jobs who said "64K is enough" but what with /. and the technology media being anti-Portsistas ... .

    15. Re:63 CPUs? by dbIII · · Score: 1

      So lots of cores is not necessarily going to be the best solution. In fact, probably the only really good fit for a 48+ core box is going to be for virtualization purposes.

      Not necessarily, there are plenty of other roles.
      There is a lot of existing software for geophysical applications that could scale to a cluster of a lot of 48 core machines and get all those cores running at 100% to get the job done quickly, let alone a single machine. Many tasks working on seismic data are embarrassingly parallel since they are really about applying similar transformations to millions of digitised audio tracks at once. I've only got one 48 core machine but it can run flat out and can then farm tasks out to the 8 core machines in a cluster. It's been over a decade since I've touched finite element analysis (eg. for engineering design), but that's another application where you can have a lot of threads running at once on a dataset without getting in each others way or having to wait around much.
      Then of course there is the problem of software licencing per machine. That's where it can become more economically efficient to run a big machine with a lot of independent tasks that may actually run better on smaller and faster machines. Some places have braindead licencing rules where it is vastly cheaper to get additional licences per machine after the first than it is to put one licence on several machines. That 48 cpu machine cost less for hardware and licences combined than it would have cost in software alone to put that software on six other machines. That sealed the deal even though the major tasks for the machine are to run a lot of things in parallel.

    16. Re:63 CPUs? by Anonymous Coward · · Score: 0

      I just hate it when people make shit up!

    17. Re:63 CPUs? by tomhudson · · Score: 1

      And Bill Gates did say that 1.5 meg should be enough, back in the days of the first LIM memory extensions to DOS.

  8. No thanks, I'll wait for OpenBSD 5. by Anonymous Coward · · Score: 0

    Everyone knows it's no good until at least version 5.

  9. Possibly Obligatory by pgn674 · · Score: 1
    1. Re:Possibly Obligatory by kvvbassboy · · Score: 1

      Dammit, you beat me to it!

    2. Re:Possibly Obligatory by YoshiDan · · Score: 0

      Wow. This is the first time I've actually found xkcd to be humourous...

  10. OpenBSD 4.9 released... by Anne+Honime · · Score: 1

    ... just in time for Sony to rebuild the PSN. Hurray !

  11. Re:What about FBI back doors? by Anonymous Coward · · Score: 1

    IPsec stack audit was performed, resulting in:

            Several potential security problems have been identified and fixed.
            ARC4 based PRNG code was audited and revamped.
            New explicit_bzero kernel function was introduced to prevent a compiler from optimizing bzero calls away.
    -- http://www.openbsd.org/49.html

  12. Re:What about FBI back doors? by Anonymous Coward · · Score: 1

    IPsec stack audit was performed, resulting in:

            * Several potential security problems have been identified and fixed.
            * ARC4 based PRNG code was audited and revamped.
            * New explicit_bzero kernel function was introduced to prevent a compiler from optimizing bzero calls away.

    from:
    http://www.openbsd.org/49.html

  13. At the risk of being modded flamebait, etc by 00_NOP · · Score: 1

    Back in the day - or rather the last time I was paying a lot of attention to /. - all BSD articles were flooded by that "BSD is dying... blah, blah confirms it" story (I believe the kids call it a "meme" but I am too old for that).

    Now they are not here: is this because they are blocked before they get posted or because it was one obsessive who died/finally had a beer/discovered masturbation or because the idea just, errr, died?

    Really interested to know what the answer to this one is.

    1. Re:At the risk of being modded flamebait, etc by Impeesa · · Score: 4, Funny

      Netcraft confirms it, BSD jokes are dead.

    2. Re:At the risk of being modded flamebait, etc by Anonymous Coward · · Score: 0

      Because BSD now -is- dead so it's not really worth posting about.

      Really, any time I see "new (foo)BSD released" the only proper reaction is "so what? We've got Linux". There's nothing the BSDs can do that Linux can't do better.

      In before this gets modded Troll or Flamebait by fanboys, despite it being truthful and accurate.

    3. Re:At the risk of being modded flamebait, etc by Anonymous Coward · · Score: 0

      It isn't true.

      DragonFly has the HAMMER filesystem, which is considerably ahead of anything available on Linux right now. (btrfs looks exciting, but isn't ready yet; HAMMER has been running for ~3 years). HAMMER gives you fine-grained snapshots, CRCs all the way, replication, and dedup. Any Linux FSes close?

    4. Re:At the risk of being modded flamebait, etc by Anonymous Coward · · Score: 0

      Solaris called. It wanted to say, "been there, done that".

    5. Re:At the risk of being modded flamebait, etc by Anonymous Coward · · Score: 1

      Absolutely! And Solaris's ZFS is a superb filesystem. Definitely superior to HAMMER in a number of ways. Miles ahead of anything when its integrated volume management is considered.

      But HAMMER offers a few interesting design points to contrast with ZFS. HAMMER was born with support for what would be called 'bprewrite' in ZFS -- dedup for example can be carried out just fine in the garbage collection phase in hammer, something which has no analogue in ZFS. HAMMER's performance under write streams is solid, since it can stream writes to contiguous sections of disk and repack them at idle time.

      The DragonFly analogue to ZFS's L2ARC is swapcache; (both have no real good analogue in Linux... dm-flashcache would be your best bet I think). swapcache is more general than the L2ARC I think, though in practice the L2ARC may be a better design.

      Unrelated, if you're willing to look into the platform (something the BSDs and Illumos integrate; I'll use glibc for the Linux platform here), there is a lot of interesting work in malloc() in the BSDs and Solaris; FreeBSD and NetBSD have the well-engineered jemalloc (Jason Evans's allocator), while Dragonfly and Solaris run variants of the Bonwick/Adams magazine/slab allocator. glibc runs a considerably weaker (imho) design, a hacked-up older version of ptmalloc, itself hacked up from Doug Lea's design. You might see recommendations on Linux systems to use Google's tcmalloc to improve MySQL scaling (for example); you won't see those recommendations on {Free,Net,DragonFly}BSD and Solaris.

      Anyway, the point I originally wanted to make was not 'boo Linux', but that there is interesting engineering going on in other communities! Engineering that is at least worth a look...

    6. Re:At the risk of being modded flamebait, etc by m.dillon · · Score: 5, Informative

      ZFS has a large team of people behind it and resources that I don't have. That said HAMMER wasn't really designed to try to compete against it. HAMMER was designed to solve similar problems, but it wasn't designed to replace RAID as ZFS was. But ZFS is no panacea, and anyone who uses it can tell you that. The IP is now owned by Oracle, the license isn't truly open-source. ZFS itself is an extremely heavy-weight filesystem and essentially requires its ARC cache and relatively compatible workloads to work efficiently... and a veritable ton of memory.

      HAMMER has a tiny footprint by comparison, gives you fine-grained automatic snapshots, and most importantly gives you near real-time queueless mirroring streams that makes creating backup topologies painless. Among many other features. Frankly ZFS might be the filesystem of choice if you are running dozens of disks but HAMMER is a much better fit otherwise.

      People scream the RAID mantra all the time but the vast majority of people in the open-source world don't actually need massive RAID arrays to put together a reliable service. Often it takes just one 2TB HD and one 80G SSD x a few servers and in DragonFly HAMMER + swapcache fits that bill extremely well.

      Our ultimate goal is real-time multi-master clustering. HAMMER doesn't get us quite there, primarily owing to the topology mismatch between HAMMER's B-Tree and OS filesystem cache topologies (mostly the namecache), but as the work progresses it will eventually achieve that.

      In anycase, there's a huge difference between the people who do the actual design and implementation of these filesystems and the people who merely use them. Our goals as designers and programmers are not necessarily going to match the goals of the typical end-user who wants a magical black box that does everything under the sun with maximal performance in all respects and works without having to life a finger. ZFS can't even achieve that!

      -Matt

    7. Re:At the risk of being modded flamebait, etc by Anonymous Coward · · Score: 0

      In Soviet Russia meme posts YOUYOU!

    8. Re:At the risk of being modded flamebait, etc by Rennt · · Score: 1

      memes are supposed to die - and if you don't want the 'kids' to pick you for the fuzz you better quit it with the outdated jive, man.

    9. Re:At the risk of being modded flamebait, etc by drinkypoo · · Score: 1

      I still just want dm-cache so that I can have block-level caching of network filesystems to local, or from slow storage like optical to fast scratch. Why does Linux still not have this? :(

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    10. Re:At the risk of being modded flamebait, etc by m50d · · Score: 0

      The IP is now owned by Oracle, the license isn't truly open-source.

      Huh? It's released under the CDDL, which is an open-source license by any reasonable definition; it's approved by the OSI and the FSF, and very similar to the GPLv3 aside from the latter's extended patent licensing provisions. It's incompatible with the Linux kernel because the Linux kernel is GPLed, but that's every bit as much Linux's fault as ZFS's (both use strict copyleft licenses that therefore don't play nice with other licenses).

      --
      I am trolling
    11. Re:At the risk of being modded flamebait, etc by Anonymous Coward · · Score: 0

      More like *BSD is so fringe these days nobody bothers.

      (Yeah, yeah, I know "-500, Troll", aka "I don't wanna hear it". Still true though.)

    12. Re:At the risk of being modded flamebait, etc by Anonymous Coward · · Score: 0

      That looks like a good idea; lets see what we can do with that on DragonFly (we also have the device-mapper system).

    13. Re:At the risk of being modded flamebait, etc by drinkypoo · · Score: 1

      Maybe if you put it into dragonfly then it will shame someone into putting it in Linux. It allegedly worked very well last time it was updated :)

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    14. Re:At the risk of being modded flamebait, etc by rubycodez · · Score: 1

      Unlike Solaris, DragonFly isn't dying. Unlike OpenSolaris, DragonFly hasn't been effectively killed.

    15. Re:At the risk of being modded flamebait, etc by Anonymous Coward · · Score: 0

      It's incompatible with the Linux kernel because the Linux kernel is GPLed, but that's every bit as much Linux's fault as ZFS's (both use strict copyleft licenses that therefore don't play nice with other licenses).

      Incorrect, blame-wise:

      Fact: The license for ZFS was chosen given the already existing license for Linux.
      Fact: If license compatibility had been a goal, a different license would have been chosen for ZFS.
      Fact: This did not happen. The CDDL was explicitly picked. Duh.

      It follows, thusly, that it is not correct to distribute the blame equally, and that the blame for the license incompatibility lies completely with the choice of license for ZFS.

      (Personally, I got the feeling from the start that the license incompatibility was intentional, and not in any shape or form an oversight or misunderstanding. This I cannot prove, of course, so it remains a personal speculation, and nothing more. Where the blame lies is no speculation, however.)

    16. Re:At the risk of being modded flamebait, etc by m50d · · Score: 1

      There were legitimate reasons for sun to want the patent provisions in the CDDL. Similar protections were introduced in the GPLv3 - perhaps Sun should have waited for that, but even had ZFS been released under GPLv3 its licensing would still be incompatible with Linux. Did Sun deliberately choose to make ZFS incompatible with Linux? Maybe - but it was only possible because Linux's licensing is equally cranky.

      --
      I am trolling
  14. Only 64 cores? by atari2600a · · Score: 1

    I don't want to be a troll but seriously what is this 1998? At least they'll have cloud computing I guess...

    1. Re:Only 64 cores? by aliquis · · Score: 1

      I don't want to be a troll but seriously what is this 1998? At least they'll have cloud computing I guess...

      October 3, 2002: NetBSD: i386 -current Adds SMP Support

      Not that long time ago..

  15. Dragonfly is looking interesting by AbrasiveCat · · Score: 1

    I have been running Open for quite a while (2.8 I believe), but Dragonfly has gotten to the point where it has some interesting things to try. The Hammer file system and the MP lock. I may have to give it a spin. Got love the BSD crowd, different groups trying it their way! :)

  16. Stuff NTFS hides in Alternate Data Streams by billstewart · · Score: 1

    I briefly used Kaspersky anti-virus, and now lots of my files have :KAVICHS: or something like that tacked onto them as alternate data streams. When I copy those files to devices that don't support them (e.g. memory sticks using FATxx), Windows has to pop up dialog boxes to warn me that it'll be unable to copy the extra baggage. [Insert snarky comments here...]

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
  17. What's the point of dragonfly again? by Anonymous Coward · · Score: 1

    Yes I'm a FreeBSD person and no I'm asking an honest question. I've read the info on dragonfly but really where is the result? It split at the same point that I started on FreeBSD using 5.0 which he split it using the older 4 base.. The guy that forked dragonfly wanted to take a different approach to multiprocessing. I have to assume he knew something of what he was talking about. The project is mature enough, it's had years. Milticore processors are common now. So where are the benchmarks proving his point? There has to be some specific test case and set of compiled applications that perform better on his architecture.

    If not then why is he continuing the project? I can respect his going his own way. But it seems to me he was proven wrong so why continue?

    1. Re:What's the point of dragonfly again? by rubycodez · · Score: 2

      DragonFly is still being designed, but the stated end goals are 1. Single system image clustering 2. providing multiple isolated environments in userland, 3. providing highly available clustered filesystem with multi-mastered mirroring/backup, de-duplication, snapshots

  18. Using 1000 watts of power for DRAM? by billstewart · · Score: 1

    1000 watts is about what you need for a toaster. And the usual operating system for various toasters was always BSD, so what's not to like there?

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
    1. Re:Using 1000 watts of power for DRAM? by m.dillon · · Score: 2

      Well, you don't run your toaster 24x7. In fact, most residental homes use less than 1000W of power averaged 24x7 for the entire home.

      Running 1000W 24x7 is ~$180-$240/month in electricty depending on where you live. Commercial power isn't much cheaper (and due to improvements in density most colo facilities now also charge for power or include only a few amps in the lowest-tier of service).

      It adds up fairly quickly. The DragonFly project has 7 core production machines. Six of those in my machine room together eat around ~3.4A of power 24x7 (idle), and a lot more when they are busy. The last one is colocated and eats ~2A. There are another 2-3 essentially dedicated colocated boxes which are donated and another ~12 boxes on the third tier which donate mirroring and bandwidth. And DragonFly is a very small project.

      For small projects... and here I'm not talking just about BSD projects but also many Linux projects, running your own machines requires either a fat purse somewhere or a sponser. FreeBSD gets a lot of sponsorship to help cover continuing costs.

      For DragonFly we get some sponsership in the form of a few remote colocated boxes with reasonable bandwidth but mostly there are just two of us funding ongoing operations. I also fund getting ~4 new almost-bleeding-edge single-socket machines every year to keep us up-to-date on hardware and post the old boxes to various developers in need as they get replaced by new boxes, in a sort of pipeline. But it's taken 3 years to build that pipeline. New boxes come in and operate as test machines for ~1 year, then production machines for ~1-2 years, then get rotated out.

      This situation has gotten a little better over the years as small projects can now run their boxes on real machines at home with a reasonable amount of upstream bandwidth, then drill a VPN through to a colocated IP service to route the IPs without having to deal with ISP filters (ISP-allocated static IPs tend not to work very well because AT&T and COMCAST's stateful filters can mess up your TCP connections when you have a lot of concurrency).

      Even so it seems to me that a lot of projects don't even have that... they either rent time on a virtual machines or depend on sharing space with other larger projects. It's possible to do a lot with virtualized resources, up to a point, but rented virtualized resources tend to have very non-deterministic resources and you can wind up in trouble if you get a demand spike.

      -Matt

    2. Re:Using 1000 watts of power for DRAM? by badkarmadayaccount · · Score: 1

      What sort of workloads do those machines see, is it amicable to distributing, say Web seed backed torrents? Have you investigated incremental compilation, and compiler caching?

      --
      I know tobacco is bad for you, so I smoke weed with crack.
    3. Re:Using 1000 watts of power for DRAM? by Anonymous Coward · · Score: 0

      Matt, Matt - put down the keyboard, its the future. You've been working on butterflyBSD too long without a break. In the future people make lame old-skool references to toasters, BSD and try to tie in your power use objection. The kids call it "j/k" now-a-days. And BTW, thanks for you hard work on the project.

      Here is a small (5U) machine that can take up to 2 TB RAM (64 slots) and 8 x 10-core E7-8800 family processors:
      http://www.supermicro.com/products/system/5U/5086/SYS-5086B-TRF.cfm

  19. MySQL by Anonymous Coward · · Score: 0

    Does anyone care about MySQL anymore ?

  20. Re:What about FBI back doors? by Anonymous Coward · · Score: 0

    Developer posts patch to "fix" malloc(3). Shortly afterwards, Bin Laden is located and killed by the US.
    Meanwhile, Kim Jong Il uses Linux and he's still alive.

  21. Are you free, Mrs Slocombe? by Hognoxious · · Score: 1

    I'm just someone who gets pissed off add nauseum at people whom try to sound fancy and get it wrong.

    Do it right or don't do it at all.

    --
    Confucius say, "Find worm in apple - bad. Find half a worm - worse."
  22. vmt(4) and VMWare official support by DieNadel · · Score: 1

    Hopefully VMWare will take notice of the good work being put onto vmt(4) and add official support to OpenBSD in ESX.

    --
    Utinam logica falsa tuam philosophiam totam suffodiant!
  23. been watching DragonFly for five years by rubycodez · · Score: 1

    It is quite exciting to see an open source OS dedicated to providing the foundation for shared resources and a single system image for clusters. The goals of that project are usually accomplished with very expensive proprietary software, the Hammer fs is one huge such milestone.

  24. Cheap replica watch site worth buying? by shenglee · · Score: 1

    Cheap replica watch site worth buying? http://www.aaawatches.net