Slashdot Mirror


A Comparison of Solaris, Linux, and FreeBSD Kernel

v1x writes "An article at OpenSolaris examines three of the basic subsystems of the kernel and compares implementation between Solaris 10, Linux 2.6, and FreeBSD 5.3. From the article: 'Solaris, FreeBSD, and Linux are obviously benefiting from each other. With Solaris going open source, I expect this to continue at a faster rate. My impression is that change is most rapid in Linux. The benefits of this are that new technology has a quick incorporation into the system.'"

318 comments

  1. wishfull thinking by scenestar · · Score: 5, Interesting

    If only they could compare the NT kernel along with them

    *sigh*

    --
    perpetually dwelling in the -1 pits
    1. Re:wishfull thinking by wlan0 · · Score: 2, Interesting

      Can one really see how the NT kernel works, with all the stuff stuck together like Windows is?

    2. Re:wishfull thinking by Dan_Bercell · · Score: 1, Informative

      what does the NT kernal have to do with anything discussed here>? You dont have to troll your Windows hate all the time.

    3. Re:wishfull thinking by Cheapy · · Score: 2, Insightful

      Well...I'll go out on a limb here and say that it matters becuase it's a kernel that is used extensively.

      --
      Would you kindly mod me +1 insightful?
    4. Re:wishfull thinking by level_headed_midwest · · Score: 2, Funny

      It's all in the source code that we all got about a year ago from W2K when it- gaah!

      ***Microsoft Trade Secrets Protection Act***
      The person that wrote the above post has been dealt with for sharing Microsoft (R) Windows (R) proprietary source code and is violation of the End-User License Agreement as well as Microsoft Revised Penal Code section 192.168.0.1. The person has been terminated and please disregard the above message.

      Thank you,

      Microsoft Support Team

      --
      Just "gittin-r-done," day after day.
    5. Re:wishfull thinking by Anonymous Coward · · Score: 2, Informative

      If you're interested in the details of Windows I suggest that you pick up a copy of "Windows Internals". It's quite detailed about the inner workings of Windows.

    6. Re:wishfull thinking by TheNetAvenger · · Score: 3, Insightful

      Can one really see how the NT kernel works, with all the stuff stuck together like Windows is?

      Saying that the NT kernel and Windows (the Win32 Subsystem) have any relation would be like asking how you can compare any *nix kernel with all the XWindows stuff stuck together...

      NT is NOT what most people consider Windows, however it does POWER windows.

      Also the NT kernel is not too shabby, considering its design age, and it came from Microsoft. Go pick up Inside NT or a current version that deals directly with the NT kernel and not the Win32 subsystem.

    7. Re:wishfull thinking by freedom_india · · Score: 2, Informative
      Win32 subsystem is TOO much tied to NT kernel and closely coupled to achieve the performance it has today.

      That is why NT 3.51/3.53 was more robust than NT 4,0 which moved major parts of the UI code to kernel mode.

      Please actually read Inside Windows NT 3.51 by Helen Custer and THEN read Inside Windows NT 4.0 to know the difference.

      --
      "Doing what i can, with what i have." ~ Burt Gummer
    8. Re:wishfull thinking by TheNetAvenger · · Score: 5, Informative

      Win32 subsystem is TOO much tied to NT kernel and closely coupled to achieve the performance it has today.
      That is why NT 3.51/3.53 was more robust than NT 4,0 which moved major parts of the UI code to kernel mode.

      Please actually read Inside Windows NT 3.51 by Helen Custer and THEN read Inside Windows NT 4.0 to know the difference.


      Sorry, hun, read both and even had this discussion with a key kernel developer at Microsoft a few years ago. (1997 in fact, as we were starting to work with Beta 1 of Windows 2000)

      NT 4.0 ONLY moved video to a lower ring. It had NOTHING to do with moving the Win32 subsystem INTO NT - that did not happen.

      That is why Windows NT Embedded exists, and also why even the WinCE is a version of the NT kernel with NO Win32 ties.

      Microsoft can STILL produce NT without any Win32, and just throw a *nix subsystem on it if they wanted to, but yet have the robustness of NT. Win32 is the just the default interface because of the common API and success of Windows applications.

      I think you are confusing Ring dropping of the video driver with something completely different.

      NT is a client/server kernel... Go look up what that means, please for the love of God.

      Win32 is a subsystem, plain and simple. Yes it is a subsystem that has tools to control the NT kernel under it, but that is just because that is the default subsystem interface. You could build these control tools in any subsystem you want to stack on NT. PERIOD.

    9. Re:wishfull thinking by dajobi · · Score: 2, Informative
      NT is a client/server kernel... Go look up what that means, please for the love of God.

      I've never heard of such a thing. Neither has google. You probably mean microkernel, which is what MS was claiming NT was until they got tired of academic microkernel nuts telling them it wasn't (everyone except Tanenbaum who was busily claiming that Linux, with its unfashionable monolithic design, was obsolete) NT is a monolithic/microkernel hybrid.

    10. Re:wishfull thinking by zootm · · Score: 1

      I've never heard of such a thing. Neither has google.

      I don't know what you typed, but I got over 100 results for a specific (quoted) search. I believe the term (which doesn't seem to be the popular term for it, but I don't know what is) refers less to its mono/micro architecture (you are right to say it's a hybrid) and more to the fact that it has a subsystem architecture meaning that Win32, or any other control API, is just a layer over the kernel itself. So to say that the NT kernel is flawed because of Win32 isn't really a good argument, since it can run many other things instead.

    11. Re:wishfull thinking by saider · · Score: 1

      Does it say "gaah" ?
      What?
      Does it say "gaah"? He wouldn't write it, he would just say it.
      Perhaps he was dicating.

      --


      Remember, You are unique...just like everyone else.
    12. Re:wishfull thinking by Your+Anus · · Score: 1

      It's like the time that the Knights of the Round Table had to go looking for Castle Aaaaaah.

      --

      In the USA, we like stuff watered down, like beer, television, and freedom.
    13. Re:wishfull thinking by TheNetAvenger · · Score: 1

      I've never heard of such a thing. Neither has google. You probably mean microkernel, which is what MS was claiming NT was until they got tired of academic microkernel nuts telling them it wasn't (everyone except Tanenbaum who was busily claiming that Linux, with its unfashionable monolithic design, was obsolete) NT is a monolithic/microkernel hybrid.

      Thankfully the poster above me knows how to do a simple search. Maybe look at the instructions for searching the internet before tackling a topic like kernel architecture.

      Just to Clarify NT is NOT a monolithic microkernel.

      Now, for the love of God(again), actually lookup NT's client/server kernel design...

    14. Re:wishfull thinking by rk87 · · Score: 1

      I'd like to see Microsoft release the NT kernel by itself. No, not the source code, but a binary of the kernel itself that you can license and build shit on top. :)

      --
      I'M NOT ANGRY!
    15. Re:wishfull thinking by Anonymous Coward · · Score: 0

      Get The Facts(tm)

    16. Re:wishfull thinking by dajobi · · Score: 1
      Thankfully the poster above me knows how to do a simple search. Maybe look at the instructions for searching the internet before tackling a topic like kernel architecture.

      Obviously Google is beyond my meagre abilities, because searches like nt "client/server kernel" only turn up a few discussion threads, mostly on Linux mailing lists.

      Just to Clarify NT is NOT a monolithic microkernel.

      Yeah I'm definitely doing something wrong because when I search for nt hybrid kernel I get a whole bunch of explanations of different kernel architectures, giving examples of monolithic kernels, microkernels and hybrids, the latter of which NT is the most cited.

      Please tell me how to improve my googling skills so that the results agree with your love of God.

    17. Re:wishfull thinking by TheNetAvenger · · Score: 2, Informative

      Here to get you started, here is a article I send Linux friends, since this was written by a Linux fan - it is several years old though.

      http://www.cosc.brocku.ca/~cspress/HelloWorld/1999 /04-apr/security.html

      Secondly, just put in: nt kernel client server

      Into almost any search engine, Google is what I tested it on. You can also substitute client-server to help weed out some of the articles just talking about client server computing models and not the NT kernel and OS architecture itself.

      Basically, NT has a client/server kernel and is a client/server OS architecture as well. It is not monolithic and serve multiple layers at the kernel level, but does so in a way that performance is not lost at the rate of other layered kernel designs like you would find in Linux.

      It is just a different kernel concept that the people building NT came up with to give the best of both worlds, almost monolithic kernel speeds, and without the layered overhead. Cutler and his team were no fools, and if people remember came from the VMS and Unix world, not a Microsoft world.

      Take Care...

    18. Re:wishfull thinking by gsgiles · · Score: 1

      SMP, like Big Iron, is a dinosaur from a market share perspective. Market share is the only perspective that matters. X/Linux/Solaris are given away because they cannot be sold. Microsoft always wins because they enable better software to be written, faster, and cheaper. The megaflops per second is irrelevent, just like Tyrannosaurus Rex became irrelevent once the first mammal appeared. More then 2 CPU's in a box is cost ineffective computing. The people that do cost ineffective computing are invariably the government (NSA, CIA, NASA) or those that cling to the government through cartels (Drug Companies, Universities, and Defense Contractors). The vast majority of computers in the world sit idle waiting for the next keystroke to arrive, all the SMP technology will not change that. Micosoft makes things customers want, Sun makes things developers want. There are 10,000 customers with pockets full of money for every developer. The typcial developer has no budget, hence the focus on "open source", it's all he can afford. In the long run software becomes free, but in the long run we're also all dead. Reality is can be harsh on dreams, but market share is King. Which is why this is nothing more but a market share envy whine fest over "technology".

  2. How can they? by WindBourne · · Score: 4, Insightful

    At this point, in order to see the kernel, you have to sign off on MS's shared source license. By doing that, anybody in the OSS world who signs, is then at risk of being at the receiving end of a MS lawsuit. It would be just as bad as signing off on a SCO license.

    --
    I prefer the "u" in honour as it seems to be missing these days.
    1. Re:How can they? by bradkittenbrink · · Score: 0, Troll

      There's people who missed the point, and then there's you...

    2. Re:How can they? by canuck57 · · Score: 1

      At this point, in order to see the kernel, you have to sign off on MS's shared source license.

      I fail to see why an open source programers would want to use or look at the NT/Windows kernel. I figure Solaris, BSD and Linux will all borrow from each other and Microsoft will quietly borrow from open source to get a decent scheduler.

    3. Re:How can they? by WindBourne · · Score: 2, Insightful

      a good developer can learn from all systems. Sometimes how to design thing, and other times, how not to. Even from MS, there is a lot to learn.

      --
      I prefer the "u" in honour as it seems to be missing these days.
    4. Re:How can they? by bedessen · · Score: 1

      There's no reason why anyone would need to view the kernel source code to do a high level type of comparison as in the article. Smart people have already done this, in fact.

  3. Invitation to flamewar? by RoadkillBunny · · Score: 1, Insightful

    And let the flamefest begin...

    --
    Cheers,
    RoadkillBunny
  4. Flavourful. by Anonymous Coward · · Score: 5, Funny

    " A Comparison of Solaris, Linux, and FreeBSD Kernel"

    One is crunchy, the other's chewy, and the last is malt flavoured.

  5. When will OSI licenses really start working? by Nuclear+Elephant · · Score: 3, Interesting

    Solaris 10, Linux 2.6, and FreeBSD 5.3... all have strengths, weaknesses, features, and deficiencies... so why hasn't the OSI succeeded in the cross-pollination of these three great OS's? If they're really going to benefit from each other, why not get some linux kernels with SMF or better SMP out there? When will apt finally replace /usr/ports in FreeBSD? And when will Soalris' TCP stack not suck by implementing code from Linux or BSD? I hug all three of these OS's on a daily basis, but if open source is really working why can't we seem to make an OS out of these three that flat out rocks?

    1. Re:When will OSI licenses really start working? by WindBourne · · Score: 5, Interesting

      Off hand, I would say that all three flavors rock. And they also currently borrow from each other.

      BTW, you mention Solaris's network stack. For Solaris 9.9.x, just before the release, Sun did an internal test comparing between Solaris and all the major OSs. It turned out that Solaris lost big to Linux 2.6 when it came to networking. So Sun delayed it so that the internal team could re-design it to beat Linux's networking. According to one of my friends there, they believe that they have done so. But he also said that they borrowed ideas from Linux and BSD. So yes, the x-pollination is occuring.

      --
      I prefer the "u" in honour as it seems to be missing these days.
    2. Re:When will OSI licenses really start working? by CyricZ · · Score: 1

      Licensing issues. You won't see GPL'ed code in the FreeBSD kernel, for instance.

      --
      Cyric Zndovzny at your service.
    3. Re:When will OSI licenses really start working? by ttfkam · · Score: 1

      Linux and the BSDs have been cross-pollinating for years. I would imagine that Solaris hasn't really joined the party because it was only so recently released under an open license.

      And for the record, all three flat out rock.

      --

      - I don't need to go outside, my CRT tan'll do me just fine.
    4. Re:When will OSI licenses really start working? by Anonymous Coward · · Score: 2, Insightful

      Because well none of these licences really permit sharing, well some versions of the BSD licence are GPL compatable (those with two or three clause licences or ISC compatable but not any with the advertising clause. meaning that you could gpl the code (you have to be able to gpl it before you can incorporate it into a system that is already GPLed hopefully you have heard of the viralant nature of the GPL. BSD can't incorporate GPLed code for obvious reasons, CDDL can incorporate BSD code (probably does) but not GPL (conflicts) and vice versa for the GPL. WRT Dtrace it seems doubtful that the CDDL code will be incorporated, the licence (like most out of sun is very, very scary)

    5. Re:When will OSI licenses really start working? by Anonymous Coward · · Score: 0

      Fuck apt, and fuck Linux for that matter as well.

    6. Re:When will OSI licenses really start working? by MBCook · · Score: 4, Interesting
      I'd have to agree. As each OS adds something (like randomizing the starting number (can't remember right name now) for TCP a few years ago in one of the BSDs), the others look at it and add it. It can take some time because the code can't be directly lifted due to the differences that exist at the kernel level (unlike user-space where a port between Linux and FreeBSD may require VERY little work). I remember talk about Linux's TCP/IP implementation not being up to snuff with some of the BSD stacks. They are quire competitive now, I think. I remember comparisons about how slow threads were to start in Linux compared to other OSes (although Windows is even worse, I think). But that lead to (or at least put a fire under) the NPTL project (and the others doing the same thing). I image that FreeBSD worked on their version of the Big Kernel Lock and SMP support because of Linux having better and better SMP support in the last few years, and working to remove Linux's Big Kernel Lock (still remains to some degrees).

      The system has been working very good. Plus there are obvious connections. FreeBSD (and I assume Solaris) can both read ext2 (and I assume 3). Both have DevFS (which Linux has had, at least in some form, I don't know how close/far apart they were). So code which can be easily adapted does get moved. I would be VERY surprised if there were only a handful of drivers for FreeBSD that said something along the lines of "Based on the Linux driver by Mr. Reverse Engineer", and I'd imagine there are drivers that go the other way too (I'm not nearly as familiar with FreeBSD as I am with Linux).

      --
      Comment forecast: Bits of genius surrounded by a sea of mediocrity.
    7. Re:When will OSI licenses really start working? by Jester998 · · Score: 3, Insightful

      When will apt finally replace /usr/ports in FreeBSD?

      Hopefully never... Ports rocks!

    8. Re:When will OSI licenses really start working? by jhines · · Score: 2, Interesting

      A port of Dtrace from Solaris to FreeBSD has been announced, and pf from OpenBSD has been ported to the others.

      It is happening. Solaris is the new kid on the block, it will take time for the code to be grokked and made use of. Or vice versa.

    9. Re:When will OSI licenses really start working? by BobNET · · Score: 3, Informative

      No, but a GPL driver can be used as a reference when writing a BSD-licensed one. This happened when the OpenBSD project reverse-engineered the Ralink 802.11 driver from Linux, for instance.

    10. Re:When will OSI licenses really start working? by CyricZ · · Score: 1

      How did they use it as a "reference"? Did the same developer(s) look directly at the GPL'ed driver code, and the write a BSD implementation? Or did they reverse engineer it using the typical method of two independent groups who have no contact besides a written specification of the hardware?

      --
      Cyric Zndovzny at your service.
    11. Re:When will OSI licenses really start working? by timmarhy · · Score: 1

      typically they just look at the specs and write their own version. it's perfectly legal to do so.

      --
      If you mod me down, I will become more powerful than you can imagine....
    12. Re:When will OSI licenses really start working? by CyricZ · · Score: 1

      If they were going from the specs then there is no reason for them to have had to resort to using a GPL'ed implementation as a reference, as the parent poster was suggesting they did.

      --
      Cyric Zndovzny at your service.
    13. Re:When will OSI licenses really start working? by syrinx · · Score: 1

      You beat me to it. I loves me some ports.

      --
      Quidquid latine dictum sit, altum sonatur.
    14. Re:When will OSI licenses really start working? by misleb · · Score: 1

      Personally, I see Solaris having all of its features "stolen" by going open source. Before you know it, LInux and FBSD will have the features, and there will be no compelling reason to run Solaris on x86. I have never seen solaris x86 as particularly competative product. The main reason I see people running Solaris is to take advantage of Sun's big iron (SPARC) systems. I don't think Solaris will ever be able to compete seriously with FBSD and Linux on x86 hardware.

      -matthew

      --
      "THERE IS NO JUSTICE, THERE IS ONLY ME." -Death
    15. Re:When will OSI licenses really start working? by The+Cisco+Kid · · Score: 0, Flamebait

      You leave /usr/ports/ alone - it blows anything ive ever seen in linux away (nothing against linux, but I would love to have a linux system with something comparable to ports, both in the way it works as well as the completeness)

    16. Re:When will OSI licenses really start working? by Thalagyrt · · Score: 2, Informative

      I personally am a FreeBSD guy, but I must say I've looked at Gentoo's portage system and it's astoundingly awesome. They took the basic idea and tree behind ports and made it very easy to use and update via emerge. It's worth a look, even if you don't wind up using it. I'm sticking with FreeBSD as I love the way the userland and system sources are set up, but I can't deny that Gentoo has done something amazing. :)

      --
      Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo!
    17. Re:When will OSI licenses really start working? by BobNET · · Score: 1

      Did the same developer(s) look directly at the GPL'ed driver code, and the write a BSD implementation?

      Pretty much. In the case of the Ralink driver the Linux code contained its own 802.11 layer (along with the hardware access layer). OpenBSD already had a generic 802.11 layer so it was probably easier to sort through the code and figure out how the hardware was being accessed, then write new BSD code based on those findings.

      Although I'm sure the *BSDs have used clean-room design in other cases, too...

    18. Re:When will OSI licenses really start working? by WindBourne · · Score: 2, Insightful
      I remember comparisons about how slow threads were to start in Linux compared to other OSes (although Windows is even worse, I think).

      I used to teach linux API and kernel Internals at various companies (HP, IBM, and Avaya). At that time, a student said something similar, so we decided to do some quick benchmarking( on 2.4 vs. 2000). It was what I would expect; Linux was very slow on the thread compared to NT. OTH, Linux blew away Windows on process creation. The simple answer to this, was that Linux's process is nothing more than a thread with memory creation. In contrast, Windows (at 2K) has optimized threads, but not focused on process creation. Where it is at now, well....

      --
      I prefer the "u" in honour as it seems to be missing these days.
    19. Re:When will OSI licenses really start working? by timmarhy · · Score: 2, Insightful

      depending on the licensing issues which the parent probably doesn't understand they could or they couldn't. the gpl is very bad for "infecting" programmers like that. i'm sure it'd be very grey ground to look at gpl'd code in order to write say a bsd version.

      --
      If you mod me down, I will become more powerful than you can imagine....
    20. Re:When will OSI licenses really start working? by discogravy · · Score: 1, Interesting
      When will apt finally replace /usr/ports in FreeBSD?

      Is this something that's like, wildly wanted? Most FreeBSD users seem to like ports...and if you're in a hurry or using old hardware, there's always pkg_add -r [packagename]. I do love apt, but why bother?

    21. Re:When will OSI licenses really start working? by Anonymous Coward · · Score: 1, Funny
      The system has been working very good.

      "very well".

      excellent, glad you agree

    22. Re:When will OSI licenses really start working? by Anonymous Coward · · Score: 0

      "I don't think Solaris will ever be able to compete seriously with FBSD and Linux on x86 hardware."

      Sun provides a better roadmap, better compatibility across versions, better documentation, better development tools, and a $2 billion/year R&D budget. Sun will do very well on x86...in fact, they are doing well on x86 (didn't AMD say Sun is their biggest Opteron customer?).

      Also, Sun recently announced the fastest x86 servers (X4100/X4200).

    23. Re:When will OSI licenses really start working? by Arkus · · Score: 1, Interesting

      I seriously doubt you have to worry about apt replacing ports ever. As slick as apt is to use on the x86 platform, I hear from my friends lucky enough to run 64-bit x86 Linux systems that there are all sorts of problems when trying to get apt working properly in that environment.
      For instance when browsing the web, some of the plugins out there are only available in the 32-bit x86 flavor, not 64-bit. Fedora can use yum as the dependency checker and even my friend the die hard apt user has switched his systems to using yum for updates. Perhaps yum will become the new open source standard.

      --
      -- Just my $0.02 worth...
    24. Re:When will OSI licenses really start working? by Ragica · · Score: 1
      The BSD ports system (with a definite nod of the head also to pkgsrc) does indeed rock.

      That being said, it also could learn a bunch of things from other systems (though i don't hold my breath on this happening any time soon).

      Particularly it could learn a few things from its famous progeny: portage.

      I love the idea of portage whereby absolutely everything in Gentoo is a package (i'm typing this on my Gentoo powered laptop). However, I don't find it nearly as stable as my FreeBSD ports-based box. (This may be partly just the nature of Linux where bits and pieces of the core system get swapped and upgraded so much, and not entirely Gentoo).

      Things that I'd love to see from portage (and other places) brought to FreeBSD:

      1. ability to have more than one version of a port maintained at the same time.
      2. ports system ported to a more manageable and extendable language than just shell scripts.
      3. ability to have ports that maintain and build from SVN/CVS, or whatever, version control.
      4. pkg-plists auto-generated by the install process (which helps make the last point manageable---and ports easier to maintain).
      5. some extremely useful elements of the great (the only reason I have ruby installed on my box) portupgrade script (i won't bother to itemize which ones) brought into the base ports system (not to mention porteasy and a few other scripts that have popped up to ease some of the ports awkwardness).

      Ah sigh. This is all off topic anyhow...

    25. Re:When will OSI licenses really start working? by Anonymous Coward · · Score: 0

      Oh, look at that, the crackhead linux fanbois are full of modpoints today.

    26. Re:When will OSI licenses really start working? by adrianmonk · · Score: 2, Interesting
      FreeBSD (and I assume Solaris) can both read ext2 (and I assume 3). Both have DevFS (which Linux has had, at least in some form, I don't know how close/far apart they were).

      I'm fairly sure Solaris was the first to have an automatically-managed /dev. Solaris has had its /dev and /devices arrangement (in which everything in /dev is a symlink to something in /devices, there is no such thing as MAKEDEV anymore, and everything is automatically maintained) since at least Solaris 2.4, and quite possibly since the original Solaris 2.0. And Solaris 2.4 came out in 1994, and Solaris 2.0 came out in 1992, so it seems that Solaris has had an automatically-managed /dev much longer than Linux has.

      In fact, it would seems that Solaris has had an automatically-managed /dev since before Linux even hit version 1.0 (in 1994). Meanwhile, Linux is still dealing with issues like its devfs being declared obsolete before udev (the replacement) was even out of beta. Don't get me wrong. I think the Linux kernel has a lot to offer. But, I think in this one particular area, Linux is literally 10 years behind Solaris.

      (By the way, if someone wants to offer corrections, feel free to go ahead. One of the things that makes me really uneasy about Linux is the way that /dev management seems, from my limited experience, to be an afterthought. If If I were to find out that this perception of mine is only due to ignorance, I would probably feel like the world is a better place and even sleep a tiny bit better at night knowing that there are few potential headaches out there waiting to be dealt with.)

    27. Re:When will OSI licenses really start working? by Anonymous Coward · · Score: 0

      The poster was replying to the parent which got +5 for saying he liked FreeBSD yet some fool decided to waste mod points negatively. Must not be a Fedora/yum fan.

    28. Re:When will OSI licenses really start working? by csirac · · Score: 2, Interesting

      You're right about the sub-par /dev managment in Linux. When I first switched to udev from the deprecated devfs (which I never had any trouble with), I couldn't boot properly from my software raid1 volumes because udev needed the root volume mounted to create the mdN device nodes, but the root volume couldn't be mounted until mdadm was pointed to an mdN device node to assemble...

      That was about 2-3 years ago. It all seems to work smoothly these days, I think they just patched some work-arounds (guess the major/minor numbers) in the mdadm tool itself. Considering I can do a plain Debian install, arranging things so that / (incl. /boot) lives on LVM living on software raid, without hand-tuning a thing is a good sign that things have settled down. Additionally, I can modprobe any driver and have the dev node magically show up in /dev automagically. rmmod removes the driver and also the dev node. So I think things have matured in the /dev side of things over the last few years, even if it isn't as elegant as the way Solaris does it (which I'm not familiar with).

      If the /dev management is your only issue, then that says a lot for Linux I think ;-)

    29. Re:When will OSI licenses really start working? by tonyr60 · · Score: 1

      So, if Solaris will never compete seriously with xBSD and Linux, why would anyone steal its features? And the assumption that once all those features have been stolen there would be "no compelling reason to run Solaris on x86" suggests there is a compelling reason now. It also suggests that as of Open Sourcing Solaris, Sun and the community are not going to add any more features to Solaris.... I am confused at your logic.

    30. Re:When will OSI licenses really start working? by civilizedINTENSITY · · Score: 2, Informative
      In terms of thread and process design differences
      In contrast, the Unix approach generally has been to favor process creation and context switching at the cost of some efficiency for long-running processes, to favor multiprocessor memory management at the cost of increased hardware complexity, and to favor process or thread-level independence at the cost of making interprocess communication more difficult.
      In terms of real work, for the time frame you are refering to, it is interesting that Oracle runs 25% faster on Linux than on Windows:
      Same database version running the same version of our code, runs at LEAST 25% faster on Linux (RedHat Advanced Server 2.1) than Windows (XP). I don't think I'm allowed to give any numbers for 10g yet, but let's just say it's a whole lot faster than 9iR2 running the same code. 10g + Lniux = blazing speed (sorry for the marketing blurb, but our development team still can't get over how much faster it is).
    31. Re:When will OSI licenses really start working? by civilizedINTENSITY · · Score: 1

      IANAL, but when I asked I was told that "Clean room design is useful as a defense against infringement because it relies on independent invention." However, one could independently reinvent a copyrighted method. Using a clean room design is a defense, but isn't an "ultimate defense", as truth is for allegations of slander. Likewise, just being aware of a method doesn't mean you can't code around it.

    32. Re:When will OSI licenses really start working? by civilizedINTENSITY · · Score: 1
      "you have to be able to gpl it before you can incorporate it into a system that is already GPLed hopefully you have heard of the viralant nature of the GPL"

      Actually, not true. You can combine GPLed code with code that has a GPL compatible license. That which was BSDed is still BSDed, and that which is GPLed is still GPLed.
      We classify a license according to certain key questions:
      * Whether it qualifies as a free software license.
      * Whether it is a copyleft license.
      * Whether it is compatible with the GNU GPL. (This means you can combine a module which was released under that license with a GPL-covered module to make one larger program.)
      * Whether it causes any particular practical problems.
    33. Re:When will OSI licenses really start working? by molnarcs · · Score: 1
      When will apt finally replace /usr/ports in FreeBSD?

      Hopefully never! I really really hope that it doesn't. Why? Because we already have package management - think of ports as a bonus, where you can dynamically (and very easyliy) configure dependencies: with an mplayer.deb, you don't know wheter it was compiled with x264 support or not - in ports, you just put one statement in pkgtools.conf, and mplayer will always compile with x264 support. Otherwise, for all intents and purposes, the various pkg_ tools work just like apt. Or you can instruct portupgrade to work like apt (portinstall -PP mplayer = apt-get install mplayer).

      So what you suggest as an "improvement" is really taking away the reallycool ports system ...

    34. Re:When will OSI licenses really start working? by TheRaven64 · · Score: 1
      Just out of interest, were you comparing fork(), or fork() and exec() to NT process creation? On a modern UNIX-like system, a fork() call does very little - it creates a small set of data structures in kernel-space, and marks all of the pages owned by the parent process as read only[1]. In contrast, the NT kernel creates the data structures, maps a program into them, creates a thread, and begins executing.

      When creating threads, the NT kernel creates a small kernel data structure, while the Linux kernel effectively goes through all of the steps of process creation, without the memory modifications.

      The slower speed of NT creating processes may well be offset by the fact that subsequent memory writes will require kernel traps and copies for a little while afterwards.

      [1] When either process attempts to write to a page, then it causes a protection error in the kernel, which then copies the page and updates the page table so both processes have their own copy of the page.

      --
      I am TheRaven on Soylent News
    35. Re:When will OSI licenses really start working? by Fred_A · · Score: 1

      The only use I've ever seen of x86 Solaris was to power toy systems to get familiar with the OS or to test something which would then be run on Sparc machines.

      Presumably there must be some people who run production systems on x86 with Solaris but I've never seen any.

      Also I haven't seen v. 10 yet so maybe it got better on PC.

      --

      May contain traces of nut.
      Made from the freshest electrons.
    36. Re:When will OSI licenses really start working? by Anonymous Coward · · Score: 0

      You cannot copyright methods.

    37. Re:When will OSI licenses really start working? by Titan100 · · Score: 1

      When will apt finally replace /usr/ports in FreeBSD? The day hell freezes and pigs fly, hope I never see it because ports is heaps and bounds beyond apt-get.

    38. Re:When will OSI licenses really start working? by timeOday · · Score: 1
      i'm sure it'd be very grey ground to look at gpl'd code in order to write say a bsd version.
      I think not, but I'll happily admit I'm wrong if you present an instance or two where somebody applied what they learned reading GPL code and legal wrangling ensued.
    39. Re:When will OSI licenses really start working? by Anonymous Coward · · Score: 0

      As each OS adds something (like randomizing the starting number (can't remember right name now) for TCP a few years ago in one of the BSDs), the others look at it and add it.

      I'm pretty sure that was done to fix a security issue with TCP packet sequence #s. It was either a replay attack or a spoofing attack. So it was pretty important to implement that in as many TCP stacks as possible.

      Whether that was an example of cross pollenization or not, I'm not sure. It could have simply been that they all needed to make the change around the same time.

    40. Re:When will OSI licenses really start working? by WindBourne · · Score: 1

      spawn vs. fork/exec. Since I do not know MS, I do not know how to do a process creation (not did my students since they were sco/solaris ppl).

      --
      I prefer the "u" in honour as it seems to be missing these days.
    41. Re:When will OSI licenses really start working? by misleb · · Score: 1
      So, if Solaris will never compete seriously with xBSD and Linux, why would anyone steal its features?

      I'm not sure what one necessarily has to do with the other. Plenty of OSes throughout history have had advanced features that other OSes didn't had but never competed serously.

      And the assumption that once all those features have been stolen there would be "no compelling reason to run Solaris on x86" suggests there is a compelling reason now.

      I'm not sure sure I would necesssarily call it compelling. I mean, if you know how to (or even care to) take adantage of something like DTrace, that might be compelling. Otherwise, Solaris x86 is about as desirable as it was 5 years ago.

      It also suggests that as of Open Sourcing Solaris, Sun and the community are not going to add any more features to Solaris.... I am confused at your logic.,

      No, you're just confused, period. The fact is that the Linux and BSD communities are much larger. Whatever new features Solaris adds will probably be incorporated into one or both of Linux and FreeBSD. That is, if they are even worth the trouble.

      -matthew

      --
      "THERE IS NO JUSTICE, THERE IS ONLY ME." -Death
    42. Re:When will OSI licenses really start working? by hackstraw · · Score: 1

      Sun did an internal test comparing between Solaris and all the major OSs. It turned out that Solaris lost big to Linux 2.6 when it came to networking.

      I hope that they did do internal testing with older versions of Solaris as well, because TCP/IP throughput went down about 50% (yes, that is 50%) between Solaris 7 and 9 on the same hardware. I have not tested 10 yet.

    43. Re:When will OSI licenses really start working? by Allador · · Score: 1

      This (RH AS vs. WinXP) is an apples to oranges comparison.

      You've got RedHat's most advanced, most highly-tuned for server duties compared to Windows lowest-end, most-highly-tuned-for-anything-but-server-duties.

      A correct comparison would be to Win2000 Advanced Server, or Win2003 Enterprise Server, depending on the exact timing of the comparison.

      You're also quoting an Oracle employee who can only occasionally coherent (ie, appears to have trouble writing sentences that make sense), and insists on referring to Windows as 'windoze'. This is not exactly your most trustworthy, professional consultant here.

    44. Re:When will OSI licenses really start working? by Allador · · Score: 1

      *sigh* and of course while trying to complain about someone's writing of incoherent sentences, I write an incoherent sentence.

      What I meant to say was:

      You're also quoting an Oracle employee who can only occasionally produce coherent sentences (ie, appears to have trouble writing sentences that make sense), and insists on referring to Windows as 'windoze'.

  6. Filesystems by Bogtha · · Score: 2, Interesting

    Does anybody know why ReiserFS 3 hasn't been ported to any of the BSDs yet? ReiserFS 4 looks as though it's pretty revolutionary, if distributions settle on that as a default, I can see that giving quite an advantage to Linux compared with the other kernels.

    I noticed that the article didn't mention LUFS. This alone allows for tremenduous possibilities, not least of which is rapid development of filesystems. Do any other systems (besides GNU HURD) have userspace filesystems?

    --
    Bogtha Bogtha Bogtha
    1. Re:Filesystems by Anonymous Coward · · Score: 1, Informative

      "Does anybody know why ReiserFS 3 hasn't been ported to any of the BSDs yet? ReiserFS 4 looks as though it's pretty revolutionary, if distributions settle on that as a default, I can see that giving quite an advantage to Linux compared with the other kernels."

      because reiser4 is gpl licensed, unlike freebsd.

      "I noticed that the article didn't mention LUFS. This alone allows for tremenduous possibilities, not least of which is rapid development of filesystems. Do any other systems (besides GNU HURD) have userspace filesystems?"

      fuse is in linux 2.6.14.

    2. Re:Filesystems by salahx · · Score: 3, Informative

      LUFS is unmaintained, it has been replaced with FUSE. FUSE includes a LUFS-to-FUSE bridge called Lufis

      FUSE is now merged into the Linux kernel, and will appear in 2.6.14.

    3. Re:Filesystems by gellenburg · · Score: 2, Informative

      The GPL has absolutely nothing to do with it whether or not it can be ported to FreeBSD.

      It's not like there would be any problems with releasing the source-code to the kernel extension for it.

      After all, GCC is included. So is Ext2 & Ext3 file systems.

      Do you mean to tell me those aren't GPL'd either?

    4. Re:Filesystems by Anonymous Coward · · Score: 0
      Does anybody know why ReiserFS 3 hasn't been ported to any of the BSDs yet?



      Is it BSD licensed? Is it under the 2 clause licence FreeBSD now uses?

      If the 4 clause BSD licence was 'evil' due to the 'advertising clause' and FreeBSD has dumped 'the advertising clause' - why would they sign up for Yet we as a community do far too little to prominently credit the names of the authors.

    5. Re:Filesystems by CyricZ · · Score: 3, Informative

      Revolutionary often suggests a higher degree of complexity. Licensing issues aside, it's not just a matter of getting the ReisierFS3 or ReiserFS4 code to compile with the FreeBSD kernel. It has to be tested for compatibility, quality and performance. You can't be losing data, and if it doesn't offer a performance benefit over UFS or UFS2 then there's very little point in porting it.

      The FreeBSD and Linux kernels do differ fairly significantly, so it may not even be an easy task porting over the code (again, licensing issues aside). Indeed, it may even be a better idea for the FreeBSD team to perform their own implementation of the ReiserFS4 concepts and algorithms.

      --
      Cyric Zndovzny at your service.
    6. Re:Filesystems by CyricZ · · Score: 1

      While it doesn't preclude the possibility of it being ported over, it will not be included in the main distribution. As such, it most likely will not become widely used as a native FreeBSD filesystem. It will probably only be used by the technically astute who would use it for compatibility with existing Linux filesystems. As such, it probably would not receive widespread testing. And when it comes to filesystems, the more testing the better.

      Also, GCC isn't part of the FreeBSD kernel, you know.

      --
      Cyric Zndovzny at your service.
    7. Re:Filesystems by gellenburg · · Score: 1

      Correct, but Ext2 and Ext3 filesystems *are*.

    8. Re:Filesystems by CyricZ · · Score: 1

      Support for ext2 and ext3 (directly derived from Linux, that is) may have been made available by third parties, but they are not part of the FreeBSD kernel core.

      It's not in the kernel modules portion of the FreeBSD CVS repository:
      http://www.freebsd.org/cgi/cvsweb.cgi/src/lkm/

      Nor is such code with the other filesystem code:
      http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/fs/

      --
      Cyric Zndovzny at your service.
    9. Re:Filesystems by Anonymous Coward · · Score: 0

      Did the BSD folks do their own implementation of the ext2/3 specification?

    10. Re:Filesystems by ajs · · Score: 5, Interesting

      "It has to be tested for compatibility, quality and performance. You can't be losing data, and if it doesn't offer a performance benefit over UFS or UFS2 then there's very little point in porting it."

      Clearly you don't know about Reiser (no offense, it's just that that question shows a stark lack of understanding with regards to why Reiser is interesting in the first place).

      Reiser solves one of the oldest problems facing the old Unix-style filesystem: the adoption of btree-order performance directory lookups (using Reiser's "dancing trees") without significant loss in other areas of filesystem performance, e.g. directory entry creation and deletion, etc. This is something which was long thought impossible.

      This lead to further development, since the major reason to avoid creating thousands of temporary files has always been directory lookup times. So, now the question is: how far do you go with files? Reiser 4 answers that question by adding significant semantics to files which were not practical with slower filesystems (again, keep in mind that when I say "slower" I refer to the performance bottleneck surrounding large directories primarily).

      The problem with Reiser is that it is Reiser, and none of the exisiting filesystems can match its performance in these areas. That means that if you write an application that relies on Reiser's performance, it really RELIES on Reiser, and cannot perform well under normal filesystems without significant engineering (e.g. writing special-case code for Reiser and non-Reiser filesystems). In some cases (e.g. databases) this might be worthwhile, but in the case of more mundane applications, having filesystem-specific code is not always viable.

      For more information, see the Reiser4 site: http://www.namesys.com/v4/v4.html

    11. Re:Filesystems by CyricZ · · Score: 0, Redundant

      It would appear they have not, or if support is available they do not include it with the core FreeBSD code.

      It's not in the kernel modules portion of the FreeBSD CVS repository:
      http://www.freebsd.org/cgi/cvsweb.cgi/src/lkm/

      Nor is such code with the other filesystem code:
      http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/fs/

      --
      Cyric Zndovzny at your service.
    12. Re:Filesystems by billybob2 · · Score: 5, Informative

      I noticed that the article didn't mention LUFS. This alone allows for tremenduous possibilities, not least of which is rapid development of filesystems. Do any other systems (besides GNU HURD) have userspace filesystems?

      LUFS hasn't been maintained since 2003, and is therefore almost dead. FUSE (Filesystem in Userspace) is the most promising alternative that is getting merged into the 2.6.14 mainline Linux kernel. It works with several network filesystem protocols like:
      SMB for FUSE
      SSH Filesystem (SSHFS)
      FuseDAV (WebDAV)

      Linux-FUSE can also provide all applications on the system (even shell utilities) with access to network locations set up under KDE. There's a tutorial for how to do this, but last time I tried it did not compile :-(

      These are much needed improvements to usability of the Linux desktop, because unprivileged (non-root) users shouldn't have to contact their sys. admins everytime they need to mount network locations. The KDE approach to providing network access is not complete without Linux-FUSE, because only KDE apps can open/save to network locations set up under KDE. Hopefully the KDE devs will create a GUI for mounting/unmounting FUSE shares so that all apps (GTK, Motif, even shell utilities) can access network files.

    13. Re:Filesystems by Arandir · · Score: 4, Informative

      The GPL has absolutely nothing to do with it whether or not it can be ported to FreeBSD.

      Yes it does. A filesystem is a part of the kernel. The kernel is under the BSD license. The inclusion of Reiserfs code in the kernel would require it to be under the GPL license instead.

      So is Ext2 & Ext3 file systems.

      The ability to read ext2 file systems is included, but it is not the ext2 file system itself. You cannot create and write to ext2 file systems with FreeBSD.

      --
      A Government Is a Body of People, Usually Notably Ungoverned
    14. Re:Filesystems by Anonymous Coward · · Score: 0

      Does anybody know why ReiserFS 3 hasn't been ported to any of the BSDs yet? ReiserFS 4 looks as though it's pretty revolutionary, if distributions settle on that as a default, I can see that giving quite an advantage to Linux compared with the other kernels.

      Because, as a general rule, people who use BSD don't enjoy massive data loss and/or corruption.

    15. Re:Filesystems by dmaxwell · · Score: 1

      Reiser4 implements it own VFS and does intrusive things to the host OS' VFS. Kernel coders don't want a duplicate VFS and want to incorporate features at the appropriate level of the kernel. Reiser wants his filesystem to be differentiated on features and most clearly does NOT want other filesystems gaining them (futile) and that requires the duplication which the kernel devs (rightfully) don't like.

      I doubt Mr. Reiser would have much better luck with the kernel devs on any of the BSDs.

    16. Re:Filesystems by evilviper · · Score: 3, Informative
      Does anybody know why ReiserFS 3 hasn't been ported to any of the BSDs yet?

      Two reasons.

      1. It's GPL'd code. Why in the world would a BSD-licensed project include GPL'd code, and in the kernel of all places?

      2. UFS2 is better in just about every way. The issue of journaling vs. soft-updates has been rehashed a million times over, and soft-updates are simply better. http://www.usenix.org/publications/library/proceed ings/usenix2000/general/full_papers/seltzer/seltze r_html/index.html
      The one issue journaling had in it's favor was fsck times, and UFS2 with it's "background fsck" has eliminated that problem. A system based on UFS2 will be up-and-running far faster than a ReiserFS journaled system, due to reiserfsck taking much longer to complete.

      So let me ask you. For what reason should anyone even consider porting reiserfs to any of the BSDs?
      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    17. Re:Filesystems by CyricZ · · Score: 1

      Indeed, if that is the case, then it is no surprise that the FreeBSD developers have not dedicated resources towards performing a port, even if it isn't integrated within the core FreeBSD codebase. They're known for engineering a solid operating system, and such shenanigans as you describe do not lead to well implemented designs.

      --
      Cyric Zndovzny at your service.
    18. Re:Filesystems by squidinkcalligraphy · · Score: 1

      As I understand it, Reiser4 barely (if at all) departs from standard POSIX filesystem semantics. While at the same time, allow meta-data capabilities (eg ACLs) of just about any sort. It does this by treating each file as a directory as well. So if you open the file as a file, you get the file. If you open the file as a directory, you get its meta-data. This does not break anything, nor require the use of any extra filesystem primitives. So I would think that in theory a port should be easy to any POSIX system.

      --
      "I think it would be a good idea" Gandhi, on Western Civilisation
    19. Re:Filesystems by MikeFM · · Score: 1

      Unfortunately, while much better than ext2 or ext3, Reiser still doesn't do great at directories containing hundreds of thouands or millions of files. It's better than any other FS I've tried for this but could still use some work. It handles large amounts of files over the entire filesystem well though which is good.

      Layering your own FS on top of Reiser works pretty well. Break up directories into smaller directories containing sub-directories of files increases access time a lot. Squid and other programs do something similar to this themselves.

      --
      At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
    20. Re:Filesystems by CoughDropAddict · · Score: 1

      The kernel is under the BSD license. The inclusion of Reiserfs code in the kernel would require it to be under the GPL license instead.

      Including GPL'd code does not forbid you from releasing your code under whatever license you like. You just have to make it available as GPL as well. You could distribute the non-Reiser parts of the kernel as GPL and BSD.

    21. Re:Filesystems by Anonymous Coward · · Score: 0

      It would appear that you are a crackhead.

    22. Re:Filesystems by SnowZero · · Score: 2, Interesting

      The problem with Reiser is that it is Reiser,

      I'd say the real problem is often Hans Reiser. He's usually got good ideas, but he tends to quickly get on people's bad side with his argumentative style. What's strange is that this is usually limited to the first 10-20 posts in some big discussion, then he calms down and works more directly and constructively with developers. If you look at the past few Reiser discussions on lkml, they seem to follow this pattern.

    23. Re:Filesystems by MikeFM · · Score: 1

      I agree that a solid implementation of user-space file systems is a long time coming to Linux. I hate seeing KDE, Gnome, and other projects have to implement virtual filesystems of one type or another that don't exist outside of their own enviroment. In Unix everything is a file and that is for good reason. I hope FUSE cures these ills and makes it easier to write our own filesystems. Last time I tried working with it it was something of a pain to get working properly. Hopefully that's changed.

      --
      At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
    24. Re:Filesystems by civilizedINTENSITY · · Score: 1

      The GPL has no problem with a GPLed module and a GPL-compatible module being combined to form a single program. So there is no GPL based exclusion to suggest that "inclusion of Reiserfs code in the kernel would require it to be under the GPL license instead." Do please correct me if I'm wrong.

    25. Re:Filesystems by SnowZero · · Score: 4, Insightful

      I agree that BSD does not need Reiser, but I disagree with the blanket statement that BSD's filesystem is necessarily better. Comparative benchmarking of full implementations has shown that the differences between filesystems is not that large for most workloads, so nobody needs to care as long as the filesystem safeguards its integrity.

      2. UFS2 is better in just about every way. The issue of journaling vs. soft-updates has been rehashed a million times over, and soft-updates are simply better.

      The link you give is (a) written by the people that wrote soft updates, and (b) compares outdated journaling file systems, which are essentially strawmen. Reiser looks great in the papers on their own website too, but that's not a really an objective comparison either. If you want to put this to rest, you'll need to run a benchmark with more modern journaling file systems (in particular, those with wandering logs).

      The one issue journaling had in it's favor was fsck times, and UFS2 with it's "background fsck" has eliminated that problem. A system based on UFS2 will be up-and-running far faster than a ReiserFS journaled system, due to reiserfsck taking much longer to complete.

      The point of a journaling file system is that you don't need to run fsck (except in the case of a hard drive failure, of course). Mounting a several-hundred GB Reiser partition takes a few seconds, even if it was not cleanly unmounted. How much faster do you want that to be?

      Last I heard from some of the authors, the main drawbacks keeping softupdates from being used elsewhere were that it was more invasive to the VFS than a journaling file system, and had extremely bad memory usage behavior for specifically crafted (but unrealistic) benchmarks. I'd be interested in knowing if there has been some progress on these since 2000. Journaling file systems have come a long way in that time.

    26. Re:Filesystems by TheRaven64 · · Score: 2, Informative

      It's a slightly confusing area. If you have a BSD kernel, and you load a GPL module, then the entire kernel becomes GPL. When you unload the module, the kernel reverts to a BSD license. While the kernel is GPL'd, all of the components other than the GPL'd module itself are still BSD licensed - it's just the sum which is GPL'd.

      --
      I am TheRaven on Soylent News
    27. Re:Filesystems by Bert64 · · Score: 1

      What we also need, is gracefull handling of forcibly removed devices... If i rip a USB hard drive out of the system without unmounting it, i cant unmount it and any access to it hangs... There needs to be a way to force unmount it (and risk crashing any processes which accessed it) to be more in line with windows and macos.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    28. Re:Filesystems by kappa · · Score: 1

      FreeBSD portalfs, mentioned in the TFA, is a user-mode filesystem.

    29. Re:Filesystems by Kjella · · Score: 1

      It's a slightly confusing area. If you have a BSD kernel, and you load a GPL module, then the entire kernel becomes GPL. When you unload the module, the kernel reverts to a BSD license. While the kernel is GPL'd, all of the components other than the GPL'd module itself are still BSD licensed - it's just the sum which is GPL'd.

      Yes, and it gets a little more weird when it comes to distribution. There's a very big area between "mere aggregation" to "derivate of GPL'd work" that is rather gray. I mean in theory you can even make separate object files in plain C which aren't technically derivates, since they don't hold any of the original source. They are first combined to one work when they are linked as an executable. DLLs, Plug-ins, interpreted languages and such things only make this more visible.

      --
      Live today, because you never know what tomorrow brings
    30. Re:Filesystems by Anonymous Coward · · Score: 0
      I enjoy the prospect of some new superfast, fetches the files as I think about them, kind of filesystem as much as the next guy but in reality I don't think that they are all that.


      Fundamentally, they are all tree based, use very similar algorithms and historically anything more complex than that has been done outside the filesystem by applications. Whether or not that's the trend of the future remains to be seen but as an engineer I kind of appriciate that model.


      Part of the beauty in the linux world is that if I dump or tar stuff up, I get it all. On Mac and Windows there are potentially extra attributes that are missing from my backups. (In fact usually are) without some special softwares. In the linux world, it's nice to have reiser, ext3, JFS, XFS, and others but they aren't all equally supported. LVM, ACLs, dump/restore, and boot loader support only all work with a couple of those. throw r4 into the mix and I have no reason to believe that it will be a fully supported filesystem with all of the bells and whistles (the supporting applications that make it all work) that ext3 has.

    31. Re:Filesystems by 6*7 · · Score: 1

      This sounds like complete BS. Care to support your claim?

    32. Re:Filesystems by virtual_mps · · Score: 1
      Reiser solves one of the oldest problems facing the old Unix-style filesystem: the adoption of btree-order performance directory lookups (using Reiser's "dancing trees") without significant loss in other areas of filesystem performance, e.g. directory entry creation and deletion, etc. This is something which was long thought impossible.

      In the real world, it turns out to have made the filesystem slower for large file performance. (Which is unsurprising.) reiser4 supposedly addresses that (and since addressing it was a goal, don't try to pretend it's not real) but only time will tell how the balance of the new filesystem works in the real world. I don't expect to see real data on that for another 2-4 years (until it's far enough out of beta for wide deployment).
      The problem with Reiser is that it is Reiser, and none of the exisiting filesystems can match its performance in these areas. That means that if you write an application that relies on Reiser's performance, it really RELIES on Reiser, and cannot perform well under normal filesystems without significant engineering

      That's mostly true, but not quite for the right reason. The reality is that Reiser (the guy) doesn't really care about having a traditional filesystem. The thing that he's written supports filesystem semantics, but what he really wants is to rip up the traditional model for interacting with a filesystem and have people use new semantics for managing their data. It's not the performance of other filesystems that keeps people from using reiserfs for that, it's the fact that their app would then depend on semantics that don't exist on any other filesystem. The set of people who want to write reiser-only applications is vanishingly small.
      In some cases (e.g. databases) this might be worthwhile,

      No, for databases it would be useless because databases already have that functionality. There's no win for a database to throw out existing working code and replace it with (buggy, since new) code that only runs on a subset of a single platform for no appreciable gain. Where it might be worthwhile is for desktop type applications (user data management) but that's exactly the kind of app that needs to run on a naive user's computer without requiring their disk to be formatted with an unusual filesystem.
    33. Re:Filesystems by RoadWarriorX · · Score: 1
      If you have a BSD kernel, and you load a GPL module, then the entire kernel becomes GPL.

      Why? I am not redistributing the BSD kernel with the GPL module. I am just linking it with binary code for my personal use. See section 0 of the GPL v2:
      Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.


      IANAL, but there is no restriction where I can link a GPL module to a BSD kernel. However, there has been many arguments that most modules cannot be created without the kernel headers and internals. So, if it were even possible, how would one create a kernel module that works in BSD and Linux AND can satifies the conditions of both licenses? I personally do not think it's possible, IMHO.
    34. Re:Filesystems by quantum+bit · · Score: 1

      Support for ext2 and ext3 (directly derived from Linux, that is) may have been made available by third parties, but they are not part of the FreeBSD kernel core.

      Yes, ext2 is included with the kernel source. It's not linked into the kernel by default, but it is compiled as a module.

      $ ls -l /boot/kernel/ext2*
      -r-xr-xr-x 1 root wheel 65894 Sep 29 14:08 /boot/kernel/ext2fs.ko

      It's not in the kernel modules portion of the FreeBSD CVS repository:
      http://www.freebsd.org/cgi/cvsweb.cgi/src/lkm/


      Uh, check the attic. The src/lkm directory hasn't existed in about 6 years.

      Nor is such code with the other filesystem code:
      http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/fs/


      Here is what you're looking for:
      http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/gnu/ fs/

      Note however that ext2 isn't extremely well supported. It's good enough to occasionally read files off a linux partition, but has enough problems I wouldn't use it for anything important. The ext2 code plays some nasty tricks with the buffer cache that leads to being unable to flush all the dirty buffers on shutdown, so an fsck is always required unless you unmount it manually. It's been a known problem for a long time but nobody has bothered to fix it properly.

      There is also some experimental read-only reiserfs code in the gnu directory too. Haven't played with it any yet.

    35. Re:Filesystems by Just+Some+Guy · · Score: 1
      The point of a journaling file system is that you don't need to run fsck

      For the record, the background fsck is mainly used to free resources that weren't cleanly deallocated before a crash. It doesn't actually repair the filesystem, per se.

      --
      Dewey, what part of this looks like authorities should be involved?
    36. Re:Filesystems by fossa · · Score: 1

      I'd say we should do it to be more inline with good usability in general, not necessarily windows or mac... If it's possible to unplug a usb device without "unmounting" (and it is indeed possible), then it will be done either by accident or simply because it's easier than first unmounting. The system has no business failing due to such an inevitability.

    37. Re:Filesystems by jw23 · · Score: 1

      The ability to read ext2 file systems is included, but it is not the ext2 file system itself. You cannot create and write to ext2 file systems with FreeBSD.

      This is wrong. You can create (install the e2fsprogs port) and write to ext2 file systems just fine with FreeBSD.
      ext2 support is not compiled into the default (GENERIC) kernel, however (i.e. you have to recompile your kernel to get ext2 support).

    38. Re:Filesystems by MikeFM · · Score: 1

      I don't really see the point of USB drives anyway when saving files online is easier and accessible from anywhere in the world. I keep looking for a reason to ue a USB drive but have yet to find one. They're cute though.

      --
      At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
    39. Re:Filesystems by bluGill · · Score: 1

      The point of a journaling file system is that you don't need to run fsck

      No, the point is that fsck is very quick because you can read the journal so see all the places where something could possibly be wrong, instead of having to read the entire disk. On power failure your fsck times change from several hours (think a several terabyte RAID drive), to just a few seconds.

      Mounting a several-hundred GB Reiser partition takes a few seconds, even if it was not cleanly unmounted. How much faster do you want that to be?

      With softupdates mounting a several hundred GB partition is even less time. Of course you have to do a full fsck, but you can do that in the background whenever you get around to it.

      Though I agree that it this point it is a stupid measure - if the difference might matter you should have a cluster with mirrors so that you can stand for an entire system to be down for hours.

      Softupdates is very invasive to the filesystem. For some loads they are much faster (no need to write the journal to say what you are going to do, write the disk to do it, and then erase that part journal to say it is done). For other loads it is slower (I forget what offhand, but I don't want to give the impression that softupdates are always better - they are not)

      For most people: the differences are trivial, and will not matter in your real world useage. Both are much better than the old style. Use whatever is native to your OS, it doesn't matter. There are a few professionals who deal with systems where the differences matter - leave figuring this whole mess to them.

    40. Re:Filesystems by evilviper · · Score: 1
      I agree that BSD does not need Reiser, but I disagree with the blanket statement that BSD's filesystem is necessarily better.

      If you have some basis for that belief, I'd be interesting in hearing about it.

      Comparative benchmarking of full implementations has shown that the differences between filesystems is not that large for most workloads, so nobody needs to care as long as the filesystem safeguards its integrity.

      I certainly agree with that. I never said that UFS2 should be ported to Linux, or any such thing. Why you seem to think I did, is beyond me. Keep in mind I posted this reply simply to refute the notion that the BSD should be using reiserfs.

      (b) compares outdated journaling file systems, which are essentially strawmen.

      Actually, to be fair, it compares currently-stable journaling filesystems (see next point), with a very outdated soft-updates filesystems (ie. UFS, not UFS2). It's not a strawman, it's just an older paper. The point of linking to that paper was for the theory behind it, not for benchmarks.

      If you want to put this to rest, you'll need to run a benchmark with more modern journaling file systems (in particular, those with wandering logs).

      *ahem* Unless I misread this, you think it would be a fair to compare benchmarks of an as-of-yet unstable journaling filesystem, which isn't yet even included with the latest unstable Linux kernel (last I checked), against UFS2, which is has been stable, and in production use for well over a year now?

      Mounting a several-hundred GB Reiser partition takes a few seconds, even if it was not cleanly unmounted. How much faster do you want that to be?

      I didn't say I needed or wanted it to be faster. It's just an interesting data point. Particularly because it was an argument commonly used on /. against UFS/soft-updates not long ago, particularly when it's better performance was an issue. It's just an amusing footnote, IMHO. Nothing worth debating.
      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    41. Re:Filesystems by Bert64 · · Score: 1

      Because not every computer in the world is networked at all times?
      Because some kinds of data are illegal to be transmitted over the internet (think restricted government data)
      Because many networks have restrictive policies about what can be transmitted in/out?
      Because many networks are too slow to transfer huge files?

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    42. Re:Filesystems by MikeFM · · Score: 1

      To me all those reasons speak of outdated ideas. They may be true but they won't be true for long. Soon every computer will be networked all the time. Portable physical drives are a concept from the stoneage of computing. Or so I think anyway (not always true outside my own sick mind).

      I'm a firm believer that the network will be the computer as soon as people stop trying to make network computers identical, or as bad copies of, existing computers. The network as the computer is a much more powerful idea than current physical-based desktop windowing enviroments. Even the concept of an application is outdated.

      Government data is safer on a USB drive that gets carried around and handed around than on a carefully designed network? Doubtful.

      Network policies will have to be redesigned to handle the whole network is the computer age. Most of them don't work anyway.

      Any file that can fit on a USB drive isn't huge - flash memory is to expensive. Networks are being forced to improve their speeds as new uses and greater need for always-on networking develop.

      --
      At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
    43. Re:Filesystems by runderwo · · Score: 1
      Yes it does. A filesystem is a part of the kernel. The kernel is under the BSD license. The inclusion of Reiserfs code in the kernel would require it to be under the GPL license instead
      Fine. So "porting this filesystem to BSD" now includes "reimplementing the kernel filesystem driver". That is not an impossible task and was already done with several drivers.
  7. I was expecting a beefier article... by Improv · · Score: 5, Funny

    The article was a little bit short and without sufficient substance to be noteworthy on slashdot, I think.

    --
    For every problem, there is at least one solution that is simple, neat, and wrong.
    1. Re:I was expecting a beefier article... by Anonymous Coward · · Score: 1, Funny

      you must be new here

    2. Re:I was expecting a beefier article... by elronxenu · · Score: 4, Funny

      You don't come here much anymore, do you?

    3. Re:I was expecting a beefier article... by slavemowgli · · Score: 1

      Haha, you almost got me there. Good one! :)

      --
      quidquid latine dictum sit altum videtur.
    4. Re:I was expecting a beefier article... by Rik+van+Riel · · Score: 4, Informative

      It also had a few factual errors, for example ext2 and ext3 are not extent based at all, they are classical block based filesystems.

      Also, most of the Linux page fault code is architecture independant. As it happens, I just wrote an article explaining Linux page fault handling for the Linux-MM wiki. You can find some details there...

    5. Re:I was expecting a beefier article... by CyricZ · · Score: 1

      Could you write us a more in-depth article, since this one does not suffice?

      --
      Cyric Zndovzny at your service.
    6. Re:I was expecting a beefier article... by Anonymous Coward · · Score: 0

      You're a foolish person for doing that, but I'm giving you points for correctly spelling "beefier."

      Your feature update has been successful.

    7. Re:I was expecting a beefier article... by Anonymous Coward · · Score: 0

      You think he can take the time off from pimping your mother, so that she can provide all the crack for your family? I, sir, think NOT!

  8. Linux kernel better than Solaris kernel. by Anonymous Coward · · Score: 2, Interesting

    Interesting comparison between the Linux and Solaris kernels from someone who used to work SunSoft in the kernel group.

    http://www.ultralinux.org/faq.html#q_1_15

    1. Re:Linux kernel better than Solaris kernel. by dtfinch · · Score: 1

      That's a very old comparison.

    2. Re:Linux kernel better than Solaris kernel. by ChrisGilliard · · Score: 3, Informative

      You can come up with stats that say each OS is better. Solaris supports the big iron better typically, so I'm not surprised that Linux can outperform it on a 50 mHz processor. From what I've seen Solaris handles Java threads much better, so if you're using Tomcat or another java application server Solaris could be better. Also, if you're using a 8 processor system, Solaris will typically be your best options.

      --
      No Sigs!
    3. Re:Linux kernel better than Solaris kernel. by Anonymous Coward · · Score: 0
      Solaris supports the big iron better typically

      Not. 4 of the top 5 supercomputers are Linux; as are machines from IBM and Sun that are larger than anything Sun makes these days.

      Solaris runs better for a few workloads (windows networking; thanks to their recent MSFT patent-sharing); but for big iron Linux reaches heights far beyond Solaris these days.

    4. Re:Linux kernel better than Solaris kernel. by Anonymous Coward · · Score: 0

      rom what I've seen Solaris handles Java threads much better,

      That's because Java was written with Solaris in mind.

      I would even go as far as saying that Javas broken thread model was made that way (i.e. broken) specifically with Solaris in mind.

  9. Re:The Answer is Clear by Codename_V · · Score: 1

    First off, neither the Solaris or FreeBSD kernel are microkernels. That being said, there are a couple different things available under Linux which are analogous to Dtract. The only downside as compared to Dtrace, you can't insert probes dynamically at runtime. But then this is all of the top of my head of course, so I may be way off.

    --
    Free will is just an illusion
  10. kprobes? by ChipMonk · · Score: 2, Informative

    While not entirely equivalent, kprobes do give you an excellent way to examine and monitor the current system state.

    However, the quality of a kernel is not automatically improved by the inclusion of DTrace. Not to disparage Solaris and FreeBSD, but DTrace is primarily for kernel developers and sysadmins. The common user and app developer have little use for either DTrace or kprobes.

    1. Re:kprobes? by Serveert · · Score: 1

      DTrace is primarily for kernel developers and sysadmins. The common user and app developer have little use for either DTrace or kprobes.

      I disagree. If you ever have a bottleneck in your application then dtrace will probably pinpoint it for you(If it's in userspace then profiling will be the answer). Application developers could greatly benefit from using it to for example see which system calls are consuming most CPU... if a file is being read over and over. It tells you what you need to speed up and then some. If there's one thing we shouldn't be arrogant about it's solaris dev tools, they've always been better than anything else, starting with vsar.

      --
      2 years and no mod points. Join reddit. Because openness is good.
    2. Re:kprobes? by ChipMonk · · Score: 2, Interesting

      For the typical user app, profiling is the answer. A program bottleneck, such as a file being read over and over, will be revealed in profiling. A bottleneck in the kernel needs to be resolved in the kernel, not in userspace.

      This is not meant to disparage Solaris dev tools. This is merely to point out that Linux has its own, very powerful developer-oriented tools.

    3. Re:kprobes? by Serveert · · Score: 1

      Except it won't identify which file it is, dtrace will. And then you can run a bunch of servers, notice a slowdown, run dtrace then drill down to the culprit. Linux doesn't have anything like it, don't pretend. I love linux too, I'm using it as I type this, but I don't delude myself with fanaticism.

      --
      2 years and no mod points. Join reddit. Because openness is good.
    4. Re:kprobes? by Vulcann · · Score: 1

      Not to disparage Solaris and FreeBSD, but DTrace is primarily for kernel developers and sysadmins.

      Really ? Well imagine it like this : I have application X that is extensively used in the market for "mission critical" sort of work. Now somehow/somewhere a client hits a problem and blames *MY* product. We investigate and see if there is any basis to the bug claim. We cant seem to see anything wrong with application X but the client still insists its you're fault. What are you planning on doing ?

      If the problem does lie somewhere within the Solaris kernel, you'd better be able to prove it with the best tools at you're disposal. Because unless you do find out the issue, neither the customer nor Sun is going to lift a finger to help you

      Any serious application developer writing any non-trivial application will find something like dtrace extremely valuable for other reasons as well. Out where I work if you want to see if a particular implementation of what you're doing does actually work better on the target system, Dtrace is a god sent tool. Add to the fact that you can make it report exactly what you're looking for with the bare minimum overhead (unlike stuff like truss), one cannot overestimate the value of something like this.

    5. Re:kprobes? by Anonymous Coward · · Score: 0

      A simple strace will show which file is being open()d and read. DTrace is an amazingly funky debugging system which I wish my OS had, but let's also not pretend that it's some sort of mana from heaven.

    6. Re:kprobes? by Serveert · · Score: 1

      I use strace every day but it doesn't do histograms / drill down on things like dtrace.. And dtrace can be mana from heaven if used right.

      --
      2 years and no mod points. Join reddit. Because openness is good.
    7. Re:kprobes? by Anonymous Coward · · Score: 0
      kprobes can do all the same stuff, dtrace is just packaged nicely and it's there, you might not have kprobes in your kernel. Before OpenSolaris, it was all bs anyways, we have all of the code for linux and everything on top of it up to your app. Now I question what it means, professional admins seem to be going the way of the dinosaur and that leaves app/net jocks and then developers. I just don't see kprobe vs. dtrace being a stop ship or a selling point to anybody that really cares.


      what this really is though is just proof of how absurd this whole thing has become. the BSDs, Linux and Solaris are all full featured UNIX like kernels. They are all on par save for the boundary cases and outside of those (which are becoming fewer all of the time) it's silly to really point to one as superior to another. Solaris does have some nice tools, wait and see where Linux is in a year. Linux runs on an awful lot more hardware.


      It's like reviewing 2 identical motherboards from different manufacturers, they will be nearly the same and the differences are probably test problems more so than actual performance differences.

    8. Re:kprobes? by ChipMonk · · Score: 1

      "strace -c", "strace -r" and "strace -T". RTFManpage. And yes, it will identify the file handle.

    9. Re:kprobes? by ChipMonk · · Score: 1

      Really ? Well imagine it like this : I have application X that is extensively used in the market for "mission critical" sort of work.

      OK, I'm with you. My company has exactly that.

      Now somehow/somewhere a client hits a problem and blames *MY* product.

      And then they call me. I'm the support guy. Chances are, if their system worked before they installed application X, and stopped working after, then the problem is with application X.

      unless you do find out the issue, neither the customer nor Sun is going to lift a finger to help you

      Not the case when you have something they decided they want. They'll help you. They'll even bend over backwards, to a point, and they expect that you'll do the same. Unless you don't care about the sale and your company's reputation, you will.

    10. Re:kprobes? by JonAnderson · · Score: 1

      >>kprobes can do all the same stuff, dtrace is just packaged nicely .... Unless it has been improved significantly, no it cannot. Please see the following blog post by Bryan Cantrill which debunks this: http://blogs.sun.com/roller/page/bmc?anchor=dtrace _vs_dprobes_ltt

    11. Re:kprobes? by Serveert · · Score: 1
      Hmm, so you do that, aggregate then sort manually the times, vs dtrace that does it in one command. But of course that's for one process vs dtrace that looks at the entire system.

        And of course strace is modular so you can get this output, right?

      http://users.tpg.com.au/adsln4yb/dtrace.html#DTrac eToolkit.


      # dexplorer
      Output dir will be the current dir (/export/home/root/DTrace/Dexplorer).
      Hit enter for yes, or type path:
      Starting dexplorer ver 0.70.
      Sample interval is 5 seconds. Total run is > 100 seconds.
          5% Interrupt counts...
        10% Dispatcher queue length by CPU... ...
      File is de_jupiter_200506271803.tar.gz


      And I'm sure it can report the top syscalls for the entire system:


      2005 Jun 14 02:26:40, load average: 0.16, 0.18, 0.21 syscalls: 1381 ...
              read 78
              sigaction 113 ...


      Wow, which command is that for strace? What about the other dtrace-based tools at that link, what are those commands -dsfjkslfdsz?
      --
      2 years and no mod points. Join reddit. Because openness is good.
    12. Re:kprobes? by ChipMonk · · Score: 1

      But of course that's for one process vs dtrace that looks at the entire system.

      "strace -f" can follow the entire subsystem you want to trace.

      Stop being such a fanboy and RTFM.

    13. Re:kprobes? by Serveert · · Score: 1

      -f doesn't do everything I listed, dtrace is a swiss army blade, strace is a hack that is OK but has its limits. Then there's finding in realtime the paging per process and correlating that with other figures. You didn't read the link I posted, strace doesn't come close to dtrace.

      I'm no fanboi of sun, I've even submitted linux patches, but I'm just *gasp* open minded to things not in linux.

      Imagine that.

      --
      2 years and no mod points. Join reddit. Because openness is good.
    14. Re:kprobes? by ChipMonk · · Score: 1

      You didn't read the link I posted

      When you lead off with a comment that is demonstrably false, why should I bother?

    15. Re:kprobes? by Serveert · · Score: 1

      It is demonstrably that you weren't breast fed.

      --
      2 years and no mod points. Join reddit. Because openness is good.
  11. Re:The Answer is Clear by LnxAddct · · Score: 4, Informative

    A) All of those OSes are macro.

    B) Linux has SystemTap, which goes above and beyond what DTrace is capable of. It is still in heavy development by Red Hat (Intel and IBM also helped start up the effort), and it's already quite a product.

    Your post was one big troll, why do you find it amusing to spread random misinformation?

    Regards,
    Steve

  12. Re:The Answer is Clear by TelJanin · · Score: 2, Informative

    Neither Solaris nor FreeBSD are microkernels. Perhaps you are thinking of Mach?

    Also, issues preventing the porting of DTrace to other systems would be because of licensing, not technology.

  13. Re:The Answer is Clear by CyricZ · · Score: 2, Informative

    The term is usually "monolithic kernel", rather than "macrokernel".

    --
    Cyric Zndovzny at your service.
  14. 50MHz processors?!?!?! Linux 2.0.27?!?!?! by Anonymous Coward · · Score: 3, Insightful

    How about data from this century?

  15. Toy computers need not apply by Anonymous Coward · · Score: 0

    They wanted to test a real OS, one that can scale to more than 2 processors.

    1. Re:Toy computers need not apply by Anonymous Coward · · Score: 1, Informative

      You must be joking because NT is *far* more scalable than FreeBSD.

      And I'm no NT or Microsoft lover.

    2. Re:Toy computers need not apply by Anonymous Coward · · Score: 0

      No, just a *bsd troll

    3. Re:Toy computers need not apply by TheNetAvenger · · Score: 3, Insightful

      They wanted to test a real OS, one that can scale to more than 2 processors.

      Wow, a troll on slashdot, how novel. And an intelligent one as well, again how novel... *gag

      Considering NT was scaling multi-processors before Linux even existed, this is a bit of a rich statement. (Especially since Linux didn't even consider SMP until 1996, when it was a mature feature of NT by then.)

      Considering there is 128-way SMP version of Windows (running on NT) available, I would assume NT knows how to handle more than 2 processors, just a guess though.

      Also considering the desktop versions of WindowsXP support 2 processors standard - and NT has for years and years, I might suggest that it even has an edge on some OSes that SMP is just becoming realistic. (XP does Dual Processors with HT, effectively managing 4 virtual CPUs and this is the desktop edition for the average Joe.)

      Now should we talk about how it hasn't been until later versions 2.4 of Linux that in an SMP world, process affinity even become stable. (According to Intel, AMD and other people trying to create real world Linux SMP solutions.)

      Or we could talk about hotplug of memory and processors with Linux - which is still not supported as it is with NT and Solaris. (And Linux you even get the fun of reconfiguring if you want to flip processors in downtime even.)

      Call NT a Toy OS all you want, if you actually knew a little about the NT architecture and not just the 'windows buzz', that RUNS ON NT, then you probably wouldn't be laughed at so easily.

      *Cheers.

    4. Re:Toy computers need not apply by octogen · · Score: 5, Informative

      Considering there is 128-way SMP version of Windows (running on NT) available

      I might be wrong, but AFAIR, the largest SMP configuration supported by NT is 32 CPUs (or, probably, 16 Hyperthreading-CPUs) because of a constraint compiled into the kernel (Windows "Datacenter Server" Edition).

      Anyway, even if you could run NT on some 128 CPUs, it would not scale well. If you actually knew a little about the NT implementation and not just the "microsoft propaganda", you'd possibly figure out, that a lot of (theoretically independent) code portions in the NT kernel synchronize on only one mutex-like synchronization lock (CRITICAL_SECTION) that is shared between these code portions

      Example:
      If you've got 50 independent data structures, you could use 50 mutex locks (one for each data structure), to protect it form becoming corrupted due to simultaneous modification by multiple threads. The NT design in this example would be to use only 5 CRITICAL_SECTION locks for the 50 independent data structures (one for every 10 data structures), so one thread modifying a data structure will potentially lock out 9 other threads who could be modifying 9 other data structures.

      The lack of fine grained synchronization on NT makes it scale pretty bad, especially compared to Solaris (which scales so well probably mainly because of very fine grained and sophisticated synchronization, for example by using RW-locks instead of mutex-like CRITICAL_SECTIONs in situations where this is possible).

    5. Re:Toy computers need not apply by SpeedyRich · · Score: 1

      Aksherly WindozeXP Desktop only supports max. two 'processors', virtual or not. You gotta get yersel' WindozeXP Pro (woot!) if you want sheer processor indulgence of 4.

      --
      ## NB: Comment here
    6. Re:Toy computers need not apply by Anonymous Coward · · Score: 0

      I have no account, so I guess I'm an Anonymous Coward. You can call me Dave Hagedorn, though.

      I'm using Linux right now, am not a fanboy, and am not picking sides. I feel it is only fair to point out:

      http://www.tpc.org/tpcc/results/tpcc_perf_results. asp

      W2k3 Datacenter Edition on Itanium, 64-way SMP, fastest non-clustered Itanium system on the TCP-C benchmark. Yes, Superdome gets thrashed by the p595. Either Power5 is way the hell faster than Itanium or AIX is way the hell more scalalable than W2K3, or both.

      I do not believe W2K3 supports 128-way SMP, but there is an SKU available for people who want to run two instances on a 128-way box.

      Dave

    7. Re:Toy computers need not apply by ookaze · · Score: 4, Insightful

      Considering NT was scaling multi-processors before Linux even existed, this is a bit of a rich statement. (Especially since Linux didn't even consider SMP until 1996, when it was a mature feature of NT by then.)

      I find it rather rich that trolls like you have the guts to call others trolls, using rhetoric to prove your point and hoping nobody will notice.
      Linux 2.0 came in June 1996 with SMP support. So if SMP was not considered in Linux until 1996, you are basically saying that in less than 6 months, SMP was implemented in Linux better than in NT, where you say it was a mature feature ?!!!
      I would call that a feat.And I wonder how you can call SMP a mature feature in NT, when it was not scaling better than in Linux, which was implemented in less than 6 months, like you implied.

      Considering there is 128-way SMP version of Windows (running on NT) available, I would assume NT knows how to handle more than 2 processors, just a guess though.

      I never heard of any 128-way SMP version of Windows. I heard of a custom secret implementation that supposedly does that, that's all. But no version of Windows commercially sold actually does that. And SMP versions of Windows scales very poorly.

      Also considering the desktop versions of WindowsXP support 2 processors standard

      Against that's false. Home edition does not support 2 processors standard (HT is not SMP nor 2 processors support), Pro edition does. Stop lying ... oh you can't, without destroying your point.

      and NT has for years and years, I might suggest that it even has an edge on some OSes that SMP is just becoming realistic. (XP does Dual Processors with HT, effectively managing 4 virtual CPUs and this is the desktop edition for the average Joe.)

      Continuing your lies huh ? HT is not SMP, stop your nonsense. SMP was realistic in Linux way before NT, despite SMP being implemented in NT first : that speaks volumes for NT OS, and tend to prove GP point. Again, WinXP Pro support your 4 virtual CPUs, not Home. The distinction is important, if you want to make Linux comparison, because standard desktop editions of Linux distros come with SMP support. For Windows, standard desktop edition is XP Home, which has no such support. It could, but it doesn't.

      Now should we talk about how it hasn't been until later versions 2.4 of Linux that in an SMP world, process affinity even become stable. (According to Intel, AMD and other people trying to create real world Linux SMP solutions.)

      Still lying huh ? Process affinity wasn't becoming stable at end of Linux 2.4, it was just not implemented before. And it ended up implemented pretty fast. But I know why you added the word 'stable' in your rant : rhetoric implying it was there but not stable before.
      Anyway, despite not having process affinity, Linux kernel was running circles around NT kernel, so you should keep this subject hidden.

      Or we could talk about hotplug of memory and processors with Linux - which is still not supported as it is with NT and Solaris. (And Linux you even get the fun of reconfiguring if you want to flip processors in downtime even.)

      Well, you got me there. I did not even know that there was this type of hardware supported in x86 architecture. You are not credible though, because these kind of hotplug are only in limited set of configurations, not available to most Linux programmers, that's why, if they exist, they are still not implemented. There are little numbre of devs that can afford a E25K you know ? But you chose a good example, forgetting the load of other features that Linux kernel has, that makes NT kernel a toy OS. Stability is enough to kill any of your arguments though. You will give me crap about NT running for months (with 1 service) and you having seen Linux crash, the difference is that :
      Stability in Linux is the norm, in NT it's the exception.
      I mean that a Linux crash is news, while a NT running for years is news too.

      Call NT a Toy OS all you w

    8. Re:Toy computers need not apply by Anonymous Coward · · Score: 0

      Um, I'm not so sure about XP Home supporting SMP. I got it recently (had to, wasn't my choice) and tried to install it on two different SMP machines. One kept giving me stop errors before the install could even get going and the other just locked up. I was then able to install it on a really old Dell uniproc machine and didn't have a problem. Win98 has no problems running on both of those SMP systems, but XP mysteriously couldn't install. Am I missing something here?

    9. Re:Toy computers need not apply by Anonymous Coward · · Score: 0

      Fuck you you fuggin troll faggy. FreeBSD is TEH L33T. So burn in hell thou blaspheme.

    10. Re:Toy computers need not apply by scumbaguk · · Score: 1

      According to the Windows server 2003 enviroment training manual for the MCSE. Datacentre edition, is OEM and supports 32 way on 32 bit systems 64GB max memory, 64 way on 64 bit with 512GB ram and there is also a special configuration of 2 x 64 way partitions to allow 128 way. So that's the facts from the horses mouth.

  16. Re:The Answer is Clear by Anonymous Coward · · Score: 0

    The only thing that is clear is that you're a moron.

    Solaris and FreeBSD are both 'macrokernels'.

    And I don't think anyone will ever want to know whether or not you can see Linux "comparing in the enterprise", so don't be too worried about that.

  17. Hyperthreading by MBCook · · Score: 5, Interesting
    This was an interesting little article, I read it earlier today when I saw a link from OSNews. But one thing struck me as odd (there were a few others, but this was the one I was sure about).

    For hyperthreaded CPUs, FreeBSD has a mechanism to help keep threads on the same CPU node (though possibly a different hyperthread). Solaris has a similar mechanism, but it is under control of the user and application, and is not restricted to hyperthreads (called "processor sets" in Solaris and "processor groups" in FreeBSD).

    I am positive that the 2.6 kernel understands hyperthreading and does something similar to FreeBSD. Why wasn't that mentioned? Did the author not know that?

    Overall through, it was interesting. I'd read it as a longer series, if they had one. This is an area that I'm interested in. I read kernel-traffic, and subscribe to LWN (you should to!) almost entirely to read the kernel page. I've learned so much about operating systems and computers from reading about the improvements in the Linux kernel, why the old version wasn't good enough, etc. While I no longer use Linux since I got my Mac (OS X fills all my needs), I continue to learn a large amount about computer architecture and operating system concepts from it.

    --
    Comment forecast: Bits of genius surrounded by a sea of mediocrity.
    1. Re:Hyperthreading by octogen · · Score: 2, Informative

      Processor sets allow binding processes to a set of processors (for example, if you have 10 processors, and you want a process to run only on CPUs 2, 5, 6, 8, you can create a pset of these CPUs and bind the process to the pset rather than to a single processor, so if the process has multiple threads, these threads can spread to multiple CPUs inside the pset, but not all CPUs in the entire system).

      However, I don't see what this has to do with hyperthreading. I don't know if there is a hyperthreading-specific feature in Solaris, but there is at least a cache-affinity feature, that tries to dispatch a process to same CPU always. On Hyperthreading-CPUs, it would at least try to keep the process on the same hyperthread (because it sees each hyperthread as one CPU), and an hyperthreading-specific extension would be to keep the process on the same CPU, but possibly on a different hyperthread (because that does not matter, as two hyperthreads on the same CPUs share the same cache memory, and that's what FreeBSD does).

      You can even see how cache affinity works, provided you've got an SMP box. Just start a process with no more than a single compute-intensive thread, and you will see one CPU running at 100% for some time, while the others are idle (only every few seconds, the process will probably jump to another CPU). If there where no cache affinity, you would see all n CPUs running at approximately (100 / n) percent of load, because the process would be dispatched to any free CPU, regardless of where it had been dispatched previously (and as you are monitoring CPU load in steps of one second or so, and the process' time slice is only about 60 ms, you will see some load on all CPUs where the process had been running in the last second).

      (Note: you can monitor CPU load per CPU using 'mpstat', as most GUI performance meter only show total system load, but not load per CPU)

    2. Re:Hyperthreading by iabervon · · Score: 1

      Linux does understand hyperthreading, but it has some different effects. The main one is that it will try to keep physical processors from being idle, so it migrates tasks away from all running on different virtual processors on the same physical processor.

      It also has extensive support for machines with various topologies, under the general category of NUMA, which is presumably the same area as what he describes for Solaris. This is necessary for getting reasonable performance on a lot of the big (>32 processor) and modular machines.

      There is also support for "processor sets", which, in the Linux terminology, is a system administration concept for giving portions of a large machine to different processes and changing it around dynamically. (I suspect that this is really what "processor sets" in Solaris is about, and either he's confused, or the user is responsible for arranging this to match the configuration of the machine)

  18. Re:FreeBSD is dying by level_headed_midwest · · Score: 1

    Your data is so old that the byline is by one "T. Rex."

    --
    Just "gittin-r-done," day after day.
  19. Userspace Filesystems: try Plan 9 from Bell Labs by djs55 · · Score: 5, Informative

    Plan 9 had userspace filesystems. Moreover, it encouraged services to export control interfaces as filesystems -- so you could mount a service and then configure it using open(), read() and write().

    Have a look at the Plan 9 wiki. You can even run it inside vmware or Xen.

  20. Big lock by toddbu · · Score: 1

    Anyone know if FreeBSD is still using the big lock for SMP?

    --
    If you don't want crime to pay, let the government run it.
    1. Re:Big lock by DigitalNate · · Score: 2, Interesting

      This is where you should take advantage of one of FreeBSD's greatest assets, it's documentation. The SMP Project has a lot of info...

      http://www.freebsd.org/smp/

    2. Re:Big lock by mi · · Score: 4, Informative

      Only for some of the drivers, which nobody got around to modifying yet. Most of the things are outside the "Giant" already. 6.0-release is imminent. Try it...

      --
      In Soviet Washington the swamp drains you.
    3. Re:Big lock by Anonymous Coward · · Score: 0

      it's documentation

      "its".

  21. Re:FreeBSD is dying by Stumbles · · Score: 1

    You make some interesting points.

    --
    My karma is not a Chameleon.
  22. what a crappy summary by Anonymous Coward · · Score: 0

    Thats completely twisting the articles wording around. What gives; pay attention when you read things. He was comparing what happened, assuming a failure had already happened, from a developing perspective. From my non-biased eyes, I could see that he was trying not to flame differences, but to instead show similarities, to show how they each approach things with a different overall goal in mind.

    I gathered from it that; linux wants speed and compatability (x86 oriented goal), solaris wants customizeability and reliability (speed and compatability arent an issue if you make your own souped up hardware), and BSD is somewhere in between (???).

  23. Re:The Answer is Clear by AstroDrabb · · Score: 3, Insightful
    Since Solaris has DTrace (and FreeBSD will have it soon as well), wouldn't they automatically be better than the Linux kernel?
    No. First, niether Solaris nor FreeBSD are microkernels. Second DTrace is for kernel developers and sysadmins. As a USER, what I really care about is overall performance of a kernel. This article about comparing MySQL Performance on Solaris 10, Linux 2.4/2.6, FreeBSD and OpenBSD pretty much sums up what matters to me. I run MySQL and Tomcat on Linux 2.6 because it just is faster. While Solaris 10 is good, it just wasn't as fast as Linux 2.6 from my tests. Linux 2.6 allowed me to get the most "bang for the buck" out of my servers for MySQL and Tomcat.
    --
    If Tyranny and Oppression come to this land,
    it will be in the guise of fighting a foreign enemy. -James Madison
  24. Serious things were missed.... by postbigbang · · Score: 2, Interesting

    1. The SELinux kernel wasn't mentioned; it's security model is different, perhaps better in the final analysis than OpenSolaris.

    2. The concept of Solaris containers is nearly science fiction. Building them and then watching them through dtrace is a work of art, as in the Sistine Chapel. LVM is a different school of thought that gets to a similar conclusion; this all skewed by the beauties of VMWare and multiple instance/clustering management possibilities.

    3. The licenses-- very important differences in licenses-- are glossed==> ignored. There's all that messy intermingling of licensing trivia that's somehow an invisible characteristic of all of this. Fooey.

    4. While Sun can speak anytime Sun wants, at least there were other citations mentioned early. This is Sun propaganda. Remember that. Well thought out propaganda, but propaganda, not a third party examination of the facts and implications.

    5. There are other *nixes missing. Consider that real-time OS and embedded OS considerations are real, and while BSD and Linux has made progress there, Solaris is essentially missing, unless you consider weird programming profiles still based on non-Solaris OS.

    These are just the extemporaneous thoughts. Take this article with a grain of salt, although it's not bad for a vendor-hosted view.

    --
    ---- Teach Peace. It's Cheaper Than War.
    1. Re:Serious things were missed.... by joe_bruin · · Score: 4, Insightful

      Who modded this insightful? As the author states, this is a comparison of three components that are similar in the three OSs (and even those not in great detail). It is NOT an overall comparison of every feature of the three kernels. This throws out the parent poster's points 1, 2, and 5. This was a technical analysis, so license is not relevant (parent's point 3). The article is skewed to a Solaris direction, but I would hardly call it propaganda. To summarize the skew:

      1) Solaris has more abstraction for architecture dependent code than Linux, and is therefore slower but more portable.
      2) There are also more people working on Linux, leading to faster development but not as high a quality.

      See, that wasn't so bad. Overall, the author concludes that the three OSs do things quite similarly and stand to benefit from each other in the future.

    2. Re:Serious things were missed.... by Anonymous Coward · · Score: 0

      it's security model is different

      "its".

    3. Re:Serious things were missed.... by postbigbang · · Score: 1

      Ummmm, no. First, the title:

      A Comparison of Solaris, Linux, and FreeBSD Kernels

      Then, he picks off three items:

      I chose these subsystems because they are common to any operating system (not just Unix and Unix-like systems), and they tend to be the most well-understood components of the operating system.

      And so, the title of my post was Serious things were missed

      My listing was an extemporaneous listing of what was missing. Contrasting to his highly confined treatise of fairly known components of the differences (although they're nice to see listed in such a well-said way) they're still from Sun, still their stance, still their read. Still glossing other highly salient issues. Like I started the post: Serious Things Were Missed.

      --
      ---- Teach Peace. It's Cheaper Than War.
  25. Nothing wrong with ReiserFS itself. by CyricZ · · Score: 1

    I know plenty about ReiserFS. Had you read my post you would have understood that the problem is not with the concepts and algorithms of ReiserFS. The problems are not with the idea nor the Linux implementation, but instead with trying to tack the Linux implementation onto the FreeBSD kernel.

    You cannot take code from two radically different projects, stick them together as is being proposed by others, and then have it magically work. You could run into issues with the FreeBSD file buffering subsystem, for instance. Code that may work perfectly under Linux may very well fail under FreeBSD. And you can't have filesystems failing.

    It's a problem of merging two distinct and different codebases, not a problem with ReiserFS itself.

    --
    Cyric Zndovzny at your service.
    1. Re:Nothing wrong with ReiserFS itself. by ajs · · Score: 1

      No, I'm sorry. You said what I quoted, and I took it with a fair amount of context... If you intended something different, then that's fine.

      I would agree that integration issues are what they are, and if you had clearly said "performance of a FreeBSD port of Reiser might not be what you would expect, and would have to be carefully tested," then I would have agreed.

      Thanks for following up, though.

  26. No mention of XFS, JFS. by CyricZ · · Score: 0

    There was no mention of XFS or JFS for Linux. Indeed, for certain server applications those filesystems prove to be very effective.

    --
    Cyric Zndovzny at your service.
  27. Re:The Answer is Clear by Anonymous Coward · · Score: 1, Interesting

    You are. Solaris has a microkernel. Two peice static core and everything else is dynamically loaded. IMHO a far superior model to using modprobe.

  28. STFU CYRIC! by Anonymous Coward · · Score: 0, Troll

    Moderators:
     
    Before moderating CyricZ's posts, please take the time to view his posting history.
     
    He posts a LOT and only makes stupid and/or overly obvious points, and he often mis-represents people's comments when replying.
     
    Basically, he is full of himself, and reviewing a few of his posts reveals him.
     
      Read this comment for more information.

    1. Re:STFU CYRIC! by jericho4.0 · · Score: 3, Funny
      Yes he posts a lot. Yes he sometimes states the obvious. On the other hand, he resonably often says something useful, can spell and construct sentences, and, as far as I know, is not waging a war as an anonymous coward against others. His OP above, even if he didn't mention b-trees, is still a true statment. I think I'd rather have him over for dinner than you.

      --
      "A language that doesn't affect the way you think about programming, is not worth knowing" - Alan Perlis
  29. Re:WARNING! Invalid article copy! by larry+bagina · · Score: 0, Redundant
    As most of us know, goatseFS is NOT a filesystem.

    Yeah, it's more of a life style choice.

    --
    Do you even lift?

    These aren't the 'roids you're looking for.

  30. Professionalism of the Solaris, FreeBSD developers by CyricZ · · Score: 1

    Indeed, the professionalism of the Solaris and FreeBSD developers can serve as a model for the entire open source community. Now, it's not surprising that the Solaris developers project a very professional image, considering their business roots. Many of the FreeBSD developers are professional consultants, who know how to properly deal with clients.

    Indeed, the instance of the KOffice developer who went around publically insulting a long time KDE and KOffice user is a perfect example of the sort of unprofessional behaviour that should be avoided.

    One thing you do not see from the Solaris and FreeBSD developers is insults directed at their users, clients and customers. There may be internal squabbling between the developers, but as true professionals they will keep this between themselves.

    --
    Cyric Zndovzny at your service.
  31. Solaris easier to port? by Anonymous Coward · · Score: 0

    he claims that due to it's abstraction Solaris should be easier to port then Linux.

    if so why does Solaris only run on 2 CPU types (x86 and Sparc) while Linux runs on far more (somewhere around 20 IIRC, Debian supports over 11)

    1. Re:Solaris easier to port? by Tune · · Score: 1

      As noted in other reply, the reason for Solaris' small set of supported platforms is not primarily technical.

      However, your point does illustrate that "the lack of abstraction" in Linux isn't that much of an issue in portablity. Moreover, I think the paragraph exaggerates the whole issue. First, I guess all mentioned solaris modules *are* to some extent platform specific (eg. some #ifdef to handle 32/64 bit ints on x86/UtraSparc code are inevitable; and I'd expect to find some assembly in most of the modules anyway). Second, Linux has some logic separated in clear modules, even though they are part of a "monolithic" kernel (eg. swapfs can be used as kernel module; embedded Linux kernels may not provide paging or vm at all.)

      It comes down to fundamental issues on OS design. The article presents the clean & layered design as a portability advantage versus the quick & dirty design as a speed advantage. It's just a basic view that's been teached for years.

      But wrt. portability in this case it turns out to be not that much of an issue in practice. I would not be surprised either if in practice Solaris turns out to be competitive in latency too, even though the books teach differently...

    2. Re:Solaris easier to port? by E-Lad · · Score: 1

      You only need to think a little more to find the answer to your question - and that is before OpenSolaris, Sun was the sole maintainer so any arch port decisions were done from a purely business-related standpoint. Sun as a company had no interest in seeing Solaris running on DEC Alpha hardware or a HP PA-RISC machine.

      Now that there is OpenSolaris, there's already a project to port it to PPC (bit of history: there was a version of Solaris 2.4 (circa 1994) that Sun made and it ran on PPC 604 CPUs, rumor has that it was one-off for a "special customer")

      So don't just knee-jerk and say Well Linuxth runths on 35 plathforms so Solaris must be hardth to portht ... you need to think of the whole picture.

  32. SCO Engineers Do It Best by Anonymous Coward · · Score: 3, Funny

    Since they wrote the linux kernel, SCO engineers had a lot of skill and foresight to create such a great operating system.

    Don't say it isn't true - or our lawyers will be calling.

  33. Re:The Answer is Clear by Anonymous Coward · · Score: 1, Interesting

    Dynamically loaded kernel modules != microkernel, retard. Solaris is not a microkernel.

  34. It's not written to provoke flamewars. by CyricZ · · Score: 2, Insightful

    The article is purely technical, and does not focus on topics (like licensing) that often lead to flamewars and other disagreement. Indeed, it is written in such a way that only the technical issues are discussed, rather than ideological issues.

    --
    Cyric Zndovzny at your service.
    1. Re:It's not written to provoke flamewars. by Will2k_is_here · · Score: 2, Insightful

      You must be new here. This is slashdot. Who the hell reads TFA? Slashdot comments that do not touch on ideological issues. Now THAT would be huge!

    2. Re:It's not written to provoke flamewars. by CyricZ · · Score: 1

      I saw it on the OpenSolaris site back on October 14th. I read it then, and now a few days later I can comment on it here.

      --
      Cyric Zndovzny at your service.
    3. Re:It's not written to provoke flamewars. by DAldredge · · Score: 1

      Now that is funny...

      Hell, a comment that stated "This is a comment posted on Slashdot" could result in over 200 posts saying that the original poster was wrong/stupid/liberal/religious/republician and/or all the above. :)

    4. Re:It's not written to provoke flamewars. by Sloppy · · Score: 1

      Insightful indeed. It's just like the vim/emacs situation. When an article focuses on how vim's convenient UI beats the crap out of emacs' confusing finger-twisters, it saves us all from the stupid flamewars over how much memory emacs needlessly wastes.

      --
      As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
  35. Re:The Answer is Clear by mclaincausey · · Score: 1

    It is superior, also because it runs driers in the same context as the microkernel. That's why it's faster than Mach or QNX

    --
    (%i1) factor(777353);
    (%o1) 777353
  36. WARNING! A hole in one. by Anonymous Coward · · Score: 1, Funny

    "As most of us know, goatseFS is NOT a filesystem."

    GoatseFS is sort of the Roach Motel(TM) of filesystems. Your data checks in, and no one wants it back.

  37. Historic, not technical, reasons. by CyricZ · · Score: 1

    It mainly has to do with historic reasons. Until a few months ago, Solaris was a proprietary, closed source system running only on Sun's SPARC-based hardware, and on some x86-based systems (albeit with fairly poor hardware support). Sun had very little reason to perform ports to other platforms, and since the source code was not available to others under an open source license, such ports were not performed by a third party.

    But we're seeing that change now. There's a PowerPC port in the works, for instance.

    --
    Cyric Zndovzny at your service.
    1. Re:Historic, not technical, reasons. by adrianmonk · · Score: 1
      Until a few months ago, Solaris was a proprietary, closed source system running only on Sun's SPARC-based hardware, and on some x86-based systems (albeit with fairly poor hardware support). Sun had very little reason to perform ports to other platforms, and since the source code was not available to others under an open source license, such ports were not performed by a third party.

      While what you say is mostly true, it might be interesting to note that Solaris was in fact ported to two other architectures by Sun: Solaris 2.5.1 was ported to PowerPC, and several years ago, Sun was the first OS vendor to have any operating system running on Itanium simulators. Unfortunately, neither of these processors ever took off like the industry thought they might, and Sun killed both those ports. I do believe you were able to buy the PowerPC port of Solaris for a while, though. But then, you were also able to buy a PowerPC port of Windows for a short while if want to get into that...

  38. SOLARIS 10 IS A MICROKERNEL OS by mclaincausey · · Score: 1, Redundant

    I put the title in all caps because I am responding to dozens of people claiming Solaris is monolithic. It is not. The Solaris microkernel is a stripped-down SVr4 kernel. Drivers are loaded from it and run in the same context for performance reasons, everything else outside of scheduling, interrupts, and a few other services runs strictly in user space and is dynamically loadable. I've heard the model referred to as an "object-oriented" architecture, since modules can call functions in other modules, though Mach, the famous microkernel, is also pretty thoroughly object-oriented, as is Windows XP's kernel, so this is somewhat confusing when used as a term to differentiate the architecture from a microkernel.

    --
    (%i1) factor(777353);
    (%o1) 777353
    1. Re:SOLARIS 10 IS A MICROKERNEL OS by civilizedINTENSITY · · Score: 2, Insightful

      Well, been a couple years since I took Operating Systems, but I thought a microkernel was "a system kernel that runs itself in protected memory space, and all drivers and processes in a seperate memory space allowing for (theoretically) better stability." Monolithic kernels are faster, but less robust. You are saying that, "Drivers are loaded from it and run in the same context for performance reasons", but that in all other ways it would be a microkernel. Thus, it is perhaps almost a microkernel. It isn't a bad kernel. :-) There is no reason to exagerate.

    2. Re:SOLARIS 10 IS A MICROKERNEL OS by Anonymous Coward · · Score: 0

      Yes, he's full of shit. Solaris is not more a microkernel than Linux or FreeBSD. In fact, SunOS 4.x was the first Unix to offer loadable kernel modules (and not Linux, like some fanboys claim), and it was your run-off-the-mill 4.4BSD derivative.

  39. STFU CYRIC! by Anonymous Coward · · Score: 0

    Moderators:
     
    Before moderating CyricZ's posts, please take the time to view his posting history.
     
    He posts a LOT and only makes stupid and/or overly obvious points, and he often mis-represents people's comments when replying.
     
    Basically, he is full of himself, and reviewing a few of his posts reveals him.
     
      Read this comment for more information.

  40. Re:Professionalism of the Solaris, FreeBSD develop by Anonymous Coward · · Score: 0

    Wow... you obviously don't know jack about FBSD community...

    Granted, not stating all are asses, not even stating a significant percentage; merely pointing out that you're being an idiot and pointing at one example of a /. user getting forcibly corrected (rightfully so), and somehow stating that as the norm, and that a community that has had some seriously obnoxious prima donna devs is a good model.

    So... you're trolling, effectively. Good job also, I took the bait.

  41. Mod article is Flamebait by Slashcrunch · · Score: 1

    I wish I had mod points right now plus the ability to Moderate this entire article as Flamebait :)

    But flamewars are so much fun to read, so bring it on!

    1. Re:Mod article is Flamebait by Anonymous Coward · · Score: 0

      Wow. Way to use your karma bonus on something completely retarded.

  42. Interesting Model Breakdown... by TemporalBeing · · Score: 5, Interesting

    I find it quite interesting that (at least according to the article) Solaris (which supports a few x86, and mostly Sun's Sparc line) has a full abstraction, while Linux (which supports some large number processor architectures) goes with less abstraction; with FreeBSD somewhere in the middle. It certainly does yield higher performance for Linux, and makes sense in that respect...It's just interesting that the OS that seemingly runs on fewer processor architectures and has been controlled by an incorporated company would take the abstraction route, while the OS that runs on a far greater number of processor architectures and is not tied to corporate funding (directly, at least) is more focussed on less abstraction & fewer layers.

    P.S. Sorry to repeat myself on that...just not sure how best to say it.

    --
    Truth is like the sun. You can shut it out for a time, but it ain't goin' away. - Elvis Presley (source: imdb.com)
    1. Re:Interesting Model Breakdown... by m50d · · Score: 1

      A possible explanation: Linux started out as a kernel for Linus' 386, and was only ported to other architectures later. If the Solaris people knew they were supporting two architectures from the get-go, maybe they made a proper, well designed/architectured abstraction layer, while Linux's is more ad-hoc "do what we have to to get it running".

      --
      I am trolling
    2. Re:Interesting Model Breakdown... by Anonymous Coward · · Score: 0

      Less abstraction in the page handling creates higher performance? Do you have any numbers on that, specifically related to that abstraction?

      I'm a FreeBSD developer. I seem to remember that when we started abstracting instead of having per-platform implementations we ran benchmarks, with performance difference in the "fuzz" range for real world loads (ie, non-measurable). The fuzz range for these kind of measurements is somewhere around 0.1% with our best measurement techniques. I think that was what was used at that time, though it's about 8 years ago, so my memory my be faulty.

      If Linux gets any mileage out of loosing abstraction here, it might be interesting to re-visit. Without numbers or good arguments, my guess is that the lack of abstraction is just premature optimization, though.

      Eivind.

    3. Re:Interesting Model Breakdown... by Bert64 · · Score: 1

      Solaris also supported PPC once upon a time, and it`s predecessor SunOS had to support m68k.. It`s not like sun doesn`t have experience supporting multiple architectures.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    4. Re:Interesting Model Breakdown... by iabervon · · Score: 1

      The particular thing the article is talking about is actually scheduling policies. Solaris lets you specify a lot of different policies, whereas Linux and FreeBSD limit you to only a sensible subset. My guess is that Sun had customers who demanded some dumb scheduling policies, and had to meet these demands, while Linux sysadmins have enough to do without mucking with system performance in at best marginal and generally imperceptable ways.

    5. Re:Interesting Model Breakdown... by TemporalBeing · · Score: 1

      The particular thing the article is talking about is actually scheduling policies. Solaris lets you specify a lot of different policies, whereas Linux and FreeBSD limit you to only a sensible subset.

      Perhaps, but the article also talks about memory management and file systems; and the interesting issue continues there as well.

      Another suggested that its likely because of the x86 history of Linux; which is likely. Since it was originally written in pure IA-32 assembly for the i386, and then ported to numerous platforms, the choice of keeping the performance by not having so many layers was either taken or the issue of unifying the layers like Solaris did was ignored. But for whatever reason it occurred, it is still interesting give that the Linux Kernel supports more processors than most any other operating system out there. (Most OS's only support a handleful of processors.)

      --
      Truth is like the sun. You can shut it out for a time, but it ain't goin' away. - Elvis Presley (source: imdb.com)
    6. Re:Interesting Model Breakdown... by iabervon · · Score: 1

      But Linux does have abstraction in the filesystem layer, as the article mentions, same as Solaris and the BSDs. Really, at that point it makes a lot of sense, because you want a large number of different filesystems. And, for that matter, there's no getting around the fact that, since in UNIX everything is a file, there must be a bunch of different implementations of files. I don't recall any of them having a layer of indirection for memory management, but it is definitely not that sensible; there are a number of things processes can tell you about their memory, and there are multiple layers of structure due to supporting shared memory, but the kernel manages memory in general in a unified way, and the only thing you really want to do for special processes is let them lock their memory in RAM.

      The main different between Linux and Solaris in philosophy is really in locking, where Linux tries to minimize lock depth (to make it likely that developers will get the locking right and avoid needing to lock a million locks to do anything), while Solaris goes for the finest-grained locking (to make it unlikely that things that don't absolutely have to block each other will). Of course, it turns out that it's a moot point; the bad stuff these days is cache line bouncing, which means that it's slow to acquire any lock that a different processor has had recently, and you practically never have actual contention if you do things reasonable.

  43. Re:Professionalism of the Solaris, FreeBSD develop by CyricZ · · Score: 1

    If I was wrong then it would have been more than acceptable for that KOffice developer to point out that I was incorrect. However, I was not. I was completely right. That's why he had to resort to insults in his discussion with me. Since I was wielding the truth, he had to rely on childish namecalling.

    Regardless, it was a very unprofessional act to perform. At least there are others on the open source community who do set a good example for the other developers.

    --
    Cyric Zndovzny at your service.
  44. Re:Userspace Filesystems: try Plan 9 from Bell Lab by DAldredge · · Score: 1

    Those VMware images are for older versions of vmware and do not run under current 5.x version of VMware. Or at least I was unable to get them working in the 15 or so minutes I spent with them.

  45. Re:The Answer is Clear by Anonymous Coward · · Score: 5, Informative

    Aparently you need to stop reading the media and do a bit deeper research into what systemtap is and how unstable it is. You can start with Active Bug, non guru mode. That bug affects non-guru mode, which is supposed to be safe to use in production. Nothing like that ever happens in dtrace. Why you may ask? Because its developed to be safe in Production use at the expense of giving up some features. For a more indepth comparison of systemtap and its problems check out the links mentioned in my blog's SystemTap Links. Systemtap vs. dtrace the debate continues is a good place to start.

    Of course, systemtap is still in its infancy, perhaps after a couple re-writes that seem standard in major components in the Linux Kernel, they can make it stable. But today its, not and any where near stable. There for your statement of "Linux has SystemTap, which goes above and beyond what DTrace is capable of. It is still in heavy development by Red Hat (Intel and IBM also helped start up the effort), and it's already quite a product." Is complete rubish. Of course one would have to think about. If its still under heavy development, also shows just how far from ready it is.

    Of course, the truth really is that DTrace is far more feature rich than systemtap is, or will be for a long time. Systemtap biggest stumbling block is "guru mode" that allows the user to disable any protection that systemtap engineers have added. Systemtap's language is lacking in some basic concepts, like variable types like struct and typeset, making guru mode necessary for far too many scripts, and in-escapable when userland probes are created. Along with the other problems documented in my blogs.

    You may try and dismiss me as a troll, but nothing could be farther from the truth. I'm stating the facts, I have also contributed to the Systemtap product, and commented on code changes. But I refuse to sit quietly as people try and pass Systemtap off as stable or better than DTrace. Dtrace is stable, and Enterprise Production ready and more full featured than Systemtap, even though they have left out features, that have to be worked around by the programmer.

  46. Re:WARNING! Invalid article copy! by Mad+Merlin · · Score: 1

    Are you trying to troll the AC? There's no GoatseFS in there.

  47. How much of Solaris has gone open source? by cprice · · Score: 1, Flamebait

    Its been what, 2-3 years since the open-source solaris announcement came out? How much has been open sourced? AFAIK, all the have opened sourced is DTrace (a very cool tool/framework), but nay else. Lets see them open up the kernel internals like the thread model... I am skeptical that Sun will ever release their Kernel as open source as I recently had Sun reps argue with me that Linux/FreeBSD is 'single threaded' and cant scale across more than one cpu, to which I replied 'Bovine Scatlogical Pathology'. Sun is a hardware company people, and keeping Solaris uber-elite and closed source is their only way to sell expensive hardware.

    1. Re:How much of Solaris has gone open source? by Anonymous Coward · · Score: 3, Informative
      "Its been what, 2-3 years since the open-source solaris announcement came out?"

      The official announcement was last January (nine months ago). Rumors had been out earlier, of course.

      "How much has been open sourced? AFAIK, all the have opened sourced is DTrace (a very cool tool/framework), but nay else."

      That's what was released in January; as of April, the answer is (per the FAQ at http://opensolaris.org/ :

      Initially, the OpenSolaris project includes source for the Solaris OS core kernel, networking support, libraries and commands. This set of source is often referred to as the OS/Networking consolidation (O/N).

      "Lets see them open up the kernel internals like the thread model..."

      Done.

    2. Re:How much of Solaris has gone open source? by Anonymous Coward · · Score: 0

      OpenSolaris source code *is* available.

      Download it http://www.opensolaris.org/os/downloads/

      Or search the source online http://cvs.opensolaris.org/source/

      Please, next time do your homework before posting, you just look like a troll otherwise.

      Also, your Sun rep should be fired--lying about Linux like that.

      Sun is a hardware company, yes, but they're a software company too.

      http://www.sun.com/software

      http://www.sun.com/download/index.jsp

      Sun have been pushing the Java Enterprise System, Java Desktop System, and StarOffice products pretty hard--to the point where it seems like they're forgetting that they are still a hardware vendor too. However, they know Solaris isn't the only OS, or even the best one for particular needs--which is why they sell both Sparc systems for Solaris and x86_64 systems for Solaris_x86, Linux, and Windows. Of course they would prefer you buy Sparc/Solaris, but they're trying to compete in a much wider marketplace.

      Incompatible licenses are are one of the deterrents to cross pollonization of the Unices; compare CDDL with GPL. The other is significant differences in the underlying software architectures and interfaces. You can't just copy and paste code for both reasons. Ideas can still flow between kernels, and they do. But frankly, independent implementations of similar ideas is better for software biodiversity. Software needs variety. Keep using Solaris, Linux, and all the *BSDs. Don't rule out any of them yet.

    3. Re:How much of Solaris has gone open source? by adrianmonk · · Score: 3, Interesting
      Its been what, 2-3 years since the open-source solaris announcement came out? How much has been open sourced? AFAIK, all the have opened sourced is DTrace (a very cool tool/framework), but nay else.

      Well, it's good that you said "AFAIK", because what YK turns out to be out of date. Browse the Solaris source code right here.

      Lets see them open up the kernel internals like the thread model

      OK, here's the directory with the dispatcher stuff and here's thread.c specifically.

    4. Re:How much of Solaris has gone open source? by be-fan · · Score: 2, Funny

      "Bovine Scatalogical Pathology"? Given your comment, it seems you suffer from "Foot in Mouth Disease".

      --
      A deep unwavering belief is a sure sign you're missing something...
    5. Re:How much of Solaris has gone open source? by cprice · · Score: 1

      No, it was over beers and I looked him in the eye and said 'that is comeplete and utter bullshit'. I guess I was trying (and apparently failing miserably) to be clever.

  48. FreeBSD Ports by 0xB00F · · Score: 5, Insightful

    Wow! Is that all it takes to get a +5 Insightful now? So I guess this will be modded Troll or Flamebait.

    I can never really understand why FreeBSD ports is better than Debian's APT. Perhaps it's only because they look at "package installation" as the only use for these tools, whereas I use these tools for "package management". Everything comes down to the packagers who make and maintain the packages and the quality of the tools used to make and maintain the packages. I've used FreeBSD, Gentoo, and finally Debian for servers and desktops. Based on my experience APT is a more elegant solution to package management compared to FreeBSD Ports and Gentoo Portage for the following reasons:

    Package Building

    Although building Debian packages can be a bit overwhelming especially for newcomers, it really shines especially if you have installed debhelper, dh-make, dbs, dpatch, and lintian. What's really great about APT is the automatic runtime dependency resolution prior to packaging the final debs. After building the package and before it gets packed into a deb, a dependency checker is run through it and it will automatically figure out the runtime dependencies for you. On FreeBSD Ports and Gentoo Portage, you have to figure out and specify runtime dependencies yourself.

    The "Dusty Deck" Problem

    When I install a package using ports or emerge, it will also install the dependencies. But most of the time you will essentially be installing from source (and yes I am aware that Ports and Portage also have pre-built packages). When you do that, Ports and Portage will install and build the build-time dependencies of the package you are installing. Now, that's fine if those build-time dependencies are also needed at run-time. But some dependencies are only used at build-time and will never be used again until you upgrade the packages that depend on them. You can decide to remove them after build time, but then when you update the package they will be downloaded, rebuilt, and installed again. You eventually grow tired of this cycle that you just leave these build-time only packages and then they continue to accumulate on your disk mostly wasting space.

    This is probably the reason why there are "developer" packages for libraries that contain only the header files and the link libraries. Once you're done with building, you can uninstall the developer package. Try doing that under Ports or Portage. Oh, wait! You can't. The runtime and build-time dependencies are all in one package.

    Package Uninstallation

    Now this is where Ports and Portage, IMHO, really suck. When I uninstall a package from my system I want it gone. apt-get remove --purge and a properly packaged deb will do that for you. Ports and Portage will leave "package cruft" on your system. "Package cruft" can be anything from stale config files to build-time dependecy packages. You will have to track and remove those things manually.

    I know these three points can be resolved on both Ports and Portage if the packages are done correctly. This is where APT has an advantage over Ports and Portage: being able to make a proper package. On Debian, with the tools I mentioned above installed, a package maintainer's life is greatly simplified.

    Ports (and Portage) does Rock, but only if all you ever care about is package installation and not package management (package building, installation and uninstallation).

    1. Re:FreeBSD Ports by Eldav · · Score: 1, Informative

      I've used FreeBSD, NetBSD, OS X, Debian and Redhat for servers and/or desktops.

      In my opinion, FreeBSD Ports > NetBSD pkgsrc > DarwinPorts > APT > RPM.

      Package Building

      On FreeBSD Ports and Gentoo Portage, you have to figure out and specify runtime dependencies yourself.

      ??? I don't understand this sentence. Portupgrade handles everything for me just fine.

      The "Dusty Deck" Problem

      On my home FreeBSD server, with around 330 ports currently installed, used space in the /usr partition is 3.4 GB. Given how cheaps hard disk space is, I couldn't care less to save a few couple of megabytes just to remove build dependencies.

      Package Uninstallation

      I understand this may be true for people playing with their system learning Linux, constantly installing/uninstalling packages (and constantly switching Linux distros), but after a certain while, you get to know which packages you need/want on a server and the question of uninstallation becomes unimportant alotgether. I don't see why I would want to uninstall Apache, Python or Subversion. Upgrade, yes but remove, no.

      As a Zope webesite developer, I've usually been unable to find the versions I need for a given task (Zope is very picky about versions, and usually "old" versions just won't do) whereas FreeBSD is always up-to-date.

    2. Re:FreeBSD Ports by 0xB00F · · Score: 1

      I've used FreeBSD, NetBSD, OS X, Debian and Redhat for servers and/or desktops. In my opinion, FreeBSD Ports > NetBSD pkgsrc > DarwinPorts > APT > RPM.

      And in your opinion, you completely seem to disregard package building. To be fair I don't know if you have ever used those packaging systems to build your own packages. If you have no experience rolling your own packages, then I urge you to try it on all the packaging systems you mentioned.

      Package Building

      On FreeBSD Ports and Gentoo Portage, you have to figure out and specify runtime dependencies yourself.

      ??? I don't understand this sentence. Portupgrade handles everything for me just fine.

      That's because you took it out of context of building packages. I am refering to the problem of having to specify all of the dependencies in the build script when building packages. And when I say "building packages" I mean to say taking a source tarball and constructing a package from said tarball. This includes the runtime dependencies. Using APT, when you build a package, normally you would only have to worry about build-time dependencies. Upon completion of a build and prior to packaging to a deb file, ${shlibs:Depends} on the Depends line of your debian/control file will automatically figure it out for you. Though you may not see this as a problem under Ports or Portage because in that system, build-time dependencies are most probably also run-time dependencies. But this leads to the "dusty deck" problem I described in my previous post.

      The "Dusty Deck" Problem

      On my home FreeBSD server, with around 330 ports currently installed, used space in the /usr partition is 3.4 GB. Given how cheaps hard disk space is, I couldn't care less to save a few couple of megabytes just to remove build dependencies.

      Well, that is your case. What about those that run the OS on very limited disk space on very old hardware or in an virtualized environment? And I am not talking "a couple of megabytes" here. Case in point: there are some packages that will require LaTeX or Docbook to build documentation. Those packages are huge and they take a long time to compile. After building your package and installing it, you won't need LaTeX or Docbook to run your package. So what do you do? You remove the uneeded packages. But what happens when you upgrade the dependent packages?

      Package Uninstallation

      I understand this may be true for people playing with their system learning Linux, constantly installing/uninstalling packages (and constantly switching Linux distros), but after a certain while, you get to know which packages you need/want on a server and the question of uninstallation becomes unimportant alotgether. I don't see why I would want to uninstall Apache, Python or Subversion. Upgrade, yes but remove, no.

      Providing a clean way of removing your package from the system is an absolute must. Even if you do not care about uninstalling packages. It is important to be able to revert the system back to the original state before a package was installed. Which is why Debian packaging policy has very strict rules regarding packaging, especially with package removal. This is probably why some packages are done badly. Most packagers are in the same mental frame as you and say to themselves "Nah, nobody will want to uninstall this.". Plus, there are some (badly made) packages that will not even upgrade cleanly and still require you to remove cruft from the previous version.

      As a Zope webesite developer, I've usually been unable to find the versions I need for a given task (Zope is very picky about versions, and usually "old" versions just won't do) whereas FreeBSD is always up-to-date.

      This is the main reason to roll your own packages. If your distro is behind, you sh

    3. Re:FreeBSD Ports by dodobh · · Score: 1

      Ports is a way of installing from source, choosing your optional compile time flags. The same applies to USE flags for Gentoo. This is equivalent to building .debs from source packages, after editing a bunch of files, but in a much more elegant fashion.

      Debian really doesn't have the concept of ports, just *BSD packages. Gentoo lacks support on the packages front, but is rock solid on the ports side.

      You can build your own binary packages trivially, and then install those with pkg_add in FreeBSD, or the equivalent Gentoo emerge option. Packages are just tarballs in both cases.

      Understanding the difference between ports and packages is useful and necessary.

      --
      I can throw myself at the ground, and miss.
    4. Re:FreeBSD Ports by diegocgteleline.es · · Score: 1

      After building the package and before it gets packed into a deb, a dependency checker is run through it and it will automatically figure out the runtime dependencies for you. On FreeBSD Ports and Gentoo Portage, you have to figure out and specify runtime dependencies yourself

      I like APT more than portage and BSD ports, but this is not a "problem" with portage and/or ports, the fact that they have "dynamic runtime dependencies" is one of their "design decisions" - it's something they like to have, not a problem they need to fix

    5. Re:FreeBSD Ports by Eldav · · Score: 1

      And in your opinion, you completely seem to disregard package building. To be fair I don't know if you have ever used those packaging systems to build your own packages.

      Having to build custom packages is *precisely* what I want to avoid. To be honest, in more than 10 years of Unix/Linux/BSD use, the only situations where I wanted/needed to build custom packages occurred with Debian:

      • Packaging kernel images for kernel upgrades : with the infamous Linux 2.4 kernels and their VM subsystem trouble, it was important to be able to revert to a previous version if the new one had a problem. As a comparison, my oldest FreeBSD server has evolved smoothly from FreeBSD 4.3 to 4.10 over the years (can't upgrade it to 4.11 yet, as it will reach a 480-days uptime tomorrow, and I want to see how long it can run on one reboot with one set of hardware).
      • At one point (maybe 3 years ago), an upgrade to the Debian sendmail package suddenly broke the app, and it remained broken for about 15 days. I compiled my own, correct package to solve the problem. And every time I would run 'apt-get upgrade', Debian would insist on replacing my correct package with the broken one. I has a similar problem whith mod_php, where apt would refuse to see that I already had the package installed, and insisted on modifying my httpd.conf.

      The reason you give (being able to build packages not provided by the packaging system) only seems to outline the weaknesses of said packaging system. In fact, I would *almost* go as far as to say that being able to build packages easily on Debian only exists to solve a problem that was created specifically by Debian ;-) In my experience with apt-based distros (Debian and Fink for OS X), packages were always several versions back, when not missing altogether. I know it has nothing to do with apt per se (although I would argue that I don't like to see apt always trying to outsmart me ;-)), but the result is the same: both Fink and Debian were inadequate for my needs.

      What about those that run the OS on very limited disk space on very old hardware or in an virtualized environment? And I am not talking "a couple of megabytes" here.

      Old hardware is noisy and unreliable. It's well known that mechanical (fans, ...) or chemical (capacitors, ...) parts create trouble after a couple of years. Modern hard disks are cheap, and can consume less electricity and produce less heat/noise than old ones).

      Case in point: there are some packages that will require LaTeX or Docbook to build documentation.

      I just checked to be sure : Out of my 371 installed ports on my home server (not 330 as I said before, I was underestimating their number), I have docbook installed, but not latex. Anyway FreeBSD ports usually allow you to save custom preferences which will be retained across upgrades, either through 'make config' or the '/etc/make.conf' file. Specify your preferences once, and forget about them (well, sort of ;-)).

      Providing a clean way of removing your package from the system is an absolute must. Even if you do not care about uninstalling packages. It is important to be able to revert the system back to the original state before a package was installed.

      True, in theory. But, as I wrote before, the way I use my servers makes this point unimportant to me.

      Also, it should be noted that the default behaviour of apt is to *not* purge old config files (otherwise you wouldn't have to use the --purge option). This is meant to allow you to retain your prefs in case you decided to install the app again at a later time. Similarly, FreeBSD tells you which files were left behind on uninstall (because you edited them and they no longer match the original MD5 signature).

      Also, Linux distros usually don't make a clear distinction between base system and third-party apps, since everything, including the kernel, is a p

    6. Re:FreeBSD Ports by molnarcs · · Score: 2, Interesting
      Wow! Is that all it takes to get a +5 Insightful now? - I could ask the same of your own post, because some parts are factually wrong.

      Now this is where Ports and Portage, IMHO, really suck. When I uninstall a package from my system I want it gone. apt-get remove --purge and a properly packaged deb will do that for you. Ports and Portage will leave "package cruft" on your system.

      I don't know about portage, but ports don't leave cruft behind. When you remove a port, you effectively remove a package. FreeBSD does not differentiate between ports and package deinstallation. Portinstall/upgrade tools, share the same command for package removal, whether it was built from ports or installed as a binary package. pkg_deinstall -rd fooo* will recursively deinstall every fooo* package and those packages that depend on it. Not only that, but it will remove the directory as well - unless you modified some files by hand, in which case if will tell you which files it couldn't remove (because they didn't match original checksum). Ports leaves "cruft behind" is a myth - or sounds to me like superstition or something. ALL installed files by a port or package are recorded in the plist, and all those files will be removed on deinstall - unless you changed them manually, in which case you will notice (and probably don't want to delete them anyway before making a backup).

      Ports (and Portage) does Rock, but only if all you ever care about is package installation and not package management (package building, installation and uninstallation).

      WTF? The reason I use ports is because I care about package management. I have to take care of a small lab with old computers. 3 of them run freebsd+blackbox+opera/gaim/irc combo (and a simplified menu so all can use it). What makes the whole setting really nice is that I can compile every installed package (there aren't that many - ~ 110) optimized for that hardware on my home puter. Than I can point portupgrade -PP to my ftp repo, and don't have to worry about dependencies and whatnot: everything will be upgraded/installed in the right order (and removed if I wish to). Yes, this is possible with deb and rpm as well, it is just not that easy. Forgot putting a required package in the repo? You can create binary packages with pkg_create -b pkgname from a package installed on your system. It doesn't matter if it was installed from source using ports or from a package. Package management knows of every file belonging to that package and the proper paths, and it will create a binary package for you, which will similar to any .deb: it will register all the required dependencies as well (unlike slack .tgz). Again, how could you do that if package management would not accurately keep track of everything? In other words - you pull this "cruft" stuff out of your ass (don't know about gentoo though) - ports doesn't leave any cruft behind (no more than apt does).

    7. Re:FreeBSD Ports by GraemeDonaldson · · Score: 1

      Package Building

      On FreeBSD Ports and Gentoo Portage, you have to figure out and specify runtime dependencies yourself.

      ??? I don't understand this sentence. Portupgrade handles everything for me just fine.

      I'm almost sure GP was describing the situation faced by a port/package creator/maintainer, not the user.

      --
      I think, therefore I am. I think?
    8. Re:FreeBSD Ports by Bert64 · · Score: 1

      But having seperate -dev packages is also a HUGE pain in the ass if you regularly build fresh machines and compile things from source, and it`s also very unintuitive for newbies..
      It`s a lot of hassle having to try and find all the -dev packages for all the libs you have installed, and newbies won`t realise they have to install seperate dev packages.. as far as they`re concerned they already installed "libblah" that is required by whatever they`re trying to install, and dont realise that "libblah-dev" is also needed.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    9. Re:FreeBSD Ports by Just+Some+Guy · · Score: 2, Interesting
      When I uninstall a package from my system I want it gone. apt-get remove --purge and a properly packaged deb will do that for you.

      So [package uninstaller] on [OS] completely removes that package. Golf clap. A properly packaged (your words) application will work that way on any OS, not just Debian.

      I love Debian, and have used it for years. It's great. However, the real admin nightmare comes when you decide you want some non-standard feature supported systemwide. On FreeBSD, for example, if I want LDAP support then I install the OpenLDAP client port (or let it get brought in as a dependency when I request LDAP support in some random program). Et voila, ports compiled from then on get LDAP support where appropriate. Gentoo fans: yeah, I know you have this too. Portage earns its name, I'll give you that.

      Debian, on the other hand, requires you to hand-roll special locally-built versions of every application you want to have LDAP support - when a new version comes out, it's hand building time again. Yay! If LDAP is too common to be a good example, check out Kerberos. Debian/unstable has OpenSSH 4.2p1. Nice! If you want a version with Kerberos support, though, plan on rolling back to OpenSSH 3.8.1p1 and losing all of the other features you might have liked to use, or cranking up gcc and your beloved packaging tools.

      As I said, I like Debian. Still, I can't pretend that it doesn't have several critical issues that make its administration a lot harder than need be. If the official packages cover all your needs, then it's a dream. If not, things get ugly quickly. You might not like the tradeoffs that FreeBSD and Gentoo have made, but they're there for a reason and are exactly what many of us want and need.

      --
      Dewey, what part of this looks like authorities should be involved?
    10. Re:FreeBSD Ports by Overly+Critical+Guy · · Score: 1

      If you really want to get serious about it, all the UNIX package management systems suck, because the default file structure sucks. Files are written to all sorts of various directories, directories in directories, and so forth.

      There needs to be a self-contained package format like OS X's .app bundles. No using a program to install a program or a program to uninstall a program. Just copy it to install it or delete it to uninstall it.

      --
      "Sufferin' succotash."
    11. Re:FreeBSD Ports by discogravy · · Score: 1

      building ports in the "cd /usr/ports/misc/package && make install clean" manner does leave install stuff behind in /usr/ports/distfiles and in the work directory (if you don't do a make distclean in /usr/ports), so that may be what the parent was referring to.

    12. Re:FreeBSD Ports by molnarcs · · Score: 1
      I don't think that's what the parent reffered to - he spoke about uninstalling packages. BTW, make install clean won't leave anything in the work directory (will delete the work directory in fact after installation). portsclean -CD solves the problem of keeping the ports tree clean.

      I think the parent is simply clueless, especially when he states that you need to hunt down runtime/builtime dependencies, or that it is easier to build deb than tgz packages. Everything is handled automatically via portupgrade. To build a binary packages (that will have all the runtime dependencies automatically registered) is as simple as passing -p to portinstall: portinstall -p mplayer will create a binary package that is capable of resolving all dependencies automatically, and it will put that packages is /usr/ports/packages if it exists, or in the ports directory. What makes his post really funny, that he claims that: "Although building Debian packages can be a bit overwhelming especially for newcomers, it really shines especially if you have installed debhelper, dh-make, dbs, dpatch, and lintian." WTF? I guess compared to passing -p to portinstall/upgrade anything is a little bit overwhelming :))) Not only that, but FreeBSD lets me create a package with a simple command (pkg_create -b pkgname) from an installed program regardless of how it was installed. That package, for all intents and purposes, will be similar to a deb package (knows about dependencies, can automatically resolve them if needed packages are in the same directory, can pull packages from the net if you install with pkg_add -r or from your private repo, in other words, it knows everything .deb knows).

      To put it simply: the parent has absolutely no idea of what he talks about (and he does it at +5 insightful). To sum up, in freebsd:

      • Create binary packages during installation of new progs: portinstall -p fooo* (resulting packages will be in /usr/ports/packages, nicelly categorized, ready for exporting the directory as an nfs or sharing it via an ftp).
      • Create a binary package during upgrade: portupgrade -pa
      • Create a package from a program that is installed (regardless of how it was installed: from source using ports or binary packages): pkg_create -b packagename
      Can it be any easier than that? And such mechanism would not be working very well if it wasn't for the accurate tracking of every single file the port installs - which means, clean uninstalling of any package.
    13. Re:FreeBSD Ports by Khazunga · · Score: 1

      The filesystem structure is like that for good reasons. Go read up on them.

      --
      If at first you don't succeed, skydiving is not for you
    14. Re:FreeBSD Ports by linimon · · Score: 0

      > Ports and Portage will leave "package cruft" on your system. "Package cruft" can be anything from stale config files to build-time dependecy packages.

      As for the former, a major QA effort has been going on this year in Ports to automatically identify non-conforming ports and flag them to be fixed. If they can't be fixed, they are marked "broken" and the maintainers are notified. We have so far fixed dozens; a few remain.

      This is one of the advantages of our automated ports building cluster, which is capable of detecting many different types of errors on each combination of port, OS release, and machine architecture.

      As for the latter, an application called pkg_cutleaves(1) can be used to identify unused (leaf) packages, e.g. those left behind as build dependencies.

      The point is that there is a lot more functionality in our various ports toolkits than is commonly supposed, even though the various tools need to be more clearly documented in one single place.

    15. Re:FreeBSD Ports by Overly+Critical+Guy · · Score: 1

      Meanwhile, it still provably sucks. Having a reason for it doesn't suddenly make it not suck.

      --
      "Sufferin' succotash."
    16. Re:FreeBSD Ports by runderwo · · Score: 1
      This is equivalent to building .debs from source packages, after editing a bunch of files, but in a much more elegant fashion.
      Riiight...

      $ apt-get --compile source [pkg]

      And setting your USE flags is not "editing a bunch of files"?

    17. Re:FreeBSD Ports by runderwo · · Score: 1
      Having to build custom packages is *precisely* what I want to avoid. To be honest, in more than 10 years of Unix/Linux/BSD use, the only situations where I wanted/needed to build custom packages occurred with Debian:
      However, if you were a distribution maintainer, as the GP is, your tune would change. You know, users kind of like binary packages. Especially those ones that don't have 2GB and several days to build Xorg and friends.
    18. Re:FreeBSD Ports by runderwo · · Score: 1

      Apparently you have never heard of PAM. Like it or lump it, but that's the reason behind not building a bunch of crazy authentication options into every package. Kerberos is an exception because it doesn't fit nicely into the PAM model (e.g. for TGT forwarding). For the rest of stuff you are complaining about, PAM has suited me fine. A LDAP database stores account information, and pam_ldap is used to pull it for any service by entering it in common-account and common-session. I have never had to manually recompile any LDAP related package nor any service that uses LDAP.

    19. Re:FreeBSD Ports by runderwo · · Score: 1

      Not having separate -dev packages is a HUGE pain in the ass for embedded and other space-constrained systems where you wouldn't even think of putting a compiler, much less build libraries.

    20. Re:FreeBSD Ports by Just+Some+Guy · · Score: 1
      Like it or lump it, but that's the reason behind not building a bunch of crazy authentication options into every package.

      I actually hadn't even considered authentication. I use LDAP for shared address books, PKI, system settings (like automounter maps), Postfix backends, and other things. I don't care about having a version of KAddressbook that can do PAM authentication; I want one that can search my company's email directory.

      --
      Dewey, what part of this looks like authorities should be involved?
    21. Re:FreeBSD Ports by runderwo · · Score: 1
      There needs to be a self-contained package format like OS X's .app bundles. No using a program to install a program or a program to uninstall a program. Just copy it to install it or delete it to uninstall it.
      And just like that, back we go to the age of needing a virus scanner on every box to detect executables that have been infected by user-propagated exploits. No thanks - I prefer my system-wide executables at a higher-than-user modification permission.

      Not that you should be prevented from doing what you want to do, but it's such a bad idea that it has a quite low priority among those actually doing the developing.

    22. Re:FreeBSD Ports by dodobh · · Score: 1

      USE="mysql"

      Any application with an optional MySQL dependency with get MySQL support.

      USE="-mysql pgsql"

      Never build in optional MySQL support, always build in optional Postgres support.

      Set it once in make.conf on your build machine. If you like, set the buildpkg flag as well, and make your own binary packages. Then install those.

      rpmbuild --rebuild foo.src.rpm --with pgsql --without mysql does the same for one package, not all.

      I didn't see you setting compile time optional components in your example. And then do it for all your packages.

      --
      I can throw myself at the ground, and miss.
    23. Re:FreeBSD Ports by Bert64 · · Score: 1

      And on an embedded system the developers of the system would be putting the packages together themselves, and not relying on someone else`s packages.. That way they can remove any parts they deem unnecessary, not just files but sections of code etc if necessary.. And compiling them in such a way as to reduce filesize (-Os for instance on gcc)
      And also as you said, on an embedded system the compilers wouldn`t even be present, so end users wouldn`t be trying to compile anything in any case.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    24. Re:FreeBSD Ports by Bert64 · · Score: 1

      The problem you mention with debian breaking sendmail, is already solved with gentoo...
      Portage usually keeps a couple of previous versions in the tree, and it`s possible to "mask" packages you don`t want, so if the new one breaks you can mask it and reinstall the previous one...
      Or a little smarter, update a test machine, find it breaks, and then mask the broken package on your real machine before you perform an update.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
  49. Re:The Answer is Clear by mcrbids · · Score: 3, Insightful

    . As a USER, what I really care about is overall performance of a kernel.

    Ok, so as a USER, why would you care about MySQL? Because as a SYSTEM ADMINISTRATOR, what I really care about is stability and easy of administration. Once performance reaches "good enough", I could give a shit about improved performance. Hardware is cheap, a $5,000 1U MP system can blast down just about anything I'm going to care about.

    But, I want it to work today, tomorrow, next week, and next year. I want to reboot when I plan to (doing a kernel update, for instance) and only then. It had better be stable, and shouldn't be all that noticable in my day-to-day schedule. Doing updates had better not involve a half-day compiling, because downtime is !@#!@ expensive.

    But, performance? Can you name a SINGLE INSTANCE where you chose your O/S based on some performance graph? Unless your technology depends on Windows (I feel for you if it does) any of the *nixes out there are "good enough" to do just about anything up to the very high end. (Linux/BSD/Solaris/AIX/OSX/etc) Even at the very high end, it's unlikely the choosing the "worst" OS will cost more than switching to the "best" OS!

    In the end, it really doesn't matter all that much. Pick what you like, and roll with it. Performance is way down the totem pole, pay attention to stability, security, licensing, and compatability with your specific needs. Then, worry abouut performance!

    --
    I have no problem with your religion until you decide it's reason to deprive others of the truth.
  50. RTFA by Anonymous Coward · · Score: 0

    Did you not see that the FS table is a partial list? The author only mentions it like two times.

    The article is quite fair, generally, and honest in what's included vs. left out of the discussion.

    1. Re:RTFA by CyricZ · · Score: 1

      Even if it is a partial list, XFS and JFS are two of the major Linux filesystems. It'd be like leaving out FAT32 support out of a list of filesystems that Windows supports. They're just too major to be left out.

      --
      Cyric Zndovzny at your service.
    2. Re:RTFA by Professor_UNIX · · Score: 1
      Even if it is a partial list, XFS and JFS are two of the major Linux filesystems. It'd be like leaving out FAT32 support out of a list of filesystems that Windows supports. They're just too major to be left out.

      Apparently Red Hat doesn't think so. If you talk to them then the only journaling filesystem for Linux is the awful ext3... unless you want to recompile your own kernel and void your support of course.

    3. Re:RTFA by Anonymous Coward · · Score: 0

      RedHat's Fedora Core allows you to format and use an XFS partition. Simply type "linux xfs" at the installation boot prompt to add it to the file system list in Anaconda. I haven't looked at the RHEL kernel, but the Fedora kernel actually includes XFS as a module - however, it leaves out NTFS so I have to rebuild the RPM anyway.

    4. Re:RTFA by Professor_UNIX · · Score: 1

      I'm referring to Red Hat Enterprise Linux not Fedora. As I said, Red Hat seems to imply that ReiserFS/JFS/XFS isn't "Enterprise" quality enough for their RHEL product line. Not trolling, just stating the facts. Why would I lie about something so easy to check? Just go install RHEL and you'll see there are no options for advanced journaling filesystems beyond ext3.

    5. Re:RTFA by CyricZ · · Score: 1

      Indeed. That's why RedHat is a distribution to be avoided. I don't trust their support to be worthwhile when they press ext3 as an enterprise-grade filesystem. I'll stick with distributions such as Debian, which do offer support for the filesystems which are used for intensive tasks.

      --
      Cyric Zndovzny at your service.
  51. did anyone read the articles full of "facts"? by werelnon · · Score: 1, Informative

    The articles pointed to by this article seem to be pretty blatant solaris propaganda (or at least solaris fanboyism). Just check out this gem that the article claims contains facts. Here's just one great quote from the article:

    "Currently Solaris 10 patches are still free for servers without support contracts which is nice for enterprise, but is really important for home users and hobbyists. Of major Linux distributions only Debian and Gentoo has free patches available, but using Debian puts you into the situation that is called "Not a Red Hat"(NRH): Red Hat commands well over 60% of Linux marketplace and that instantly shows in the availability of RPMs, commercial applications, books and other things. "

    When was the last time I wished I could go through rpm hell instead of just apt-get install? Idiotic.

    --
    The Switchboard, a free, browser based, internet phone

    1. Re:did anyone read the articles full of "facts"? by smash · · Score: 3, Insightful
      OK...

      Try a commercial app on anything but redhat.

      Open source is great and all, but there's specialised apps where there simply is not a viable alternative. And if you're bound to a commercial app, then you're either going to run redhat, or get no support from your app vendor, in most cases. Yes, you can likely get it to work, but as soon as you run into an application bug, you're screwed - reinstall on redhat or you'll probably get no support.

      Modular mining for example...

      smash (linux user/promoter of 9 years).

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    2. Re:did anyone read the articles full of "facts"? by dodobh · · Score: 2, Informative

      RPM is the equivalent of .deb.
      Yum is the equivalent of apt-get.

      Don't confuse between the two.

      --
      I can throw myself at the ground, and miss.
  52. Re:Professionalism of the Solaris, FreeBSD develop by Anonymous Coward · · Score: 0

    You know shit, you fatherless bastard child of crackyness.

  53. Re:The Answer is Clear by Anonymous Coward · · Score: 0
    • OSDL have put serious work into making 2.6 fast.
    • FreeBSD performs well enough but is neither as fast or well supported as linux.
    • OpenBSD is secure and stable, it's an absolute slug.
    • OSX is totally unsuited to database work because it requires an additional context switch per op.
    • AIX and overpriced hardware/support go hand in hand.
    • They didn't call it Slowaris for nothing.

    The guy is using MySQL, is that what you use when you need stability or enterprise class reliablity? Linux is the sane choice here, it enjoys wider hardware support and is faster. Not that I expect someone capable of posting a misguided pissy little rant such as yours to appreciate sanity.

  54. Re:WARNING! Invalid article copy! by Xtifr · · Score: 1

    > There's no GoatseFS in there.

    But if there were, I bet it would be an open system. A very open system!

    (Sorry...) :)

  55. Re:The Answer is Clear by sfcat · · Score: 1
    "The term is usually "monolithic kernel", rather than "macrokernel"."

    It is even worse than that. A monlithic kernel means that almost everything (kernel, device drivers, filesystems, etc.) runs in kernel mode. A microkernel uses messaging to move everything but the kernel out of kernel mode. An exokernel runs on a skeleton of code in kernel mode and everything else (including the kernel) runs in userland. An example of an exokernel is QNX. An exokernel provides very very reliable system uptime but at the expense of performance.

    I believe that Linux, Solaris, and BSD are all monolithic kernels as are the Windows kernels (NT and others). OS X is a microkernel.

    The three types of kernels are a spectrum trading performance for reliablity. Like most everything else in programming it is a trade off between two inversly related goals.

    --
    "Those that start by burning books, will end by burning men."
  56. Yeah, right, NT scales so well by Anonymous Coward · · Score: 4, Informative

    Just because there's a version of NT that can run on a 128-CPU SMP box doesn't mean it scales that in real-life situations.

    If it did, with all Microsoft's billions of dollars, how come there's no NT equivalent to this for Linux, or this for Solaris?

    Those two bad boys scale damn near linearly. I know that, I don't have assume that. I can afford a 7-figure house because I can make those things sing. That Sunfire E25K has 72 CPU slots, and each UltraSPARC-IV chip has 2 full CPUs on each die. The IBM 595 has 64 CPU slots, and when I was at SC-04 in Pittsburgh last year, IBM claimed they were working on an 8-way version of their Power CPU. That's 512 CPUs on an SMP box.

    There's nothing like that in the NT world that anyone could buy. And you don't have to sign some NDA that would keep you from getting a job in a lot of places to see the source code for either OS.

    Keep your damn toy OS, and your self-admitted assumption that "NT knows how to handle more than 2 processors", because there's no commercially-available system to support that assumption.

    1. Re:Yeah, right, NT scales so well by IllForgetMyNickSoonA · · Score: 1

      That page says "128-way requires HP-UX 11i v2". Not that I'd like to jump in into a flame war, but this doesn't look like that specific system you pointed at would support your position, at least as far as 128-way systems are concerned.

    2. Re:Yeah, right, NT scales so well by Sinclair12 · · Score: 1
    3. Re:Yeah, right, NT scales so well by TheNetAvenger · · Score: 1

      Keep your damn toy OS, and your self-admitted assumption that "NT knows how to handle more than 2 processors", because there's no commercially-available system to support that assumption.

      Are you really going to tell us and the world that Windows (NT) doesn't run on more than one processor?

      Are you going to tell everyone that there is no such thing as 64cpu NT server out there, and even 128cpu servers?

      Are you really that freaking stupid that you think you can tell the people running this stuff it doen't exist?

      My freaking laptop is running a dual-core processor and WindowsXP, fully utilizing both processors... So tell us again that Windows NT can't do more than one processor.

      You my friend are a moron...

    4. Re:Yeah, right, NT scales so well by TheNetAvenger · · Score: 0, Troll

      That page says "128-way requires HP-UX 11i v2". Not that I'd like to jump in into a flame war, but this doesn't look like that specific system you pointed at would support your position, at least as far as 128-way systems are concerned.

      The 128 CPU version of Windows Server is available, but not on all hardware. That is why DataCenter carries a disclaimer about the utilization of 128-way SMP support.

      Look for R2 of Windows Server 2003 and the Vista version of Windows Server to spread out further SMP support. One of the advancements in this tree of the NT platform is the SMP performance scalability, and is currently out benchmarking pretty much anything out, even in beta.

      Microsoft did drop the SMP transitional ball a bit when dealing with SMP server beyond 64cpus, Server 2003's main performance goal for SMP was built around 64-way as high end, and market hardware with new multi-core cpus is pushing that envelope. That is one of the reasons R2 of Windows 2003 server was put into production.

    5. Re:Yeah, right, NT scales so well by TheNetAvenger · · Score: 1

      Keep your damn toy OS, and your self-admitted assumption that "NT knows how to handle more than 2 processors", because there's no commercially-available system to support that assumption.

      Since you also mentioned the IBM muti-core CPUs, it reminded me of a little product called the XBox 360... It is an NT based gaming system with a tri-core IBM based CPU.

      So in your reality, this doesn't exist either then?

      *smile

    6. Re:Yeah, right, NT scales so well by Thalagyrt · · Score: 1

      Someone who actually isn't instantly biased against Microsoft and actually researches things before posting!? You sir are my new friend. :P

      --
      Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo!
    7. Re:Yeah, right, NT scales so well by aug24 · · Score: 1

      He may or may not be a moron, but he did say "more than two" so your supposed counterexample of "both processors" is a bit irrelevent.

      My 2p, natch.

      J.

      --
      You're only jealous cos the little penguins are talking to me.
    8. Re:Yeah, right, NT scales so well by Anonymous Coward · · Score: 0

      Er, he WAS doing well until he started feeding the trolls.

    9. Re:Yeah, right, NT scales so well by IllForgetMyNickSoonA · · Score: 1

      Hmpf! Let me guess who conducted those benchmarks... was it MS? Wait, wait - even better, it was Mindcraft!

      Then again, maybe Vista *will* out-perform everything there is, along with also providing a cool new scripting... no, wait - it was a file system, right... oh, no - sorry, it was a... oh, forget it. In the end, I'll claim it'll just bring us some more eye candy, requiring a DirectX 9 card, so I better stop here.

      Look, you (MS) have already lost *all* the credibility you have ever had. Show me some repeatable, fair, real-world benchmark results, and you'll convince me. Empty marketing phrases ("is currently out benchmarking pretty much anything out, even in beta") won't buy you anything around here.

      On top of it all, your reply was a non-sequitur. The original poster said "no MS on 128-way machines." Then some troll came along, called him arrogant and posted a link which was supposed to prove him wrong (I guess). I pointed out the link explicitely said "128-way NOT with MS". Then you kicked in with some clumsy C&P from your PR folder, claiming stuff and providing zero evidence for it. If you want to stay on-topic, post a link to a commercially available 128-way systems running under Windows. If you want to change the topic - fine with me, but then at least try to provide some evidence for your claims.

    10. Re:Yeah, right, NT scales so well by TheNetAvenger · · Score: 0, Troll

      Hmpf! Let me guess who conducted those benchmarks... was it MS? Wait, wait - even better, it was Mindcraft!

      Then again, maybe Vista *will* out-perform everything there is, along with also providing a cool new scripting... no, wait - it was a file system, right... oh, no - sorry, it was a... oh, forget it. In the end, I'll claim it'll just bring us some more eye candy, requiring a DirectX 9 card, so I better stop here.

      Look, you (MS) have already lost *all* the credibility you have ever had. Show me some repeatable, fair, real-world benchmark results, and you'll convince me. Empty marketing phrases ("is currently out benchmarking pretty much anything out, even in beta") won't buy you anything around here.

      On top of it all, your reply was a non-sequitur. The original poster said "no MS on 128-way machines." Then some troll came along, called him arrogant and posted a link which was supposed to prove him wrong (I guess). I pointed out the link explicitely said "128-way NOT with MS". Then you kicked in with some clumsy C&P from your PR folder, claiming stuff and providing zero evidence for it. If you want to stay on-topic, post a link to a commercially available 128-way systems running under Windows. If you want to change the topic - fine with me, but then at least try to provide some evidence for your claims


      Are you crazy?

      A) There are NO BENCHMARKS outside of Microsoft on the TPS of the R2 Server or Vista - They are not released products, specific performance tests and posting of is prohibited under the NDA. So yes, I guess they are done my Microsoft, and companies like mine. (This is one of the stupidest things I have had to respond to.)

      B) My non-sequitur post? Go re-read my posts under the topics they were in response to and see if you can follow that logic. I never claimed that NT was available on the SPECIFIC HP 128-way product link from HP. Yes it will run on it, but it is NOT EVEN supported by Microsoft in this configuration.

      Most companies are waiting for the R2 Server release to get full support from Microsoft on more than 64-way systems. However 128-way systems are running NT as we speak - go look it up yourself you lazy troll.

      Did you miss the whole thing about how the development process of Windows Server 2003 was geared for 64-way SMP, hence the refocus on Microsoft's part with R2 Server and Vista Server? My original post about NT knowing how to support 128 CPUs was just that, IT DOES, go fact check it yourself. It is not a Toy OS or Toy Kernel technology by any means.

      For the love of God you *nix trolls, it was the 'best of the best' *nix OS technology designers than designed the NT kernel, made it a hybrid to avoid the pitfalls of the two prodominate kernel technologies. Cutler was a VMS and Unix guru, not a freaking Windows person. If you hate Microsoft so much that you are willing to defame one of the best *nix and OS designers ever, then you are stepping on your own products just to bash Microsoft.

      BTW, Windows 2003 is almost a 3 year old Server OS, and you and others are trying to box it into your view of what is acceptable for proof. What products it is shipping on, etc, etc. Why don't you go ask Microsoft or look it up yourself if this is too mind boggling for you to grasp.

      Admit you are anti-Microsoft everything troll, you even had to take shots at Vista on a post about NT's Kernel architecture.

      I should hold you to the same standard of hyperbole you want to hold others to, so comments about Vista like yours here will not fly, post us links that prove what you said about Vista is true.

      - Oh you can't, they are opinion, go troll someone else - I wasted too much time on you.

    11. Re:Yeah, right, NT scales so well by Breakfast+Pants · · Score: 1

      Let me quote from the quote you quoted: "commercially-available." I didn't realize xbox 360 was commercially available.

      --

      --

      WHO ATE MY BREAKFAST PANTS?
    12. Re:Yeah, right, NT scales so well by IllForgetMyNickSoonA · · Score: 1

      I asked you for the link to a commercially available 128-way system running Windows. Instead of providing one, you called me a lazy troll, and you said my posting was the stupidest thing you had to respond to.

      I'll take that as "no, I don't know of such a system". Actually, I'm surprised. I knew Windows is certified by MS to support 128-way systems, but I never thought no such system is actually commercially available. This means, I'd say, that the original poster was right.

      Oh, and about Vista: it was officially announced by MS and was also posted here on the slashdot that neither Monad nor WinFS are going to be included. If you really need those links, I can dig them up for you. And if you re-read your previous post, you'll see it wasn't me who brought Vista into this thread. It was you.

      Have a nice day.

    13. Re:Yeah, right, NT scales so well by TheNetAvenger · · Score: 1

      Sorry was reading some of your other posts... Mainly Troll or redundant, just as I expected...

      I never CLAIMED to give an example of a 128-way NT system you could BUY. Notice key words...

      However with R2 and Vista Server that will change.

      And me mentioning Vista Server and you talking about Vista desktop changes is so laughable. They are not the same, and ironically WinFS and Monad will actually SHIP with Vista Server, THE ONE I BROUGHT up in the first place.

      Too funny...

      Vista has so many changes, there is no need to respond to Microsoft changing how they are implementing features, whethere they drop features or not. For every feature you can post a link to, I could break my NDA and give you 10 that nobody even knows exists yet, and some are beyond freaking impressive.

      Take Care....

  57. Re:The Answer is Clear by Anonymous Coward · · Score: 0

    You may try and dismiss me as a troll

    "try to dismiss".

  58. Re:The Answer is Clear by ahl_at_sun · · Score: 1

    DTrace isn't just for kernel developers and sysadmins -- it's also for any type of developer. Take for example the recent DTrace support for Java, php, and Ruby. To your second point, you care about DTrace because you care about absolute performance. Maybe yours is a configuration that never suffers from performance degradation during a period of aberrant activity, but most applications do have some conditions where performance drops unacceptably. In those cases, you're at a huge disadvantage on a system that doesn't have DTrace to help you diagnose and resolve the problem.

  59. Re:Userspace Filesystems: try Plan 9 from Bell Lab by diegocgteleline.es · · Score: 2, Informative

    And they're coming to Linux in 2.6.14, the port of the 9P protocol has been included. FUSE (a alternative filesystem-in-userspace approach) has also been included

  60. Re:The Answer is Clear by TheRaven64 · · Score: 1
    First up, QNX is a microkernel, not an exokernel. Exokernels do nothing except partition system resources. The closest things to exokernels outside academia are things like VMWare and Xen. A program running in an exokernel gets some CPU time, some disk space, and some RAM. They are expected to manage their own filesystem, virtual memory, etc.

    Secondly, OS X is a monolithic kernel. Mach is a microkernel, and some of the Mach functionality is used by OS X, particularly at a higher level since it provides a clean mechanism for moving data from kernel to user space (Mach ports), allowing things like power state change notifications without polling. All parts of the OS X kernel, however, run in ring 0.

    Oh, and a well designed microkernel doesn't sacrifice performance. Microkernels can be much faster when performing asynchronous operations, it's just when they are crippled by the need to provide something like a POSIX interface, which heavily favours monolithic kernels, that they lose out. Compare QNX running native QNX code, to QNX running POSIX code (and Linux running POSIX code) doing the same thing as an example.

    --
    I am TheRaven on Soylent News
  61. Un*x Kernel Comparison by toonerh · · Score: 1

    I was very surprized given Linux's advantage of the "Viral" GPL license and big development bucks (although Apple puts $ into FeeBSD), that they were so close. Omitted in Linx's favor is its much faster thread implementation. LET COMPETITON RULE!

  62. Re:Professionalism of the Solaris, FreeBSD develop by CyricZ · · Score: 1

    Actually, I have several children. They're all adults now, too. And to top it off, I was correct. That's probably why the KOffice developer had to resort to insults, rather than the truth, in our discussion.

    --
    Cyric Zndovzny at your service.
  63. Re:Professionalism of the Solaris, FreeBSD develop by Anonymous Coward · · Score: 0

    And there he goes again. More babbling with practically no point.

    How is it that this troll keeps getting modded up? I'm guessing it's because he comes close to looking legitimate, but how many times can you fall for it?

  64. Re:The Answer is Clear by MobyDisk · · Score: 1
    Can you name a SINGLE INSTANCE where you chose your O/S based on some performance graph?
    I'll name one. Many years ago I worked for a company where a client chose to deploy a Linux file server instead of a Windows server like we recommended. They had constant problems with speed because Linux 2.2 + Samba 1 was very slow. No matter how much power they put in that server it couldn't keep up with a low-end Windows box.

    So OS speed is important in terms of scalability. In this case they should have looked at the graph before buying.

    Fortunately, Linux/Samba has matured and this would not be a problem today.
  65. lol - you are such an ass by Ender+Ryan · · Score: 1
    That's pretty funny, considering the incident you refer to was an argument YOU STARTED with a KOffice developer, by completely talking out of your ass!

    By all means, moderators, read the original thread CyricZ linked to.

    I just fucking love how you subtly misrepresent the whole thing by implying it's a developer "publically insulting" a "long time" user, when really it was a developer simply refuting the *misinformation* posted by YOU.

    --
    Sticking feathers up your butt does not make you a chicken - Tyler Durden
    1. Re:lol - you are such an ass by Otter · · Score: 1

      I can't believe he's still trying to stretch out his fifteen minutes of fame over that. I mean, it's not like he doesn't have people calling him an idiot pretty much every day -- I don't get why that one guy (who apologized!) got so under his skin.

  66. Re:The Answer is Clear by @madeus · · Score: 2, Interesting

    Ok, so as a USER, why would you care about MySQL? Because as a SYSTEM ADMINISTRATOR, what I really care about is stability and easy of administration. Once performance reaches "good enough", I could give a shit about improved performance. Hardware is cheap, a $5,000 1U MP system can blast down just about anything I'm going to care about.

    It's fair to say then, you obviously have very modest requirements.

    Unless your technology depends on Windows (I feel for you if it does) any of the *nixes out there are "good enough" to do just about anything up to the very high end. (Linux/BSD/Solaris/AIX/OSX/etc)

    Wrong (sadly).

    Even at the very high end, it's unlikely the choosing the "worst" OS will cost more than switching to the "best" OS!

    Also wrong, there is a huge difference, though the gap varies depending on the role.

    For example, Mac OS X - which I love dearly - is the slowest operating system this side of 'Slowaris' (which has that nickname for a reason), and is many times slower than Linux (on the same hardware). It's embarrassingly slow at some things. If it was a person, it would be part of a 'Care in the Community' program. It's as close to being 'autistic' as an operating system can be.

    However, it has some really great features, including the quartz UI and really good multitasking for user software, which are what make the poor performance otherwise very bearable.

    We have lots of FreeBSD systems here, while there are no issues with lower end systems (where there are multiple systems in a load balanced group not doing very much) they don't live up to our needs under stress, you start finding bugs with software under high load (often these are not always the fault of the OS - but exist none the less). You can also run up against kernel limitations (and find FreeBSD doesn't like really large file shares, or it buckles under certain types of load, or it behaves in a way that is not agreeable with some existing software you need to use).

    This is especially with multiple CPU dual HT systems IME, even with just regular dual CPU HP DL360/DL380 systems. You can certainly coax better performance out of the FreeBSD systems but for a whole host of tasks (mail, web, dns, proxies, databases, etc) even after significant time doing manual optimisation of your software and multiple kernel recompiles (to determine optimum settings) Linux wins hands down every time IME, not least because more developer hours are spent optimising and testing those applications (and libraries) on Linux.

  67. Well thats bogus! by Anonymous Coward · · Score: 0

    I can't speak for JFS, but I have FC4 and centos boxes here using XFS with the stock redhat kernels. Try again, troll.

  68. Re:Real Life by TheNetAvenger · · Score: 1

    Yes, people buy this in thousands ... Itanium ??? I wonder what the uptime of such a beast would be. 2 days ? Hell m$ os is really damm leaky if you start putting pressure in the hw. Perhaps m$ is the customer ... (that may suffice)

    Why do you even take time to make a post like this, anonymous, none the less...

    If you have the urge to comment so bad, just type in...

    "I'm a troll and can't think past my hatred or bias, so I will disagree and rip anythng you posted apart even if I have to make stuff up to do it."


    Just make that your tag line, it will save you and us a lot of time...

  69. abstraction by Anonymous Coward · · Score: 0

    Sun originally used Motorola 68030 chips but was moving toward the SPARC. Furthermore, the SPARC chip was specified in terms of a RISC design by (among others) software engineers. This led to an entire instruction set being specified prior to the hardware technology being available to implement it.

    Instructions not implemented in hardware would generate an illegal instruction fault, which would emulate the instruction in software and then return control. It was not until later that operations such as division could be done in silicon, or floating point operations, or the like. Optimizing for a particular processor meant not issuing instructions that were not implemented for that processor. That is why SPARCv8 instructions can run on SPARCv7 chips, they just are not as efficient.

    Of interesting note is the subsequent addition of the VIS instruction set, which drastically departs from the original technology to compete with Intel's MMX technology 9now incorporated into every chip).

  70. What ARE you talking about? by ratboy666 · · Score: 1

    You EXPECT 32/64 bit "ifdefs", and some assembly in each mentioned Solaris module?

    Go read the source. Go read Linux source.

    Then come back and comment.

    I know this is Slashdot, but PLEASE!

    --
    Just another "Cubible(sic) Joe" 2 17 3061
    1. Re:What ARE you talking about? by Tune · · Score: 1

      I'm not sure what your argument is, so please explain it to a slashdot known-no. Pick a Random header file and point out where you don't see #ifdefs that somehow relate to the used architecture.

      Next, go to the directory marked as "common platform-independent kernel sources" and type "asm" to prove that no assembly is in there. See what i mean?

      Now explain to me why this code is fundamentally easier to port to, say, XScale processors, than is Linux? Or 80286, for that matter?

      Yes, in theory all machine specific aspects could be encapsulated in a single (set of) modules. But in reality, stuff like conceptually different memory models, endian, stack direction are bound to leak through different levels within the OS.

    2. Re:What ARE you talking about? by ratboy666 · · Score: 1

      All right, I'll take the bait...

      In the header you have isolated... there exists an architecture specific #if. Its purpose? /NOT/ to induce the system to compile a special or different way for AMD64 vs SPARC, vs whatever.

      Specifically it exists to allow module directories for MULTIPLE archictures to exist on the same bootable volume.

      Now, pick another random header, and repeat.

      As to asm -- there isn't much. That would be a SINGLE relevent reference (the others are to "include asm/something", comments, etc.). And even that is in a header.

      It wouldn't have gotten into Solaris base otherwise.

      Thanks for playing,

      Ratboy.

      --
      Just another "Cubible(sic) Joe" 2 17 3061
  71. Macro expansion by Just+Some+Guy · · Score: 1
    like randomizing [something] for [something in the kernel] a few years ago in one of the BSDs

    For the record, that language construct can almost always be re-written as "OpenBSD secured [something in the kernel] a few years ago". I'm not even a particularly big OpenBSD fan, but if someone's talking about adding entropy to something that might possibly be too predictable, then OpenBSD probably did it five releases back.

    --
    Dewey, what part of this looks like authorities should be involved?
  72. Re:The Answer is Clear by JonAnderson · · Score: 1
    Well done. Come back when it's released and you can run it safely on a production system. Can you elaborate your claims? ("Linux has SystemTap, which goes above and beyond what DTrace is capable of....")
  73. btrees? Bah! by Just+Some+Guy · · Score: 1
    Don't tell anyone, but FreeBSD builds on-the-fly hashtables of directory contents as they're accessed. I'll see your O(log n) btree and raise you an O(1).

    Reiser's a sharp guy, but he doesn't have the only game in town.

    --
    Dewey, what part of this looks like authorities should be involved?
  74. Re:The Answer is Clear by Anonymous Coward · · Score: 0

    > Well done. Come back when it's released and you can run it safely on a production system. Can you
    > elaborate your claims? ("Linux has SystemTap, which goes above and beyond what DTrace is
    > capable of....")
    Here is a short summary of what it does better. These are taken from Solaris Dynamic Tracing Guide

    Dtrace understands Structs, Unions, Type and Constant Definitions, systemtap does not, to get this functionality you have to use guru-mode, in other words kiss stability and safety good bye. Of course the systemtap will develop work arounds for defined kernel routines, but if you are developing a drive or in userland there is no support.

    Aggregations this is one of the most powerful features, it allows you graph data and see trends, and is smart enought to capture trends and not store huge amounts of data to do so, far more advanced than systemtraps version.

    Intelligent and configurable Buffers and Buffering, dtrace trys it best to capture the data you can adjust the size of its buffers to meet your needs, but knows when its overwhelmed and drops a probe activation, but it always records the event and lets the user know about it. No such feature exists in systemtap.

    Output Formatting, systemtap is just now getting this feature, of course systemtap inability to handle structs, unions, and typedef makes systemtap version servely limited.

    Speculative Tracing is a feature unique to dtrace, the ability to tentatively trace data and then later decide whether to commit the data to a tracing buffer or discard it.

    Options and Tunables, dtrace is configurable to the needs of the script writer, systemtap is not. dtrace also has an extensive list of probes it can use, systemtap has 3 or 4 types of probes, dtrace probes go from high level concepts that allows the programmer to deal with highlevel abstracts, or low level probes that deal with the kernel on a per funcion basis.

    High Level: lockstat Provider, profile Provider, syscall Provider, vminfo Provider, sysinfo Provider, proc Provider, sched Provider, io Provider, fpuinfo Provider

    Low Level: fbt Provider, sdt Provider, mib Provider, plockstat Provider, fasttrap Provider User Process Tracing Perhaps someday it will be intergrated into systemtap, but with the lacking of struct, union and typedefs, they are useless, you want to crash your kernel because you needed to see how your code was interacting with a struct?

    Statically Defined Tracing for User Applications: "DTrace provides a facility for user application developers to define customized probes in application code to augment the capabilities." This is how developers can use dtrace with interpeted languages like, php, java, ruby, etc. It can also be expanded to server processes, for instance, you can create a probe that fires everytime your webserver is connected to.

    Postmortem Tracing "extraction and processing of the in-kernel data of DTrace consumers. In the event of a system crash, the information that has been recorded with DTrace may provide the crucial clues to root-cause the system failure. DTrace data may be extracted and processed from the system crash dump to aid you in understanding fatal system failures." Crashdumps alone are something that linux doesn't do, an Oops is not a crashdump. A crashdump is a core file for the whole system that can be loaded into a debugger so you can look at complete system at the moment of the failure not just the kernel stack and a few variables.

  75. Re:FreeBSD's actual Netcraft stats by olden · · Score: 1

    To whoever was trolling/FUDing about FreeBSD's "market share" etc... here's what Netcraft was actually saying in their most recent article about this OS last year:
    "[FreeBSD] has a secured a strong foothold with the hosting community and continues to grow, gaining over a million hostnames (...) since July 2003."
    Full text + stats

  76. ext2/ext3 can be extent-based by r00t · · Score: 1

    See the e2fsck documentation. This isn't normal of course; "ext" means "extended". That is, it allows filesystems larger than the 64 MB of the original Minix filesystem.

    1. Re:ext2/ext3 can be extent-based by Rik+van+Riel · · Score: 1

      While ext2 and ext3 have inode space reserved for extents, I do not believe the code to use that has been implemented yet.

  77. Re:The Answer is Clear by JonAnderson · · Score: 1

    Erm, I was actually challenging the guy who said that Systemtap was better to actually prove that. I am a Dtrace guy. Well, you pre-empted pretty much anything he/she might have said in response :-)