Slashdot Mirror


Does Linux "Fail To Think Across Layers?"

John Siracusa writes a brief article at Ars Technica pointing out an exchange between Andrew Morton, a lead developer of the Linux kernel, and a ZFS developer. Morton accused ZFS of being a "rampant layering violation." Siracusa states that this attitude of refusing to think holistically ("across layers") is responsible for all of the current failings of Linux — desktop adoption, user-friendliness, consumer software, and gaming. ZFS is effective because it crosses the lines set by conventional wisdom. Siracusa ultimately believes that the ability to achieve such a break is more likely to emerge within an authoritative, top-down organization than from a grass-roots, fractious community such as Linux.

521 comments

  1. Merit by ez76 · · Score: 2, Informative

    There is some merit to what Siracusa is saying, at least on gaming and multimedia fronts.

    Windows was a hamstrung peformer for graphics until NT 4.0 saw rearchitecture which placed key portions of the OS (including 3rd-party graphics drivers) at a much lower level.

    1. Re:Merit by pionzypher · · Score: 2, Insightful

      Agreed, but is that not also its achilles heel? Kernel space drivers have the ability of taking down the whole system where userland drivers do not.

      --
      I'll believe in corporations having personhood when Texas executes one... - advocate_one
    2. Re:Merit by 26199 · · Score: 1

      ...and then Vista moved them back?

    3. Re:Merit by FooAtWFU · · Score: 4, Insightful

      Indeed. Whatever downsides layers have, they keep things sane. If you're going to make a mess of things, at least with layers you have an organized mess. There's a reason that Linux is more secure than Windows.

      --
      The World Wide Web is dying. Soon, we shall have only the Internet.
    4. Re:Merit by maxume · · Score: 1

      Hardware has limped its way to being a little bit faster in the meantime.

      --
      Nerd rage is the funniest rage.
    5. Re:Merit by Anonymous Coward · · Score: 0

      Windows was a hamstrung peformer for graphics until NT 4.0 saw rearchitecture which placed key portions of the OS (including 3rd-party graphics drivers) at a much lower level.
      ...and there it became a source of BSODs previously not possibly in the old-fashioned "non-thinking-across-layers" thinking. Huzzah!
    6. Re:Merit by MORB · · Score: 1

      The problem with linux gaming is not performance or even technical. The problems with gaming on linux are:

        - there is not a large enough market for commercial linux games
        - most commercial games are coded like shit and thus way more difficult (and expensive) to port to other platforms than necessary
        - open source game development hasn't really taken off so far

    7. Re:Merit by Thomas+the+Doubter · · Score: 2, Informative

      Yea, and the NT 4.0 rearchitecture very-much compromised the integrity of the NT kernel. Something we all pay for every day.

    8. Re:Merit by TheNetAvenger · · Score: 0

      If you're going to make a mess of things, at least with layers you have an organized mess. There's a reason that Linux is more secure than Windows.


      You have no idea what you are talking about, past repeating the normal SlashDot spin...

      Go look at the Layers of NT model, the NT4 changes and the Vista changes. Not only is NT far more structured, isolated, but even has concepts than Linux can't do like run OS subsystems because of its rich structured layers even at the kernel API interface level.

      The Video driver ring drop in NT4 did add instability, but considering the performance they acheived with it, this was probably the right choice for the timeframe, as it made the NT code base a credible gaming platform. (99.9% of games are Windows based for performance, even OpenGL games run faster under Windows - and there is also the XBox and XBox 360 bascially Win2k and a fork from the Win2003/XP tree.)

      However you can't seriously argue that the Video ring drop was a massive introduction of insecurity.

      PS as you will note the Video model in Vista gets the benefits of both, near low ring level performance with user mode drivers. Again, something you don't find in Linux or OSX or any other current market OS.

    9. Re:Merit by TheNetAvenger · · Score: 1

      The problem with linux gaming is not performance or even technical. The problems with gaming on linux are:


      Actually, just in terms of video based on where the video drivers run, performance will always be a contention when compared to OSes that structured so that the main video drivers are kernel or user/kernel mode hybrids as in Vista.

      There are other debatable concepts, but this is the most glaring, as getting a game to perform the same inside Linux on the same hardware as it does in an OS like Windows is currently not possible.

      So yes, market does drive a majority of the lack of gaming, but if Linux could actually keep up or even exceed gaming speeds in Windows, gaming developers would take it more serious and would be a 'reason' for people to finally pull away from Windows forever.

      However I don't see these architectual changes ever happening, and MS keeps getting more clever with their Video concepts in Windows having learned from their console development efforts, then they will be hard to catch for a while.

    10. Re:Merit by Anonymous Coward · · Score: 0
      Go look at the Layers of NT model, the NT4 changes and the Vista changes. Not only is NT far more structured, isolated, but even has concepts than Linux can't do like run OS subsystems because of its rich structured layers even at the kernel API interface level.


      Gotta love it when people say things like "you have no idea what you are talking about" and then go on to describe things that they clearly don't understand.


      But by all means, please tell us all about the "OS subsystems" that Linux cannot run. If you are referring to a microkernel vs a monolithic kernel, then you may want to use the actual terminology rather than what sounds like dumbed down idiocy.

    11. Re:Merit by Anonymous Coward · · Score: 0

      What a big giant fat load of steaming crap! Windows was a hamstrung peformer for graphics until NT 4.0 saw rearchitecture which placed key portions of the OS (including 3rd-party graphics drivers) at a much lower level.

      Well Linux has been rearchitectured too! The Direct Rendering Infrastructure (DRI) lets you run accelerated graphics very nicely. On my system, a typical 3d application without it runs at 250 frames per second. With it, the same application runs at 2900 frames per second. There is NOTHING wrong with 3d graphics rendering on Linux. The only problem with games companies not putting games on Linux is market share of the system itself. There *are* 3d accelerated games that run on Linux (very well, as fast as on windows). The drivers in general are not native (NVIDIA and ATI are the folks providing them), but they perform well, at least, ...all (ALL!) the Hollywood studios like them.

    12. Re:Merit by Daniel+Phillips · · Score: 2, Informative

      just in terms of video based on where the video drivers run, performance will always be a contention when compared to OSes that structured so that the main video drivers are kernel or user/kernel mode hybrids as in Vista

      Nonsense. Modern video hardware is predominantly driven by DMA, which requires an insignifcant number of kernel calls after initial setup. The rest of your points are just as empty and/or misinformed as your first, not worth a response.

      --
      Have you got your LWN subscription yet?
    13. Re:Merit by Entrope · · Score: 2, Interesting

      Linux supports multiple "personalities" for different types of executable. It has for a very long time. NT made a bigger deal about its implementation of that feature because Microsoft wanted to (a) hurry up and kill OS/2 and (b) make frivolous claims of standards compliance. Even at the time, NT's approach was neither particularly novel nor particularly useful -- how many programs have you ever run that use the OS/2 or the Posix subsystem rather than the Win32 subsystem?

      The vast majority of games run on Windows because that is where the market has been. Performance is largely irrelevant in choice of market; gaming performance will follow the money.

      Why can one not seriously argue that running large parts of GDI in the kernel was a security problem? New categories of problems cropped up in the wake of that transition. It seems to me that the only basis for saying it was not "a massive introduction of insecurity" is that Windows *already* had rather large security problems.

    14. Re:Merit by einhverfr · · Score: 3, Informative

      Technically, the subsystems in NT are user-mode processes, though they are (to my knowledge) the only user-mode processes that cause blue screens when they crash. To my knowledge, the only layers in the NT Kernel are between the executor and the drivers.

      Think of subsystems as being like shells with system-specific behavior. For example, filenames are case-sensitive in the POSIX subsystem but not in the Win32 subsystem.

      Honestly, I think that WIndows has the *wrong* layers. The subsystem layer was intended to allow for compatibility with software written for other operating systems but to my knowledge only the Win32 subsystem has ever been consistantly maintained (the POSIX subsystem is maintained at the moment, but only *after* Microsoft bought OpenNT). Windows doesn't need this functionality, but they really need nice VFS and inode layers in their filesystem.

      Finally, the grandparent's post about NT4 being a credible gaming platform is just laughable. I don't even know where to start. It seems to me that it is more likely to have been made to get additional performance out of CAD/CAM applications which also use 3d acceleration. So you are write about the GP poster not knowing what he writes about.

      --

      LedgerSMB: Open source Accounting/ERP
    15. Re:Merit by TheNetAvenger · · Score: 1

      But by all means, please tell us all about the "OS subsystems" that Linux cannot run. If you are referring to a microkernel vs a monolithic kernel, then you may want to use the actual terminology rather than what sounds like dumbed down idiocy.


      I mention subsystems and you act like I made up a new word.

      I would assume even a kiddie like yourself could find wikipedia before posting on something they know nothing about, next time try that.

      So for the love of God, go look up NT subsystems and why most OS engineers like myself often refer to NT as a client/server kernel architecture...

      Once you get done, be sure to come back here and explain how YOU think Linux could run multiple OS subsystems on an semi-agnostic core kernel.

    16. Re:Merit by NickFortune · · Score: 2, Interesting

      Go look at the Layers of NT model, the NT4 changes and the Vista changes. Not only is NT far more structured, isolated, but even has concepts than Linux can't do like run OS subsystems because of its rich structured layers even at the kernel API interface level.

      Yes, yes, yes. Given NT's connection with VMS I would expect the architecture to be sound and well thought out. Furthermore, I don't think anyone (in this thread at least) has said anything that sounded like "Windows totally devoid of all worth"

      That said, the GP does have a point. The problem with NT family operating systems is not that it lacks layers. The problem as I understand it is Microsoft keep making technical decisions driven by political and/or marketing concerns which have the effect of short circuiting the protection that these layers would otherwise offer.

      A recent example would be Vista's treatment of install.exe and setup.exe. Both of these trigger UAC elevations, since it is assumed that any .exe with such a filename is an installer. However, recent reports suggest that the UAC elevation is both silent and unstoppable. If true, this opens an obvious attack vector - a classic case of MS weakening their security model to make things easier for the naive user.

      This is the down side of "thinking across layers". Once you accept that it's ok to violate the layer model, then there will always be one more special case. And if your decisions are driven by marketing or by (say) anti-trust concerns, then some of those layer violations are probably not going to be very well thought out from a technical viewpoint.

      --
      Don't let THEM immanentize the Eschaton!
    17. Re:Merit by TheNetAvenger · · Score: 1

      Technically, the subsystems in NT are user-mode processes, though they are (to my knowledge) the only user-mode processes that cause blue screens when they crash. To my knowledge, the only layers in the NT Kernel are between the executor and the drivers

      Key words "(to my knowledge)"...

      This is easy information to find, people please at least go look this crap so you don't sound freaking crazy.

      From your post, you read one wikipedia page on NT, and even from that page you didn't even understand half of what you were reading.

      MS has published tons of papers on this, in addition to books like Inside NT to OS theory books and papers that specifically talk about the concepts in use in NT and with reference to NT in works published after NT's creation in 1991.

      Think of subsystems as being like shells with system-specific behavior.

      Or they are complete OS environments that on top of the NT core. Even Win32/Win64 is a subsystem, and why you will find a Win32 kernel for that OS environment, which has nothing to do with and is not the NT OS's kernel.

      The OS subsystem technology in NT is one of the few concepts NT pulled out of OS theory and implemented that is not found in other kernel designs. This is why Vista ships with a full BSD subsystem, in addition to the normal MS OS subsystems.

      Windows doesn't need this functionality, but they really need nice VFS and inode layers in their filesystem.

      And if the above wasn't proof enough, this sentence demonstrates all too well your lack of understanding of anything you are talking about. Ya, NT needs a nice VFS, wow, I bet MS never has ever thought of this... Geesh.

      Finally, the grandparent's post about NT4 being a credible gaming platform is just laughable.

      And I said NT4 was credible when? It had limited DirectX support compared to the DOS/Win9x platforms. NT4 was the first step in giving NT performance on par with user expectations from running assembly optimized games on Win9x OSes.

      Win2k was the result of the changes started in NT4, and YES it is a very credible gaming platform. For reference go look up a few 1000 games people are still running. Heck even go wild and look up something called XBox, a little product that outperformed even Sony's dedicated console OS on specific console designed hardware; which is quite impressive for a general use OS to pull off.

      Why even jump into a conversation when you are pulling info from wikipedia and don't even understand what you are reading?

    18. Re:Merit by TheNetAvenger · · Score: 1

      Nonsense. Modern video hardware is predominantly driven by DMA, which requires an insignifcant number of kernel calls after initial setup. The rest of your points are just as empty and/or misinformed as your first, not worth a response.


      Which would be true if the games were using direct access with no driver interaction and not going through APIs like OpenGL and DirectX. However, since GAMES do, you are either trolling or still in 1990.

    19. Re:Merit by Znork · · Score: 2, Informative

      Apparently, you haven't even looked at any performance comparisons. Linux easily keeps up with, and sometimes even exceeds, performance, even under API replication solutions such as Cedega or Wine.

      Google for linux windows games performance.

    20. Re:Merit by DrSkwid · · Score: 1

      > There's a reason that Linux is more secure than Windows.

      First you've got to prove that laughable security premise.
      And then somehow relate it to Ring 0 being different to er, Ring 0

      --
      There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
    21. Re:Merit by Anonymous Coward · · Score: 0

      are you on crack?

    22. Re:Merit by TheRaven64 · · Score: 1
      It's been a while since I looked at NT, but as I recall it has a fairly simple system call interface. The subsystems act as translators between the system calls that userspace applications and those in the kernel.

      The various BSD kernels (and, I believe, Linux) have a similar mechanism, where a different system call handler can be set up for each ELF binary type. This allows applications from other UNIX systems to be run. Current implementations assume a POSIX-like API, which makes things easier since there is a simple mapping between the exported system calls and their in-kernel implementation. There is nothing, in theory, preventing this from being extended to a more foreign system call interface. It might be an interesting project to try to incorporate some of the ReactOS code and provide an NT system call interface, although I doubt it would be better than using WINE in terms of performance, and probably worse for stability.

      That said, there are some very nice features of the NT kernel architecture that are not found in UNIX-like kernel designs (although Minix and GNU HURD also have some very nice improvements in some places).

      --
      I am TheRaven on Soylent News
    23. Re:Merit by multi+io · · Score: 1

      Kernel space drivers have the ability of taking down the whole system where userland drivers do not.
      If you access the graphics hardware from userspace via hacks like /dev/kmem, like XFree86 traditionally did (and still does in many installations), you have a userspace process that has the ability of taking down the whole system. How is that any better?

      In fact, if you want to do graphics, some piece of software has to access the graphics hardware directly, and that piece always has the ability to take down the whole system. If that's the case, it's a much better idea to put that piece into the kernel where it belongs anyway.

    24. Re:Merit by baadger · · Score: 1

      This is complete bollocks. Simple test: start glxgears and then stop the Xorg process (I forget the command), the wheels will still spin. Direct rendering in OpenGL essentially bypasses the X server and the OpenGL API is provided and/or implemented by your video card driver. Essentially you're talking straight to the hardware through a nice friendly abstraction layer just like DirectX.

    25. Re:Merit by multi+io · · Score: 1

      | Think of subsystems as being like shells with system-specific behavior.

      Or they are complete OS environments that on top of the NT core.

      Well, considering that those "subsystems" run in user space, how is such a "subsystem" different from a binary execution format and a bunch of libraries that provide some API that differs from the kernel's?

      And then, the GDI and window manager are not in any subsystem, but in the kernel, which is certainly not where they belong. Various window manager attributes like initial window positions etc. were slapped into the process creation APIs for good measure, which is quite a violation of layering principles -- as opposed to X, which, for all its shortcomings, provides just an ordinary client-side library that applications may or may not use.

    26. Re:Merit by chris_eineke · · Score: 1

      Linux easily keeps up with, and sometimes even exceeds, performance, even under API replication solutions such as Cedega or Wine.
      If by 'easily keeps up with' you mean 'implement a stub and no code', then I can understand why: If there's no code to run, of course it will be faster. :-)
      --
      "All you have to do is be fragile and grateful. So stay the underdog." Chuck Palahniuk, Choke
    27. Re:Merit by Anonymous Coward · · Score: 0

      Your sig is great, looks like a Bush quote.

    28. Re:Merit by mixmasta · · Score: 1

      You are confusing security with stability.

      --
      #6495ED - cornflower blue
    29. Re:Merit by Jesus_666 · · Score: 1

      Finally, the grandparent's post about NT4 being a credible gaming platform is just laughable. I don't even know where to start. It seems to me that it is more likely to have been made to get additional performance out of CAD/CAM applications which also use 3d acceleration. So you are write about the GP poster not knowing what he writes about.

      NT4 + faster video = (more or less) NT5 = Windows 2000 = the OS most gamers saw as the much superior successor to Windows 98 SE. While NT4 wasn't really a gaming platform, the faster video enabled the NT line to become one.

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
    30. Re:Merit by Daniel+Phillips · · Score: 1

      Which would be true if the games were using direct access with no driver interaction and not going through APIs like OpenGL and DirectX. However, since GAMES do, you are either trolling or still in 1990.

      You have either sniffed too much glue or smoked too much crack. Both OpenGL and DirectX ultimately funnel all 3D operations through a low level driver, which interacts with the 3D hardware predominantly via DMA just as I said. Now please go back and occupy yourself with some more of those mind altering drugs, just try to refrain from posting on subjects you know next to nothing about.

      --
      Have you got your LWN subscription yet?
    31. Re:Merit by TheNetAvenger · · Score: 1

      funnel all 3D operations through a low level driver

      Which is the WHOLE FREAKING point, where that driver sits in the system for performance reasons.

      You are mental...

    32. Re:Merit by Daniel+Phillips · · Score: 1

      funnel all 3D operations through a low level driver

      Which is the WHOLE FREAKING point, where that driver sits in the system for performance reasons. I suppose I must just throw up my hands and admit that you are just too dense to understand how delivering geometry via DMA negates any perceived performance benefit of putting a 3D driver in the kernel, leaving only the drawbacks.

      You are mental...

      And so I understand firstly that you consider yourself competent to judge my mental ability and secondly that you lack the wherewithal to perceive the irony there.

      --
      Have you got your LWN subscription yet?
    33. Re:Merit by TheNetAvenger · · Score: 1

      I suppose I must just throw up my hands and admit that you are just too dense to understand how delivering geometry via DMA negates any perceived performance benefit of putting a 3D driver in the kernel, leaving only the drawbacks.


      No, I should just announce you are right, and call a meeting with my development team to explain how stupid they are because 'you said so'...

      Go away before you drown, you are in over your head.

  2. authoritative, top-down organization by catbutt · · Score: 2, Interesting

    This is like comparing a monarchy with anarchy, without acknowledging that there are in-between solutions that have advantages of their own. Democracy (and representative democracy) being one example.

    Not saying the linux development community should be a democracy with everything voted on or whatnot, just saying that there may be creative approaches that have yet to be explored. You'd think smart people with a penchant for game theory would be working on it.

    Food for thought.

    1. Re:authoritative, top-down organization by What+Is+Dot · · Score: 4, Insightful

      I totally agree. I think the main problem with Linux based systems (Fedora, Ubuntu, etc.) is that there are so many of them. Diversity is wonderful for free speech, but in the open source community, we have 100 solutions for every 1 problem.
      The best solution would be for the Linux Kernel project to say, "Open source developers can do as they please, but we here at the Kernel project encourage developers to contribute to THESE specific projects: Gnome, Open Office, etc...
      The open source community is massive, but development will take an eternity until a majority of the community starts to support ONE software solution over it's alternatives.

    2. Re:authoritative, top-down organization by Daniel+Phillips · · Score: 1

      The best solution would be for the Linux Kernel project to say, "Open source developers can do as they please, but we here at the Kernel project encourage developers to contribute to THESE specific projects: Gnome, Open Office, etc...

      That is not going to happen, but if it did it would not include Gnome.

      --
      Have you got your LWN subscription yet?
    3. Re:authoritative, top-down organization by Anonymous Coward · · Score: 0

      Yes, and there are too many political parties as well. If we only had one to choose from, things would be so much better.

      In fact, on your argument, Linux is irrelevant, we should all just be using Windows anyway.

      Oh, and "it's" doesn't need the apostrophe there.

      Idiot.

    4. Re:authoritative, top-down organization by mcrbids · · Score: 1

      Sorry,

      But I can't make heads or tails of an analogy if it doesn't involve a car, somehow.

      So, to wit:

      "This is like comparing a Ferrari with a Ford F-150, without acknowledging that there are in-between solutions that have advantages of their own. Ford Pintos (and Chrysler Minivans) being one example. [sic]"

      How many Libraries of Congress is a Ford Pinto?

      --
      I have no problem with your religion until you decide it's reason to deprive others of the truth.
    5. Re:authoritative, top-down organization by flyingfsck · · Score: 2, Insightful

      Many people complain about there being 'too many Linux distributions'. The fact is, that there is only one GNU/Linux. The distributions merely provide a tool kit that goes along with it, the underlying systems are all the same.

      --
      Excuse me, but please get off my Pennisetum Clandestinum, eh!
    6. Re:authoritative, top-down organization by SQLz · · Score: 2, Insightful

      That thing that just flew over your head, that was the entire point of open source and the GPL, you just missed it. We want 100 different solutions to every problem, not forever mind you, but all the code is GPL and belongs to the community. Say out of those 100 different solutions, 5 projects have awesome code and the rest are not great, incomplete, etc. Its a win win either way. First the other 95 people learned something, and at some point, the things they write wont' be crap, plus they gave back to the community. They might some areas of there code that can be assimilated into other projects later on. Out of the 5 good code bases, only 1 or 2 will generally prevail. This is why MS can't stop open source. They can't pay 100 people to solve the same problem then thousands of beta testers decide which is best.

    7. Re:authoritative, top-down organization by Phleg · · Score: 2, Insightful

      What the fuck? Why should the kernel developers be responsible for picking which desktop environment, mail client, and office suite I use? You might as well have architects tell you what kind of company you can put in their building.

      --
      No comment.
  3. What's ZFS? by kiyoshilionz · · Score: 1

    If someone could elaborate on what ZFS is, I believe our discussion may prove to stay more on-topic.

    1. Re:What's ZFS? by cyberkahn · · Score: 1

      Here you go ZFS or here.

    2. Re:What's ZFS? by SadGeekHermit · · Score: 0

      Here's a wikipedia article:

      http://en.wikipedia.org/wiki/ZFS

      It's basically a filesystem in use by Solaris. I don't know why anybody cares about it, we've got Reiser and ext3, right? Surely adding yet another filesystem to Linux isn't worth mucking up the kernel to support it...

      Feh. People are nuts. It's ok, I love watching 'em fight. I've got my lobster fried rice and diet coke right here! Carry on!

      --
      NO CARRIER
    3. Re:What's ZFS? by Anonymous Coward · · Score: 2, Informative

      It has some really nice features that are either not in Linux filesystems or not well implemented in Linux filesystems. It's supported by Solaris, FreeBSD, OSX, and possibly some other operating systems, so it'd be handy if it also worked natively in Linux. It could be like FAT32 for people who need to share data between OSes and don't need Windows. Except unlike FAT, ZFS is actually well designed and has "modern" features.

    4. Re:What's ZFS? by pedantic+bore · · Score: 4, Informative
      I'll elaborate (slightly) about ZFS if someone else will tell me who John Siracusa is and why I should care what he writes... I couldn't figure that out from TFA.

      ZFS is a file system developed by Sun over the past several years. But the important thing is, in this context, that the ZFS design philosophy (never mind the actual design, which isn't what this discussion is about) differs from that of ordinary file system design. Most file systems make strong assumptions about reliability of the underlying block storage facility: there's some gizmo down there, whether it be a disk (for itsy-bitsy systems), a RAID set (for not so bitsy systems), or a SAN, that reliably stores and retrieves blocks with reasonable performance. ZFS doesn't do this. It manages many details of the storage layers -- it does RAID its own way (to get around problems that conventional RAID doesn't solve), and does volume management itself as well.

      From the point of view of a UNIX/Linux file system person, this seems very weird. However, these ideas are not really new or revolutionary (there are new things in ZFS, but this philosophy isn't one of them). It pretty much describes how network storage vendors (NetApp, EMC, etc) have been building things all along.

      --
      Am I part of the core demographic for Swedish Fish?
    5. Re:What's ZFS? by jonnythan · · Score: 2, Insightful

      I think you need to read the article you linked to, because ZFS is very very different from ReiserFS and ext3.

    6. Re:What's ZFS? by Anonymous Coward · · Score: 0

      Yeah, but ZFS developers don't kill people.

    7. Re:What's ZFS? by Anonymous Coward · · Score: 0

      Quoted from Sun Microsystem's page on ZFS.

      "ZFS--the last word in file systems.

      The breakthrough file system in Solaris 10 delivers virtually unlimited capacity, provable data integrity, and near-zero administration."

      The idea, it seems to me, is exactly what Linux needs. Linux, if you can excuse the anthropromorphization, is a very unapproachable operating system for most people. The real questions would be are the developers making sure to keep in mind the ideas that Linux were founded on? Are they going to make sure that it is free and that it will stay free? Will they have an open source? Will it be easily configurable? Lastly, will it really be able to do all that they promise? It sure seems like a step in the right direction. What do you think?

    8. Re:What's ZFS? by ratsnapple+tea · · Score: 1

      John Siracusa? He's a longtime Mac user, and that makes him statistically likely to be smarter than you.

      For the record, he's absolutely right. Open source developers fail to think holistically, and this bleakness of vision is apparent in the results. As Steve Jobs says, great computer systems aren't built by great computer scientists; they're built by "musicians and poets and artists and zoologists and historians who also happen to be the best computer scientists in the world."

    9. Re:What's ZFS? by Cid+Highwind · · Score: 1

      I'll elaborate (slightly) about ZFS if someone else will tell me who John Siracusa is and why I should care what he writes...

      He just publishes a little tech blog called ars technica...

      --
      0 1 - just my two bits
    10. Re:What's ZFS? by SadGeekHermit · · Score: 1

      How? Philosophically, it's a filesystem. What does a filesystem do? Lets you work with files.

      Reiser is a filesystem. So is ext3. I've been using them for a long time now, and have never noticed anything I needed to do that they would not do. They're both journalling, so I'm not going to lose data if there's a power loss... What else does a body need?

      Are you looking for files to have sets of metadata associated with them, like in Mac OS/X? If so, I'd have to say I think the plain old Unix filename and permissions scheme is a lot more attractive.

      Unless you can tell me something magical and special that ZFS does that Reiser and ext3 don't do, I'm going to have a really hard time getting enthusiastic about it. Something better than metadata, surely.

      Will it get me laid? Will it clear up my skin and make my hair silky soft?

      Well? Lay it on me. Why is ZFS so great? Honest question, no sarcasm.

      --
      NO CARRIER
    11. Re:What's ZFS? by try_anything · · Score: 1

      The article you linked to discusses the rate of content creation on Web 2.0 sites, which in my experience is a better proxy for narcissism than intelligence.

    12. Re:What's ZFS? by SadGeekHermit · · Score: 1

      Ok; that's fair. I respect that; using it as a lingua franca could be interesting. BUT...

      On reading more about it, it seems that ZFS rolls up filesystem, RAID, and volume management in one. I think I understand why people are objecting. Linux has a layered approach and this violates it by cramming everything into the filesystem. Each to his own, but I don't think I'd want to do that on my own systems. I'd rather have people keep working on and improving the pieces we've already got.

      But hey, just my opinion.

      --
      NO CARRIER
    13. Re:What's ZFS? by linuxrocks123 · · Score: 1

      > John Siracusa? He's a longtime Mac user, and that makes him statistically likely to be smarter than you.

      No, according to the link it makes him statistically more likely to be a participant in the "Web 2.0" phenomenon. That is, statistically more likely to be wasting his time reading blogs and whining in his own when a smart person would instead be getting work done :) /me thinks: don't notice my website. don't notice my website. don't notice my website...

      --
      vi ~/.emacs # I'm probably going to Hell for this.
    14. Re:What's ZFS? by Anonymous Coward · · Score: 0

      But is he smarter than Morton, a guy who lives and breathes the Linux kernel?

    15. Re:What's ZFS? by Anonymous Coward · · Score: 0

      I've heard that it has something to do with Google.

    16. Re:What's ZFS? by Anonymous Coward · · Score: 0

      End to end checksumming, built-in RAID (with no "window of vulnerability" like Linux MD and most other RAIDs have today; also has automatic repair based on the aforementioned checksumming), automatic NFS exporting of volumes, etc. etc.

      See the SUN technical presentation for more info.

    17. Re:What's ZFS? by Znork · · Score: 1

      "Each to his own, but I don't think I'd want to do that on my own systems"

      I very much agree. Cramming everything into the filesystem means you lose a lot of flexibility, you lose the ease of layering new developments into the stack, and you get one huge maintenance problem on your hands. ZFS looks good on a feature checklist, but I'm not sure I'd want to store valuable data on it.

    18. Re:What's ZFS? by asaul · · Score: 1

      I think you need to look at ZFS for what it is achieving rather than the way it does things differently.

      The arguments flying around here seem to be "it is different, is therefore bad" and "I isnt something I understand, so its bad".

      The problem with the first argument is that it *has* to be different in order to do what it is aiming for. By making the filesystem talk to the storage, and making the storage talk with the filesystem you remove all the baggage of using RAID to pretend disks are something they are not. I think the simplest case of this is resilvering the disks - if you pull out and replace a disk, because the block subsystem knows what the filesystem has used, it only copies what is needed - try that with a multi-terabyte RAID stripe where with large enough disks you can have a second failure before your first resync is finished.

      And I just dont understand the second argument - I throught geeks liked playing with new toys.

      Besides, as I understand it the ZFS design allows for certain plug in modules above the block allocator level which is where you really want customisation anyway (I have heard talk of database storage engine plugins and the like)? Letting ZFS take care of all the grunt work underneath makes sence, assuming it does it well and is reliable.

      --
      "If everybody is thinking alike, somebody isn't thinking" - Gen. George S. Patton
    19. Re:What's ZFS? by TheRaven64 · · Score: 1

      On reading more about it, it seems that ZFS rolls up filesystem, RAID, and volume management in one. I think I understand why people are objecting. Linux has a layered approach and this violates it by cramming everything into the filesystem Try reading this: http://www.informit.com/articles/article.asp?p=712 746&rl=1. ZFS does not cram everything into the filesystem, it has three distinct layers. The difference is that it puts the layers into slightly different places, and that it adds more features in some of the lower layers.
      --
      I am TheRaven on Soylent News
    20. Re:What's ZFS? by TheRaven64 · · Score: 1

      How? Philosophically, it's a filesystem. Read this:http://www.informit.com/articles/article.asp? p=712746&rl=1. ZFS is not just a filesystem, it is a re-thinking of the volume management, VFS and filesystem layers. It has three distinct layers. The first handles volume management. The next handles transactional I/O, and the top exposes userspace interfaces. The very top layer has two current implementations. One provides a POSIX-complaint filesystem interface (including ACLs, etc) and is a drop-in replacement for UFS. The other provides a block device interface, backed by a storage pool. You can run existing filesystems in one of these pools, which is the approach taken by FreeBSD (running UFS2 in a ZFS-managed pool) on this layer. Since the middle layer implements transactional I/O, it would also be relatively easy to add an SQL interface.
      --
      I am TheRaven on Soylent News
    21. Re:What's ZFS? by PygmySurfer · · Score: 1

      The idea, it seems to me, is exactly what Linux needs. Linux, if you can excuse the anthropromorphization, is a very unapproachable operating system for most people. The real questions would be are the developers making sure to keep in mind the ideas that Linux were founded on? Are they going to make sure that it is free and that it will stay free? Will they have an open source? Will it be easily configurable? Lastly, will it really be able to do all that they promise? It sure seems like a step in the right direction. What do you think?

      it's been rumoured that Sun will GPL ZFS - I bet not long after that, work will begin to port ZFS to Linux (there actually is a port of ZFS to FUSE underway, which would get it there, albeit with a significant performance penalty).

      If ZFS takes off the way I expect it will, I imagine we might see it in Linux even without a license change - I'm guessing so long as it wasn't distributed with the kernel, one could use it to patch the kernel source and compile their own kernel, and keep the original license intact (I could be wrong, I don't know/care much about the GPL).

    22. Re:What's ZFS? by SadGeekHermit · · Score: 1

      No, you misunderstand. It's more like "I'm satisfied with the way Linux currently does things, and don't really see any pressing need for the powers that be to change it".

      If ZFS doesn't buy me, individually, anything, why should I care about it?

      And if most people don't care about it, why should the kernel be modified to support it? That's what this is about, right? That the kernel doesn't currently support ZFS?

      The user population will, I'm sure, vote on this in one way or another. If enough people want ZFS, there will be ZFS. If not...

      --
      NO CARRIER
    23. Re:What's ZFS? by SadGeekHermit · · Score: 1

      Ok, I'll admit, it looks powerful and the transaction approach looks like it might be a little safer than journalling. IF everything works as advertised.

      But I'm still not comfortable with anybody chucking a set of constructs that have served linux (and unix) for many years in favor of something that's relatively new. I'm a little uncomfortable with the way the industry tries to re-invent everything every couple of years. And if the Linux kernel developers aren't crazy about it, considering how much more they know about Linux than I do, I'll just go ahead and trust them, I think.

      Honestly, I think Linux is pretty solid the way it is. Maybe this would be good for special-purpose RAID systems. You can always compile your own kernel, you know. There's no real compelling need for anyone to change everybody's kernel just so you can do ZFS.

      Why not do a ZFS-friendly kernel and make it available separately, instead of trying to change everything in the main kernel?

      It's a valid question. Why does it have to be all or nothing?

      --
      NO CARRIER
    24. Re:What's ZFS? by SadGeekHermit · · Score: 1

      Ok... I've read some of the articles people have suggested to me and I agree that it looks very powerful and nice. But...

      I'm still not convinced that there's any need to change everything every couple of years. The existing approach seems to work for almost everybody. The only thing I'm hearing that Linux doesn't do as well as ZFS would be RAIDs, right? So instead of changing the main kernel and affecting everyone, why not just roll a special RAID-specific kernel, give that one ZFS, and leave the main Linux kernel as-is?

      In other words, if the main benefit of ZFS is that it gives you a better RAID, why not just roll a Linux distribution for RAIDs and build a custom kernel that's ZFS-friendly? Thus avoiding the whole controversy? Or, ha ha, use Open Solaris for RAIDS if ZFS is so important.

      Why change Linux?

      --
      NO CARRIER
  4. Linux discipline by stevelinton · · Score: 5, Interesting

    Personally, I think the Linux kernel manages these issues quite well, if (by conventional standards) rather inefficiently.

    The practice, as I see it is: "The current rules (layering, etc.) are enforced rigourously (at least in Linus' tree) but radical rewrites
    of the rules take place relatively often"

    So if ZFS really does achieve wonderful things by violating the current layering it WON'T be accepted for Linux's kernel, but, if Linus can be convinced (via an appropriate chain of lieutenants, usually) that the layering is really an obstacle to achieving these things, we might see a completely new layering appear in 2.6.25 or somewhere, into which ZFS can fit. The inefficiency
    comes from the number of substantial pieces of work that get dropped because they don't fit in, or were misconceived. A more economically rational system would try to kill them sooner. Also, inefficiency arises from the fact that changing the filesystem layering would require every existing filesystem to be rewritten. Linux is notoriously unfazed by this, but in a commercial world, I suspect this would be too hard to swallow and you'd end up with all your filesystems fitting into the model except one, from whence come bugs and code cruft.

    1. Re:Linux discipline by LuckyStarr · · Score: 1

      Kudos. This is the first sane comment I read thus far. (Please mod up!)

      --
      Meme of the day: I browse "Disable Sigs: Checked". So should you.
    2. Re:Linux discipline by Elektroschock · · Score: 2, Informative

      "Pawel Jakub Dawidek has ported and committed ZFS to FreeBSD for inclusion in FreeBSD 7.0, due to be released in 2007" (wikipedia)

    3. Re:Linux discipline by laffer1 · · Score: 1

      Yes, and if you are on the mailing lists you'll know that people are having trouble administering it. There are lots of posts asking how to tweak it. There are magic memory tuning measures to make it stable. Its by no means automatic. There are obvious upsides as well. Its currently not capable as a root partition but they are working on that.

      It requires a lot of RAM although it does in solaris too.

      I don't think ZFS fits into the Linux way. I would guess someone will write a copy cat file system for linux soon under GPL2. I was rather shocked FreeBSD imported it into their tree due to licensing. Sun's license isn't terrible, but after the stink about GPL code in the tree it seems odd.

    4. Re:Linux discipline by try_anything · · Score: 3, Insightful

      I like your title, and I like Linux's approach. The usual approach, especially in commercial software, is to give the users everything they want, no matter how many technical assets need to be sacrificed. Throw away good design, security, and reliability just to get the latest bullet point. That isn't what the Linux community wants. They want things done right, even if it takes a few years to figure out how. Windows is a good example of saying "yes" by default to every demand and ending up with a system so complex and fragile that even gurus don't understand it. (I'm thinking of the recent Raymond Chen blog entry that hit Slashdot, in which he admitted to releasing a bogus Windows patch because he didn't understand how Windows processes shut down.)

    5. Re:Linux discipline by fimbulvetr · · Score: 1

      Couldn't have said it better myself - even if I tried. Bravo.

    6. Re:Linux discipline by TheRaven64 · · Score: 1

      I was rather shocked FreeBSD imported it into their tree due to licensing. Sun's license isn't terrible, but after the stink about GPL code in the tree it seems The license used by ZFS is a per-file license, and is not GPL-compatible. It is fine for FreeBSD, since it does not affect the rest of the tree. If you are not using ZFS, then the license does not affect you if you are using FreeBSD. If FreeBSD included some GPL'd code in the kernel then the entire kernel would have to be GPL'd, even if you didn't use the part containing GPL'd code, because the GPL `infects' the other files when you distribute the code.
      --
      I am TheRaven on Soylent News
  5. Total bullshit by Werrismys · · Score: 5, Interesting

    Linux will "support gaming" once games are supported for Linux. Linux has OpenGL, OpenAL, all the illusionary walls are market-made. Linux is a platform to build on without the fear of being obsolete in 2 years. DOS games nowadays run on DosBox, as do early Windows games. Even XP needs tweaks to run Win9X games. How is targeting a moving sucky platform preferable to one that is open? Easy. Games sell for 6 months tops. You get the initial sales, you get the money. After that it's tough shit if it won't work after next Windows Update(tm). I have used Linux since 1994, but work in the IT industry. I am constantly amazed by the amount of BULLSHIT the windows folks put up with. For weird quirks "shit happens" is the most common reply.

    --
    'Once scientists, even the dim-witted social scientists, get muzzled, the Western Civilization is finished.' - oldhack
    1. Re:Total bullshit by Anonymous Coward · · Score: 0

      I'm sort of a fan of old games. New games, I pretty much use a consol. Old games, on computer? sure. Right now, I'm playing Civilizations Call To Power on my Vista Laptop. Works perfectly. Better than it did on 98 and 2k interestingly since it needed to be patched up, but what ever was a problem then isn't a problem in Vista.

    2. Re:Total bullshit by etymxris · · Score: 2, Interesting

      Tribes 2 didn't fair well through the changes to threading in libc. Exporting the kernel version as 2.4 seemed to work at one point, IIRC. But last I tried I couldn't get it working at all. It's not true to say that a binary blob (which most games are) will work perfectly through changes to the underlying OS.

    3. Re:Total bullshit by sloanster · · Score: 1

      The OP is spot on - I've been playing 3D FPS for years, as a linux user, and in my experience linux handles gaming nicely. The good performance of the native linux games is ample evidence of that.

      The quake 3 arena I bought in 1999 still runs like a champ on my current linux desktop running SuSE 10.2. Other native linux games that run nicely are doom3, quake 4, ut2004, RtCW. ET, etc.

      The "barriers" to linmux gaming are not technical at all, they are political, if they exist at all.

    4. Re:Total bullshit by Anonymous Coward · · Score: 0

      I agree. Im using relativly old hardware (9200SE Radeon for graphics), and still Linux plays every 3D game i can throw at it in a playable mannor (my favorite being ET, sure, its only 800x600, but i find thats big enough, and the FPS is almost always better then the lag). In fact, with the 7.0 Xorg graphics, my FPS has significantly increased. Linux is a great gaming system, with ET and Cube (and its successor), how can anyone get bored? OK, so maybe some games still need to get more popular, but popularity is the only thing Linux gaming has as a downside, still, both ET and Cube (i think) work in Windows, so its not that big a deal. Personally Linux is the best OS for anyone who wants to play games on semi-dated, low cost hardware.

    5. Re:Total bullshit by Sj0 · · Score: 2, Insightful

      One thing I noticed from your post is that the Windows versions of all those games still run too. I wonder how much of the problem is changing versions of Windows, and how much is just hackish code some developers write?

      --
      It's been a long time.
    6. Re:Total bullshit by westlake · · Score: 0
      The quake 3 arena I bought in 1999 still runs like a champ on my current linux desktop running SuSE 10.2. Other native linux games that run nicely are doom3, quake 4, ut2004, RtCW. ET, etc.

      Round up the usual suspects. If a commercial game runs on Linux, it will almost certainly be a shooter, an iD release and something to be found in the bargain bin of Windows PC gaming.

    7. Re:Total bullshit by Jeff+DeMaagd · · Score: 4, Informative

      Do you have a copy of StarOffice from the mid-to-late 90's? Try running that in Linux now. Do you have a copy of MetroX from say, 1998? Try running that in Linux now. Are you still using the original Linux binaries for any games released in the late 90's?

      I'm still using a copy of AutoCAD released in 1995 for the Windows 3.1 Win32S API, and it works fine in Windows 2000 and Windows XP except for that it's got the old 8.3 filename limitation. I am still using WordPerfect Suite 8, the current version is 13, I think. I know someone that is still using Corel Draw 7, the current version is 13. All these programs still work fine in XP/2000, and I think that is a splendid record for binaries that were unpatched between Windows updates.

      The DirectX architecture has changed between the 9X and the NT lines, but otherwise, the legacy APIS are generally well-preserved and allows very complex software to work without a patch.

    8. Re:Total bullshit by maxume · · Score: 1

      They're financial. It would be a bit of a trick to release a game while convincing people that you weren't going to support it, so released games need support, which is an ongoing and somewhat unpredictable(for linux as a platform, just doing one distro would be quite a bit simpler) cost.

      --
      Nerd rage is the funniest rage.
    9. Re:Total bullshit by frogstar_robot · · Score: 1

      If you wanted to run that ancient copy of StarOffice that badly then you could chuck the files from an ancient distro in a chroot. For that particular example, no one is going to want to. OpenOffice is directly descended from it, has a superset of it's features, and is just a yum or apt-get away. The same argument applies to almost anything else ancient you'd want to run. For the rare cases where it doesn't, a chroot or virtual machine is more appropriate.

      Now my wife's copy of Baldies has proven to be a real bitch to get working in the copy of Win2000 I have laying around.........

    10. Re:Total bullshit by DrDitto · · Score: 1

      MOD PARENT UP

    11. Re:Total bullshit by Kjella · · Score: 2, Insightful

      Linux will "support gaming" once games are supported for Linux. Linux has OpenGL, OpenAL, all the illusionary walls are market-made.

      Looking at the games I play in Windows, almost every one of them is using DirectX. Now, I am not qualified to know why but that is a fact. That means that to use OpenGL/OpenAL under Linux you either:
      a) Develop a Linux-only game
      b) Develop using your second choice on your primary platform
      c) Develop two code paths

      The first one is just not doable if say the Linux market is 10% of the Windows market then you'd have to sell it at 10x the price to make as much money. Nobody would pay $500 for a Linux game that costs $50 on Windows. The second should scream at you "make sure you accomplish your primaries". Staffing will be harder, the tools are less used and so less tested and there's the risk you'll never get around to testing the Linux platform making it all for naught. Finally you have the last option, but then you're not only using the second-choice tool, but it has secondary priority in your project as well, which is never good because you might end up with a crappy second-rate experience which arrives late, if it doesn't get cut in a budget/schedule crunch. Yes, these are all market-made walls but they're by no means illusory.

      Even XP needs tweaks to run Win9X games. How is targeting a moving sucky platform preferable to one that is open?

      If by moving you mean that almost ten year old games play with tweaks, then your idea of moving must be anything outpacing a glacier. The market is that way because the market wants it that way. People want a game, they play it, go tired of it and move on. They're not willing to pay for support of old games, they're not willing to pay so their kids and grandkids can play the same games they once used to. Games have been a constantly moving target in terms of hardware etc. all the time, it's not like a stable OS would help with constantly new hardware acceleration. In other words, you've offered no reasons why Linux is better in any way for companies looking to make a Linux game.

      In fact, there's plenty reasons that people wouldn't buy Linux games. Either they have a Windows machine, they're not willing to pay for it because it's not free as in beer, they're not willing to pay for it because it's not free as in speech, they don't want to pollute their kernel with closed-source drivers or whatever. And if you're looking for showcases that Linux can have great games, well I recently looked at most of those on the top 10 free linux games from september last year and I was very underwhelmed.

      Let's start at
      #10 KMahjongg: "The game is not pretty to look at... very circa 1997, but it has the core elements you've come to expect with the game of Mahjongg in general."
      ##8 Armagetron Advanced: "Who doesn't love Tron? Admit it, you do. Tron is a prime example of killer gameplay that doesn't need superb graphics to be fun."
      ##6 Pingus: "The game looks great, it really does. It has a fixed resolution of 800*600 though, which I found to be way to small for this game." ...and it stops after tutorial island even though you can download custom levels.
      ##5 Neverball: "You are however, able to edit the configuration file to your liking. It would have been nice to have this accomplished through in-game options though."
      ##2 Frozen bubble: "I am impressed with the game as a whole, but wish that you could adjust your resolution. It's set to 640*480, so it doesn't look at that sharp."

      There's a few that are quite decent, but seriously.... most of them look like Windows games did in the 90s. If that's the effect of having a stable, open platform I'd rather take my Windows games any day.

      --
      Live today, because you never know what tomorrow brings
    12. Re:Total bullshit by lee1026 · · Score: 1

      There is a lot more complicated about linux instead of windows. Some of them are due to things like directx and the microsoft monopoly, but some things are just not. For example, look at the FOSS game "The battle for Wesnoth". Their install instructions for linux are quite long and complex. On the other hand, installing the game for windows is as simple as running the .exe. http://www.wesnoth.org/wiki/WesnothBinariesLinux

    13. Re:Total bullshit by strider44 · · Score: 4, Insightful

      Why do you need to develop a linux-only game if you use an opengl/openal code path? OpenGL and OpenAL run fine on Windows, and if you use something like SDL or GLUT then you can even compile the exact same 3D graphics code on Windows and Linux.

    14. Re:Total bullshit by try_anything · · Score: 1

      OpenGL is supported on Windows and many other platforms. The Doom3 engines uses OpenGL. (OpenGL is an industry standard whose origins predate Linux. Like every other industry standard, Microsoft is trying to kill it, but they haven't succeeded yet.) The Doom3 engine is proof that even the most technically demanding games can be developed cross-platform for Windows and Linux.

    15. Re:Total bullshit by Anonymous Coward · · Score: 0

      John Carmack I remember reading a interview in a magazine said he was seriously disappointed at the sales figure for Doom 3 on Linux and that they do not plan on any future development for gaming on Linux.

      That has got to be a serious blow to Linux gaming as that was one of their top games that worked on OpenGL.

      Sorry but Linux showed up late to the serious gaming scene and their community is still obsessed with Commodore 64 style of gaming; that is what is killing this community is their constant bitching about how we don't need all this extra computer power and that the only gaming we will ever need is Tetrix, Pong and Tux Racing.

      I remember there were some articles around here for awhile about how PC gaming was dying and how everybody made their smug comment about how awful these people were; yet the Linux community was not even showing its head during DOS gaming and cannot handle criticism.

      As soon as they stop being such zealots about telling companies to open source their code and keep everything free; they should suck up whatever courage they had and go develop their own games with OpenGL. Get together in an open source group that everybody claims around here is the ultimate solution to all the problems and develop your own game.
      This goes along with everything in the Open Source community as it always seems they have to hack/tweak something MS related to play catchup.

      Face it Linux you showed up late to the party and start crying because there is no cake left for you; balls up and go make your own cake.

    16. Re:Total bullshit by Raideen · · Score: 1

      Huh? Those are the manual installation instructions for many different distributions (and I've never even heard of some of those distributions). That's like pointing to a page with e-mail setup instructions for Outlook 97, 98, 2000, 2002, 2003, and 2007 and then complaining about the length of those instructions. Under Debian (which I use), open Synaptic, search for wesnoth, right-click "Mark for Installation", click apply. If you prefer the command-line (and the above shows that it's not a requirement--it's just faster in this case), sudo apt-get install wesnoth Also, for the majority of those distributions listed, you can download the binary and double-click to install it. Just because there are a lot of free projects that don't provide binaries (which isn't the case in your example) doesn't indicate a shortcoming of Linux. Hell, I've found free software for Windows that needed to be compiled from the C source. Maybe more people write free software for Linux.

    17. Re:Total bullshit by dhasenan · · Score: 1

      Windows has DirectX, which is a single library supporting just about everything your game needs, and all under a relatively standardized interface. Linux has a disparate group of libraries by multiple groups with no guarantee about consistency.

      The closest equivalents on Linux, that I've heard of, are SDL and Allegro. Neither are useful for modern games.

    18. Re:Total bullshit by Shulai · · Score: 2, Informative

      Or just pick the required shared libraries and put in any place where the linker can find them. That is what distros sometimes do. And this is what Windows does too, some weird compatibility hacks aside.

    19. Re:Total bullshit by Anonymous Coward · · Score: 2, Interesting

      Obviously you have no idea what you're talking about, as you admit in the opening paragraph. So you are in no position to make proclamations about how superior Windows must be for games.

      First off, OpenGL works fine under Windows, Linux, and Mac OS X, with two minor wrinkles. First, older ATI cards on Linux. Second, Intel graphics chips on Windows. In both cases, the drivers don't support some of the more advanced features of the hardware (like shaders), but it's not too difficult to have an option to work without them. Frankly, if you want to support that same hardware on Windows, you're going to need a shader-free path anyway.

      Any other combination (nVidia on anything, anything on Mac OS X, Intel on Linux, and ATI on Windows) is fine. The drivers support all the features of the hardware, including some weird non-standard ones that D3D doesn't. OpenGL is fast, portable, and can support a superset of the capabilities of D3D 9 (and a subset of DX10, admittedly, but there will be no DX10-only games for another two or three years).

      Second, OpenAL works fine under Windows, Linux, and Mac OS X. In fact, it's the preferred audio system on Mac OS X, the only audio system (short of writing your own) under Linux, and if you want hardware acceleration under Windows Vista it's you're only option there too.

      Third, it's not at all difficult to build a game with both an OpenGL and D3D rendering path. 95% of all rendering code is API-independent anyway. For modern games, the APIs can easily be made to behave the same way. Easy. The hardest part is working around some of D3D's insane misfeatures, like lost surfaces, and deciding which OpenGL extensions (and D3D capability bits) you require, both of which only have to be done once.

      As for backwards compatibility, many of the games I have that use older versions of D3D don't work anymore. They typically have massive graphics corruption rendering them unplayable. The oldest OpenGL-based games I have (Quake, Unreal, that kind of thing) all work perfectly still. It's basically irrelevant as far as commercial games developers are concerned - as long as it works for the next six months, that's good enough.

      Finally, those open source games. They were probably developed by two or three people each, on a total budget of $0, in the developer's spare time, over the course of maybe a year. Even if they managed 10 hours a week each, that's still only 1,500 hours. A typical commercial game will be developed by a team of at least 20 people, working 5 days a week, 8 hours a day, for two years, with a budget potentially running into millions of dollars. That's 800 hours per week. That's a total of 76,800 hours, which is over 50 times as long. And that's without even considering that most commercial developers these days simply license a pre-existing game engine, which gives them a huge head start.

      That's the difference. It's nothing to do with the technology, the underlying operating system, or even the skills of the developers. It's entirely about time, and money.

    20. Re:Total bullshit by Tablizer · · Score: 1

      I am constantly amazed by the amount of BULLSHIT the windows folks put up with. For weird quirks "shit happens" is the most common reply.

      Embrace the Shit Side.

    21. Re:Total bullshit by jd · · Score: 4, Funny

      Ok, ok! So Linux supports OpenGL, OpenAL, OpenEXR, JPEG-2000, Open Inventor, the Renderman scene language and shaders, DirectX under WINE, Constructive Solid Geometry, Sound Fonts, 5.1 audio, audio raytracing, speech synthesis, efficient use of multi-core CPUs, real-time process scheduling and asynchronous I/O, but... What have the Romans ever done for us?

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    22. Re:Total bullshit by briancnorton · · Score: 1
      You don't seem to grasp the reality of mass-market software production. When you make a game for xbox, you *know* that every single client is configured identically, and so you have a common base to work against. A PC is WAY more difficult for something complex like a game. Windows has overcome this by providing a *standard platform* on the PC, DirectX. DirectX is more than Direct3D. DirectDraw, DirectPlay, DirectPlay, and DirectSound make it easy to know that your software can work. OpenGL works well enough most places (it's considerably behind DirectX, but that's largely irrelevant) but What about the rest? OpenAL? (Don't know much about it, but it didn't work on my integrated sound card) And the rest you would have to write from scratch. This is a considerable level of effort for a miniscule market segment. What about Disc Protection schemes? (safedisc, macrovision, etc) How many of them work under Linux? (like em or not, the publishers use them)

      The walls you speak of may not be technical ones, but economics trumps technology every time.

      --

      People who think they know everything really piss off those of us that actually do.

    23. Re:Total bullshit by Anonymous Coward · · Score: 0

      But you get Xbox 360 for free if you use DirectX, and I guess Xbox owners tend to buy more games.

    24. Re:Total bullshit by Anonymous Coward · · Score: 0

      But what does that mean for a game company? Either they have to create a package for every linux distro out there, or they distrube source code. They aren't willing to do the second, and the first takes a lot of resources and cooperation.

    25. Re:Total bullshit by iamnothere900 · · Score: 1

      Linux will "support gaming" once games are supported for Linux. Linux has OpenGL, OpenAL, all the illusionary walls are market-made. Linux is a platform to build on without the fear of being obsolete in 2 years. DOS games nowadays run on DosBox, as do early Windows games. Even XP needs tweaks to run Win9X games. How is targeting a moving sucky platform preferable to one that is open? Easy. Games sell for 6 months tops. You get the initial sales, you get the money. After that it's tough shit if it won't work after next Windows Update(tm). I have used Linux since 1994, but work in the IT industry. I am constantly amazed by the amount of BULLSHIT the windows folks put up with. For weird quirks "shit happens" is the most common reply. The problem that I see is that Linux has a checkered past at best regarding games, which people tend to shy away from. My personal experience is this: I tried installing some older linux games (Loki Unreal Tournament and I think Sim City 2000 or something like that...) just two years ago; Unreal Tournament installed okay, but the game clock ran ~3x realtime. That is, for each real world second three game seconds elapsed. Nothing I did or could find on the internet altered the 3x factor in the slightest. The other game installed, but crashed immediately. The internet workarounds got me to a different crash, which there seemed to be no fix for. Say what you will about Windows, but I can take a Starcraft CD (released 1997, and still for sale today) and pop it into any machine running NT 4, 95, 98, 2000, XP, and maybe even Vista (haven't tried personally) with a fairly high certainty of success. With Linux it is a chore to get a game running on a given computer period, let alone a few years later when things have changed radically, yet again. I'm willing to admit that Starcraft is an example of excellence (the Mac version runs on MacOS 7.6 through OS X 10.4) but there are FAR more games that run properly on NT-based windows than there are games that run on Linux, period, let alone well-written games for Linux. I never experienced "DLL-hell" with Windows (I've been using since 3.1); it happens almost every time when trying to use programs that don't come with a given Linux distribution.

      My Windows game may be obsolete in the next version or two of Windows. This is acceptable.
      My Mac game may not work with the next major overhaul of the operating system, or change in CPU architecture. This is acceptable.
      My Linux game may not work at all in the future because the entire sound system has been rewritten. It may not work now because my distribution likes a different (sound, video, package management, etc) subsystem. Even if it does install and work, it may still not work properly. This is not acceptable.

      Besides, with the complexity of modern games, computers, drivers, operating systems, etc. sometimes shit does happen. It just happens WAY more frequently on Linux when games (or non-distro software, or wireless networking, or ...) are involved.
    26. Re:Total bullshit by Anonymous Coward · · Score: 0

      Or do this (which is obvious to me):

      1. Link statically. Yes, this will make the executable a few megabytes larger. Disks are big.
      2. Call run the equiv. of "dirname /proc/self/exe" to get installation path. Use this in game code to locate data files.
      3. Package the resulting executable + data files as .tbz.

      If you're lazy, you can provide manual instructions from this point that are essentially create directory under /opt, extract tbz to /opt/installdir, create program icon to refer to packaged executable.

      If you're not lazy, make a second executable that carries out those instructions. I believe a portable method for a program to create a launch icon is desribed somewhere at freedesktop.org

    27. Re:Total bullshit by Daniel+Phillips · · Score: 1

      Do you have a copy of StarOffice from the mid-to-late 90's? Try running that in Linux now.

      Huh? What makes you think it will not work? I must admit I do not have one of those sitting around, but if I did I would fully expect it to work. It would startle me if it did not, and I would probably do something about it if it did not. Oh, and could you please try keeping your future posts to verifiable facts?

      --
      Have you got your LWN subscription yet?
    28. Re:Total bullshit by Daniel+Phillips · · Score: 1

      The original troll (err sorry, poster) appears to be completely unaware of what Unix versioned libraries are all about.

      --
      Have you got your LWN subscription yet?
    29. Re:Total bullshit by Hal_Porter · · Score: 1

      Doom3 sucked in terms of performance. I ended up spending $200 for a new video card, even though contemporary games like Half Life 2 managed to work fine with the old card and looked pretty good too.

      You have to wonder if that's because the other games were optimized to run on DirectX on one OS whereas Doom3 needed to use OpenGL.

      --
      echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
    30. Re:Total bullshit by Mr.+Hankey · · Score: 1

      Out of curiosity, how would they know who bought Doom 3 for Linux? I bought it, but it was a Windows box and they've never heard from me about it. If they did hear from me, it'd likely be a complaint that they need to vary the gameplay a bit. Great as it is, there's only so much Super Turbo Turkey Puncher can do to get past the fact that I've played the same basic game over and over again for the past twelve years or so.

      IIRC they were disappointed in the sales of Quake III Arena, but we have Doom 3 and Quake 4 on Linux. It doesn't appear to have stopped them from porting their new titles. As long as they keep porting, I'll keep buying.

      --
      GPL: Free as in will
    31. Re:Total bullshit by einhverfr · · Score: 1

      I could get StarOffice to run quite easily. Fedora has an option to install legacy libraries to support exactly this.

      --

      LedgerSMB: Open source Accounting/ERP
    32. Re:Total bullshit by ak3ldama · · Score: 1

      yum install wesnoth
      am i missing something?

      --
      "but money is the God of Algiers & Mahomet their prophet." - Rich. O'Bryen June 8th 1786
    33. Re:Total bullshit by Bryan+K.+Feir · · Score: 1

      And I'm playing Civilization: Call to Power on my Linux box right now. It was one of the first games released by Loki, and yes, I bought it from them fairly early on to help support Linux gaming. Still works just fine. Granted, it is a static binary.

    34. Re:Total bullshit by Frozen+Void · · Score: 1

      Linux needs a killer app(game) which works exclusively on it.
      Some game which is better then anything windows can offer in that genre.
      Remember that OSes exist to run applications,not to be run by themself.
      If your OS does not have cool games/quality apps its all wasted.
      The amount of good apps is what drives demand.
      And if such apps exist in greater number in another OS,people would use it instead.
      Ex:OS A has 20 cool games,and 100 Useful apps,
      OS B has 100 Cool games,and 2000 Useful apps.
      Which one you choose? Suppose that both properly configured and run smoothly.

    35. Re:Total bullshit by roshanpv · · Score: 0

      Your comment is spot on, i could not agree with you more Linux and GNU software in general has not respect and care for legacy related issues............ Windows on the other end struggles and puts a lot of effort to make sure that all the software written is forward compatible with windows........ They in fact emulate bugs!!! to make sure that programs that rely on these bugs work as intended!!!!!!!!!!!!!! bit ironical, but that is the extent they are willing to go for legacy support

    36. Re:Total bullshit by Gareth+Williams · · Score: 1

      Perhaps Doom3 automatically picked the wrong render path for you or something? Happened to me (back when it first came out I played the entire thing start to finish on my GNU/Linux system).

      I seem to recall that there's a one line console command (the in-game console, I mean) you can use to force a particular render path that performs best on your hardware, if the one the game automatically picked is chugging. For almost no noticable loss in graphical detail I drastically improved my framerate from what it was "out of the box". May be worth googling :)

      --

      --Gareth
    37. Re:Total bullshit by Anonymous Coward · · Score: 0

      No, it's because Half Life 2's engine is at least one, maybe two, generations behind Doom 3's.

      Fundamentally, HL2 isn't doing anything more than Quake 3. You draw the world to the screen using lightmaps, and use a 3D lightgrid to approximate lighting on models. No real shadows (HL2 has texture projection shadows, Q3 has model projection shadows), no dynamic lighting.

      Doom 3, on the other hand, uses fully real-time dynamic lighting, with a unified lighting model. This requires a hell of a lot more power than HL2's decade-old static lightmapping approach. It also looks a lot better in many ways - it's more consistent, far more immersive, and it makes the world seem more real.

      Art style is entirely orthogonal. HL2 basically had better textures than Doom 3, and even that's mostly because HL2 requires an average of 2 textures per surface, while Doom 3 requires at least 4.

    38. Re:Total bullshit by Fred_A · · Score: 2, Funny

      Ex:OS A has 20 cool games,and 100 Useful apps,
      OS B has 100 Cool games,and 2000 Useful apps.
      Which one you choose? Suppose that both properly configured and run smoothly.
      Neither, I'd stick with Linux thank you very much !
      --

      May contain traces of nut.
      Made from the freshest electrons.
    39. Re:Total bullshit by Anonymous Coward · · Score: 0

      Modern Windows games only use two components of DirectX - Direct3D and DirectInput. The parts of DirectX are not a single library, nor do they have any special capabilities that make them easy to integrate (except for D3D and DirectDraw, the latter of which is obsolete anyway). They are a set of completely separate components, and they share only four things. First, the Direct* name. Second, that Microsoft wrote them. Third, that they're implemented as COM components. And fourth, that each of them exists to fix up some deficiency in Windows itself, and except for D3D/OpenGL have no reason to exist on other platforms because the problems they solve only ever existed on Windows.

      DirectInput only exists because the standard Windows API has terrible support for joysticks. There is no equivalent on Linux, and there need not be one either - just write to the standard joystick API, or use SDL. They will work on any Linux distribution just fine.

      For sound, modern Windows games tend to use something like RAD's Miles sound system, FMOD, or another higher level API. DirectSound is just far too low level for games.

      For networking, games just use the Windows networking system, which itself is modelled after Unix sockets. On Linux and Mac OS X, you just use sockets in exactly the same way. Nobody has used DirectPlay for years.

      SDL isn't particularly useful for modern games, but if you're using OpenGL and OpenAL anyway, SDL is just handling the windowing system and joystick.

    40. Re:Total bullshit by makomk · · Score: 1

      Tribes 2 didn't fair well through the changes to threading in libc. Exporting the kernel version as 2.4 seemed to work at one point, IIRC. But last I tried I couldn't get it working at all. It's not true to say that a binary blob (which most games are) will work perfectly through changes to the underlying OS. Unfortunately, the new NPTL threading isn't entirely compatible with the old (LinuxThreads) threading - IIRC, LinuxThreads wasn't exactly standards-compliant. Even more unfortunately, newer versions of glibc don't support LinuxThreads anymore - they're NPTL-only. You'd probably have to dig out an old version of glibc and use that (fortunately, the userspace-kernel ABI is a bit more stable than glibc's...)

    41. Re:Total bullshit by Hal_Porter · · Score: 1

      So essentially it seems worse because it's better?

      --
      echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
    42. Re:Total bullshit by Anonymous Coward · · Score: 0

      glibc is under the LGPL - static linking will violate the license without revealing source - and we already agreed the example company doesn't want to reveal source.

    43. Re:Total bullshit by Hal_Porter · · Score: 1

      I tried that. And I heard of a texture tweak

      http://forum.beyond3d.com/showthread.php?t=12732&h ighlight=humus+doom+3

      Actually, even on the new card, a 6800, with all the tweaks I could find, I still had to run in medium quality and it was a bit choppy when anything happened.

      But the fact that you need to do all this when contemporary games run ok make it seems that Doom 3 wasn't really that well optimized out of the box. In the end, I got bored with the gameplay and stopped playing.

      --
      echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
    44. Re:Total bullshit by Anonymous Coward · · Score: 0

      The poster ofcourse does have a point when it comes to just running old binaries because of API changes in libraries that are used like glibc and mesa (opengl). But on linux most of the time software is kept up to date to the API (or is replaced by something better) and sources are available so you can recompile, so it's a problem specific to the Windows platform really.

    45. Re:Total bullshit by Gothmog+of+A · · Score: 1

      Sorry, I am a bit late just had to finish a Quake III Arena session.

      Most old Linux games work just fine on a current Linux installation. Which one do you think is not working any more? I have quite a few over there on the shelf most of which work out of the box.

    46. Re:Total bullshit by spitzak · · Score: 1

      A copy of AutoCAD from 1995 still had an 8.3 filename limitation? Microsoft added long filename support at least 8 years earlier than that.

      Can you explain this? Is autodesk that stupid?

    47. Re:Total bullshit by Anonymous Coward · · Score: 0

      I don't game much, but my copy of Loki Games' port of Alpha Centauri still works just fine. I think you don't know what you're talking about.

    48. Re:Total bullshit by TheRealSlimShady · · Score: 1
      Can you explain this? Is autodesk that stupid?


      Yes, autodesk is that stupid. This has been brought to you by simple answers to simple questions.

    49. Re:Total bullshit by chthon · · Score: 1

      I am constantly amazed by the amount of BULLSHIT the windows folks put up with.

      When I read IT journals, be it online or as dead trees, I am constantly amazed by the amount of bullshit that is sold in the WHOLE IT industry.

      I think that is also a point why people choose an open system (be it Linux, *BSD, or maybe something else) : being tired of all the bullshit and hype that is being sold by the IT industry.

    50. Re:Total bullshit by spitzak · · Score: 1

      Yes, autodesk is that stupid.

      Thank you for that clarification! This does explain a lot.

  6. Welcome To Reality Open Source by Anonymous Coward · · Score: 2, Insightful

    Linux and other open source projects are getting a harsh lesson in what it is like to ship consumer grade software products. No more RTFM! No more 'did you submit a bug report???' No more this bug/problem is not our fault since we don't control such and such library we use.

    Project vs Product

    Everyone is impressed with how far you've progressed when you are working on a project.

    Everyone is pissed off with how much you've left undone when you are working on a product.

    Welcome to reality open source developers. Before long you will all be saying "Damn, if I have to work this hard to make a consumer grade software product I might as well be getting paid to do so"

    1. Re:Welcome To Reality Open Source by Agamemnon13 · · Score: 1

      The developers who said that have all gotten jobs with other companies. The developers who still believe in Open Source principles continue to work diligently on the projects that excite them. If they didn't enjoy it they wouldn't do it.

      --
      "Life is pain your highness; anyone who says otherwise is selling something!" ~Dread Pirate Roberts
    2. Re:Welcome To Reality Open Source by howlingmadhowie · · Score: 5, Insightful

      Linux and other open source projects are getting a harsh lesson in what it is like to ship consumer grade software products.

      um, you do know that linux has been the operating system of choice for supercomputers, webservers, special effects production, scientific computing etc. for a number of years now, don't you? because you seem to think that linux, freebsd, openbsd or whatever just suddenly turned up yesterday or something. are you also aware of the fact that a lot of people who write free and open-source software get paid good money to do so?

    3. Re:Welcome To Reality Open Source by Anonymous Coward · · Score: 0

      "supercomputers, webservers, special effects production, scientific computing" != "consumer grade"

      It's 2007. People shouldn't need extensive training to work their personal computer. Linux will stay stuck with the nerd brigades until the people in charge of its major components realize this.

    4. Re:Welcome To Reality Open Source by secolactico · · Score: 1

      You kinda missed the AC's point (not that I agree with it). They are working on "projects" but not delivering a "product".

      --
      No sig
    5. Re:Welcome To Reality Open Source by Stevecrox · · Score: 1

      Your missing his point, hes talking about the home desktop consumer market, most of the applications your describing are high technology market. They expect very different things and its where Linux fails. Your animator or scientist is going to write a program in a set langauge they don't care how it looks or how it works just that it does work. I remember a statement from a physicist along the lines of "tell me which langauge to learn and I'll program my simulations in it, just stop changing the languages!" These people have motivations for using it.

      The home desktop market has some very different expectations which his posts describes quite well. Linux has a lot of work to make a consumer grade product, its not insurmountable but its stuff the community isn't doing. I'll use the example of the Divx converter and Virtual dub, Virtual Dub is a fantastic tool which you can do alot with but while geeks may love it no average user is going to use it. Divx converter looks pretty, is easy to understand and is consistant. Its simple things which Linux and open source needs to correct but the imputitus seems to be on more features and bug fixes rather than actually fixing the end user expearence (things like load times, consistant application behavouir, wizards and the 'pretty' factor.)

      If you still don't understand and want to rebut the point you don't get it and probably never will. I'm not saying Open source is a lost cause, because it isn't but there are some major usability issues which wouldn't require a great deal of work that need to be done. Open source needs some artists willing to share their work, it needs people to sit down and write wizards, it needs testing by average people.

    6. Re:Welcome To Reality Open Source by juhaz · · Score: 1

      "supercomputers, webservers, special effects production, scientific computing" != "consumer grade" Quite so. Consumers will put up with any crap you bother to feed them

      Supercomputers, webservers, special effects production, scientific computing, etc. on the other hand require something whole lot better.
    7. Re:Welcome To Reality Open Source by Anonymous Coward · · Score: 0

      "Welcome to reality open source developers. Before long you will all be saying "Damn, if I have to work this hard to make a consumer grade software product I might as well be getting paid to do so""

      I've already done. Y said "Damn, if I have to work this hard to make a consumer grade software product I might as well be getting paid to do so". So I'm paid to develop consumer grade open source software solutions for a living.

    8. Re:Welcome To Reality Open Source by howlingmadhowie · · Score: 1

      so when you say "linux has a lot of work (to do) to make a consumer grade product", you mean free and open source software which runs on the linux kernel does not look as pretty as proprietary software on a different operating system.

      how about the millions of people who do use a linux distribution as their home desktops? are they all animators and scientists? at the moment, they need a reason to use a linux distribution, because they damn well didn't get the computer with this on it. one hopes this will change.

      in general i get the impression from your post that you have two or three favourite applications for windows and don't like the fact that the free software equivalents you know look different. i am also amused by your discrete catagorisation of people as "average user" or "geek".

      by the way, what are the usability issues stopping you using linux? for some reason, there are millions of people who don't suffer from them.

    9. Re:Welcome To Reality Open Source by Stevecrox · · Score: 1

      Useability issues, look at my past comments involving linux I have only once been able to get a linux distrobution working properly (that was in an internet cafe with a friend who loved linux and it took us four days.) I had this same arguement with a Unix guy, who told me he could set up Unix in less time than I would get Vista setup on my laptop. Amusingly since I had nothing better to do three days ago I picked up the MSDN license from him, burnt the disc, installed office, visual studio, downloaded two online games I play and set the laptop for the univeristy's connection. Then I went from the room with the dvd burner next door and then showed him my Vistised laptop. Setting up, installing and configuring windows since XP has become incredibly easy and quick. Its easy to install games and run them.

      Millions of people running Linux? Care to show some stats, the suse poll only managed 27,000 people, really I'd be facinated to see some stats proving several million people use Linux at home.

      My definition of 'geek' and 'average user' well I didn't define that the culture I grew up in did.

      I emulate a 'average user' because I'm incredibly lazy user I can pick up pretty much any application within half an hour of using it but if I can't work the basics out in half an hour then I don't care to use the application. GIMP and Photoshop are a great example I can do basic stuff in photoshop but have no clue when it comes to GIMP, since GIMP's UI is illogical I really can't be bothered to try and use it. While I stop using an application out of lazyness you'll find your average person will stop using because they become too fustrated. Whats an average user? Well I'm just basing this of my Biology,pyschology,law,medicine,socialogy,english and mechanical engineering student friends who come to me for advice on how to use word,photoshop,excel,powerpoint.... (Oh if GIMP's interface is so great would you like to tell me why the majority of artists/web designers still use Photoshop over GIMP?)

      Like I said if your going to rebut you don't understand and never will, one of Vista's big selling reasons is that it looks pretty, same with Mac OS X so you think its good that Open Source projects (Open Office) look butt ugly? GUI research has shown most users aren't interested in choice and want things simple, I'll find some surveys if you disblieve that point. A lot of open source software seems to be focusing on increasing choice and not enough of simplifying the interface and improving an applications look. I'm going to trial Ubuntu Fiesty Fawn over the summer because it seems to be a distro which gets this.

    10. Re:Welcome To Reality Open Source by Anonymous Coward · · Score: 0

      An example: Ubuntu's WPA plug-in must be downloaded from the internet, but my WiFi connection uses WPA. It's a catch 22, I can't get on the internet until I download the plug-in from the internet. As a project, it makes sense to keep the WPA plug-in on the internet so the latest working version is available. As a product, the WPA plug-in should have been on the Ubunto CDROM. I not going to waste time on a work-around; I bought XP Pro 64 instead. I know that OS will will get me connected without any trouble.

    11. Re:Welcome To Reality Open Source by spitzak · · Score: 1

      No more RTFM! No more 'did you submit a bug report???' No more this bug/problem is not our fault since we don't control such and such library we use.

      If you don't think support for commercial software does this, you are seriously ignorant or out of touch with reality.

    12. Re:Welcome To Reality Open Source by einhverfr · · Score: 1

      I have done a lot of thinking about consumer-grade Linux, and I have concluded that while Linux is quite ready for the desktop and has been for quite some time, there will never be a magic point where it is suddenly ready for the average consumer perhaps in part because the average consumer is a mythic creater with the frequency of appearence in the real world of a giant space dragon. Instead, it will be a slow climb and one which has already begun.

      The two big impediments to consumer grade Linux at the moment are the lack of user familiarity (note I did *not* say user-friendliness) and the lack of familiar applications. In particular many consumers want to continue to run the same software on whatever their next computer runs.

      At the same time, there are is a real issue for companies wanting to port their proprietary software to Linux in the consumer space. The first is that the market is small and the second is that one inevitably has to compete with Free (both senses). This is further complicated by the fact that although business software can be profitably developed under open source licenses, nobody has yet shown a model for bringing such processes to the consumer. I believe that such a model could be developed but it is harder in consumer space than it is in business space. And although we have a lot of good buisness apps (like Scribus, GIMP, and the like) the consumer-spefic app space is still lacking.

      The way forward is to bring the mountain to Mohammed so to speak (no disrespect towards Mohammed or Muslims intended-- I did resist the urge to make peanut butter jokes). We need to develop good open source cross platform applications in areas like personal finance, and the like. We need to bring such applications to the consumer first on Windows so that they have good migration paths to Linux.

      --

      LedgerSMB: Open source Accounting/ERP
  7. ZFS definition by icepick72 · · Score: 2, Informative
  8. Linux isn't successful on the desktop because by Anonymous Coward · · Score: 0, Interesting

    1. Fonts, they are simply not as good as Windows.
    2. Ease of use. Nobody has sat first time users in front of a linux desktop and watch them puzzle over what those multiple desktops do, or how to switch between them.
    3. Basic styling problems. Needless flickery redraws of desktops. Uneven and asymetric layouts, huge icons in some places, tiny icons in others. Isometric icons( a classic sign of a programmer drawing an icon instead of an artist drawning icons).
    4. Lack of help, I try to save, it fails, where's the link to the help that tells me that this is a security feature and I can only save in some places.
    5. I am not interested in your philosophy, assemble me a bundle of software that fits my needs regardless of whether than software fits your philosophy.

    If there is one thing I would suggest, get Ubuntu played with by ordinary grandma's so you can see how they get confused. Then get the Firefox guys to look at it, because to me, it's uneven styling, sometimes big crayola friendly styling aimed at kids, sometimes business like.
    Knoppix for example, you start it up and look at the "Windo..." icon and wonder why the fuck they chose suck a large font and such a small icon spacing. So big it can't even display the words 'Windows'.

    1. Re:Linux isn't successful on the desktop because by peragrin · · Score: 4, Insightful

      I have spent the last three days teaching someone how to use windows XP when all they used to use was windows 98. Every interface is different. Stop teaching interfaces and start teaching ideas. Stop teaching MSFT word, start teaching word processing. Teach spreadsheets not excel.

      I can sit down in front of any computer and begin to figure it out. i wasn't taught windows, I learned about windows from windows. I learned about OS X from OS X. and I figured out how to make a custom kde setup from KDE.

      You want to know what I find short comings in them all. They are tied to one group, one development process. I want an OS that has the ease of use of OS X, with the multi-platform binaries of java, and the remote windowing of X. I want to carry my home directory files on an encrypted thumb drive, and load up my files, whether or not the OS is OS X, linux, windows, solaris, plan 9, or what ever else the future may bring.

      we have the knowledge and technology to do that today.

      --
      i thought once I was found, but it was only a dream.
    2. Re:Linux isn't successful on the desktop because by Anonymous Coward · · Score: 0

      Don't forget cut/copy/paste problems.

      Also related to #3 is the whole issue of non-native GUIs. I.e. Gnome apps on KDE, etc. And plain X apps are just fucking hideous.

    3. Re:Linux isn't successful on the desktop because by bersl2 · · Score: 1

      Every interface is different. Stop teaching interfaces and start teaching ideas. Stop teaching MSFT word, start teaching word processing. Teach spreadsheets not excel. Needs repeating.
    4. Re:Linux isn't successful on the desktop because by Anonymous Coward · · Score: 5, Insightful

      "Ease of use. Nobody has sat first time users in front of a linux desktop and watch them puzzle over what those multiple desktops do, or how to switch between them.......If there is one thing I would suggest, get Ubuntu played with by ordinary grandma's so you can see how they get confused."

      Just because your grandma is a little slow (okay, ALOT SLOW) does not mean all of them are.

      My grandmother WAS sat in front of an Ubuntu box for the first time, and after 5 minutes, she asked me why her windows PC did not have Desktop switching, as it only makes sense, rather than constantly minimizing countless windows. Since she already has Firefox on her PC, there was no great hunt for the Big Blue "E" aka "the internet", and after a short explanation about how she, as a user, has her own little piece of the computer called a HOME FOLDER, and can save all her stuff there, she was set.

      I am so tired of this myth that only people with a Mensa I.Q. are capable of understanding how to use a non-windows based system. Granted, she wont be editing config files or writing code, but how many outside the IT industry do that on a regular basis?

      Mod me insightful (or fraking obvious, take your pick)

    5. Re:Linux isn't successful on the desktop because by Sj0 · · Score: 0, Troll

      You're right. The problem is there aren't nearly enough homosexuals in the linux community. Plenty use Windows, so it's very easy to find some to design visual elements. In linux it's much harder.

      --
      It's been a long time.
    6. Re:Linux isn't successful on the desktop because by fthomas64 · · Score: 0

      Linux isn't successful on the desktop because when people buy computers, they use the OS and Desktop that came with them. Very, very few computers are sold with Linux preinstalled.

      It's unfair to say that Linux has failed on the desktop by citing problems that exist in certain window managers or certain applications; if you want to do that, you need to say that "Linux distribution XYZ" has failed...

      That said, I don't have the problems you cite using Ubuntu.

      I'm not saying that Linux on the desktop is perfect, I just don't think it's that bad.

    7. Re:Linux isn't successful on the desktop because by Hairy1 · · Score: 3, Insightful

      The real reason Linux isn't popular has more to do with marketing that technical issues. People have always pointed to one feature or another where Linux is weak and say that it won't be viable until the feature is there. The simple fact is that Linux is now ready for the desktop technically. It is the marketing which Linux and more generally open source needs to perfect.

      To address the parent:

      1. Fonts are not something I even notice a difference in. I can't imagine anyone making a decision on this basis.

      2. Linux is now just as easy to use as Windows for the average user. Many devices will be supported without installation of special drivers, and in many respects this experience is easier than windows. For example, my GPS device plugs straight in and works. To use it under Windows I have to keep installing a driver. Not just once but every time I use it. I don't know why. I don't know how to fix it on Windows.

      3. Graphics issues - Desktops like Suse and Ubuntu are well integrated with consistent styles. While there is a broader range of layouts than with Windows, this is not a barrier to adoption.

      4. Lack or help. I don't know of any software which has effective help; be that Windows or Linux. Linux has man pages of course, but thats too technical. I agree that documentation could be better, but popular applications are generally easy to use without detailed help. The lack of local help is not a big factor, and is mitigated by good online resources such as FAQ's and mailing lists.

      5. This last one is odd. You want a "bundle of software that fits my needs". Linux may have been inspired by a philosophy, but there is no suggestion that users must share it. The fact is that under Linux you have access to a huge number of applications out of the box. Under Windows you will need to purchase software piece at a time. I would rather just be able to download a program automatically.

      None of these reasons are real reason why Linux is not popular on the desktop. One real reason is gaming support - one of the primary reasons many of my associates say they still have Windows partitions. If only I could play CS on Linux....

    8. Re:Linux isn't successful on the desktop because by 3vi1 · · Score: 1

      1. Either you haven't used Gnu/Linux in a couple of years, or your system is misconfigured. The fonts on my systems display every bit as pretty as those on Windows.

      2. Sit someone that's never used Windows in front of a Windows box. Same deal. Just because Linux has a lot of features that you don't immediately know how to use does not mean those features are a liability.

      3. Flickery redraw of desktops? Have you even seen Linux? I honestly have no idea what you're referring to. My desktop is of the 3D Beryl version... prettier than Vista. As to your other points - almost all icon sizes are configurable, if you'll take the time to look through the options. That's the beauty of Linux - almost everything's configurable.

      4. You don't like Linux because it actually enforces security which will only allow you to save to places where you have access? If you don't know how to use Linux, there's a ton of help on the web. There are even friendly folks (not me) that will assist you, even though you're complaining about something you got for free and obviously haven't read a beginners guide to Linux.

      5. Go fuck yourself. Assemble your own software that fits your needs, or pay money for someone to do it for you. It is not the communities job to pander to your needs. If you don't like something about Linux, learn to code and fix it, or pay someone else to fix it. Microsoft won't give you their source, so if you don't like something about Windows you can just live with it.

    9. Re:Linux isn't successful on the desktop because by Anonymous Coward · · Score: 0

      While all your points are debatable, point 2 in particular is false. Check out the Better Desktop project: http://www.betterdesktop.org/.

    10. Re:Linux isn't successful on the desktop because by Anonymous Coward · · Score: 0

      I thought they used macs. Silly me.

    11. Re:Linux isn't successful on the desktop because by Anonymous Coward · · Score: 0

      There are plenty of homosexuals in the linux community (Miguel de Icaza, Joel Spolsky, and Jason Reynolds, for example).

    12. Re:Linux isn't successful on the desktop because by Anonymous Coward · · Score: 0

      Go fuck yourself. Assemble your own software

      Ah, this must be the world-renowned linux community support in action.

    13. Re:Linux isn't successful on the desktop because by Cid+Highwind · · Score: 2, Funny

      6. "Top N reasons why Linux sucks" lists posted anonymously on the web by people who haven't touched a Linux machine since 2001.

      --
      0 1 - just my two bits
    14. Re:Linux isn't successful on the desktop because by try_anything · · Score: 1

      5. Go fuck yourself. Assemble your own software that fits your needs, or pay money for someone to do it for you. It is not the communities job to pander to your needs.
      If only Microsoft were this honest. "Go fuck yourself. It's not our job to pander to your needs. It's our job to make money, and you can only hope that solving your problem is profitable for us." Unfortunately, they have these guys called "marketers" and "PR directors" whose job it is to prevent this kind of honesty.
    15. Re:Linux isn't successful on the desktop because by Anonymous Coward · · Score: 0

      "Every interface is different."

      Yea. Some are better than others. You gloss over that, but it matters--a LOT.

      Linux desktops and apps are far from the best with respect to ease of use and unified design and functionality. No amount of pretending changes that fact.

    16. Re:Linux isn't successful on the desktop because by rapidweather · · Score: 2, Informative
      1. Fonts, they are simply not as good as Windows.

      Of course I don't agree.
      I'm doing a long term comparison test between Fedora Core 6, and my Knoppix remaster,, both installed on the same machine, a HP Pavilion 8250, maxed out on memory, and with a dual hard drive setup, one 2 GB for MSDOS to run my loadlin menus, and for GRUB in the MBR, and the main hard drive, a 160 GB for both linux installations to use.
      My Knoppix remaster, Rapidweather Remaster of Knoppix Linux runs from a "tohd" partition, with a really big "persistent home" partition, and a common swap. So, even though I have a nice "logo16" splash screen with a bright yellow boot prompt, I don't get to see it on a daily basis with the "loadlin" setup, only if I decide to run off the CD for some special purpose.


      I have all of the fonts that I could possibly get from the Debian package servers, and I delight in showing off how well Firefox, for instance, displays web pages, compared to Windows XP (another box, with P4 HT and 128 MB ATI). The Fedora Core 6 installation does not quite measure up to either Rapidweather Remaster or Windows XP when it comes to the "font comparison".
      I realized early on that I would need the fonts, no one is going to "get used to" poor fonts, once they see something better. The original Knoppix I started with, and the latest ones I have reviewed, do have what I would call "minimal" fonts, I would not be satisfied with.

      Rapidweather

    17. Re:Linux isn't successful on the desktop because by Shulai · · Score: 1

      4. You don't like Linux because it actually enforces security which will only allow you to save to places where you have access? If you don't know

      And if you use non admin users in Windows, you will have can't open and can't write issues also. And Windows don't give helpful messages in those cases neither.

    18. Re:Linux isn't successful on the desktop because by dhasenan · · Score: 1

      To be more polite, it's unlikely that I can assemble a collection of software that meets your needs unless your needs are mundane or I spend my time polling you for your particular requirements. The latter produces a result that's only useful for you. It doesn't make sense for me to be your personal sysadmin, but it does make sense for me to supply a default configuration for my hypothetical Linux distro that supplies most common needs.

      So you can supply your own needs, as long as the Linux distro you use makes that reasonably simple. And it's simpler in Linux than Windows, in my opinion, with no worries about random binaries containing trojans and the like.

    19. Re:Linux isn't successful on the desktop because by turbidostato · · Score: 2, Interesting

      "1. Fonts, they are simply not as good as Windows."

      Maybe. But just now I'm writing this on a Linux desktop while a Windows XP laptop is near left. I really can't apreciate any significative difference. Maybe I lack good taste or something, but I can say that no people that saw my Linux desktop (neither this one at home nor the one at work -basically the same) said "oh, those fonts are so ugly!"

      "2. Ease of use. Nobody has sat first time users in front of a linux desktop and watch them puzzle over what those multiple desktops do, or how to switch between them."

      On the table to the left (that's left from my laptop) stays my girfriend's laptop I gifted her. She's musician and graduated on History (go figure her techy abilities) and she was simply amazed when she turned on her new computer and saw the pretty login screen (while eventually I teached her how to change it, and she in fact tried some variants she returned to the "original" one since "it's so cute"). And I still remember she was just in heaven when she discovered she had "four computers in one" (four desktops) instead of just one like those poor windows users ("they'll be green with envvy" were her words more or less). Obviously she doesn't use the command line for anything and still manages quite well on her day-to-day tasks and asks my help no more (well, much *less* in fact) than she did when she used Windows on her previous computer.

      "3. Basic styling problems. Needless flickery redraws of desktops. Uneven and asymetric layouts, huge icons in some places, tiny icons in others. Isometric icons"

      Again, my girlfriend doesn't seem to be so much affected by this (and, by the way, what the heck is an "isometric" icon? The only thing I can imagine is a family of icons that maintain their aspect ratio disregarding scale, but this do seem to me an advantage much more than a defect), nor does my on-her-sixties mother which is so happy with her Linux box (I doubt very much she's even concious she's using Linux -she knows there exists some "gadgets" known as "computers" and barely anything else) and her ability to play some card games and talk to her daughter few thousand miles away through IM.

      "4. Lack of help, I try to save, it fails, where's the link to the help that tells me..."

      True enough. But if you are trying to imply that other operative systems' help is of any use -cough- Windows -cough- I'll say that in my more than a decade of professionally dealing with computers (while I never did "pure" helpdesk I've been always more or less near to end users) I *never* saw the case that the including help was of any aid to any user to solve their problems. Not a single time. Never.

      "5. I am not interested in your philosophy, assemble me a bundle of software that fits my needs regardless of whether than software fits your philosophy."

      Good luck using any version of a Microsoft solution and its "bundle of software" fitting your needs. Do you really have all your needs covered out of Notepad and Minesweeper?

      "If there is one thing I would suggest, get Ubuntu played with by ordinary grandma"

      I *already* did the experiment out to the letter (you see, my mother doubles as a grandma too). And yes, she was quite confused at the begining even pointing and clicking with the mouse (it's not such an easy task for an old woman, did you know?). On one hand I can't see how pointing-and-clicking would have been any easier on Windows; on the other she manages now to do with the computer anything she was interested at (playing some easy games, using IM, ordering her photo collections, writing an odd e-mail...) and I honestly feel that her using Windows wouldn't make her experience any easier. And please, pay attention that I'm not even living in the same city so I really can't "babysit" her on the computer but the odd weekends I visit her. Oh! and the OS isn't even one of those "easy Ubuntus": she must be a hardcore hacker, since she's using Debian "Sarge". Yeah, she must be a hardcore hacker since now I remember her computer has been free of virus and spyware all this time, not as some friends of her that doesn't happen to use the same OS.

    20. Re:Linux isn't successful on the desktop because by darkwhite · · Score: 1

      Used Linux lately?

      There are a lot of things in Linux that need work on the desktop. None in your list are among them.

      --

      [an error occurred while processing this directive]
    21. Re:Linux isn't successful on the desktop because by Derf+the · · Score: 1

      No.
      This is a Slashdot discusion forum.
      There is a time and a place for just about everything;
      and I do not think this is the time or the place for Anonymously posted Troll Fodder like yours.
      Here we stand up and say
      'Go fuck yourself';
      you may like to consider the benefits of this advice for your personal use.

      --
      No. You can't look at my Sig; it's mine, and I'm not showing you.
    22. Re:Linux isn't successful on the desktop because by einhverfr · · Score: 1

      "I am so tired of this myth that only people with a Mensa I.Q. are capable of understanding how to use a non-windows based system. Granted, she wont be editing config files or writing code, but how many outside the IT industry do that on a regular basis?"

      The more important thing is that even people with a Mensa IQ rating are incapable of understanding how a Windows system actually works and how it is expected to behave. ;-)

      Note that my parents (both non-techies but bright) were comfortable with Red Hat Linux 6.1 after a 5-minute walkthrough. In fact, they were more comfortable with Red Hat Linux 6.1 after a couple of days than they were with Windows 95 after several months.

      The people who have problems tend to be techie Windows users who have to unlearn WIndows-isms.

      --

      LedgerSMB: Open source Accounting/ERP
    23. Re:Linux isn't successful on the desktop because by Anonymous Coward · · Score: 0

      GP didn't say anything about teaching. Grandma probably isn't going to learn new tricks anyway. And seriously, non-techies rarely have a strong grasp of Microsoft Word, word processing or computers in general. They stumble their way through till they get what they want.

    24. Re:Linux isn't successful on the desktop because by drsmithy · · Score: 1

      I have spent the last three days teaching someone how to use windows XP when all they used to use was windows 98. Every interface is different.

      Rubbish. Some, yes. Every ? Not even close.

      I can sit down in front of any computer and begin to figure it out. i wasn't taught windows, I learned about windows from windows. I learned about OS X from OS X. and I figured out how to make a custom kde setup from KDE.

      Yes, but most people can't. Primarily because they simply don't care, but also because the conceptual abstraction necessary is, for a very large chunk of people, very difficult to grasp.

      Non-trivial proportions of society have trouble with TV remote controls, setting alarm clocks or doing anything more complicated with a microwave than "X minutes on HIGH". The problem isn't that the interfaces suck, per se, it's that computers are complicated, flexible tools that lots of people simply don't have the capacity to operate.

    25. Re:Linux isn't successful on the desktop because by dbIII · · Score: 1

      1. Fonts, they are simply not as good as Windows.

      OK - why not load in the same fonts then? They do work you know.

      The rest I will take under consideration - I've never seen multiple desktops described as a flaw before so it will take a while to work out where you are coming from. If you are describing gnome I suggest trying a new version of it or KDE or fluxbox instead. If you want to see how artists do icons I suggest Enlightenment v0.16 - it looks good in many themes and has been solid for so many years that this site actually grew out of an Enlightenment theme and applet site.

    26. Re:Linux isn't successful on the desktop because by l3v1 · · Score: 1

      So, you say Windows is so easy that when you never ever saw a Windows desktop before you just sit down and naturally know what is what and how it works and when something fails every message you get is meaningful and understandable ? Your ordinary grandma figure, how would she play with a first time seen Windows desktop ? You telling us MS has developed such a wonderful desktop environment that everybody just knows how to use it and never get confused ? You never got confused, ever ?

      I am not interested in your philosophy - well, same here.

      --
      I am putting myself to the fullest possible use, which is all I can think that any conscious entity can ever hope to do.
    27. Re:Linux isn't successful on the desktop because by UncleFluffy · · Score: 1

      5. I am not interested in your philosophy, assemble me a bundle of software that fits my needs regardless of whether than software fits your philosophy.

      Sure. I do philosophy for fun. Contract work is at my normal hourly rate, or assemble your own damn software.

      --

      What would Lemmy do?

    28. Re:Linux isn't successful on the desktop because by TonTonKill · · Score: 1

      My grandmother WAS sat in front of an Ubuntu box for the first time, and after 5 minutes, she asked me why her windows PC did not have Desktop switching, as it only makes sense, rather than constantly minimizing countless windows. Because she didn't install the http://www.microsoft.com/windowsxp/downloads/power toys/xppowertoys.mspxVirtual Desktop Manager PowerToy.
    29. Re:Linux isn't successful on the desktop because by Fri13 · · Score: 1

      1. Fonts, they are simply not as good as Windows. You can ALWAYS change them to others, or use windows owns if you have license. Internet is full of free fonts.

      2. Ease of use. Nobody has sat first time users in front of a linux desktop and watch them puzzle over what those multiple desktops do, or how to switch between them. Do you know even how easy to use virtualdesktops are with Beryl/Compiz? They know after first cube roration that there are more desktops than one. Problem is that on default desktop there is no animation for desktop change, windows just popup and disapears from desktop when changing.

      3. Basic styling problems. Needless flickery redraws of desktops. Uneven and asymetric layouts, huge icons in some places, tiny icons in others. Isometric icons( a classic sign of a programmer drawing an icon instead of an artist drawning icons). I see that you have used KDE/Gnome mayby 6-8 years ago.
      http://kde-look.org/content/preview.php?preview=1& id=32070&file1=32070-1.jpg&file2=32070-2.jpg&file3 =&name=screenshot+kde+3.5
      I dont see any flickery if i dont set VESA or VGA driver ON and i dont have any reasons for it.
      Icon size can ALWAYS change easily on everyplace.

      And artist makes icons for KDE and Gnome, not coders, even if someone is coder too.
      http://kde-look.org/content/preview.php?preview=1& id=25668&file1=25668-1.jpg&file2=&file3=&name=Crys tal+Clear
      http://kde-look.org/content/preview.php?preview=1& id=26449&file1=26449-1.jpg&file2=&file3=&name=nuov eXT

      4. Lack of help, I try to save, it fails, where's the link to the help that tells me that this is a security feature and I can only save in some places. Lack of help if there comes a box what says user dont have permission to write directory or a file. Same thing on windows, of cource users run windows as admin so there is no warning if user wants save PDF to ../system32/

      5. I am not interested in your philosophy, assemble me a bundle of software that fits my needs regardless of whether than software fits your philosophy. I'm not interested either, i just like everything WORKS like I WANT and i can get easily do my task on my PC and i dont need to hunt software around a web.
    30. Re:Linux isn't successful on the desktop because by MajorCatastrophe · · Score: 1

      Granted, she wont be editing config files or writing code, but how many outside the IT industry do that on a regular basis?

      Quite a lot of people actually, if they want to use a piece of software that isn't in the repositories, or the new printer doesn't work, or they want to edit some video etc...

      The routine grandma argument misses the point (or conveniently dodges it). Things that people have taken for granted as "just working" for the last 10 years, should not suddenly become a chore when they boot into Linux (after being told it is so much better than the alternatives), regardless of how experienced a computer user they are.

      It's certainly getting there, and for inexperienced home users fresh installs of recent distros makes a great email terminal and word processor, but then... it is 2007 for crying out loud.

  9. Democracy Sucks. by LibertineR · · Score: 3, Interesting
    Which is why America is a Representative Republic and NOT a Democracy.

    With Democracies, you end up with the tyranny of the majority, regardless of whether the minority opinion is the correct one. Under a Republic form, a large enough minority can plug up the works and force negotiation with the majority before a final solution is agreed upon.

    The Linux Development community needs representative decision making, there are too many voters, hence, almost no direction or real progress towards a cohesive goal. Nothing will change without true leadership, and sadly, accountability.

    You cant measure progress without accountability for failure. Socialism has not worked in ANY form, and it wont work for Linux either.

    1. Re:Democracy Sucks. by aardvarkjoe · · Score: 1

      The Linux Development community needs representative decision making, there are too many voters, hence, almost no direction or real progress towards a cohesive goal.

      Your argument assumes that the "Linux Development community" (whatever that is) has, needs, or wants a common goal. There has been project after project which were supposedly to unify the "linux community" or "open source community," but historically every single one has fallen apart when it became obvious that the majority of people that the project tried to represent didn't care about the same goals or ideals.

      --

      How can we continue to believe in a just universe and freedom to eat crackers if we have no ale?
    2. Re:Democracy Sucks. by poopdeville · · Score: 2, Interesting

      Which is why America is a Representative Republic and NOT a Democracy.
      With Democracies, you end up with the tyranny of the majority, regardless of whether the minority opinion is the correct one.


      Yes, a tyranny of the minority is clearly better.

      Hint: The only correct opinion regarding the state is the will of its subjects.

      --
      After all, I am strangely colored.
    3. Re:Democracy Sucks. by Cyberax · · Score: 3, Insightful

      Yes, and dollar is not a currency, it's a banknote.

      Representative republic is JUST A FORM OF DEMOCRATIC GOVERNMENT.

    4. Re:Democracy Sucks. by Grant_Watson · · Score: 1

      Representative republic is JUST A FORM OF DEMOCRATIC GOVERNMENT.

      There's a lot of overlap there, but a republic can include a number of checks against the will of the people, while a true democracy doesn't pretty much by definition.

    5. Re:Democracy Sucks. by cyber-vandal · · Score: 4, Insightful

      Socialism worked pretty well in the democratic western countries, that's why people aren't dying of cholera/typhoid/starvation in slums anymore.

    6. Re:Democracy Sucks. by catbutt · · Score: 1

      America's form of democracy is certainly representative, which is probably the only practical solution when you've got more than a dozen or so people. I'd argue it is still a democracy, if an imperfect one.

      If (in my little fantasy world) the constitution had been written with the input from modern day game theorists and election theorists, I'd think it could be massively improved. For example, our destructive two party system is a simple (and unnecessary) by product of plurality voting. (example: http://karmatics.com/voting/twoparty.html )

    7. Re:Democracy Sucks. by Kjella · · Score: 2, Insightful

      Which is why America is a Representative Republic and NOT a Democracy.
      With Democracies, you end up with the tyranny of the majority, regardless of whether the minority opinion is the correct one. Under a Republic form, a large enough minority can plug up the works and force negotiation with the majority before a final solution is agreed upon.


      Says the only two-party state I know of. Whichever party has 52% this term screws over the other 48% without flinching. If you wanted negotiation, you should look to Europe where we have many smaller parties, shifting coalitions trying to match the will of the people on a case by case basis, not just heads or tails every five years or so.

      The Linux Development community needs representative decision making, there are too many voters, hence, almost no direction or real progress towards a cohesive goal. Nothing will change without true leadership, and sadly, accountability.

      You cant measure progress without accountability for failure.


      You can't rule volunteers by force or majority. 99% of the Linux developers may agree, but I can refuse to in that direction or even work to pull it in a different direction. You can't be held accountable for people unless you can control what they're doing or not.

      Socialism has not worked in ANY form, and it wont work for Linux either.

      Socialism hasn't worked for any finite resource. If in a socialist country everybody refused to grow food, people would starve. If everyone refused to develop Linux, it would simply come to a halt in its current condition. Everyone would still have "as much" Linux as they want. That was the downfall of communism, they had to force people to keep the wheels turning but Linux doesn't.

      If by socialism you mean that "everyone contributes what they want", then it seems to be it's working quite nicely already. Depending on the metrics you use maybe not in the lead, but certainly better than many other OSs from the 70s, 80s and 90s. So well, if you say it can't work abd I see that it does work, I tend to go with reality.

      --
      Live today, because you never know what tomorrow brings
    8. Re:Democracy Sucks. by umeboshi · · Score: 1

      Representative republic is JUST A FORM OF DEMOCRATIC GOVERNMENT. Not really, the representation could be divvied up between the 100 most influential families. The progeny of these families would inherit the Senate, each family representing their own geographic region that they control.
      Republics have their origins in fascism, and served as a tool to help unify local rulers into larger, more cohesive nation.
    9. Re:Democracy Sucks. by Anonymous Coward · · Score: 0

      Which is why America is a Representative Republic and NOT a Democracy. Really now? I thought it was an aristocracy.

      I think you are almost right, except for the single fact that there is a difference that in a society you have the majority of people that are mainly participating in the system for their own interest. The difference in the open source community is that most of the committers are willing to coöperate and make decisions based on consensus. So tyranny is really not something we can expect there. And let's not forget that each individual has a lower IQ in the open source commune then in society as a whole.

      The point I agree on is that consensus is not always the best way to be productive. You may even today say that the open source movement is in a rural stage. This is where fusion with commercialism comes in place. You can have leading people that set the frameworks and point the noses in one direction for a certain project. But you will always need the developers as the main input on how to fill it in. They are the ones that bring the user-feedback right from the start and after version 1.0 to make truly succesful apps.

      Socialism really hasn't got anything to do with it because nobody's coding for foodstamps here.

    10. Re:Democracy Sucks. by catbutt · · Score: 1

      The only correct opinion regarding the state is the will of its subjects. But measuring that will is harder than you may think. For instance, when there are more than 3 options, plurality voting (i.e. select the one that gets the most votes) is completely broken, as it unfairly rewards the choice that is the most different from other choices (that is, it is subject to vote splitting).

      And as what the previous poster called "tyranny of the majority", typical voting will weigh the votes of everyone equally, which doesn't work well for things where, for instance, a slight minority feels very strongly about something and a slight majority barely cares. Representative democracies mitigate this, by allowing a higher degree of negotiation ("ok, I will agree to vote your way on this if you will vote my way on that").
    11. Re:Democracy Sucks. by catbutt · · Score: 1

      That is why I would suggest consensus building tools. It is true that not everyone has the same goals. But some would be willing to cede one thing they slightly care about if they could get something they cared a lot more about. When looked at that way, I'd be willing to bet it is a lot more cohesive than you may think.

    12. Re:Democracy Sucks. by Stewie241 · · Score: 1

      And... hopefully... the minority can make long-sighted, informed decisions to meet the ideals that the subjects want. I might ultimately want X, but in the meantime, I might make an earlier decision which will make it impossible for me to get to X because I don't necessarily know any better. The theory, at least, is that intelligent, informed leaders can understand the direction that the subjects want to go and make the right decision to get there.

      Same reason why IT departments ultimately (should) make technology decisions. Management wants X. They may want some other technology in the meantime, but must rely on IT to direct them as to whether or not they can adopt the technology and still get X.

    13. Re:Democracy Sucks. by Anonymous Coward · · Score: 0

      Not really, the representation could be divvied up between the 100 most influential families. The progeny of these families would inherit the Senate, each family representing their own geographic region that they control.

      So it would be pretty much like the system we have now, except the Bushes would have stayed in Connecticut...

    14. Re:Democracy Sucks. by jcr · · Score: 1

      No, the rising productivity of labor caused by capital investment is why people aren't dying in droves from preventable diseases in the west.

      -jcr

      --
      The only title of honor that a tyrant can grant is "Enemy of the State."
    15. Re:Democracy Sucks. by Anonymous Coward · · Score: 0

      "No, the rising productivity of labor caused by capital investment is why people aren't dying in droves from preventable diseases in the west."

      Both of them, if you please.

      Capital investment is why people isn't dying in droves in the western world;
      Socialist inclination is why western Europe has higher baby surviving rates than USA.

    16. Re:Democracy Sucks. by that+this+is+not+und · · Score: 1

      In what company outside Sun Microsystems does management want X?

      I wouldn't mind a few more companies like Sun existing, mind you.

    17. Re:Democracy Sucks. by Nutria · · Score: 1
      Socialist inclination is why western Europe has higher baby surviving rates than USA.

      And is suffering high unemployment and unsustainably low (possibly negative) native population growth.

      Meanwhile, in the US, stupid is as stupid does:
      http://www.nytimes.com/2007/04/22/health/22infant. html

      the growing epidemics of obesity, diabetes and hypertension among potential mothers, some of whom tip the scales here at 300 to 400 pounds.

      And then there's this factoid which bumps up the US mortality rate:
      http://www.overpopulation.com/articles/2002/000019 .html

      The primary reason Cuba has a lower infant mortality rate than the United States is that the United States is a world leader in an odd category -- the percentage of infants who die on their birthday. In any given year in the United States anywhere from 30-40 percent of infants die before they are even a day old.

      Why? Because the United States also easily has the most intensive system of emergency intervention to keep low birth weight and premature infants alive in the world. The United States is, for example, one of only a handful countries that keeps detailed statistics on early fetal mortality -- the survival rate of infants who are born as early as the 20th week of gestation.

      How does this skew the statistics? Because in the United States if an infant is born weighing only 400 grams and not breathing, a doctor will likely spend lot of time and money trying to revive that infant. If the infant does not survive -- and the mortality rate for such infants is in excess of 50 percent -- that sequence of events will be recorded as a live birth and then a death.

      In many countries, however, (including many European countries) such severe medical intervention would not be attempted and, moreover, regardless of whether or not it was, this would be recorded as a fetal death rather than a live birth. That unfortunate infant would never show up in infant mortality statistics.

      --
      "I don't know, therefore Aliens" Wafflebox1
    18. Re:Democracy Sucks. by enderai · · Score: 1

      dude, calm down. so he meant direct democracy instead of just democracy. his point still stands.

    19. Re:Democracy Sucks. by cyber-vandal · · Score: 1

      Who invested the capital in building public works, clearing slums and generally improving living and working conditions? Not the capitalists who fought tooth and nail (and still do) to prevent it.

    20. Re:Democracy Sucks. by What+Is+Dot · · Score: 1

      I have to disagree.
      The democracy aspect is where people vote on proposals. The republic aspect is where people vote on representatives. In the United States, one third of the government is mostly democracy (congress) and one third is mostly republic (white house). Either way, they are made up of representatives. Hence, Representative Republic.

    21. Re:Democracy Sucks. by Bastard+of+Subhumani · · Score: 1

      The democracy aspect is where people vote on proposals.
      That's a direct democracy. An indirect or representative democracy is still a democracy.
      --
      Only three things are certain; death, taxes, and apocryphal quotations - Ben Franklin.
    22. Re:Democracy Sucks. by aardvarkjoe · · Score: 1

      It is true that not everyone has the same goals. But some would be willing to cede one thing they slightly care about if they could get something they cared a lot more about.
      I don't understand what you mean. The "something they care a lot more about" is the general goal that doesn't exist. Why would I give up the time and energy that I can devote to something I care about to work on this community goal that I don't?
      --

      How can we continue to believe in a just universe and freedom to eat crackers if we have no ale?
    23. Re:Democracy Sucks. by Hognoxious · · Score: 1

      Says the only two-party state I know of.
      You claim to be from Europe. Take a look at a map. See those islands off to the Northwest of France?

      If you wanted negotiation, you should look to Europe where we have many smaller parties, shifting coalitions trying to match the will of the people on a case by case basis, not just heads or tails every five years or so.
      Well not all Europe does, as pointed out already. But if you think lots of small parties is the solution, you don't understand the problem. PR is a perfect way of allowing minority interests to combine to wield disproportionate power. It also promotes a situation where nothing gets done and decisions never get made - maintaining alliances takes priority over actually governing the country.
      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    24. Re:Democracy Sucks. by SQLz · · Score: 1
      The Linux Development community needs representative decision making, there are too many voters, hence, almost no direction or real progress towards a cohesive goal. Nothing will change without true leadership, and sadly, accountability.

      god, please, no. If I want shitty develeopment decisions to be made for me, I go to work for that.

    25. Re:Democracy Sucks. by jadavis · · Score: 1

      Representative republic is JUST A FORM OF DEMOCRATIC GOVERNMENT.

      There are three branches of government:

      Judicial - Completely undemocratic. There are some very minor democratic influences, such as local judges being confirmed by the people.

      Legislative - House of Representatives is democratically elected. More recently, the Senate is also democratically elected, but it was not always that way.

      Executive - Everyone in the executive (at least at the federal level) other than the president is appointed. The president is elected indirectly by electors, who are democratically elected. If the president doesn't receive a majority of the vote (if the electors are divided more than two ways), the House chooses the president. The vice president was once chosen by the same process as the president, but now is "bundled" with the president. Others (like Secretary of Defense, CIA director, Secretary of State, etc) are appointed.

      Doesn't seem so democratic when you actually look at it, does it? The House of Representatives is called that because it is really the primary democratic influence in the nation (or at least was).

      --
      Social scientists are inspired by theories; scientists are humbled by facts.
    26. Re:Democracy Sucks. by Anonymous+Brave+Guy · · Score: 1

      I live in those islands. What was it about the two-party state that you thought applied here?

      --
      If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
    27. Re:Democracy Sucks. by manifoldronin · · Score: 1

      Says the only two-party state I know of. Whichever party has 52% this term screws over the other 48% without flinching.
      Without flinching? US Congress members do not always vote along their party lines. Also, in case you weren't aware, US Congress members do have terms, and do get reelected _individually_.

      If you wanted negotiation, you should look to Europe where we have many smaller parties, shifting coalitions trying to match the will of the people on a case by case basis, not just heads or tails every five years or so.
      Yeah, you also have the government reshuffled _every_time_ such shifting becomes significant enough to change the majority composition. Having the chief executive of the country changed every quarter isn't really a good thing.

      I'm not saying the US system is clearly superior to those in Europe in all aspects. It's all about compromising at a balance point, and there are many such points available.

      --
      Tyranny isn't the worst enemy of a democracy. Cynicism is.
    28. Re:Democracy Sucks. by Maow · · Score: 1
      Which is why America is a Representative Republic and NOT a Democracy.

      With Democracies, you end up with the tyranny of the majority, regardless of whether the minority opinion is the correct one.

      Sounds exactly like The American Way.

    29. Re:Democracy Sucks. by jcr · · Score: 1

      Who invested the capital in building public works, clearing slums and generally improving living and working conditions?

      Does the name "Henry Ford" ring a bell?

      As the productivity of labor increases, competition amongst employers for labor also increases. Upshot: you have to offer higher wages, better working conditions, etc, or you won't be able to operate your business, because people will work for your competitors instead.

      -jcr

      --
      The only title of honor that a tyrant can grant is "Enemy of the State."
    30. Re:Democracy Sucks. by cyber-vandal · · Score: 1

      Henry Ford built the sewers, demolished the slums and outlawed sweatshops? Link please.

    31. Re:Democracy Sucks. by Crazy+Eight · · Score: 1
      With Democracies, you end up with the tyranny of the majority, regardless of whether the minority opinion is the correct one. Under a Republic form, a large enough minority can plug up the works and force negotiation with the majority before a final solution is agreed upon.


      How does a Representative Republic deal with the tyranny of the large enough minority? At some point won't the marginalized 25% who force negotiation with the 65% prevent the marginalized 10% from plugging up the works to force negotiation with the tyrannous 90%?

    32. Re:Democracy Sucks. by The_Quinn · · Score: 1

      No - we have democratic elections - that is different than a democracy. A democracy is unlimited majority rule - if 51% of the people want to kill you, they can.

  10. Well, no. by c0l0 · · Score: 4, Informative

    Alternativ approaches to implementing subsystems of the Linux kernel are often developed concurrently, in parallel, and there's a system you can compare to darwinistic evolution that decides (in most cases) which one of a given set of workalikes makes it into the mainline tree in the end. That's why the Linux kernel itself incorporates, or tries to adhere to, a UNIX-like philosophy - make a large system consist of small interchangeable parts that work well together and do one task as close to perfect as possible.
    That's why there are so many generic solutions to crucial things - like "md", a subsystem providing RAID-levels for any given blockdevice, or lvm, providing volume management for any given blockdevice. Once those parts are in place, you can easily mingle their functions together - md works very nice on top of lvm, and even so vice versa, since all block devices you "treat" with one of lvm's or md's functions/features, again, result in a block device. You can format one of these blockdevices with a filesystem of choice (even ZFS would be perfectly possible, I suppose), and then incorporate this filesystem by mounting to whereever you happen to feel like it.
    There are other concepts deep down in there in the kernel's inner workings that closely resemble this pattern of adaptability, like, for example, the vfs-layer, which defines a set of reuqirements every file-system has to adhere and comply to. This ensures a minimal set of viable functionality for any given filesystem, makes sure those crucial parts of the code are well-tested and optimized (since everyone _has_ to use them), and also makes it easier to implement new ideas (or filesystems, in this sepcific case).

    Now, zfs provides at least two of those already existing and very well working facilites, namely md and lvm, completely on its own. That's what's called "code-duplication" (or rather "feature-duplication" - I suppose that's more appropriate here), and it's generally known as a bad thing.
    I do notice that zfs happens to be very well-engineered, but this somewhat monolithic architecture still bears the probability of failure: suppose there's a crucial flaw found somewhere deep down in this complex system zfs inevitably is - chances are you've got to overhaul all of its interconnecting parts massivley.

    Suppose there's a filesystem developed in the future that's even better than zfs, or at least better suited to given tasks or workloads - wouldn't it be a shame if it had to implement mirroring, striping and volume-management again on its own?

    Take an approach like md and lvm, and that's not even worth wasting a single thought on. The systems are already there, and they're working fantastically (I'm an avid user of md and lvm for years by now, and I frankly cannot imagine anything doing these jobs noticeably better). I'd say that this system of interchangeable functional equivalents, and the philosophy of "one tool doing one job" is absolutely ideal for a distributed development model like Linux'.

    It seems to be working since the early nineties. There must be something right about it, I suppose.

    --
    :%s/Open Source/Free Software/g

    YTARY!
    1. Re:Well, no. by Cyberax · · Score: 1

      But there's a problem - sometimes you need to do something across the layers...

    2. Re:Well, no. by KagatoLNX · · Score: 4, Insightful

      The word "refactoring" applies here.

      When the layers don't meet your needs, you have two options.

      You can either violate the layering or you can get the layers refactored.

      In Linux, we do not accept the first. Why? Because it generates bad software...period.

      Writing drivers for MacOSX is a pain...because of the mingling between Mach, BSD, and everything else they did to make it work.

      Drivers for Windows has always been a source of instability because there isn't good layering there either. Try to write database code on Windows, the lack of coherent design presents dozens of incompatible interfaces with different features.

      You can do what these people do. You can make a "product" that "works" without regard to design. Eventually, you end up doing a complete rewrite. The fact of the matter is that Linus puts design before function, and maintainability before progress. As such, we move slow, we refactor, and we're generally slow. However, progress is steady and it does, generally, get better. Of course there are always people that want it to be everything.

      --
      I think Mauve has the most RAM. --PHB (Dilbert Comic)
    3. Re:Well, no. by swilver · · Score: 1
      Then make an interface for it. Take file system defragmentation for example.

      An external tool, with knowledge of the file system layout can only safely defragment a file system (without cooperation of the file system) when it is offline. However, the file system itself can defragment itself even when it is online and being intensively used because it can update certain cached block pointers in internal structure as it moves stuff around making it totally transparent to the user.

      If an interface was defined whereby an external program can ask the filesystem for free areas of space, and ask it certain other details like offset/length pairs for a specific file so it can see the layout of the file on disk, then it can calculate somekind of optimal layout, and give the filesystem instructions to move blocks from one location to another (completely safe and wrapped with journalling code). With enough thought, such an interface could be universal for almost every file system, and the defragmentation tool would then be functional for all file systems implementing this interface. My own filesystem (http://en.wikipedia.org/wiki/Smart_File_System) incorporated a journalled online defragmenter which could be triggered and monitored externally, and I was planning on exporting the internal functions it uses somehow so someone else could write a defragmenter which did a better job than my own straight-forward implementation :-)

      ZFS to me sounds like a file system that just tries to do it all on its own without really looking at the bigger picture and benefits of layering things like RAID and Volume Management. Sure it can happen that you want to have a certain actions cut accross layers (volume resizing is a good one, which has to be done seperately for the file system and the volume in the right order with LVM2) but I think for those actions you'd be better off extending the interface you use to communicate with the layer above or below you so such actions become part of the standard way of communication -- for example, if Linux file systems had a universal interface for telling a file system to resize itself, then LVM2 could take those actions automatically when you resize volumes. It's tempting to build all this stuff directly into the filesystem, but layering the system makes it far easier to maintain, less bug-prone AND can make things more consistent for end-users that don't have to deal with a different system for each filesystem. ZFS likely rolled their own though because at the time the tools we have now weren't as mature and the need to support volumes across networks and other specialized needs that filesystems don't normally deal with.

    4. Re:Well, no. by macshit · · Score: 1

      You can either violate the layering or you can get the layers refactored.

      In Linux, we do not accept the first. Why? Because it generates bad software...period.


      +1 insightful

      If some particular problem is hard to solve well because of layering issues, the correct thing to do is learn from that, and fix the layering abstraction! Just saying "oh well" and throwing out any pretense of organization is a sure recipe for a huge mess.

      Indeed, it's for this reason that the linux approach is in fact much more far-sighted than what Sun is apparently advocating.

      [Incidentally, this is exactly what happened with Reiser4 -- namesys implemented all kinds of features in their filesystem, and the linux hackers basically told them: features X, Y, and Z are cool, but probably should be a generic part of the kernel, so that other filesystems can use them -- IOW, they wanted to learn from Reiser4 and refactor things to improve both the filesystem and the general linux kernel, including other filesystems. It's understandable that the namesys developers would feel kind of reluctant to do this (who wants to do radical surgery on your new baby, and aid your competition in the process?), but it leads to a far superior system in the long run.]

      --
      We live, as we dream -- alone....
    5. Re:Well, no. by Cyberax · · Score: 1

      Sometimes, layering HURTS because it abstracts low-level details.

      For example, in ZFS you can shrink filesystems, even when they span across multiple devices. So you can easily plug off unused devices (if they are marked as unused after shrinking filesystem). But you need access to low-level MD information to perform this. That's just one example from the top of my head.

    6. Re:Well, no. by Anonymous Coward · · Score: 0

      Is this really different from LVM? You could resize a regular filesystem, reduce the size of its volume with LVM if the device it was using is unused, you remove it from the volume group. OK, I'm not 100% sure you can do this while it is online, but you should be able to and if you can't then surely it can be fixed so you can. To simplify this you could write a tool you tell what you want done and it handles all the operations that are needed. So what is special about ZFS that it needs to do this itself?

    7. Re:Well, no. by vidarh · · Score: 1

      So what you are saying is that the layered interfaces aren't ideal. In other words, they might benefit from being refactored: Either you push some of the stuff ZFS wants to do down a layer and modify the interfaces accordingly, or you modify the interfaces to expose the capabilities ZFS need. You don't throw away the layering and put it all in one big blob of code.

    8. Re:Well, no. by Cyberax · · Score: 1

      Yes, it's different.

      For example, suppose we have RAID-0 with two 60Gb disks, but our filesystem only contains 40Gb of data (so it can fit on one disk). And we want to reconfigure RAID-0 to RAID-1 (switch from striping to mirroring).

      It's easy to do this in ZFS but it's impossible to do this with LVM, because filesystem driver needs to know about physical distribution of block device's sectors.

    9. Re:Well, no. by Anonymous Coward · · Score: 0

      Refactoring applies here, but at some point it must be defined what should each layer really do. Sun went with fewer layers and integrated much into ZFS. For Linux it makes sense to abstract much functionality to VFS as OS contains many filesystem drivers. Sun OTOH wants to offer that only with ZFS and don't have plans to do it with other filesystems. For them, it was simpler to design a system like this than make their own VFS from scratch. A fs is not written every day, their future improvements will be based on ZFS (just as Microsoft still keeps NTFS around). And their definition of filesystem is simply not same as Linux one.

      It may be a layering violation in Linux VFS sense, but for them it was a perfectly rounded layer. ZFS will be readable by a FUSE driver, that should be enough for most folks that want to access or even write data.

    10. Re:Well, no. by DaleGlass · · Score: 1

      It's easy to do this in ZFS but it's impossible to do this with LVM, because filesystem driver needs to know about physical distribution of block device's sectors.


      Not impossible at all, although not very easy either.

      1. Resize the filesystem itself (resize_reiserfs, etc)
      2. lvreduce the underlying logical volume
      3. pvmove data from the device you want to free up elsewhere
      4. pvremove the now free physical volume

      Major problems here are the need to resize the filesystem (which may require unmounting it), and that resizing the FS and lvreduce need to be in sync or you get data corruption. It's not ideal, and not as nice as ZFS, but it's definitely doable.
    11. Re:Well, no. by vidarh · · Score: 1

      More importantly, the right way of making it nice is to review the available API's, determine how to fix any problems with the API's to the various layers, and optionally wrap a nice utility around those API's.

    12. Re:Well, no. by Anonymous Coward · · Score: 0

      No, the filesystem doesn't need to know anything. It is just LVM that needs to know where the filesystem is, given that filesystems start using space from the beginning of a partition/device all LVM actually needs is to know the size of the filesystem. Someone else has already given the steps to do what is needed, so I won't repeat them.

      An advantage that ZFS has in doing this is that it knows which parts of the filesystem are unused so it can perform the operation more efficiently by skipping the unused blocks, but this could potentially be solved by having LVM talk to the filesystem driver and be told which blocks are unused.

      Do you have an example of something that absolutely cannot be done separately with LVM?

  11. He's right you know by Anonymous Coward · · Score: 0

    Linux kernel development is an absolute, shameful ad-hoc mess. This is typified by the fact that the kernel devs are dogmatic about refusing to chose a stable abi and stick to it.

    In short, Linux wants all the 'perks' of a professional enterprise OS, without accepting any of the responsibilities (for example, stable interfaces which third party developers are able to count on developing in the next version).

    Far too many people take linux seriously in the professional world, far more than it deserves. Linux has no direction, no goals, no compatibility (I can run solaris 2.4 binaries on opensolaris; you can't even run FC3 binaries on FC4!) and, in all honesty; half the time the fucking kernels don't even work (this is particularly true of the 2.6 series)!

    Linux is a pile of crap; sadly it's a case of 'people adopt the worst technologies'; there are far better systems out there (shit, other than osx or windows any other system would be better); but it's linux which has the mindshare

    No wonder our IT industry is complete shit.

    1. Re:He's right you know by diegocgteleline.es · · Score: 2, Informative

      you can't even run FC3 binaries on FC4

      You can run RHEL3 binaries in RHEL4 however. And you can happily run Linux 1.0 binaries on the latest linux development snapshot. Thats because Linux DOES have a stable ABI: The syscall interface. That's the REAL ABI the Linux kernel has to support, and it's the one that it's really guaranteed to be stable. What you think as an abi it's not an "abi", it's an INTERNAL ABI. Drivers are not "software built in top of the kernel", they're plugins. And Linux developers do not care about it because linux is open source, in the open source world you can change source easily and it gets usually merged into the kernel. Basically, the Linux kernel gets more benefit from a internal unstable ABI that gets changed when it's needed and that improves all the linux drivers, than getting a stable internal ABI that only benefits a couple of external OSS drivers and another couple of propietary, illegal drivers.

      Linux has no direction, no goals

      That's what happens when you give everybody freedom to modify your code; everybody extends Linux in unexpected directions, that happen to be the directions the people (profesional world) desires because it's the people (profesional world) who actually develops the features. For example, some people have made Linux scale in machines with way more CPUS of what your beloved Solaris has ever run, and now other people are adding hard realtime support to the core Linux kernel, which happens to make Linux beat latency records on Wall Street servers. It all was unexpected; IT however seems to like it.

    2. Re:He's right you know by speculatrix · · Score: 1


      fine piece of A/C trolling, but I'll shoot a few of your points down anyway

      1/ you DON'T have to upgrade your kernel if you don't want to. for example, SUSE back-port bug fixes into the kernel release that each version of suse came with. this keeps updates quite safe. you CAN download a later version if you want, or even build your own. Debian is even more conservative.

      2/ linux has goals/direction, but linux is more than a sum of its parts, so you might have to narrow your focus on the aspects of it which are interesting, and follow changes if you wish. noone is forcing you to decide to upgrade!

    3. Re:He's right you know by mishagam · · Score: 1

      You can run RHEL3 binaries in RHEL4 however. And you can happily run Linux 1.0 binaries on the latest linux development snapshot. Thats because Linux DOES have a stable ABI: The syscall interface. That's the REAL ABI the Linux kernel has to support, and it's the one that it's really guaranteed to be stable. What you think as an abi it's not an "abi", it's an INTERNAL ABI. Drivers are not "software built in top of the kernel", they're plugins. And Linux developers do not care about it because linux is open source, in the open source world you can change source easily and it gets usually merged into the kernel. Basically, the Linux kernel gets more benefit from a internal unstable ABI that gets changed when it's needed and that improves all the linux drivers, than getting a stable internal ABI that only benefits a couple of external OSS drivers and another couple of propietary, illegal drivers. So can you run FC3 binaries on FC4 or not?
      Or you have to have version of every program for every distribution / version of Linux (As I see happening)?
    4. Re:He's right you know by einhverfr · · Score: 1

      I think it depends on the binaries and what they are linked against.

      In most cases, anything distributed by Fedora may be somewhat version specific. If someone else wants to write an app, they can make it as general or specific as they want by choosing what to distribute and what not to.

      --

      LedgerSMB: Open source Accounting/ERP
    5. Re:He's right you know by vidarh · · Score: 1
      Yes you can. But it depends on the app developers how easy it is. They can statically link their apps, in which case there's no problem. They can dynamically link their apps against versions of the libraries included in the package, in which case there also is no problem. They can dynamically link against library versions in the default linker paths. If so, it depends on whether you have a package with the right library versions easily available.

      In effect, you usually see the latter for software that is provided with source, since rebuilding is usually an option - when it's not you can install older versions of the libraries you need -, and the former variations are fairly common with closed source apps as it makes it easier to provide more generic packages.

  12. Well by diegocgteleline.es · · Score: 2, Insightful

    It's not just Andrew Morton, it's basically every core linux kernel hacker that has spoken on the issue.

    It's pretty obvious; I don't think that even the ZFS developers will deny it. They'll just say "it's a layering that was worth breaking".

    1. Re:Well by Metabolife · · Score: 1

      New linux slogan: "Think Oreo"

    2. Re:Well by Wesley+Felter · · Score: 1

      Coincidentally, basically every core linux kernel hacker didn't look at the code before commenting.

    3. Re:Well by g1zmo · · Score: 1

      It's pretty obvious; I don't think that even the ZFS developers will deny it. They'll just say "it's a layering that was worth breaking".

      Of course they'll say that. If they hadn't shipped ZFS, what must-have feature would the marketdroids use to promote Solaris 10? SMF? Not likely. SMF is a solution looking for a problem.

      --
      I have found there are just two ways to go.
      It all comes down to livin' fast or dyin' slow.
      -REK, Jr.
  13. I think the same issue is hurting Reiser4... by IpSo_ · · Score: 5, Interesting

    Reiser4 introduced us to all sorts of interesting capabilities never before seen in a file system (at the time) but I believe this same "layering violation" attitude pretty much put a stop to any of it getting into the kernel. The Reiser guys were forced to pretty much cripple their file system feature wise if they were to have any hope of getting it included in the kernel.

    See Reiser4 Pseudo Files as one example.

    I can understand that in certain cases "layering violations" are bad, but Linux kernel developers don't even seem to be willing to experiment or think outside the box at all.

    Both sides have valid arguments... I don't think there is any easy solution, but it would be nice to see more forward thinking in the community.

    --
    Open Source Time and Attendance, Job Costing a
    1. Re:I think the same issue is hurting Reiser4... by Urusai · · Score: 0, Troll

      Linux folk don't want to think outside the box or change things up. They're using a clone of an OS developed in the '70s. They use C, a language from the same period, not C++. They use an interface that literally emulates an ancient teletype.

    2. Re:I think the same issue is hurting Reiser4... by EvilRyry · · Score: 1

      If you do a little Googling there are many legitimate reasons not to write a kernel in C++. It's been discussed before a decided that it was a bad idea.

    3. Re:I think the same issue is hurting Reiser4... by Pegasus · · Score: 1

      You know what? That's exaclty what I like about Linux folks - they're using all this "70s technology" as you call it, they're really pushing it but they're nowhere near the technological limit. So why would you want to change the underlying technology if the one you have works and is well proven?

      It's like with new server machines ... when I get new bleeding edge stuff, I push it out to nonesential roles for a year or so ... and when these new machines proved themselves as reliable, they gradually get more important roles.

    4. Re:I think the same issue is hurting Reiser4... by fimbulvetr · · Score: 1

      Hasn't the C++ in the kernel argument already been beaten worse than a red-headed step child?

    5. Re:I think the same issue is hurting Reiser4... by Anonymous Coward · · Score: 0

      poor Reiser gets rejected by his wife, than the Linux community rejects him

      bad, dum ching!

    6. Re:I think the same issue is hurting Reiser4... by Rakishi · · Score: 2, Insightful

      They use an interface that literally emulates an ancient teletype. Thank god for that, doing my job would be a real pain in the ass otherwise. I mean christ, if it weren't for piping alone I'd probably spend 10 times as much time (if not more) coding some of the things I do.
    7. Re:I think the same issue is hurting Reiser4... by einhverfr · · Score: 1

      Linux folk don't want to think outside the box or change things up. They're using a clone of an OS developed in the '70s. They use C, a language from the same period, not C++. They use an interface that literally emulates an ancient teletype.

      I assume you meant this about Linux and not Windows....

      FWIW, I do agree with the points you have made above, but I think you are in error in implying that this is a bad thing.

      I have generally found that older software that is continually maintained, or newer software which is inspired mostly by older software is far more likely to get things essentially right than new "innovative" approaches. Yes, I use LaTeX for a lot of document processing work in part because nothing else lets me get as much done as quickly. And TeX is even older than UNIX :-)

      Secondly, for every language there is a purpose. C is an extremely good language for building a kernel, and for certain types of system software. It is lightweight, and for such projects it is usually faster and more maintainable than C++. IIRC the entire Vista kernel is written in the same languages (C and ASM) that Linux is.

      Third, the interface does not emulate a TTY as much as the Windows DoS prompt does. Remember that the TTY's could only handle 10 characters per second, but it took .2 seconds to move to the next line. In order to accomodate this, they broke up CR and LF into separate characters. Only Windows carries on this tradition. On the other hand, the serial character devices we call tty's are remarkably useful for many tasks. I get really frustrated with Windows because ctrl-alt-f1 doesn't work.

      On the other hand, the Windows kernel is largely a clone of the VMS kernel (older than UNIX), uses C and ASM for its kernel, and preserves only those parts of the ancient TTY interface which are no longer useful.

      --

      LedgerSMB: Open source Accounting/ERP
    8. Re:I think the same issue is hurting Reiser4... by l3v1 · · Score: 2, Insightful

      I can understand that in certain cases "layering violations" are bad, but Linux kernel developers don't even seem to be willing to experiment or think outside the box at all

      Such comments are just simply wierd. You people seem to think everybody is a genius but the linux kernel devs. They are the ones who can't think otherwise, they have the fault of following rigid rules, the are to be blamed that wonderful innovations don't follow the rules, they should think outside of the box and the rest don't even bother to try thinking inside the box. Damn, how could that happen, only the dumb devs became kernel devs ? Geez, get a grip.

      --
      I am putting myself to the fullest possible use, which is all I can think that any conscious entity can ever hope to do.
    9. Re:I think the same issue is hurting Reiser4... by Fujisawa+Sensei · · Score: 1

      What the fuck are you talking about?

      They're using a clone of an OS developed in the '70s.

      They're using a clone of OS that has been evolving for more than 20 years.

      They use C, a language from the same period, not C++. With good fucking reason, throwing exceptions in the kernel suck. I used to question Linus's judgment in not using C++; but after reading a couple of threads on the AROS mailing list relating to specific C++ issues, I realized Linus made a brilliant call in not using C++.

      They use an interface that literally emulates an ancient teletype.

      What interface would you be referring to? The shell? Sorry that's user-space. The message console I guess is what you're referring to. It may not be pretty, but if you want it pretty, you sound like expert how about writing a C++/GUI system logger. Of maybe you just have no real fucking experience and are just regurgitating what other people have told you.

      --
      If someone is passing you on the right, you are an asshole for driving in the wrong lane.
    10. Re:I think the same issue is hurting Reiser4... by Fujisawa+Sensei · · Score: 1

      Posting and drinking... baad..

      What the fuck are you talking about?

      They're using a clone of an OS developed in the '70s.

      They're using a clone of OS that has been evolving for more than 20 years.

      They use C, a language from the same period, not C++.

      With good fucking reason, throwing exceptions in the kernel sucks. I used to question Linus's judgment in not using C++; but after reading a couple of threads on the AROS mailing list relating to specific C++ issues, I realized Linus made a brilliant call in not using C++.

      They use an interface that literally emulates an ancient teletype.

      What interface would you be referring to? The shell? Sorry that's user-space. The message console I guess is what you're referring to. It may not be pretty, but if you want it pretty, you sound like expert how about writing a C++/GUI system logger. Of maybe you just have no real fucking experience and are just regurgitating what other people have told you.

      --
      If someone is passing you on the right, you are an asshole for driving in the wrong lane.
    11. Re:I think the same issue is hurting Reiser4... by Antique+Geekmeister · · Score: 0, Troll

      Reiserfs suffered from a lot more trouble than that. Reiserfs is effectively dead with its core developer facing murder charges: his cavalier attitude about losing files seems similar to his casual attitude about the location of his ex-wife's corpse. Nasty, but he does seem to be as guilty as OJ Simpson.

    12. Re:I think the same issue is hurting Reiser4... by spitzak · · Score: 1

      Tell me again, which operating system uses two characters for the newline, which was necessary for Teletypes?

      Hint: it starts with 'w'.

    13. Re:I think the same issue is hurting Reiser4... by IpSo_ · · Score: 2, Informative

      Its not dead at all. I'm not even sure how much coding of Reiser4 Hans did himself, but Reiser4 is still actively developed by pretty much the same people it was before Hans was arrested.

      There was talk just last week again about taking another crack at getting it included in the Kernel.

      --
      Open Source Time and Attendance, Job Costing a
    14. Re:I think the same issue is hurting Reiser4... by Antique+Geekmeister · · Score: 1

      Really? How? I thought Hans was pretty critical to its leadership and develipment, and since ext3 now includes journaling and htree's, there seems little need for it, especially with its remaining tendency to zero files instsead of saving them to lost+found.

    15. Re:I think the same issue is hurting Reiser4... by IpSo_ · · Score: 1

      How? The code is all open source. Hans owned the company called "Namesys" that does all the development, apparently that company is still alive to some degree anyways, because developers continue to post patches from @namesys.com addresses. All I know is that there still seems to be a decent amount of activity surrounding it (note the date, April 25th 2007).

      My understanding is that Hans was the "brains" behind the operation as far as high level ideas and direction is concerned, but he spent a good portion of his time looking for funding and trying to raise money in other capacities, while he paid other programmers to work on Reiser4 itself.

      As far as your comment regarding journaling and htree's, you are obviously severely lacking in knowledge as far as what Reiser4 is capable of, it goes FAR beyond fast access to many files and journaling. Speed, encryption and compression are just a few of the other major features it offers... According to the benchmarks, with the speed of CPUs today you can almost double your disk performance by enabling compression, contrary to what most people would think.

      --
      Open Source Time and Attendance, Job Costing a
    16. Re:I think the same issue is hurting Reiser4... by Antique+Geekmeister · · Score: 1

      Being open source does not a project worth pursuing, or able to be successfully managed by new project leaders. And my experience with Reiserfs (over the last four years) has been that it tends to zero files or lose them when drives start failing on RAID sets, even corrupting the filesystem unrecoverably and forcing a tape backup. And since attempts to perform a final backup as Reiserfs corrupts the system fail randomly, it means a final backup for the last day's work cannot be performed.

      This is quite, quite deadly for critical systems. And while htrees may not be as efficient as the new "dancing trees" algorithm, they've proven themselves to be far, far more robust. The big features that compelled the use of Reiserfs, in my experience, was the handling of many thousands of files in one directory. (This is an absolute necessity for Maildir use!) While htree in ext3 may not be as efficient, it's been quite good enough, and far more robust in my experience.

    17. Re:I think the same issue is hurting Reiser4... by IpSo_ · · Score: 1

      It sounds like you are getting confused between Reiser3 and Reiser4, making assumptions that they are similar. This is a common mistake, Reiser4 is pretty much a completely new file system written from scratch, you wouldn't know that from the name though.

      Reiser3 is an excellent file system, it works EXTREMELY well for what it was designed to do, and is pretty much the only file system you can use for certain systems, mainly large mail servers using maildir, or large caching servers like squid. In my job it has been a life saver, because without it we would be severely limited in a lot of ways.

      Has it had its share of issues over the years? Of course it has, it is much younger then EXT2/3 is, so things like properly handling rare failure cases takes time and experience to address properly. Go back 7 years and read some of the mailing lists regarding file recovery on EXT2/3, its far from perfect as well.

      The bottom line is if you don't have good backups, your are going to lose data on ANY file system. Some file systems you may lose more data, some less. That is the nature of the beast, keep good backups! If you don't need the features Reiser3 offers, why are you using it in the first place? Reiser3 is much more complex then EXT3 is, it was designed to address a severe gap in functionality which existed at that time, and continues to exist to a large extent, and it fills that gap very well to this day.

      Reiser4 is a complete re-write that is designed to address the original short comings of Reiser3, and further add functionality to reach the vision that Hans has had for over a decade. It is designed in a way to make it easy to add "extensions" or the infamous "plugins" that can have A LOT of power within the file system.

      This is key to file system improvement in my opinion... How many programs out there have taken off and now have a huge repository of plugins? Firefox and Thunderbird are some of the popular ones, and it could well be argued that without extensions they would not have caught on like they have. Now think of this in the file system context, how nice would it be to download an extension that allows you to enable greater consistency checks in a certain directory where you keep your databases or other important data? Then download another extension to enable compression on your massive mail directory, and yet another extension to enable encryption on the directory where you keep your taxes and other financial statements?

      Right now you can kinda do those things, but its a nightmare of loopback mount points and having to use a whole whack of different file systems, few people even bother, because its not as simple as just enabling an extension and flipping a switch. Don't even get me started on the mess that is FUSE file systems.

      Personally I would be much more likely to trust my data to a robust underlying file system with extension capability to handle specialized functionality then to a completely new file system that does just one thing well, like encryption or compression.

      --
      Open Source Time and Attendance, Job Costing a
  14. He's right... by msimm · · Score: 1

    Linux as a cli is robust, mature. I work every day via ssh or terminal and I manage a number of servers this way, it's a pleasure.

    But when I look at Linux as a viable desktop alternative for the non compsci crowd I tend to cringe. The patchwork that can make Linux so flexible, that *really* puts *you* in charge is the exact thing that makes Linux so unfriendly. Most people don't want tonnes of choice, not because their stupid, but because they don't want to spend a lot of time fussing with their computer. They want one way to do things and they want it to be well thought out and seamless. You still can't get that with a Linux distro. Instead you get choice and/or pieces of the patchwork.

    --
    Quack, quack.
    1. Re:He's right... by SQLz · · Score: 1

      It only puts you in charge if you have root. In a corporate environment its not like random people are installing software anyway, at least they shouldn't be. They should be doing their jobs and using whatever IT has given them. The company I work for has over 1000 linux desktops deployed. Windows is pretty much only used by upper management.

  15. I think I can explain by Toby_Tyke · · Score: 2, Insightful

    . How is targeting a moving sucky platform preferable to one that is open?

    The moving sucky one has ninety plus percent of the home desktop market. Linux has less than one percent, and I've never seen any credible figures suggesting otherwise. Why target a tiny niche market when you can target a huge one?

    And bear in mind, the proportion of linux users who are serious about gaming and do not have access to a windows machine is probably one percent of Linux users. So even if you target windows, ninety nine percent of Linux gamers can play your games anyway.

    --
    "I realise this is not a very popular opinion but it's the truth, and there for needs to be said" -Bill Hicks
    1. Re:I think I can explain by einhverfr · · Score: 1

      I would actually expand on that a bit. The issue for commercial software on Linux (including games) is two-fold:

      1) Low absolute market share in relevant markets. Not enough people using the software to build a profitable business in the area.

      2) An open source culture in the Linux world, where a large percentage of users do not want to pay for non-open source software. This effectively reduces the market size, and there is no reason to believe that it will increase.

      The solution to "no games" on Linux is for developers to write good open source games that run on Linux. There are a number of good ones out there in some genres: real-time-strategy fans should try globulation and my favorite game in any genre is Battle for Wesnoth (turn-based strategy). I think that BfW really pushes the edge regarding what open source can effectively accomplish but in the end it shows that many of the limits we thought were there are not.

      FWIW, I am part of the open source culture, though I would probably buy certain games under certain circumstances. I do think though that as we go forward we need to recognize that the open source culture means that Linux will not go completely mainstream until we can replace every common application with an open source one, and provide enough games to keep people interested. That time is coming and soon, however.

      --

      LedgerSMB: Open source Accounting/ERP
    2. Re:I think I can explain by Anonymous+Brave+Guy · · Score: 1

      The solution to "no games" on Linux is for developers to write good open source games that run on Linux. There are a number of good ones out there in some genres: real-time-strategy fans should try globulation and my favorite game in any genre is Battle for Wesnoth (turn-based strategy). I think that BfW really pushes the edge regarding what open source can effectively accomplish but in the end it shows that many of the limits we thought were there are not.

      In an unfortunate way, you support the cynic's argument with your example. I downloaded Battle for Wesnoth (for Windows, ironically) and played it for a while, but it simply didn't hold my attention after the first few scenarios. The gameplay became repetitive. I can forgive a game having dated graphics and a limited soundtrack if the gameplay is better than the alternatives, but that (IMHO) just isn't the case here.

      For contrast, the two game families I have most replayed on my PC are Total Annihilation and the Baldur's Gate trilogy. Both have graphics and game mechanics that are better than Battle for Wesnoth, despite being relatively old games now. (Obviously there is no comparison in the graphics department between these and more recent titles like Supreme Commander and Neverwinter Nights). More importantly, there is a certain scale and complexity defined by titles like TA and BG, and that brings replay value.

      By the simple mechanism of adding new units and maps in TA, the replay value is dramatically increased. Notice that those additions don't just change the graphics; they can fundamentally alter the balance of the game and therefore the strategies needed to win.

      BG's adaptability comes from a somewhat similar trick. Here they provide many more NPCs than can join a party at once, each with their own remarkably detailed characterisation: personal and often non-trivial subplots, interactions with other NPCs in the party, etc. Thus even though the main story arc is always the same, the majority of the story if you follow up the side plots is different. For each new game, you can also use very different tactics depending on your party make-up: strong individually (paladins, ubermages, etc.) vs. balance and flexibility across the party as a whole (multi-class characters, buffing, bards, etc.), combat-heavy vs. magic-heavy vs. stealth and cunning, good vs. evil philosophies, large party vs. small party vs. solo, and so on.

      What these things all have in common is a kind of depth and flexibility that just doesn't come with a relatively simple strategy game like Wesnoth. It takes a lot of work to craft a storyline of the calibre of the BG series, from great overall direction and plot design right down to strong voice actors for the NPCs. (Granted, few commercial games really get this right either, but I've never seen a freebie that does.) It takes a lot of work to design the variety of units, maps, even whole factions in a RTS that allows for varied strategies yet still keeps the game balanced. Again, while a few stand-out commercial RTS games have done it (and many more have failed), I've never seen a freebie example in the same league.

      Of course, whether any of this really matters is a moot point. Most people who want the latest and greatest action games buy consoles anyway these days. (Consoles are around 80% of the gaming market today.) Linux can certainly provide good versions of classic puzzle games, which I suspect tend to appeal more to the Linux-using market anyway. And of course, Linux can still support many Windows games well enough via emulation to make them playable.

      So although I basically agree with you about the problems faced by Linux in getting a serious game development culture up and running, and what the solution would be, I'm not sure it really matters all that much anyway.

      --
      If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
  16. An example: speeding up the boot process by greppling · · Score: 1

    I don't know anything about ZFS, but I think his general point may have merit. Consider the problem of speeding up the boot process. This would require interaction between desktop hackers, init hackers, filesystem hackers, etc. etc. Many possible speedups might require layering violations (desktop application making requests about desired file layout on the disk etc.) Due to the technical, social, political structure of Linux this is just unlikely to happen (unless a single distro has enough resources to throw at this particular problem). Consider this rant (that may be too strong a word) by KDE developer Lubos Lunak: Why does Linux need defragmenting?

    1. Re:An example: speeding up the boot process by swilver · · Score: 1
      Well I'm not sure what the Kernel developers are thinking, but I think they feel you shouldn't by-pass layers of communication, ever, and I think they're right.

      So you shouldn't write a disk-optimizer program that fiddles (from user space) with the layout of a file system (definitely not while it is online) -- it's kind of pointless as such a program would be specific to a single file system and would not work on any other types.

      Instead, in the file system API, functions should be defined to query file system layout, and to give instructions as to how to alter the layout. The file system itself can then perform these actions (or just ignore them if they're too lazy to implement that part of the API). When they do, they can even perform journalling on the actions so there's not even risk of losing any data while the disk is being restructured.

      The advantages are numerous; a complex program to optimize disk layout would work with any file system implementing the disk layout API -- no need to write another one for a different system. They don't even need to be affiliated with the file system designers (or even have knowledge of the file system, although some general knowledge of file system will help their program :-)). Furthermore it would be more consistent for the end-user, no more seperate tools for resizing different filesystems, different optimizing tools, and so on. So I guess that instead of trying to cut accross layers, we should be asking the Kernel developers to extend the layer user space programs are supposed to use so we can do fancy tricks with file systems in userspace.

    2. Re:An example: speeding up the boot process by try_anything · · Score: 3, Insightful
      When your design constrains you, you don't throw it away and proceed into anarchy. You create a new design. If the layering scheme kills performance, the fix is to create a new layering scheme that accomodates the performance improvements you want to make.

      Having a coherent design is what allows people to reason about the system as a whole. Breach the design, and suddenly nobody can say anything about anything without tracking down and understanding all of the code involved. Commercial companies do this all the time when playing catch-up with rivals, because they have to retain their customers at all costs, but they suffer terribly for it in maintenance costs and stability. There's no reason in this case for Linux to take the fast, self-destructive route. Linux can wait for a coherent solution, even if it is years coming.

    3. Re:An example: speeding up the boot process by l3v1 · · Score: 1

      Many possible speedups might require layering violations

      Stupid, again. If those speedups really require layering violations, than I don't want them. I gladly wait 30 seconds more if that means the design/layering remains intact. If a new layering scheme would be developed to incoroporate the speedup hacks in a sane fashion, that would be a different story. Until then, keep your "innovative" approaches to your own little projects.

      --
      I am putting myself to the fullest possible use, which is all I can think that any conscious entity can ever hope to do.
    4. Re:An example: speeding up the boot process by ramunask · · Score: 1

      another way to speedup booting is:
      for first time: log files and block numbers needed for boot and sort by block number (or smth) and make config file with good(what is good?) sequence of files;
      all other times: before boot, cache all files from first time config into RAM, load files from RAM instead from HDD (also, if something changed, load from HDD and change config file)

      P.S. sorry, I'm just web programmer, but maybe idea is new??? :)

    5. Re:An example: speeding up the boot process by dhasenan · · Score: 1

      What benefit could GNOME possibly derive by examining the guts of filesystem drivers? Make the filesystem more efficient, and everything on the system benefits.

      The same with an init system: it just has to run shell scripts. Granted, if it knew how fast each filesystem was, it could try to optimize the order, but it doesn't need to know about the filesystem driver to do that -- it'd be of more benefit to know about the devices and the buses they're on. And that's probably possible with udev.

      That rant, by the way? It specifically concerned the disk scheduler. If a batch read call were available to the filesystem drivers and they made use of it, then the scheduler could arrange to read more files per scan. That's not a layering violation.

    6. Re:An example: speeding up the boot process by IpSo_ · · Score: 1

      I agree with you wholeheartedly... However the Kernel developers seem very opposed to even experimenting in new design. Reiser4 and its pseudo files is a perfect example, the kernel developers seem to want nothing to do with it because it violates layers, no other file systems support it, and no user space applications support it.

      Huh? Of course they don't! It isn't in the kernel yet, and no one in their right mind would waste 5minutes of their time supporting it until it gets in! But they don't even want to add it to the kernel when it can be enabled/disabled on the fly and when it is clearly marked EXPERIMENTAL.

      Instead they just point to FUSE... Well if you want to access file meta-data like ID3 tags in MP3 with regular file tools (cat, ls, echo, rm, etc...) then use the "MP3-ID3" FUSE filesystem on your MP3 directory and use its custom API. But then if you want to access meta data on your digital photos, well install the "JPEG-EXIF" FUSE file system on your photos directory and use its custom API. Oh, you have a million photos and the FUSE file system is so slow its useless now? Sucks to be you. That doesn't make a lot of sense at all.

      In my opinion they should restrict the pseudo files to JUST reiser4, enable it and clearly mark it as experimental, then wait... Do people use it? Do people like it? Let the reiser4 guys hash out the problems, and re-designs, and when/if they come up with something useful, then think about how they can write a generic API so that ANY file system can use the same pseudo file system.

      If it blows up completely, well hey, its marked experimental and they can remove the pseudo file functionality (while still keeping Reiser4 intact), no harm, no foul. If it catches on, well they just had a year of beta testing and API stabilization that didn't affect a huge amount of users, now they can take their experiences and build upon them.

      --
      Open Source Time and Attendance, Job Costing a
    7. Re:An example: speeding up the boot process by try_anything · · Score: 1
      I'm not a kernel guru, but I seem to remember that there was some controversy over why Reiser4 was not accepted into the kernel. Coding style, Hans Reiser's intransigence, politics, and reimplementation of functionality already in the kernel were all cited as factors.

      Leaving all that aside, does reiser4 come with a new alternative Linux filesystem design that can replace the old filesystem layering in all its current uses, or is it just a hack around the current design that would live inside the kernel as a second way of doing filesystems? The first is what I would call an experiment in design, and it would be suitable for inclusion when it could replace the current design wholesale. The second is fine for research, but considerably increases the complexity of the kernel. It sounds from your description that Reiser4 falls into the second category, and you would like it included as part of the official kernel to speed its maturation from the second category to the first. I don't see why that is necessary as long as it is easily available to kernel hackers who want to work on it, which it apparently is.

      Simplicity and uniformity is the purpose of design. Adding a second way of doing filesystems doubles the complexity of thinking about the kernel's handling of filesystems, which isn't a trivial burden to ask the developers to take on. If people could handle arbitrary complexity, as long it was correct, then there would be no need for design.

      Linus said (in the context of Reiser4):

      the filesystem shouldn't make its own internal plug-in architecture that bypasses the VFS layer and exposes functionality that isn't necessarily sane.

      He doesn't say that Reiser4 is bad or insane. He said it isn't necessarily sane, which means that nobody on the kernel team can (so far) verify its sanity. Obviously he and other kernel developers are smart guys who could eventually figure it out. But, it would take effort, and he is making the very realistic point that adding a new set of interfaces is unacceptable if it results in the kernel team not completely understanding one part of the kernel.

      Hans Reiser has effectively said many times that HE is smart enough to understand Reiser4 and have confidence in it, and the kernel developers should either do their homework (if they're smart enough) or leave it to him (if they aren't smart enough), which is an absolutely insane way to develop software. The kernel team is responsible for the kernel -- they have to be able to vouch for Reiser4 themselves. They also have to be selective about what kind of work they take on. It seems to me (once again, speaking from a position of ignorance) that the steps requested by the kernel developers (better adherence to coding standards, more polish, answers to technical challenges) are all steps that would assist the kernel developers in understanding Reiser4 and verifying its suitability for inclusion.

      You can see that it is Reiser4's violation of the current Linux design that creates the extra complexity and makes it difficult for the kernel developers to sign off on it. I'm sure that if they are being more fastidious than usual about coding style and so forth, it is to mitigate the huge risk inherent in bypassing the current design and thereby doubling (at least) the difficulty of assuring the correctness of Linux's filesystem code.
    8. Re:An example: speeding up the boot process by IpSo_ · · Score: 1

      There were many reasons not to include Reiser4, yes, coding style and code re-factoring issues were some of them. Those I'm not arguing about, and those are also being addressed, if they haven't been already.

      Reiser4 doesn't add a "second way" of doing file systems, it simply adds another METHOD of working WITH files, among other things. Should kernel developers understand how that works, of course they should, but that is no different then asking to include a driver for some obscure hardware device that 99% of the kernel developers don't have access to.

      You quoted Linus as saying:
      "the filesystem shouldn't make its own internal plug-in architecture that bypasses the VFS layer and exposes functionality that isn't necessarily sane."

      On the whole, I agree with Linus. The problem arises when the argument then shifts, Okay, lets take the Reiser4 API for pseudo files and merge it into the VFS layer so any file system can use it... As soon as this topic comes up the question is then asked, why? No application uses pseudo files, we don't even know if its a good idea, or if anyone WILL use them in the future. So why would they burden the ENTIRE VFS layer with all this code that is potentially useless?

      Its a chicken and egg problem essentially...

      This is why I suggest allowing Reiser4 into the kernel with its own implementation of pseudo files as an EXPERIMENT, and marking it as such. Its something that can be enabled/disabled easily, and it won't affect anyone NOT using Reiser4 (this seems key to me), so in that regard it is low risk. Doing it this way gives people the opportunity to use pseudo files, see if they are of any actual use in the real world and make a decision from there.

      If they catch on, then by all means they should work on taking the Reiser4 specific API and create a generic VFS layer API to do the same thing so any file system can take part. If they don't catch on, no harm no foul, they didn't modify the entire VFS layer and place every single kernel user at risk of bugs in the process.

      --
      Open Source Time and Attendance, Job Costing a
  17. ZFS: the last word in file systems by Anonymous Coward · · Score: 1, Informative

    From Sun:

    "If you're willing to take on the entire software stack, there's a lot of innovation possible."

    Jeff Bonwick
    Distinguished Engineer
    Chief Architect of ZFS
    Sun Microsystems, Inc.

  18. Like DragonFly by Anonymous Coward · · Score: 0

    You mean like DragonFly BSD, where they're already porting it. More and more I love that project.

  19. Its easier to handle layers mentally by krbvroc1 · · Score: 4, Insightful

    Layers are both easier to code, to understand, and to test. Layers/boundaries between software are your friend. To some degree that is why the Internet, based upon a layered network model (TCP on top of IP on top of Ethernet) is so diverse.

    Layering is what keeps things manageable. One you start getting your software tentacles into several layers you make a mess of things for both yourself and others. Its a tradeoff--complexity/speed vs simplicity/maintainability/interoperability.

    1. Re:Its easier to handle layers mentally by maxume · · Score: 1

      It's still very important to make sure that you have the right layers.

      --
      Nerd rage is the funniest rage.
    2. Re:Its easier to handle layers mentally by Anonymous Coward · · Score: 0

      Sure, and it's quite trivial to define what exact layers are ARP and ICMP. Would ARP be L2 or L3, or is it something in between. How about ICMP: pretending to be L2, but implemented as L3. Both are protocols that exist on one layer, but support other protocols on the same layer in a manner of an underlying layer.

      Please, don't ever offer TCP/IP networking stack as an example of proper layering. Rather point out that this stack violates layering whenever there was a performance/implementation need to do so. ISO stack is layered, and see how widely it is used today.

    3. Re:Its easier to handle layers mentally by ThePhilips · · Score: 1

      ARP & ICMP are not layers - they are part of layer implementations.

      ARP is part of IP over Ethernet implementation. (And of course there are bunch of ARPs - for every physical layer IP runs over.)

      ICMP is part of IP and also used to deliver remote TCP/UDP errors.

      Please, don't ever offer TCP/IP networking stack as an example of proper layering.

      But it is example of "proper layering": layering which (compared to ISO OSI) have stood to test of time. It also really works.

      Your confusion comes from the fact that layers with time have tendency to split into even more layers - to accommodate new requirements. (That's why rigid 7 layer OSI model only worked on paper - never in practice.) Many such splits are getting their own names - largely to promote and help interoperability. Network people like to have a name for everything.

      Though, network layering has little to do with layering inside of kernel OS. Linux has strict layering since its hackers want Linux to remain simple. SunOS/Solaris is well know for breaking all kind of stuff. e.g. Solaris has three levels of multitasking: threads, light weight processes and normal processes. Linux has one. End result? Under Solaris context switch is bitch. Under Linux - it doesn't even register during profiling. Same applied to I/O subsystem: strict balance has to be stroked between disk drivers, file systems and user applications. Breaking layering to optimize for single application is easy (as Solaris 10 did to show off that it runs Apache2 faster) but to provide consistent performance across board is one hell of complicated target. And performance-wise all-so-elite Solaris 10 with its uber-kawl ZFS doesn't come even close to what any non-elite Linux user has on his/her desktop.

      And can anybody explain me why new file system?? And why all the hype? (I understand the hype PR-wise: Sun has barely any outstanding product right now and without hype everybody would forget about Sun pretty quickly.) We under Linux have half dozen of them. Yet as practice have shown that end users care NOT what file system they run. Most people do not know what file system is - they just want place to save their file on. Those who care, can and would choose based of features/support/stability/etc and all the hype for them is just distraction.

      From RTFA:

      ZFS solves a huge number of long-standing problems for users, system administrators, and hardware makers by rejecting decades of entrenched "wisdom" about filesystems and volume management.

      As "long-standing" user, administrator and also developer, I'd like to now the list of the "long-standing" problems. For I haven't had single problem with e.g. ext2 (simplest but feature full fs) for all the time I have used it. Reading Wikipedia's ZFS page I see nothing what ZFS "solves". Looks like another snowball-like agglutination of features - oh so typical to proprietary vendors. I wonder how much jobs would create wider adoption of ZFS.

      --
      All hope abandon ye who enter here.
    4. Re:Its easier to handle layers mentally by Anonymous Coward · · Score: 0

      Look at the TCP pseudo-header for a blatant violating of layering.

  20. Hard to dis by Anonymous Coward · · Score: 0, Insightful

    It's really hard to argue with the claim that Linux is a fundamentally flawed failure of an operating system. It's a nice free tech toy, sure, but when it comes to being an accepted and realistic product, there are a great many reasons to look elsewhere.

    Efforts like Ubuntu, while admirable, are really just polishing a turd. No matter how much paint you slap on it, it's basic nature will not change.

    Someone has to come up with an alternative to Lunis's "work on the kernel and let everything else go to hell" development strategy. Redhat or SUSE could have done so much, but ultimately failed once they started pandering to "the community".

    1. Re:Hard to dis by mrsteveman1 · · Score: 0

      Yea your right Linux is just not ready for anything serious, surely if I were looking for a mainframe system for a government agency or perhaps a bank, i would naturally look to IBM. Whats that? IBM runs Linux on its mainframes?

      Surely thats just complicated tech stuff, it'll never get used in a home device.....er wait....Linksys......Tivo........hmmmmm

      By the way, Ubuntu is crap and will be forever if they keep wasting time on worthless parts of the system, like Gnome, or PS3 integration (its in the bugtracker). Redhat has always been crap, but Suse is the closest we have ever come to a finished usable Linux system, and it's relatively new in novel's hands. By the time vista is capable of running itself without screwing up randomly (i've used it extensively), Suse will be matured to the point that it will compete with vista for all but the most niche uses like games (Which are worthless anyway).

    2. Re:Hard to dis by init100 · · Score: 4, Informative

      It's a nice free tech toy, sure, but when it comes to being an accepted and realistic product, there are a great many reasons to look elsewhere.

      You're right, that's why nobody is using Linux for real systems.</sarcasm>

    3. Re:Hard to dis by Anonymous Coward · · Score: 0, Troll

      By the time vista is capable of running itself without screwing up randomly (i've used it extensively), Suse will be matured to the point that it will compete with vista for all but the most niche uses like games (Which are worthless anyway).


      You have exposed quite a bit about how little you know about operating systems.

      The problems with Vista have nothing to do with the product, which is quite stable and secure (definitely moreso of the latter than OSX or Lunix, which are trivially easy for hackers to penetrate). Vista's problem is with drivers, and that has nothing to do with Microsoft (since they don't create the hardware).

      The hardware manufacturers had over a year to get Vista-compatible, since Vista had actually been in released to corporate customers since last year. But instead, a majority of companies simply assumed their XP drivers would work... and so we see, as usual, what ASSuming things does.

      I would expect this shoddy driver support out of ATI, since they have always been pretty disappointing. But nVidia is a true disappointment, since their driver support had always been top-notch until now.

      As for your other statement, it's pretty silly to expect Novell (2 L's) to succeed where Suse failed. After all, in their hands, NetWare has continued to be a failure, Word Perfect has continuted to be a failure, and essentially everything they touch gets transmogrified by Novell's fecal Midas touch.

      Expecting Novell to turn around a Lunix distro is so absurd as to be outright laughable. Suse has not gotten anywhere in years, and Lunix is STILL chasing Windows 95's tail lights. As I said, you can continue to polish that turd, but it's unhealthy to expect it to shine. And downright dishonest trying to convince anyone else that it will.
    4. Re:Hard to dis by mackyrae · · Score: 2, Interesting

      Uh, Unices aren't that easy to hack if you set it to block connection attempts from outside sources that get the root password wrong say..5 times. You can't password crack in that time. Then again, Macs and Ubuntu disable root by default so they have to guess username AND password. So, no, Vista's probably not more secure than Unices. Linux and Vista have the SAME problem. Drivers for both are in limited supply.

      --
      look! it's a bird, it's a plane, it's....a girl? yes, a girl browsing Slashdot on Linux
    5. Re:Hard to dis by TheNetAvenger · · Score: 2, Informative

      I would expect this shoddy driver support out of ATI, since they have always been pretty disappointing. But nVidia is a true disappointment, since their driver support had always been top-notch until now.


      As a PS...

      For Vista - NVidia and ATI had to write the entire driver from scratch. From GPU Scheduling, RAM Virtualization to tons of other Vista features of the WDDM, make the leap quite significant.

      However the thing people don't see to understand, even if you have Video card that has a crap driver available for it, just install the XP driver. You lose the WDDM and Aero concepts, but Vista works just like XP and will give you back the same quality and experience for Video.

      So all the people whining about not moving to Vista because of the video driver problems are really not too bright. They can be running the same XP driver on Vista that they are using now, but have the other features of Vista. Then when NVidia and ATI get all the bugs out of the Vista driver version, move up to the cooler new driver features Vista offers in the WDDM Video subsystem.

    6. Re:Hard to dis by TheNetAvenger · · Score: 1

      Linux and Vista have the SAME problem. Drivers for both are in limited supply.

      Not when you consider 99.9% of all Win2k & WinXP drivers work just fine in Vista.

      Even all the users complaining about the Video drivers not being up to snuff yet, they can just install the XP drivers, as Vista still supports the legacy XP Video subsystem and driver model.

      This is why people stating they won't move to Vista from XP because of video is a stupid argument, as they can run their XP drivers on Vista now and wait until the Vista drivers get ironed out by ATI/NVidia.

    7. Re:Hard to dis by Anonymous Coward · · Score: 0

      give a chimp a small vocabulary, and the forthcoming logic is almost intelligible.

      nice try, bobo.

    8. Re:Hard to dis by Jessta · · Score: 1

      Why would you ever allow remote root login?
      su and sudo are your friends, use them wisely.

      --
      ...and that is all I have to say about that.
      http://jessta.id.au
    9. Re:Hard to dis by Anonymous Coward · · Score: 0

      Wow.

      Linux on top 500.
      Windows on bottom 1000000000.

      Get realistic.

    10. Re:Hard to dis by makomk · · Score: 1

      Not when you consider 99.9% of all Win2k & WinXP drivers work just fine in Vista.

      You'd hope so, anyway. I had an... interesting discovery when I was looking for information on Vista compatibility of my hardware. It looks like people haven't been able to get the USB WLAN dongle I was using (Netgear WG111) working under Vista. However, the Windows XP driver works fine under Linux using ndiswrapper...

    11. Re:Hard to dis by Delkster · · Score: 1

      Who's modding this up as informative?

      I mean, there's a thing called information, but I don't think false information counts in this case. The parent post is 99% opinions, and where they could be counted as "information", they're mostly false. (You need to have quite interesting a perspective to say that Linux, conveniently misspelled for trolling purposes, is "chasing Windows 95's tail lights" (emphasis mine))

      Gentlemen, this is a genuine troll, not something that's supposed to be modded "informative". AC clearly knows too much about OSes to have the opinion he expresses.

    12. Re:Hard to dis by DrSkwid · · Score: 1

      The OP should have said GNU/Linux for once !

      --
      There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
    13. Re:Hard to dis by DrSkwid · · Score: 1

      Lunix is the name commonly used for the Unix derivatives : Unix, BSDs, Linux, Tru64 etc. and sometimes Solaris, OSX
      Its amusing "looney" connotations is derived from the fact that you'd have to be looney to think they are anything approaching adequate, much less "great".

      Choosing between them is like choosing which bullet to get shot by.

      --
      There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
    14. Re:Hard to dis by Antique+Geekmeister · · Score: 1

      For several reasons:

      1: If your user authentication is network based, and your LDAP or Kerberos or whatever system goes down, being able to get in as root and fix the issue is very handy.

      2: Maintaining local user accounts is pesky: see above for what happens when you lose network loser access.

      3: The "passwd" command still doesn't have a way to register an *encrypted* password to ease secure local user password management.

      4: Badly written remote system management tools that use SSH for system-wide pushing of configurations or scanning of systems often require direct root access. Sad, but true: I've seen and given thumbs down to a lot of these, but been forced twice to use them over my direct rejection of the tools.

    15. Re:Hard to dis by Eon78 · · Score: 1

      Gp comment still goes: use a normal, local account and then sudo. If you configure your access policies correctly losing the network will still allow you to log in with any locally defined user.

    16. Re:Hard to dis by Delkster · · Score: 1

      Considering that earlier in the thread an AC commented on someone called "Lunis", it's hard to take the "Lunix" in GP (posted possibly, but not necessarily, by a different AC) as a generic reference to *nix systems rather than a trollish "looney" reference.

      The rest of your post isn't worth touching with a ten-foot pole.

    17. Re:Hard to dis by Anonymous Coward · · Score: 0

      Sorry, I have my opinion BECAUSE I know so much about OS's.

      Ways that Lunix is chasing Windows 95's tail lights:
      * Plug and Play- auto detection and auto configuration of hardware
      * installing... pretty much anything. A zillion times easier in Windows 95. Heck, even fricken APACHE doesn't install right on most distros. I as a user should never be required to manually move files around and change config files just to get an application to work.

      Actually, there is more, but I have to go. The real world is making demands on my time. Be back later to expand the list.

    18. Re:Hard to dis by Anonymous Coward · · Score: 0

      I'm just wondering, do you get paid to astroturf per post, or per the post's content?

      I'm just wondering because if you get paid by post, I'd fire you for trying to get paid for no real effort, and if you get paid by content, try a little harder, food prices are rising and inane little comments like that aren't gonna pay the bills.

    19. Re:Hard to dis by Antique+Geekmeister · · Score: 1

      Now *manage* those locally defined users. It's quite a lot of work.

    20. Re:Hard to dis by jeremyp · · Score: 1

      A zillion times easier in Windows 95. Heck, even fricken APACHE doesn't install right on most distros.
      Perhaps the AC can tell me what industrial strength web servers are available for Windows 95 and how easy they are to install.
      --
      All I want is a secure system where it's easy to do anything I want. Is that too much to ask ~~ Randall Munroe
    21. Re:Hard to dis by ultranova · · Score: 1

      However the thing people don't see to understand, even if you have Video card that has a crap driver available for it, just install the XP driver. You lose the WDDM and Aero concepts, but Vista works just like XP and will give you back the same quality and experience for Video.

      If it works just like XP, why update ? What do you gain from it ?

      So all the people whining about not moving to Vista because of the video driver problems are really not too bright. They can be running the same XP driver on Vista that they are using now, but have the other features of Vista.

      Does Vista have any new features besides Aero and DRM ? I'm not trying to flamebait; I just seem to recall every feature Longhorn was supposed to support being dropped on the way until only Aero and DRM were left.

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

    22. Re:Hard to dis by Targon · · Score: 1

      It's clear that you don't understand layers from this post. The idea that the kernel is the heart of the operating system and everything else sits on top of it really makes sense. The part of Linux that you don't like is the GNU layer that sits on top of it which provides most of the things YOU seem to think of as Linux.

      So, look at the basic Linux design again. You have the hardware, and the kernel talks to the hardware(with drivers which handle the different hardware components). On top of the kernel you have applications, and on top of those you have plugins. Nice and simple, and if you break something above the kernel, the entire system won't die, just that one part that broke(and what sits on top of it). As time goes on, new things get added to the kernel for various features that people want.

      Now, Linux may not be a huge commercial thing, but there are an increasing number of areas where Linux would do as well if not better than a Windows based machine. Linux allows the person who does the install to select what components to add and what not to add. This lets the machine run a LOT cleaner than any Microsoft OS because you don't NEED to install all the junk you have no interest in. Why automatically add CD/DVD burning support if the machine doesn't have a burner? Why install wireless support on a machine without a wireless network card(Wireless Zero Configuration turned on in Windows XP even when most computers didn't have wireless)? If what you are doing with the machine doesn't use a GUI, you really don't need to install one that drains processor power. The layers are there for a reason, you don't need to install what you don't need, and in business, this means workstations that don't break as often.

      Linux may not do EVERYTHING that MS Windows does, but that doesn't make it a failure. In fact, more businesses SHOULD have certain areas of the business running Linux, since Linux is less prone to breaking if the employees are not inspired to mess with things.

  21. Authoritarianism by Mazin07 · · Score: 0

    Linux is like sending a herd of Roombas into the Louvre and hoping that statistically, most of the floor is covered. They need somebody to run the whole thing and say stuff like, "USB drivers, get your act together. Now!" "We're using Qt. GNOME, shut up." "This is what you're gonna use for HTML rendering. Tough luck." "You guys have five days to make a decent UI before I firebomb your house."

    1. Re:Authoritarianism by Grant_Watson · · Score: 1

      That's what distros are for-- to make those sorts of decisions.

  22. Linux does not think by Mad+Quacker · · Score: 4, Insightful

    Open source software gets better because new people want new features to which they contribute. You can't blame Andrew Morton for disliking what ZFS is going to do, this is just how people work. This is why they say you can't teach an old dog new tricks.

    That said ZFS is one of the coolest things to happen to your files in a long time. The current disk block device usage is basically the same from the beginning of computing, it is ancient and actually quite stupid. Over decades layers keep getting added to it to make it more robust, but really it's a monstrosity. Partitions are dumb, LVM is dumb, disk block RAID is dumb, monolithic filesystems are dumb. All the current linux filesystems should be thrown out.

    I don't want to care how big my partitions are, what level parity protection my disks have, or any of that junk. I want to add or remove storage hardware whenever I want, and I want my files bit-exact, and I want to choose at will for each file what the speed vs protection from hardware failure is. Why shouldn't one file be mirrored, the next be stripped, and the next have parity or double parity protection? Why can't very, very important files have two or three mirrors?

    From the current status of ZFS however I think this could be quickly built using GPL 2+ by one or two determined people, and it would involve gutting the linux file systems.

    --
    "I don't know that atheists should be considered citizens, nor should they be considered patriots." George HW Bush
    1. Re:Linux does not think by archen · · Score: 1

      Having watched the tech demo about ZFS I have to say it's pretty awesome technology. However I can see their point about the layering. FreeBSD recently added support for ZFS, but from my understanding it will basically put UFS on top of ZFS. I guess the idea there is that if you can Add/Remove volumes and such in a manner that is okay with files, then a file system on top of it would be okay too. That strikes me as a sort of disappointing approach to the problem since I'd like to see all Unixes adopt ZFS natively so I can share drives with my Mac/Linux/BSD easily. It does look like DragonFly BSD may fully incorporate this technology so I guess we may actually get proof if using ZFS top to bottom really yields as many benefits as they say.

    2. Re:Linux does not think by the_womble · · Score: 1

      If anyone actually read the emails, Andrew Morton does not say ZFS is bad - he says "although it is a rampant layering violation...", in the context of criticising the current Linux file systems.

    3. Re:Linux does not think by einhverfr · · Score: 1

      FWIW, I agree that the current block/disk paradigm needs an overhaul at least for higher-end systems but I don't think that doing away with layers shared between the filesystems is the way to do it. The block paradigm has stayed the same because it works very well for most tasks and I don't see it going away for desktops, low-end servers, and the like.

      However, for higher-end devices (large RAID arrays, SAN nodes and the like) you have a number of issues which are not adequately handled in the current approach. Many of these problems are not even solved by ZFS (such as concurrent access to a SAN node by two different nodes on a cluster over a logically shared iSCSI bus).

      I think that for these higher-end systems, the future lies in the new OSD standard. OSD is an extension on the SCSI command-set which would allow for drives which manage their own storage (essentially from the inodes on down). An OSD device would look less like a block device and more like black box of inodes which the OS would have to request by identifier. The OS's filesystem would still have to do things like directory name resolution and other functions in the top half of the filesystem layer.

      But think about it: a RAID 5 controller could present itself as an OSD device and do all the new features that everyone is touting from ZFS because the OS would not have to know in any detail *how* it does it. You could even put that RAID 5 array on a SAN node, abstract it behind OSD and allow for two different nodes in the cluster to access the same data at the same time with little or no concern over filesystem corruption and with a minimum of DLM work (so it should perform better than GFS).

      --

      LedgerSMB: Open source Accounting/ERP
    4. Re:Linux does not think by Phantom+Gremlin · · Score: 1

      My concern about having drive vendors implement this is they will try to do it with $2 hardware. They'll put a souped up 8048 in there. Then everyone will wonder why the damn thing is so slow. (I'm exaggerating, but just a little).

    5. Re:Linux does not think by einhverfr · · Score: 1

      Again, I am not talking about consumer hardware here. If you want to implement OSD inside a computer, you really have to go with some sort of SCSI bus, so you can't do it with $2 hardware. THe reason is that the hard drive has to be able to accept SCSI commands.

      At this point, it is practical for high-end RAID arrays and iSCSI nodes to implement this sort of encapsulation. It would require some extensions to the SCSI handling in the Linux kernel but not much.

      --

      LedgerSMB: Open source Accounting/ERP
    6. Re:Linux does not think by Mad+Quacker · · Score: 1

      FWIW, I agree that the current block/disk paradigm needs an overhaul at least for higher-end systems but I don't think that doing away with layers shared between the filesystems is the way to do it. The block paradigm has stayed the same because it works very well for most tasks and I don't see it going away for desktops, low-end servers, and the like.


      Absolutely not! desktops and low-end servers is where this overhaul is even more necessary. Think about all the extra overhead dealing with fixed filesystems, partitions, and block devices right now. Theoretically if I want more storage, I should just add another block device. Data protection should take place regardless of all this, there should be no need to explicitly move blocks, create or destroy filesystems, make raid arrays, restripe raid arrays, add mirror disks, etc. A bit of filesystem corruption or a disk going bad should never mean I have lost all my data, it should mean such files that are missing blocks are marked as bad (and the computer knows this, i.e. ZFS) and any files that are still readable are marked as good. RAID is becoming more popular now with almost every low-end motherboard supporting at least raid 1 and 0, so people want are buying multiple disks and want the benefits the benefits associated with it, but the data-storage feature set is still from 1970. Filesystems as an idea should become as quaint as punch cards.

      FYI MythTV users are going to get a taste of this soon, since current SVN supports storage groups. You lose a disk in the storage group, doesn't really matter that much, only those files are gone. All the overhead of dealing with arrays is gone. Need more storage, add another disk. Disk goes bad? No biggie, re-record the shows. (or you could really even make a mirror of important data on another disk, on a per file basis) Granted this is one of the simplest possible implementations of this idea and builds on existed layers, but extremely cool.
      --
      "I don't know that atheists should be considered citizens, nor should they be considered patriots." George HW Bush
    7. Re:Linux does not think by einhverfr · · Score: 1

      THe OSD standard would not work in your case except where you have dedicated controllers which provide that abstraction (the RAID controller idea I mentioned before, for example).

      The idea is to replace the block device with something which is internally more intelligent. This way you can solve nasty problems inside the device that are difficult to solve outside it (shared access between computers, stripe corruption due to incomplete writes, transactional writes, etc).

      Secondly, your proposal is not much different than the VFS layer that exists already. Lost a disk? Only the files on that mountpoint are gone. In short, that is already here and it solves an entirely different set of problems. Nor is it a replacement for the block device model as you put because you are still adding block devices to your system.

      --

      LedgerSMB: Open source Accounting/ERP
  23. On Apple by Anonymous Coward · · Score: 0

    " Siracusa ultimately believes that the ability to achieve such a break is more likely to emerge within an authoritative, top-down organization than from a grass-roots, fractious community such as Linux"

    ie. Apple

  24. It sounds cool, but I think I like the layers more by DaleGlass · · Score: 2, Interesting

    Layers might not be ideal, but they're consistent. The filesystem does its part, RAID/LVM does its own, etc.

    ZFS seems to want to take all over the disk subsystem. Why? Is there a reason why it needs its own snapshot capabilities, instead of just using LVM?

    These sorts of things always smell fishy to me, due to a feeling that once you start using it, it locks you in more and more until you're doing it all in this new wonderful way that's incompatible with everything else. Even though it's open source, it's still inconvenient.

    This approach reminds me a lot of DJB's software: If you try to get djbdns you'll be also strongly suggested to use daemontools as well. The resulting system is rather unlike anything else, and a reason why many people avoid DJB's software.

  25. Re:Hey! by ZSO · · Score: 1, Funny

    Please remove yourself from the internet.

    --
    "God deliver us from our friends, we can handle the enemy." -Patton
  26. Re:Hey! by Daniel+Phillips · · Score: 5, Interesting

    Lovely biting sarcasm aside, to be honest, our storage layering in Linux leaves much to be desired. As witness the slow pace of improvement of the volume manager in recent years. This does not prove that layering is bad, but it suggests that our current conception of layering sucks pretty badly. For example, we are burdened with a ridiculously complex interface between application programs and kernel-level volume management support. Managed volumes live off in their own name space. Why can't I say "/dev/hda, you are now snapshotted, shazam"?. No, instead I have change my system over to use /dev/mapper/snapshotted-hda or some such nonsense. Similarly, we are unable to manage all block devices using the same administration interface. No higher level raid integrated with the volume manager, instead this is a separate subsystem that fights a lot with LVM. Partition support hopelessly misfactored and broken. It goes on and on. Nothing unfixable but lots of unfixed brokenness. Compared to this mess, Sun's massive layering violations seem like a breath of fresh air.

    But the thing to do is fix our broken implementation of layering and not be fooled into thinking that layers are bad. What is bad is exactly as the author here claims: it is bad to have no powerful capability to cross layer boundaries so that applications see a simple, powerful model instead of the current situation, where one's face is constantly rubbed in the minutae of layering administrivia. ZFS actually has layering, it just bypasses some traditional Unix subsystems and takes care of the functionality itself. But is wrong to conclude that this must therefore be the optimal approach just because it improves on the mess that preceded it. If ZFS internal interfaces are worth using, then they are worth using as core interfaces, not ZFS-only interfaces. Translated into Linux terms, the implication is that it is high time to get busy and rectify some of the serious deficiencies in our storage model. Not by mashing all the layers together, but by teaching them how to get along more efficiently and powerfully, and not be so layered that important things don't even work.

    Note: perhaps the biggest design distinction between Linux and other Unixen is that, internally Linux is all just one big flat function space where anything can call anything else and share any data. This is said to be a reason why Linux is more efficient than, say, the Mach kernel with its microkernel layering. If being all one big hairball of functions is good for memory management, vfs, scheduling and so on, then why is it not also good for volume management? I don't know the answer to this, but I do know that we have plenty of bogus layering in our storage stack that has really slowed progress in recent years and needs a good dunging out. Any nonbogus layering can stay.

    --
    Have you got your LWN subscription yet?
  27. holistic vs mess by nanosquid · · Score: 1, Interesting

    UNIX and Linux design is quite holistic: features are often added at various levels of the system in order to make a whole work out. For example, desktop search support had both user and kernel space components, Beryl/Compiz-style interfaces have triggered changes in Gnome, X11, and the kernel, etc.

    UNIX and Linux have been careful about avoiding simplistic designs. ZFS is a simple, obvious answer to a problem: just pack all the functionality into one big codeball and start hacking. Microsoft does a lot of the same thing in Windows and Apple in OS X. It gives companies great time-to-market and long, impressive feature lists. It's also creates a mess. Microsoft, Apple, and Sun each have several iterations under their belts where they start off like that, then the system bloats, and finally collapses, causing the company to start over again from scratch or just abandon the market altogether.

    Thanks, we know about the kind of "holistic" that these people are implementing, and we don't want it.

    (And, frankly, I think Sun isn't really a UNIX company anymore; their system may still be UNIX compatible, but they stopped following the UNIX philosophy long ago.)

    1. Re:holistic vs mess by Wesley+Felter · · Score: 1

      UNIX and Linux design is quite holistic: features are often added at various levels of the system in order to make a whole work out. For example, desktop search support had both user and kernel space components, Beryl/Compiz-style interfaces have triggered changes in Gnome, X11, and the kernel, etc.

      Those are anomalies. For every new cross-cutting change that has been made, there are many that have not been made because the relevant people can't agree. For example: sound, network configuration management, safe fast user switching, multiconsole, etc.

    2. Re:holistic vs mess by Frodo+Crockett · · Score: 1

      UNIX and Linux have been careful about avoiding simplistic designs. ZFS is a simple, obvious answer to a problem: just pack all the functionality into one big codeball and start hacking.

      Wrong, wrong, and wrong. Why don't you read about something before you start shooting your mouth off? ZFS is layered. You can even, y'know, read the source before you start making ignorant claims. I guess this wouldn't be Slashdot if people did that, though.

      --
      "The newly born animals are then whisked off for a quick run through a giant baking oven." --heard on Food Network
    3. Re:holistic vs mess by fimbulvetr · · Score: 1

      Bullshit.

      They are the norm. For instance, consider d-bus. We couldn't have things like email notifcations, calendar notifications, auto-IM-away status, etc, until D-bus was in place.

      Also, consider udev, where after it's introduction, all sorts of cool and more sane things started manifesting themselves.

      Indeed, HAL is also an exceptional example, with removable storage, etc.

      Stop with the FUD.

    4. Re:holistic vs mess by fimbulvetr · · Score: 1

      Oh, I see, it's just every single linux kernel dev that is wrong, and the one random guy on slashdot is correct.

    5. Re:holistic vs mess by kolpackov · · Score: 1

      I remember when DTrace was all the hype, I read an article Sun engineers published about the architecture. One thing that shocked me was how much stuff they had to touch in order to support this. One thing, AFAICR, was a really ugly hack in the linker so I asked on one of the Sun's forums if they feel a bit dirty after all these changes across the layers. They couldn't understand what I was talking about. They kept telling me that it is really reliable, they tested it very well, and I shouldn't worry.

    6. Re:holistic vs mess by Super_Z · · Score: 1

      Oh, I see, it's just every single linux kernel dev that is wrong, and the one random guy on slashdot is correct.
      You are replying to a fact-based argument with a faith-based one?
    7. Re:holistic vs mess by fimbulvetr · · Score: 1

      No, I've read the developers responses, and I fully agree with layering and the direction the kernel is currently going. You'll find no faith here.

  28. a niche player for ever by baomike · · Score: 1

    >

    Without being able to reach across layer, linux will never be able to accept viruii/worms like the other well known OS and will therefore remain a niche player. If your browser can infect the kernel the guys in RU just ain't gonna let it happen.

  29. That's fine by Sycraft-fu · · Score: 4, Insightful

    But the OSI layers are guidelines that help design things, not rigid levels that must be maintained. They are mixed up ALL the time. As a simple example, see Layer-3 switches. These are devices that simultaneously work at Layer 2 and 3 when it comes to dealing with traffic. They break down the traditional view of a separate router and switch, and they are good at what they do. There's plenty of stuff at the high end that's similar. Many things that are part of the presentation layer are actually done by the application (like encryption in SSH) and so on.

    There's nothing wrong with having a layered design philosophy as it can help people decide what their product needs to do, and what it needs to talk to. For example if I am designing an application that works over TCP/IP, I really don't need to worry about anything under layer 4 or 5. However it shouldn't be this rigid thing that each layer must remain separate, and anything that combines them is bad. I don't need to, and shouldn't, take the idea that my app can't do anything that would technically be Layer 6 itself. Likewise in other situations I might find that TCP just doesn't work and I need to use UDP instead, but still have a session which I handle in my own code (games often do this).

    Had we stuck to the OSI model as a maximum, rather than a guiding principle, with the Internet, it probably wouldn't have scaled to the point we have now.

    1. Re:That's fine by krbvroc1 · · Score: 1

      But the OSI layers are guidelines that help design things, not rigid levels that must be maintained. They are mixed up ALL the time. As a simple example, see Layer-3 switches. To be fair, I never claimed it was a hard rule. In fact, the last sentence of my post was "Its a tradeoff--complexity/speed vs simplicity/maintainability/interoperability."

      In some applications, such as a Layer 3 switch, the designers don't adhere to the guidelines per se. However this is more of an implementation detail in order to manage things or get the throughput required for real-time performance.

      You are correct that its just a guideline. But it is a guideline that if followed does provide the advantages I mentioned. Reducing complexity, especially in an open source project where many many programmers will need to understand and modify the code, is an important goal.
    2. Re:That's fine by einhverfr · · Score: 3, Insightful

      Evidently you have never really followed the development of OSI. The only reason they are taught as "guidelines" today is that the OSI stacks that intended to implement it fell flat because they were horribly bloated monstrosities which solved all the wrong problems in all the wrong ways and took too long to get to market. On the other hand, the TCP/IP 4-layer model is actually pretty strict (as the OSI model was designed to be).

      Just to provide some context, the OSI initiative was an attempt by the UN ITU and other bodies to create an ultimate convergence network capable of adequately handling data and voice across the same physical links. Many of the layers in the OSI protocol diagram (such as the data link layer) are designed to merge circuit-switched and packet-switched paradigms. The idea was that if you can provide the flexibility to create virtual circuits for voice traffic and still handle packets with the remaining bandwidth, you would not need separate network access points for your internet and voice traffic. Many of the OSI protocols (such as H.323) assume that such virtual circtuits are available which is why they are so cumbersome over TCP/IP.

      I personally think that the OSI board designed the wrong kind of network for the wrong kind of problems. It is better to have a TCP/IP model, perhaps multiplexed with voice over ATM than to have intimate integration between such fundamentally different services. I also think that if people are going to teach the OSI model, they need to also teach the OSI design goals and those protocols which are still based on it: X.400, X.500 (and LDAP, which is basically X.500 over TCP/IP), X.509 (and hence SSL), H.323, T.120, and ASN.1.

      Most of the time, when people start getting experience with these protocols they run screaming from anything OSI ;-)

      --

      LedgerSMB: Open source Accounting/ERP
    3. Re:That's fine by dodobh · · Score: 1

      A L3 device *IS* a router. Just because it's a router with lots of ethernet ports doesn't make it a switch.

      --
      I can throw myself at the ground, and miss.
  30. troll? by buttle2000 · · Score: 0, Redundant

    With a name like Siracusa, one might think so.

  31. Anyone read what Andrew Morton actually said? by Anonymous Coward · · Score: 4, Insightful

    "I mean, although ZFS is a rampant layering violation and we can do a lot of
      the things in there (without doing it all in the fs!) I don't think we can
      do all of it." http://lkml.org/lkml/2006/6/9/409

    It sounds like his main point was pointing out problems with the current file system, rather than saying ZFS is bad. I bet he simply thinks they should try to implement a much better file system than ext3 without breaking the current layering scheme. I don't see why this is so bad. Why not try it, and if it fails miserably, ZFS is already here.

    I think the author of the article took everything out of context and was just looking for some ammo against Linux. His blog post sucked. He just says the same crap that everyone always says. I'm not saying there are no problems, but I don't see how any of the problems relate to Andrew Morton saying the Linux file systems need to be upgraded/replaced.

  32. Re:Hey! by Goaway · · Score: 1, Informative

    You have no clue at all what this article is about.

  33. Blah by Peaker · · Score: 1

    Try Ubuntu/Kubuntu.

    They don't strip away your choices, but they sure dumb them down so unless you really want to - you are not aware of having to make any decision.

    Linux is ready for the desktop - and it is already in many desktops.
    Many people don't use it not because its not ready, but because they don't know how to burn a CD, how to boot from it, what "installing an OS" means, and because they are afraid. Not because Linux "is not ready" and any of that nonsense.

    1. Re:Blah by msimm · · Score: 1

      I've been using Linux on the desktop for over 8 years and in the server room professionally along side Solaris and a few Windows boxes.

      A) Users shouldn't have to know how to burn an OS disk.
      B) They shouldn't have to know how to boot from one (sorry, but it's true even if Microsoft uses it's advantage to force itself to be preinstalled).
      C) Users should *NEVER* have cause to edit a file by hand.
      D) Drivers should be supported with a stable API.
      E) A DE should be seamless, simple, clear and UI functionality should be consistent across applications.
      F) Any common task should be achievable with a clear and simple GUI utility.

      I like KDE personally, a lot. But seamless, simple and clear it is not. I'd call it simplish and somewhat clear. But to be seamless would require reaching well beyond KDE's scope. A Linux desktop if made up of a number of layers, a number of programs each of which adheres to its programmer or programmers own ideas. There is no broader unified vision.

      --
      Quack, quack.
    2. Re:Blah by Peaker · · Score: 1

      A) Users shouldn't have to know how to burn an OS disk.

      I think burning a disk, whether it is an OS disk or not, should be a trivial drag&drop task. But I agree that it should not be necessary for installation, in an ideal world.

      B) They shouldn't have to know how to boot from one (sorry, but it's true even if Microsoft uses it's advantage to force itself to be preinstalled).
      In an ideal world, I agree again. But its quite hard to create an installer that runs directly from Windows (though some distributions showed it was feasible). Maybe you are right and this is an important direction to persue.

      C) Users should *NEVER* have cause to edit a file by hand.

      In an ideal world, that is true. But GUI tools to edit everything do not exist. Not in the Linux world, and not in Microsoft world. That's why users still (rarely) have to edit the registry, and (rarely) have to edit config files.
      There are fewer and fewer cases of this though, and usually only niche-users have to do it, and even then, there are very verbose howto's that explain, almost at the keystroke level, what to do and how to do it.

      D) Drivers should be supported with a stable API.

      I am not sure how this is relevant, but I believe that the tradeoff between functionality and API stability is already at a reasonable place.

      E) A DE should be seamless, simple, clear and UI functionality should be consistent across applications.

      KDE has reached a far further point than Windows at this point. KDE applications are far more consistent than Windows equivalents.

      F) Any common task should be achievable with a clear and simple GUI utility.

      Already there. Or do you have some counter-examples?

      I like KDE personally, a lot. But seamless, simple and clear it is not. I'd call it simplish and somewhat clear. But to be seamless would require reaching well beyond KDE's scope. A Linux desktop if made up of a number of layers, a number of programs each of which adheres to its programmer or programmers own ideas. There is no broader unified vision.

      I disagree. There's a "broader vision", and that's the job of the integrator: The "distribution". They send patches to all layers upstream. They write KDE/Gnome GUI utils where they are lacking, to manage their distribution's lower layers. They request, patch or fix the lower layers so they play nice with the requirements of the higher layers.

      Distributions stand between the thousands upon thousands of developers as one integrating entity so that the user only sees one centralized entity.
      He only has to trust one entity with his application downloads (as opposed to each and every installation site he downloads from).
      He only has one entity to which it has to turn in order to file bugs and requests, in a familiar fashion.
      Consistency is reached across different developers and environments.

      That's why distributions are so important, and I am glad that the development model evolved such that they exist - though it may have been an inevitable consequence in any case :-)
    3. Re:Blah by mishagam · · Score: 1

      F) Any common task should be achievable with a clear and simple GUI utility.
      Already there. Or do you have some counter-examples? You are joking, right?
      Just recently - tried to add second head monitor - In windows Go Display/preferences/check button.
      In Ubuntu - edit cryptic config files, several not working config utilities, nothing remotely resembling windows config panel in functionality.
      Generally parent post is clear example of Linux inferiority complex.
    4. Re:Blah by Peaker · · Score: 1

      You are joking, right?
        Just recently - tried to add second head monitor - In windows Go Display/preferences/check button.
        In Ubuntu - edit cryptic config files, several not working config utilities, nothing remotely resembling windows config panel in functionality.
        Generally parent post is clear example of Linux inferiority complex.

      You realize this is a video driver issue in both Linux and Windows?
      I did the same, and just clicked "nvidia settings", and it has a real nice GUI of what to do with my other monitors (should they overlap, be side-by-side, etc).

      Windows offers this through a video driver interface and not a built-in interface as well.

      In any case, I am not sure how "common" a task this is, but its already got GUI's for the most prominent video hardware.
    5. Re:Blah by pedestrian+crossing · · Score: 1

      In Ubuntu - edit cryptic config files, several not working config utilities, nothing remotely resembling windows config panel in functionality.

      Others have pointed out that you are wrong about that, but it brings to mind another issue.

      I have had experiences where I needed to tweak xorg.conf to make something work correctly. In those cases, I found that the added complexity of having to edit a config file was offset by the completeness of the logging in the log file.

      In other words, in the rare cases where things don't just work out of the box, there was enough information provided in the log file to tell you exactly what was going on and point you to a solution in the config file.

      That is the complete opposite of my experience with Windows, where, if something doesn't work, you don't have much (or any!) information to troubleshoot the problem.

      Not much of an advantage for Joe Six-Pack, but awesome for the geek who is lending Joe a hand with his computer...

      --
      A house divided against itself cannot stand.
    6. Re:Blah by msimm · · Score: 1

      I like your tone. I'm used to getting barked at when I go against the grain. The reason for the API regarding drivers is hardware support. We can hold our breath until we turn blue, but propriety drivers *are* currently a reality. The kernel developers have made a choice not to support this, but while in the short-term, idealism may seem to be the winner, the fact is non-religious users would be the loser. Choice, in fact, is the loser.

      As for installing/burning you seem to kind of be heading in the same direction. People pay me to make their systems work. So in a way, it's my job to see to it that regular users have an optimal (acceptable by todays standards..) experience. If I gave a user blank hardware and a URL I would out of a job quicker then anything. Hell, I'd fire myself. I don't think it's so much ideal. People expect things these days and I have to say, I don't think it's that unreasonable.

      Registery vs. text files.. if only it were that simple. The fact is, when I *HAVE* to work on the registry for a Windows user, it's because something has really gone wrong. They need me and that's fine, that's what I get paid for. But day to day use? No. Linux? ..yes. There is no good equivalent to the control panel when using Linux. There have been some interesting attempts. But nothing that so clearly masks the complexity of a computer. Users aren't stupid, they just don't want to have to know how to do some things (I can't work on a car to save my life, I don't have unlimited time to learn things that are not going to be my focus).

      KDE. I do love KDE. Just not *that* much. What I said was comprehensive and that is well beyond KDE's scope. A GUI should feel like the only available layer. It defines the operating system. Who cares if its not true? It should work and feel that way to people who don't want to get in and muck around. In the end the operating system is a tool, today, it's expected to be a graphics tool. Ordinary users don't care that you can create amazingly useful perl/bash/python/csh scripts. Their not interested in the details of the compilers. They want consistency. They want to be tired and in a hurry and be able to sleep walk through their interaction. Not *everyone* should be a compsci student. We need the rest of them too. And it turns out THEY use computers almost as much as we do. (:

      --
      Quack, quack.
    7. Re:Blah by Peaker · · Score: 1

      I like your tone. I'm used to getting barked at when I go against the grain. The reason for the API regarding drivers is hardware support. We can hold our breath until we turn blue, but propriety drivers *are* currently a reality. The kernel developers have made a choice not to support this, but while in the short-term, idealism may seem to be the winner, the fact is non-religious users would be the loser. Choice, in fact, is the loser.

      I think it seems like "idealism" at first sight. But it is quite a pragmatic view if you consider it more thouroughly. Closed-source drivers are not just damaging our abstract conceptual "freedom", they truly make thing harder. They make it harder to fix problems and improve the system. They harm Linux in many more direct ways than just the abstract "freedom" reduction.
      Discouraging non-free drivers has really prevented many closed drivers from reaching Linux, but this resulted in more open-source drivers, and in a more efficient model, that can even break compatibility where its worth the gains, once in a while. Its a pragmatic win, not an idealistic one. And the "ideal" seems to be winning too, in the long-term. Hardware support is better than ever, and there still are very few closed-source drivers.

      As for installing/burning you seem to kind of be heading in the same direction. People pay me to make their systems work. So in a way, it's my job to see to it that regular users have an optimal (acceptable by todays standards..) experience. If I gave a user blank hardware and a URL I would out of a job quicker then anything. Hell, I'd fire myself. I don't think it's so much ideal. People expect things these days and I have to say, I don't think it's that unreasonable.

      Don't give them blank hardware, give them Linux-installed hardware, ofcourse. But as far as installers go, Linux has done a great job and is now truly easier than a Windows install. The main improvement still lacking is an installer than can run on top of Windows so it only involves a few clicks/reboots from Windows to install Linux.

      Registery vs. text files.. if only it were that simple. The fact is, when I *HAVE* to work on the registry for a Windows user, it's because something has really gone wrong. They need me and that's fine, that's what I get paid for. But day to day use? No. Linux? ..yes. There is no good equivalent to the control panel when using Linux. There have been some interesting attempts. But nothing that so clearly masks the complexity of a computer. Users aren't stupid, they just don't want to have to know how to do some things (I can't work on a car to save my life, I don't have unlimited time to learn things that are not going to be my focus).

      I disagree with your statement that "something has really gone wrong". I encountered many situations where the recommended step was editing the registry. With minor problems and less common features I wanted to activate. I haven't used Windows in a while so I can't recall the exact changes, but I can work to get specific examples.
      Its pretty much the same with Linux, you edit text files when the GUI tools are either broken, or you are doing something extraordinary.

      As for the control panel, there's the KDE control center (and surely a Gnome equivalent). I am not sure how it is not "truly" like the Control Panel. I think it lets you control even more aspects than the Windows control panel. Have you tried it?

      KDE. I do love KDE. Just not *that* much. What I said was comprehensive and that is well beyond KDE's scope. A GUI should feel like the only available layer. It defines the operating system. Who cares if its not true? It should work and feel that way to people who don't want to get in and muck around. In the end the operating system is a tool, today, it's expected to be a graphics tool. Ordinary users don't care that you can create amazingly useful perl/bash/python/csh scripts. Their

  34. As you said, its 2007 by Peaker · · Score: 1

    Its not 1998. Try Ubuntu/Kubuntu out.
    You don't need to know anything to get those running.
    Their installation is far easier than the Windows installation, and most of the common things people do "just work". Those rare occasions that don't "just work" have very simple step-by-step howto's all over the place.

    1. Re:As you said, its 2007 by Anonymous Coward · · Score: 0

      Ok, I'll bite. My parents don't know what a partition is. They don't know what a mount point is. They wouldn't know why they can't use a capital letter in their user name. On the other hand, they do know what a hard disk is, and that if they click the "C" drive during the windows install, it will work. And they can sure as damned copy a serial key from a packet. And, um... well, that's it for the windows installer...

  35. Re:It sounds cool, but I think I like the layers m by lokedhs · · Score: 4, Informative

    ZFS seems to want to take all over the disk subsystem. Why? Is there a reason why it needs its own snapshot capabilities, instead of just using LVM?
    Because there are many things your storage system can do if it has knowledge of the entire stack.

    The problem with a "traditional" layered model is that the file system has to assume that the underlying storage device is a single consistent unit of storage, where a single write either succeeds, or it fails (in which case the data you wrote may or may not have been written). This all sounds very good and file systems like ext2 are written based on this assumtion.

    However, if the underlying storage system is RAID5, and there is a power loss during the write, the entire stripe can become corrupt (read the Wikipedia article on the subject for more information). The file system can't solve this problem because it has no knowledge about the underlying storage stucture.

    ZFS solves this problem in two ways, both of which reuires the storage model to be part of the filesystem:

    1. Each physical write never overwrites "live" data on the disk. It writes the stripe to a new location, and once it's been completely committed to disk the old data is marked as free.
    2. ZFS uses variable stripe width, so that it does not have to write larger stripes than nescessary. In other words, a large write can be directly translated to a write to a large stripe on the sotrage system, and a smaller write can use a smaller stripe width. This can improve performance since it can reduce the amount of data written.
    There are plenty of other areas where this integration is needed, including snapshotting, but I hope the above explanation explains that the layered model is not always good.
  36. games are useless until... by Anonymous Coward · · Score: 1, Interesting

    ...you look at the grease that makes the world go round, and that is money, and games make lotsa money and garner a huge interest with hundreds of millions of people. Moolah, loot, it's there for the taking.

    Personally, I don't game, but it would be naive of me to not notice how much interest there is, and how much it has pushed new tech like advanced video cards, new processors like the cell, etc.

    In fact, outside the corporate desktop with the emphasis on business apps, it's games that drive all the other desktops, they are one of the holy triumvirate-games, messenging and media playback that home PCs get used for a lot.

    Granted, we have consoles for games, but I don't think games on the PC are quite dead yet.

    1. Re:games are useless until... by mackyrae · · Score: 1

      Are there more games available on Linux or Mac? Wine exists for both, but isn't Cedega Linux-only? There's a lot of open source games out there too.

      --
      look! it's a bird, it's a plane, it's....a girl? yes, a girl browsing Slashdot on Linux
  37. Revolution and evolution by DragonWriter · · Score: 2, Insightful

    Siracusa ultimately believes that the ability to achieve such a break is more likely to emerge within an authoritative, top-down organization than from a grass-roots, fractious community such as Linux.


    Nothing stops an "authoritative, top-down organization" from taking all the open-source work done on Linux, and applying its own methodology to driving it forward; if that's more effective than what everyone else in the Linux community is doing, users will be more interested in adopting what they do with it (and, heck, once the transition occurs, the less-centralized portions of the community will probably follow along and start working on the "Neo-Linux" thus produced.)

    Its true that revolutionary, rather than evolutionary, change is probably best driven by a narrow committed group with a shared vision and the skills to realize than a disorganized community. But there is no barrier to that within Linux; and between the occasional revolutionary changes, the evolutionary changes that the community is very good at will still remain important. With open source, you don't have to choose: you can have a top-down narrow group working on revolutionary changes (you can have many of them working on different competing visions of revolutionary changes, which, given the risk involved in revolutionary change, is a good thing), all while the community at large continues plugging away on evolutionary changes to the base system—and if once one of the revolutionary variants attracts attention, begins working on evolutionary improvements to that, too.
    1. Re:Revolution and evolution by Anonymous Coward · · Score: 0

      Sounds like when Siracusa is confronted with the authority he says he likes, he's got a problem with it. The core architecture of the linux kernel is pretty much orchestrated by Linus and a few deputies. I'll bet dollars to donuts that Siracusa's beef with Linux is more than a little connected with shifting internal prioritizations within Sun. Siracusa can be a hot shot w/in his little dominion, but when asked to work with the Linux community, he's got to play by different rules. Sorry John, just because in linux-land you're one of the hoi polloi doesn't mean open source is anarchy.

  38. so, uh... by Anonymous Coward · · Score: 0

    while i was waiting for the year of linux on the desktop, ZFS has actually taken over on the desktop instead?

    did i miss something?

  39. CCCP... by Anonymous Coward · · Score: 1, Funny

    In Soviet Russia, Layers think of Linux!

  40. ZFS does this intentionally. by VVelox · · Score: 1

    It has the ability to strip it's self across more than one disk to make it pleasant for when migrating live systems to a new set of storage devices. /me also thinks Linux devs would do good to look into porting GEOM from FreeBSD to Linux.

    1. Re:ZFS does this intentionally. by Anonymous Coward · · Score: 0

      It's also interesting to note that ZFS is currently ported to and working quite nicely on FreeBSD (though only in CURRENT since not very long ago). It allows things like ZFS-the-file-system on a geom provider (a normal partition or something more interesting), or UFS2 on ZFS-the-storage-provider.

  41. spit and polish by Cheeze · · Score: 1, Interesting

    I'll tell ya. I've been using linux for around 12-13 years. over time, there have been quite a few little items that have been a problem. Drivers, video mode, random hardware pieces, etc.

    Most recently, it has been the package management. I have been all but forced to use the "commercial" RedHat up at work, and I still cannot believe that Redhat uses a lame package manager that requires you to "solve your own" dependencies. What the shit is that? Anyways, i'm a die-hard debian user, so I am used to just apt-getting every little package, and the dependencies figure themselves out. I could care less that libfuckingrandom from germany could be installed or not, I just want my program to be installed and running. I think one more step is if when I did a 'gimp' if it saw that I didn't have it installed, installed it, and fucking ran it. The newest ubuntu tells you how to install it using apt-get, but really, do it for me. I don't have time to type in another command.

    Redhat is another problem. rpm doesn't have the smarts to do anything for you. If you want any kind of 'immediate' commands, you have to 'yum' them. This isn't acceptable in a corporate environment. yum is a bastard that is excluded from RedHat so they can maximize acceptable up2date profits. I could really care less if RedHat goes out business or not. Debian is at least 1 full generation ahead of RedHat. Redhat Enterprise is still redhat 9 with updates.

    Anyways, for linux to beat the hype, they need to add the spit and polish that Ubuntu puts into the system. I applaud them for using Debian. Debian isn't perfect, but it is at least usable and their politics should be something people strive for. Freedom should be free.

    End of story.

    --
    Why read the article when I can just make up a snap judgement?
    1. Re:spit and polish by durval · · Score: 1

      Most recently, it has been the package management. I have been all but forced to use the "commercial" RedHat up at work, and I still cannot believe that Redhat uses a lame package manager that requires you to "solve your own" dependencies. What the shit is that? Like you say further down, there's yum and it's far from a "bastard", it actually works great (way better than APT, IMHO) and it's been included "from factory" in Fedora and in many alternative Redhat "respins" like CentOS for many years now. And you don't even have to pay Redhat for a license if you don't want to: CentOS and Fedora are free, not only as-in-freedom but also as-in-beer.

      Also, have you ever tried developing or modifying an existing .DEB? It sucks *big* time. RPM is much more developer-friendly.

      Debian is at least 1 full generation ahead of RedHat. What about 64-bit (AMD64) support? it was available for all other linux distros for many years (including Redhat/CentOS/Fedora) before it finally showed up in the latest Debian. In that case at least, it was Debian who was not one, but many generations late...

      Actually, my impression when I watch the Debian development process is that these guys spend more time bickering than coding... so it's no wonder Ubuntu ended up stealing the the show.

      I use everyday both Debian-based (Ubuntu) and RedhatEL based (CentOS) systems every day, so I'm not basing my opinions in completely prejudiced factoids like "Redhat Enterprise is still redhat 9 with updates".

      Go on, download and install one of the latest Fedora or CentOS and give it a spin. I bet you will be surprised...

      IMHO, YMMV, etc...

      --
      Best Regards,
      Durval Menezes.
      I have never met a computer that didn't like me.
    2. Re:spit and polish by Anonymous Coward · · Score: 0

      Most recently, it has been the package management. I have been all but forced to use the "commercial" RedHat up at work, and I still cannot believe that Redhat uses a lame package manager that requires you to "solve your own" dependencies. What the shit is that? Exactly the same kind of shit as on debian. It's called dpkg there. It's a low-level package manager apt,yum,up2date etc is built on top of, you're not supposed to use it directly.

      Anyways, i'm a die-hard debian user Yeah, figures. And just like most of them, you blame the system for your inability to learn how to deal with the slight differences.

      FYI, yum is included in RHEL5, so much for "maximizing up2date profits", not that it made any sense anyway, seeing as how you pay just as much whether or not you ever run it.
    3. Re:spit and polish by fimbulvetr · · Score: 1

      Damn, before you go on complaining about Linux's pkg selection/mgmt, at least use something besides Redhat.

    4. Re:spit and polish by alienmole · · Score: 1

      So when did things change with Fedora? I used Red Hat on both workstations and servers since '98, as well as Fedora up to FC4, but dumped it all for Debian because I got tired of dealing with Fedora's limitations and problems, particularly with package management. I've found package management on Debian much smoother.

      Re 64-bit, I've been running 64-bit Debian since early 2005, and it had been around for a while when I started using it - I'm guessing you're referring to it having been late to appear in stable, but up until recently (4.1) everything's late to appear in stable, which is a good thing for many server admins, including me. Fedora didn't have anything that even approximated stable when I was using it: it always seemed like you had to upgrade to the next version to fix problems, but the new version had its own problems, so it was never anything like as stable as Debian, especially for servers.

    5. Re:spit and polish by Cheeze · · Score: 1

      I could go into depth into your 2nd sentence about how you try to blame me for RedHat's rpm problem with dependencies.

      Sure, I probably could spend hours trying to figure out why package A relies on package B and package B relies on package A and neither of them can be upgraded without the other, but I really don't care. I have better things to do than manually figure out how each little stupid package requires 47 libs and I have to go find each one of them.

      yum is just apt-get for redhat's rpms. So it's in RHEL5? great! so it's only a good 8 years behind debian in the package management dept? Might as well use tgz ala slackware.

      --
      Why read the article when I can just make up a snap judgement?
    6. Re:spit and polish by Bake · · Score: 1

      Sorry, yum fails the "Do what's bleeding obvious!" test.

      Example:
      yum install somepackage

      If yum finds "somepackage" and only "somepackage" and is able to determine that "somepackage" doesn't depend on anything that hasn't been installed already, IT STILL PROMPTS TO ASK IF YOU WANT TO INSTALL "somepackage"!!!

      I said "yum install somepackage", I didn't say "yum find-and-then-ask-me-if-I-really-want-to-install somepackage".

    7. Re:spit and polish by sarathmenon · · Score: 1


      I said "yum install somepackage", I didn't say "yum find-and-then-ask-me-if-I-really-want-to-install somepackage".


      Try using this operating system. You'll love it.
      --
      Microsoft: "You've got questions. We've got dancing paperclips."
    8. Re:spit and polish by Anonymous Coward · · Score: 0

      It's been a while since I've come across such an incorrect and ignorant post - well done.

      I have been all but forced to use the "commercial" RedHat up at work, and I still cannot believe that Redhat uses a lame package manager that requires you to "solve your own" dependencies. What the shit is that? Anyways, i'm a die-hard debian user, so I am used to just apt-getting every little package, and the dependencies figure themselves out.

      So apt-get automatically installs dependencies but up2date doesn't? Maybe you should try using up2date just one more time to see if you're correct.

      If you want any kind of 'immediate' commands, you have to 'yum' them. This isn't acceptable in a corporate environment. yum is a bastard that is excluded from RedHat so they can maximize acceptable up2date profits.

      Perhaps the fact that RHEL5 uses yum instead of up2date might be a hint that you're talking out your arse?

    9. Re:spit and polish by drsmithy · · Score: 2, Informative

      Most recently, it has been the package management. I have been all but forced to use the "commercial" RedHat up at work, and I still cannot believe that Redhat uses a lame package manager that requires you to "solve your own" dependencies.

      They don't. Up2date resolves dependencies.

      Redhat is another problem. rpm doesn't have the smarts to do anything for you. If you want any kind of 'immediate' commands, you have to 'yum' them. This isn't acceptable in a corporate environment.

      Well, sure - but that's because the whole "dependency hell" thing Linux has developed isn't really acceptable in a corporate environment, not because of anything specific to yum. It's not like Debian is meaningfully different in that regard.

      yum is a bastard that is excluded from RedHat so they can maximize acceptable up2date profits.

      Yum isn't "excluded" from Red Hat (indeed, RHEL5 has replaced up2date with yum).

      I could really care less if RedHat goes out business or not.

      Considering how much kernel development they fund and how important their product is to adoption of Linux in the enterprise, you probably should.

      Debian is at least 1 full generation ahead of RedHat. Redhat Enterprise is still redhat 9 with updates.

      Just like the current version of Debian is the previous version with updates, you mean ?

    10. Re:spit and polish by joib · · Score: 1

      alias yum='yum -t -y'

      Problem solved.

    11. Re:spit and polish by vidarh · · Score: 1
      You have three alternatives: apt-get, yum, or up2date. All three works. All three resolves dependencies for you and installs them if you want them to. All three are perfectly fine in a corporate environment unless your IT department is a bunch of retards. In fact, in a corporate environment, by preference would be to have a local Yum repository rather than depend on up2date against the Redhat servers (because I DO NOT WANT stuff to get updated without having verified it works in our environment first).

      Besides, up2date supports Yum repositories too.

      As for your complaints about Redhat Enterprise Linux, updates are slow on purpose. If you run mission critical systems, you don't want the world to keep changing under you. You don't want to be anywhere near the bleeding edge - you let other people bleed for you. At work we're now finally moving to RHEL 4. You might have noticed 5 has been released. We're not touching it until it has probably a year or so behind it. Even then, we have no reason to upgrade until getting updates of packages that work on RHEL 4 starts becoming a problem.

    12. Re:spit and polish by mvdwege · · Score: 1

      That's a user-initiated workaround for a design limitation.

      I agree with Havoc Pennington on this: everytime the user has to select options to make the computer do things that are totally obvious, the software is broken. The example the parent poster gave was right to the point: if the dependency resolver finds no dependencies, it should install the package without bothering the user with questions.

      Same with clipboard behaviour. Setting an option to make a program use PRIMARY on selection, instead of overwriting CLIPBOARD (like Emacs and KDE used to do) is an 'unbreak my application please' option.

      Programs should not have to ask the user to work around their design flaws.

      Mart
      --
      "I know I will be modded down for this": where's the option '-1, Asking for it'?
    13. Re:spit and polish by OWJones · · Score: 1

      I'm guessing you're the kind of person who would complain if

      a) you were using a laptop
      b) the laptop was usually hooked up to broadband at work/home/whatever
      c) you were now using dial-up at your Aunt Millie's place
      d) you did 'yum install somepackage', and
      e) yum started downloading that 45M package without any further prompting.

      "I'm-on-a-modem-why-the-hell-is-yum-starting-a-4-h our-download-without-asking-me-it-doesn't-make-any -sense-$MYDISTRO-wouldn't-do-this-$MYDISTRO-RULEZ! !!!!111!!"

    14. Re:spit and polish by joib · · Score: 1


      That's a user-initiated workaround for a design limitation.


      In your opinion.


      I agree with Havoc Pennington on this: everytime the user has to select options to make the computer do things that are totally obvious, the software is broken.


      Indeed, but the situation is seldom as simple as that. That's why you have options, to cater to the needs of different situations and the preferences of different people. E.g. in my opinion, sloppy focus is the blindingly obvious and correct way, but many others feel different (perhaps they are used to OS:s where click-to-focus is the only option). So having an option makes sense.


      The example the parent poster gave was right to the point: if the dependency resolver finds no dependencies, it should install the package without bothering the user with questions.
      .. and then yum would get bug reports complaining that the behavior is inconsistent depending on whether the package installation needs extra packages to satisfy dependencies or not.


      Programs should not have to ask the user to work around their design flaws.


      But what you consider a design flaw might be what other people consider a feature. That's why you have options to alter the behavior of the program.

    15. Re:spit and polish by dodobh · · Score: 1

      RPM is a package format, not a package manager. You can use up2date or yum to install RPMs, just like you use apt to install debs.

      --
      I can throw myself at the ground, and miss.
    16. Re:spit and polish by vidarh · · Score: 1
      As someone else has pointed out, when you do "yum install somepackage" you may not know what the size of the package is. Further, you also likely don't know what version yum will try to install. It may try to install a version you don't want, or it may only find a 32 bit package when you want a 64 bit package. Asking is a sensible way of making sure you don't accidentally hose the users install by "upgrading" to a version the user considers broken, or starting hours worth of downloads when the user thought he/she was asking for a small package.

      If you don't like it, add the right command line option. For ordinary users, asking is likely to be the safer choice.

    17. Re:spit and polish by vidarh · · Score: 1
      RHEL 3 and RHEL 4 both had up2date. If you bought either of them, then presumably you would be using up2date against RHN. If not, Apt have been available for Redhat for many years, and Yum a bit shorter.

      So what are you complaining about? The only reason for you to "spending hours trying to figure out" package dependencies is if you're intentionally being obtuse and insisting on not using the tools available, and that's how it's been for years.

      You apparently also either intentionally or out of ignorance keep comparing RHEL, which is meant specifically to be a slow moving distribution targeted at corporate users (who DO NOT want a high update frequency, and want predictable updates) with distro's with completely different goals. RHEL adopts things when they are proven. It on purpose lags far behind distro's like Fedora. If you can't deal with that, then don't use it.

    18. Re:spit and polish by vidarh · · Score: 1
      Both Yum and Apt have been available for years, though I don't remember when they started including them in the base distro's. APT for RPM has been available since around 2000.

      I have both Yum and Apt installed on my Fedora Core 3 box - haven't had any need to upgrade to a newer distro since the stuff I use it for is fairly basic. I had Apt since before I upgraded to Redhat 6.2. In fact, in a moment of masochism I used apt-get to upgrade to 6.2 from a previous version (5.2? can't remember) by pointing at a repository for one of the new versions - that was a bit on the risky side, though it worked despite having to re-run it a few times.

    19. Re:spit and polish by mvdwege · · Score: 1

      Indeed, but the situation is seldom as simple as that. That's why you have options, to cater to the needs of different situations and the preferences of different people. E.g. in my opinion, sloppy focus is the blindingly obvious and correct way, but many others feel different (perhaps they are used to OS:s where click-to-focus is the only option). So having an option makes sense.

      Red herring. We're not talking about options here. Parent gave a very well-defined behaviour that was idiotic: given a situation with no choice, a program should not ask the user anything, but just proceed.

      Saying that people might complain about inconsistency is speculation. What is wrong with simply looking at the objective facts, and saying that the yum developers made a mistake? It happens, they're human.

      Mart
      --
      "I know I will be modded down for this": where's the option '-1, Asking for it'?
  42. ZFS is the future.. by Anonymous Coward · · Score: 0

    ZFS or atleast a somewhat similar filesystem is the way we're heading sooner or later. *ALOT* of people are interested or planning to migrate into (Open)Solaris just to get ZFS, myself included. Even my friends that are casual users who don't care that much about Linux and are content about their Windows or whatever, have demonstrated great interest in ZFS after seeing the demos and reading about it. It is unfortunate how so many of the kernel people seem to reject ZFS, albeit there are some licensing issues to sort out too. You can test ZFS by running it on FUSE, but that's alpha status.

  43. Why stop at breaking layers? by ServereNerd · · Score: 1

    Why stop at violating layering? We should reach across the subsystems and modules! We could have every part of the system involved in performing every system task! Once no one understands how our system works anymore, we could mark it as proprietary and have our own monopoly on GNU+linux maintenance!

    1. Re:Why stop at breaking layers? by fimbulvetr · · Score: 1


      Then we'd have to start something called a "technet" where we'd have an innumerable amount of articles detailing how the latest patch/sp/version that fixed some behavior in subsystem A actually broke or completely reversed behavior in the entirely unrelated subsystem Z.

      Indeed, it would take longer for us to test patches because we'd need to do some very intricate regression testing - though we could offer unofficial/untested patches.

      I'm not sure I like it - in fact, it sort of sounds like the stuff that comes from maybe MSFT or AAPL?

  44. Answering Criticism by Dodging the Question by Inhibit · · Score: 1
    Siracusa states that this attitude of refusing to think holistically ("across layers") is responsible for all of the current failings of Linux -- desktop adoption, user-friendliness, consumer software, and gaming.

    So am I to assume that ZFS a .. er.. file system has high desktop adoption, user-friendliness, and good gaming support?

    Let me make a quick address to why Linux has trouble in those areas, at least at this point. Some of the /.'ers hit the nail on the head, but mumbling something about software layers being independent doesn't make it valid criticism. This whole internet thing runs on layered TCP/IP software.. seems to be working well so far.

    So yea. The problem with individual layers of the software not working is just that. If the software written to edit something or work as a middle layer between something doesn't work well, that's because no one's working on it enough, not because layering is flawed. The person working on some adjunct in the kernel isn't suddenly going to start coding you up a nice GUI to access their "layer" of software because their isn't one. Chances are, *they* don't need it, or give a rats arse about it.

    There might be problems with particular soft spots in the software stack on Linux.. but it's because they're soft spots. They wouldn't be solved by the programmer working on the underlying layer stopping. The whole argument in the context of a ZFS in-kernel stack having too much "stuff" in it is fallacious. Like pointing and yelling about someone's hair when they're making a point on world politics.

    --
    You're reading Slashdot. Of course you like Linux and pc hardware
  45. Re:It sounds cool, but I think I like the layers m by DaleGlass · · Score: 1

    That sounds like the wrong way to solve the problem. I'd rather solve it in the RAID layer, so that anything using the disk can take advantage.

    For instance, vmware can use a block device for a virtual disk. Why should it have to implement its own version of that when it could be implemented in a single place?

    Same goes for snapshotting. Why does the FS have to support it? With LVM I can snapshot vfat if need to for whatever reason.

  46. ZFS definitely plays outside of normal layers by codemachine · · Score: 3, Interesting

    I've heard from people looking to port ZFS to the BSDs that it is a very difficult port, due to how tangled up it is with the operating system (Solaris) itself, and how much ZFS does for itself (volume managment, RAID, etc).

    On one hand, this gives it some serious advantages when run on Solaris 10. But it also makes it difficult to port. I wonder if that is partially responsible for delaying OS X Leopard?

    1. Re:ZFS definitely plays outside of normal layers by Wesley+Felter · · Score: 1

      I wonder if that is partially responsible for delaying OS X Leopard?

      Nah, if ZFS wasn't working Apple would just disable it and ship Leopard anyway. As much as many of us would like to have ZFS, Apple never announced that it's in Leopard and most users would never miss it.

    2. Re:ZFS definitely plays outside of normal layers by Anonymous Coward · · Score: 0

      You might want to check out FreeBSD-current and test ZFS. You can mix conventional file storage and z file storage via geom. Looking to port was last year. It is in testing now.

  47. In related news by Spazmania · · Score: 1

    Siracusa states that this attitude of refusing to think holistically ("across layers") is responsible for all of the current failings of Linux

    In related news, a lack of synergy was responsible for all of the bankruptcies at the end of the bubble.

    --
    Moderating "-1, Disagree" is simple censorship. Have the guts to post your opinion.
  48. Re:Hey! by DaleGlass · · Score: 4, Insightful

    Why can't I say "/dev/hda, you are now snapshotted, shazam"? No, instead I have change my system over to use /dev/mapper/snapshotted-hda


    You don't seem to understand snapshots.

    A snapshot works by creating a copy of the device, with the contents it had when the snapshot was created. If you make a snapshot of /dev/hda at 12:15, then you'll get /dev/mapper/snapshotted-hda as it was at 12:15, while /dev/hda will continue being possible to modify.

    Why would you change anything over? Snapshots are temporary. You snapshot your drive, use the snapshot to create a consistent backup (or whatever), then destroy it.

    Normally you won't keep a snapshot around for long, as they're maintained by keeping copies of modified blocks, and that takes space. Unless you have enough space for fully duplicating the device you made a snapshot of, you won't be able to keep it around forever.
  49. Maybe I'm wrong... by FliesLikeABrick · · Score: 2, Insightful

    Maybe my entire view of things is wrong, but isn't strict layering responsible for most of the things that set Linux apart from less-efficient and less-secure operating systems? Isn't layering what allows the same exact operating system be a high-performance server or a normal work station? I point out the latter because without layering, things like Windows can "disable" a lot of things that are all tied together, but never really remove many things completely since ... whatever.

    I guess what I'm saying/asking can be summarized: isn't layering one of those really-important things to Linux that shouldn't be violated? Reading the summary sounds like "In order to make Linux more Windows-like, we need to violate the things that makes Linux much more of a proper layered OS than Windows is."

    1. Re:Maybe I'm wrong... by asaul · · Score: 1

      But we are not talking about a "lets make the IP subsystem understand X traffic in order to generate desktop popups" sort of layer transition. This is purely talking about the storage allocator in ZFS that simply does a number of things allready present in some of the exising storage areas (namely md devices and snapshots). However the reason it does this is to acheive a number of very positive benefits to the upper filesystem layer.

      --
      "If everybody is thinking alike, somebody isn't thinking" - Gen. George S. Patton
    2. Re:Maybe I'm wrong... by mihalis · · Score: 1

      Maybe my entire view of things is wrong, but isn't strict layering responsible for most of the things that set Linux apart from less-efficient and less-secure operating systems?

      I think strict layering is more of a design discipline than a direct facilitator of efficiency or security. It is supposed to be overall a better tradeoff, not simultaneously better on all fronts. Layers impose costs and limitations, but done well they're often worth it.

      The most "efficient" operating system, in terms of, say, maximum filesystem throughput might well be a monolithic "filesystem O/S" which is all compiled together into one big lump, but that would likely have worse security. The layering that Linux does have seems to have successfully permitted very good performance, very good security, maintainability, extensibility, virtualisation, etc etc all together in one design. This is amazing and I run my server using slackware very gratefully.

      However, the Linux kernel itself is not as internally layered as some micro-kernel operating systems, or perhaps the barriers between the layers are fliimsier. When challenged on this Linus was famously quite confident that his "layering violation" was worth it. Go read the discussions between him and Tanenbaum on that topic (monolithic vs micro-kernel design for operating systems).

      Chris -fan of Linux AND ZFS both at the same time

  50. Did you really install Windows? by Peaker · · Score: 2, Insightful

    The Windows installer also talks about partitions. It asks you to [c]reate, [r]emove, or format a partition.

    It actually offers more options with more terminology than the Ubuntu/Kubuntu installer.

    The Ubuntu installer offers you install options:
    "Simple - use free space"
    "Simple - overwrite whole disk"
    "Advanced - Setup your own partition table"

    Ofcourse most users can choose one of the simple options. The advanced one has a nice GUI to resize partitions and basically do everything from a GUI.
    In Windows its a bit more complicated than that, as explained above.

    So nice try, but even partition-wise, Ubuntu/Kubuntu have easier installers.

    1. Re:Did you really install Windows? by osu-neko · · Score: 1

      They do, but that's because people actually have to use them. Most Windows users have never even seen the Windows installer.

      --
      "Convictions are more dangerous enemies of truth than lies."
    2. Re:Did you really install Windows? by PianoComp81 · · Score: 1

      And with Dell and others selling Linux pre-installed, future GNU/Linux users won't have to see the installer as well.

  51. Re:It sounds cool, but I think I like the layers m by AaronW · · Score: 1

    Snapshots in the filesystem itself make much more sense than the LVM. For one thing, the filesystem can be designed to have this functionality in mind and can be much more efficient about it rather than LVM which just takes a generic snapshot approach.

    Having used snapshots where I work via a NetAPP server I can attest at their usefulness. I just go to ~/.snapshot and go back in hours, days, weeks or months.

    With ZFS it can be fully automatic so if, say, I'm editing a file several times and screw it up, I can easily go back to a previous snapshot, and the snapshot could even be from a few seconds back. Since the filesystem is aware of snapshotting, it can be faster and more efficient and more flexible than what LVM can do.

    It could almost be like an automatic SVN where I can automatically, for example, go to the state of the filesystem on April 28, 11:42:13am. I believe (I may be wrong here) that LVM requires the user to specify when a snapshot should take place.

    I'm not sure that ZFS is the end-all be-all filesystem for Linux, but Linux has a long way to go before it can compete with filesystems like what NetAPP offers.

    Another problem with LVM that could be solved with a filesystem is shrinking a logical volume. If I want to remove a drive I can notify the filesystem and since it knows what files are on that drive it can move them off of it. Or if you have one drive that's a lot faster than the others you could tell the file system which files are performance critical so it will place those files on that drive and put non-critical files on other drives.

    --
    This post is encrypted twice with ROT-13. Documenting or attempting to crack this encryption is illegal.
  52. Yes, Linux is successful in the marketplace by Anonymous Coward · · Score: 0

    for tasks it does well (serving files, pages, etc). Linux lacks games, fun content, refinement, and apps. I fails the common user's needs.

  53. Re: Project vs Product by Alwin+Henseler · · Score: 2, Insightful

    You hit the nail on the head: 'something being worked on' (project) is NOT the same as 'something ready for use' (product). Note to mods: parent deserves credit for making this point.

    However, there is a large overlap between 'project' and 'product'. In-development-systems can be quite useful, and when are products really 'done'? Look around in your average household store. Many simple items (like paperclips) may have evolved, but their basic form is the same as the 1st day they where conceived. Read: the very first incarnation of a paperclip may have been rude, but no less useful than the matured, modern-day version. For complex products: try and find one where every aspect of its use, from production, marketing, distribution, everyday use, to how it is discarded/recycled, is well-thought through and 'just works'. Good luck.

    Basically: things that are both complex and well-engineered (in every aspect) are rare. 'Project' or 'Product' is not the same, but only a label. Which one applies, depends on your point of view.

    Take some projects, add packaging, marketing, support, ask money for the whole, and voila: a product. See IBM, Red Hat, SUSE for example. Whether a Linux kernel or a Perl binary shipped by them is a project or a product, only depends on how you use it. If you're a developer working on it, it's your project. When you're selling DVD's that include these in bulk, the same thing becomes a product.

    I've used Linux for different purposes starting around '94/'95 (normal desktop use these days, Windows is history for me), and I can assure you: it far exceeds what one might call 'consumer grade product'. That Linux has maybe around 1% market share among ordinary PC users, has nothing to do with quality or technical limitations, but everything with marketing, industry inertia and historical reasons.

  54. BULLshi-i-i-it by Anonymous Coward · · Score: 0

    Same old anti-Linux FUD decorated with made-up existential-sounding gibberish, turned in at a minute before deadline so the columnist could dash out the door for the weekend. Excuse to dangle the words "failings, desktop, user-friendliness, consumer, and gaming" in front of your eyes. Author's probably laughing his ass off: "I BSed that out in ten seconds and they posted it on Slashdot!"

  55. Please, don't feed the trolls by linuxrocks123 · · Score: 0, Offtopic

    He's either a troll or an idiot. Either way, he doesn't deserve your replies.

    --
    vi ~/.emacs # I'm probably going to Hell for this.
  56. Re:Hey! by bertok · · Score: 4, Informative

    I think you'll find that it is you that doesn't understand what a snapshot could be. Take a look at ZFS, try it, and see if you think of snapshots the same way again. In ZFS, a snapshot can be promoted to a clone, which is a writeable copy of the original filesystem, sharing unmodified blocks using a copy-on-write algorithm.

    This is increadibly powerful and useful. For example, a single master 'image' volume can have customizations added for specific purposes. This is useful in desktop deployment, iSCSI or NFS network boot, etc...

    Would you expect a 'first class' writeable clone to have a name like 'dev/mapper/snapshotted-hda' or 'dev/hda.1'? Which one makes more sense? Why would the original have a special name, when the clone is identical?

    It's this kind of narrow 'snapshots are throwaway' thinking that causes artifical limitations in APIs and operating system design that serve no real purpose.

  57. File systems are the most complex part of Linux by EmbeddedJanitor · · Score: 3, Interesting
    The VFS interface is probably the most complex part of Linux and is not stable (that is, it changes from release to release).

    I maintain a Linux file system which is typically used across various kernel versions, including 2.4.x. Yes folk's 2.4.x is still used to ship new products. The changing interface makes for Fun-And-Games.

    The VFS to file system is not particularly clean as you need to do pretty ugly things like increment page counts etc within the file system. Much of this is done to enhance performance, but could probably have been done better (ie. preserving a clean interface without real performance compromises).

    --
    Engineering is the art of compromise.
  58. Re:It sounds cool, but I think I like the layers m by DaleGlass · · Score: 1

    Ok, if I understand this correctly, then LVM and ZFS snapshots have different uses.

    For me, the main point of LVM snapshots is consistent backups. LVM can freeze any block device in time. The nice thing is that it doesn't have to be a known filesystem. It could be for example a device used by vmware, or a database as-is, with no filesystem on it. A neat application of this is data recovery. LVM can take a writable snapshot of a corrupted filesystem. Then you can try the latest experimental fsck tool on it, without worrying about it breaking something, and not needing to keep a full copy of the data.

    ZFS is certainly really neat, but it can't fully replace LVM snapshots, nor LVM can provide what ZFS can.

  59. Re:It sounds cool, but I think I like the layers m by Russ+Nelson · · Score: 1

    a reason why many people avoid DJB's software.

    Why, it's the second most popular MTA on the Internet! Surely you are joking.

    --
    Don't piss off The Angry Economist
  60. Re:Hey! by DaleGlass · · Score: 2, Informative

    In ZFS, a snapshot can be promoted to a clone, which is a writeable copy of the original filesystem, sharing unmodified blocks using a copy-on-write algorithm.

    LVM has this already. CONFIG_DM_SNAPSHOT in the kernel config.

    Would you expect a 'first class' writeable clone to have a name like 'dev/mapper/snapshotted-hda' or 'dev/hda.1'? Which one makes more sense?


    If you use LVM, then all devices you put a filesystem on are in /dev/mapper. My root is in /dev/data/root, /home is in /dev/data/home (or /dev/mapper/data-home, same thing), a snapshot of that would also be in /dev/mapper, with whatever name I choose for it. If you use LVM, /dev/hda isn't directly usable, as it's a LVM physical volume. The writable device is in /dev/mapper.

    Why would the original have a special name, when the clone is identical?


    But they aren't identical. LVM works with block devices, it doesn't know about the filesystem. If you do a bit-by-bit comparison of the original device with its snapshot, if the original changed, then there will be differences. The snapshot contains the data it would if you unmounted the FS and make a copy of the device.
  61. Re:It sounds cool, but I think I like the layers m by Anonymous Coward · · Score: 0

    I hope the above explanation explains that the layered model is not always good.

    Or simply that they've just drawn the lines in the wrong places this time.

  62. Summary Blatant Lie, Encourages Flame War by taxman2007 · · Score: 3, Informative
    First, and most importantly, Siracusa never states or even suggest "this attitude" is "responsible for all of the current failings of Linux ".

    The direct quote is "I've long seen the Linux community's inability to design, plan, and act in a holistic manner as its greatest weakness."

    You can see the meaning has been completely changed in the summary from one of positive criticism to one of arrogant condemnation.

    Through this change, we can see the posters true feelings, feelings that are shared by many in the Linux community. That is to respond immaturely and get all bent out of shape if somebody builds anything that doesn't follow the "Linux philosophy".

    The Truth. Both Linux in general, and ZFS are amazing, and powerful tool. One of best philosophy I've encountered is "use the right tool for the job".

    Nobody is forcing Linux devs to port ZFS, or even use, or even think about it. The only reason this is an issue, is because many in the Linux community realize how powerful ZFS is, and they're subconsciously pissed off that they can't have it. So they respond like a 3rd grade bully by attacking it in a self defeating attempt to minimize its importance.

    1. Re:Summary Blatant Lie, Encourages Flame War by anaesthetica · · Score: 2, Interesting
      Yes, when you cut off the next sentence from the "direct quote" it sure does sound much more positive.

      ...the Linux community's inability to design, plan, and act in a holistic manner (i.e., "across layers") as its greatest weakness. Linux on the desktop, user-friendly Linux, the consumer Linux software market, Linux games--all the historic struggles in all these areas can be adequately explained solely in terms of this one failing.
    2. Re:Summary Blatant Lie, Encourages Flame War by taxman2007 · · Score: 1
      Clearly your lack of understanding has led you to believe that a positive article, and a article with positive criticism are somehow the equatable.

      They're not.

      In the same way arrogant condemnation and positive criticism are not equitable.

      Even in the next sentence Siracusa uses the phrase "all these areas can be adequately explained." Siracusa makes it clear he believes that failing to see things from the larger perspective is a major downfall, but he is never arrogant enough to suggest that this is only area Linux struggles in.

      I'm not going to comment on the other areas, but ZFS can do amazing stuff, and the reason it can do that is because it approached the whole file storage problem with a out of the box solution that involved combining eliminates from various components that were previous separated. ZFS replaces hardware/software RAID controllers, volume management, and the file system. By integrating these components together things that were previously impossible or extremely difficult become painless and automatic.

      Andrew Morton states ZFS is a "rampant layering violation." No argument there, that's the point, that's how it does all this cool stuff. The point is, Morton it's so blinded by his ideology of layering that he would ignore the benefits of ZFS because it doesn't follow his design philosophy.

      Ultimately the jokes on him, ZFS can never be integrated into the Linux kernel, the license is incompatible, so we will most likely never see all the benefits of ZFS on Linux. A shame though. There is hope for other platforms though, FreeBSD, Mac OS X, etc.

    3. Re:Summary Blatant Lie, Encourages Flame War by mvdwege · · Score: 1

      No, he clearly understands that you are mangling a quote to make it say something it doesn't. Whether or not the subject of the quote is positive or negative is immaterial to what you are trying to do, namely trying to twist it to your ends.

      Given your vehement dissent to someone pointing out this gaffe to you, I cannot but conclude that it was deliberate. Thus leading me to ask the question: what do you gain by this dishonesty?

      Mart
      --
      "I know I will be modded down for this": where's the option '-1, Asking for it'?
    4. Re:Summary Blatant Lie, Encourages Flame War by taxman2007 · · Score: 1

      Whether or not the subject of the quote is positive or negative is immaterial to what you are trying to do, namely trying to twist it to your ends.

      Mart, I completely agree. The poster, anaesthetica, is twisting the quote to his own ends. The point that anaesthetica is twisting positive criticism into arrogant condemnation is definitely a secondary issue.

      Given your vehement dissent to someone pointing out this gaffe to you, I cannot but conclude that it was deliberate.

      Aren't thesauruses cool, but unfortunately they don't always work that well. Unless of course you actually wrote that without a thesauruses in which cause I would suggest reexamine the value of using diction in such a way that the general usage is supported by the context. Even if one of the many meanings of the word makes its usage appropriate, when you compose language in such a way most people will just ignore you. But that is most likely your intent, or you have a natural obsession with sounding smart, at least thats how your response struck me. On personal note, I must agree it is a wonderfully articulate composition.

      Unfortunately, you assume the motivation behind my "vehement dissent" is a childish response to embarrassment. You could not be farther from the truth as I'm a regular reader of both Slash and Ars. I read the article on Ars before seeing it on slash and a I thought it made many valuable, justifiable points. These matters somewhat concern me as I use these tools on a daily basis and would love to see ZFS supported on every platform, Windows, Linux, Mac, BSD, etc. It would make my life easier. This stubborn, childishness that seems to embody the many, not all, in the Linux community is only hurting themselves, and those who use/enjoy/love what Linux is and could be.

      In conclusion to directly respond to your point, I think you have the correct idea, with the wrong polarity. I believe anaesthetica's summary of the article is deliberate twisted to his own means. From my original post,

      Through this change, we can see the posters true feelings. I believe anaesthetica is deliberately using this article to voice his own personal pro Linux / anti everything thing else philosophy. It's so perfectly obvious. Cheers.
    5. Re:Summary Blatant Lie, Encourages Flame War by mvdwege · · Score: 1

      You snipped a relevant bit of the quote, making it sound like a reasonable arguement, instead of a petty attack on the Linux community, dragging things into this debate that have no or marginal bearing on kernel design. It was that very thougthless attack that killed all but the remotest chance at reasonable discussion before it had got any time to start.

      And as for your snarky comments on my diction, as it so happens, I also write rather formally in my native language. This is my style, and if you are implying that I am doing it out of some arrogant condescension, then I suggest it is you that has a problem.

      Mart
      --
      "I know I will be modded down for this": where's the option '-1, Asking for it'?
    6. Re:Summary Blatant Lie, Encourages Flame War by taxman2007 · · Score: 1
      Do you even understand why the original article was written?

      Perhaps you should contact the author, or consider the source, a news site that places a emphasis on APPLE PRODUCTS.

      Perhaps you should review your own post for "thoughtless attacks".

      If I may ask, what is your native language as I have an interesting theory on the effect language plays in cultural development.

      I never even mentioned the topic of kernel design, so I'm not exactly sure how I could bring things into a "debate" that has nothing to do with something I never mentioned.

      Writing formally, and using obscure meanings of words are two completely different things. If you reread my post, you'll note I actually complemented your writting, while at the same time suggesting areas for improvement in communicating with others. But honestly, I don't believe that your first post represents the way you "normally" write, as your reply above shares none of the flagrant and flaunting use of diction, nor do most of your other slashdot post.

      After reading some of your other post, you seem to be filled with anger and continually demonstrate a lack of respect. You might want to do something about that, for some day you may come to regret it.

    7. Re:Summary Blatant Lie, Encourages Flame War by mvdwege · · Score: 1

      Oh get off.

      The only reason I'm often angry on this site is because idiots like you abound. And idiots don't deserve respect.

      Obscure meanings indeed. I write bog-standard, if a little formal, British English. If using a vocabulary beyond American High School standard is considered flaunting diction in your eyes, then you sir, are a moron.

      Mart
      --
      "I know I will be modded down for this": where's the option '-1, Asking for it'?
    8. Re:Summary Blatant Lie, Encourages Flame War by taxman2007 · · Score: 1

      Good, Good, I feel the anger flowing through you.

  63. Re:Hey! by Daniel+Phillips · · Score: 3, Informative

    You don't seem to understand snapshots

    If you say so :-)

    A snapshot works by creating a copy of the device, with the contents it had when the snapshot was created. If you make a snapshot of /dev/hda at 12:15, then you'll get /dev/mapper/snapshotted-hda as it was at 12:15, while /dev/hda will continue being possible to modify... Why would you change anything over?

    Because with the incumbent volume management strategy you may not continue to use /dev/hda directly when it is snapshotted. You must access /dev/hda through some other device and that some other device must located in the /dev/mapper directory. No wonder you apparently mixed up what is a snapshot and what is being snapshotted - the way we currently do this in Linux is quite unnatural and is a wide open invitation to such confusion, not to mention a pointless makework project for system administrators.

    --
    Have you got your LWN subscription yet?
  64. Re:It sounds cool, but I think I like the layers m by DaleGlass · · Score: 1

    Second? A bit of googling suggests qmail was third in 2003: http://www.credentia.cc/research/surveys/smtp/2003 04/
    And this survey suggests it's falled to 22nd in 2007: http://www.securityspace.com/s_survey/data/man.200 701/mxsurvey.html

    qmail seems to have been abandoned by DJB, and his licensing requirements mean other people can't fork development, they can only distribute patches for it.

  65. Re:Hey! by DaleGlass · · Score: 1

    Because with the incumbent volume management strategy you may not continue to use /dev/hda directly when it is snapshotted.

    No, you may not continue to use /dev/hda the moment you turn it into a LVM physical volume. You can't snapshot anything that isn't a LVM logical volume (using LVM at least).

    If you're using LVM, you don't mount /dev/hda, you mount /dev/mapper/something
  66. Re:Hey! by Anonymous Coward · · Score: 0

    Can we get him to take this dupe with him when he leaves?

  67. Not "no layers" just different layers by DaveAtFraud · · Score: 1
    Thanks for the wikipedia reference. If I read this part of the article correctly,

    ZFS is built on top of virtual storage pools called zpools. A pool is constructed from virtual devices (vdevs), each of which is either a raw device, a mirror (RAID 1) of one or more devices, or a RAID-Z group of two or more devices.
    ZFS just has a different set of abstract layers than the usual hardware oriented file system.

    Sort of make sense to start hiding the hardware details of the storage devices. Most users don't know and don't care other than when they try to do something and get told, "insufficient space" or a disk crashes and their data is gone. A file system that prevents/hides such nasties will probably appeal to people who want a computing appliance (most of the world).

    Cheers,
    dave

    --
    They that can give up essential liberty to obtain a little temporary safety deserve neither safety nor liberty.
    Ben
  68. Re:Hey! by Daniel+Phillips · · Score: 1

    You can't snapshot anything that isn't a LVM logical volume

    True, and what kind of sense does that make? It is purely an artifact of the incumbent low level LVM model. Please go back and read the original post and notice how you misinterpreted it.

    --
    Have you got your LWN subscription yet?
  69. Re:Hey! by DaleGlass · · Score: 1

    Ok, under LVM, /dev/hda is a physical volume. PVs get grouped into volume groups, then get subdivided into logical volumes.

    It doesn't make sense to talk of a snapshot of /dev/hda (which maps to a single hardware device) because nothing stops you from creating a logical volume spanning 4 hard disks. What exactly would a snapshot of /dev/hda in that case be? As far as LVM is concerned, your data is somewhere in volume group, which is a virtual entity made of a number of physical volumes. Your logical volume may span one or several PVs, and doesn't have a fixed location either. You can at any time tell LVM to free up a physical volume and disconnect it.

  70. In need of an in-house Guru by geekyMD · · Score: 2, Insightful

    I'd love to used Linux as a desktop. I just need a little help.

    I even enjoy spending time tweaking my desktop computer, from back in the days when memory came in 16k chips, IRQs had to be tediously managed, and squeezing every drop out of 640k was fun. But try as I might I have yet to get a stable, visually appealing, or useful version of linux on any of my previous 3 computers. Why? Because I can't even get a minimally functional system running, and give up before I get to the tweaking stage.

    Major problems I encountered which I spend more than 1/2 an hour working on each: picking a distro, much harder than you think for the non-initiate. KDE vs Gnome? Utterly crappy (ie Mac 6) video support without special do-it-get-it-complile-it yourself drivers. Can't install video drivers, I didn't install gcc (silly me). Can't install video drivers, I'm missing some contingencies. Can't install video drivers, I didn't install the source code for the kernel (silly me). Multiple conflicting versions of drivers and conflicting advice about which one to use. Multiple conflicting instructions on how to install said video drivers. Video driver installer has reams of text output, some of which are error messages. Based on more advice, appearantly these error messages may or may not be normal and may or may not be why I never got good video output. My sound card stopped working. I still don't know why.

    Valuing my time at a paltry $50 an hour, I could have easily bought a newer better system with WinXP on it and then taken my wife out to dinner with the remainder.

    If anyone can recommend a distro that will run, out-of-box, on my Dell e1505 with an ATI x1400 graphics card and Creative Audigy soundcard, then I promise you I will excitedly hunt it down and intall it, I really do want to switch to linux, the visuals I've seen other users have is incredible.

    Unfortunately the fact that I have to ask such a question really shows how linux in general is completly unprepared for the desktop market. Prove me wrong and recommend a distro.

    PS - please, no berating, calling-of-noob'ing, or general fun making at my expense. I really honestly do want help, and Linux people have tried to help me in these ways before. (they haven't proven helpful yet)

    1. Re:In need of an in-house Guru by ralphdaugherty · · Score: 1

      Dell just announced they are selling Dell's with Ubuntu Linux. I just now Googled Ubuntu Dell e1505 and there are plenty of threads about Ubuntu on Dell e505.

            I recently researched what Linux PC to buy and had only seen occasional references here on slashdot to Ubuntu. (A side goal was being comfortable using it as a development platform for the Linux server dist, CentOS, used by my web host.) Despite having heard much more about other distributions through the years, Ubuntu had the most pluses.

            In checking any links on it, the latest release 7.04 just came out, so experiences with prior releases on that Dell will be reflected in this release, which means it should work better than ever for you.

        rd

    2. Re:In need of an in-house Guru by __aawkdb2598 · · Score: 1

      I don't know about your specific video card and I definitely wouldn't call myself a guru, but I'm using an ATI video card and a Creative Audigy soundcard and I've found that Sabayon Linux is great. You might want to give it a shot. It's very visually appealing and polished, and seems to be be fairly quick-paced and innovative. The developers are still excited about their project and I've found the community to be one of its greatest assets. I've talked to both of Sabayon's most prominent developers, and though I am the most abject of Linux newbs I didn't get a feeling of elitism from either of them.

      Parenthetical note: Sabayon Linux is based on Gentoo, but is pre-compiled and thus won't cost you 20-26 hours of compile time to install. You can find good people on #sabayon on irc.freenode,org(or the "Get Live Help" icon on the desktop) who are usually willing to help you if they can.

      <rant>Be aware, should you be tempted to try #gentoo, that the same definitely can't be said of that community from my experience. A lot of them hate Sabayon (your guess is as good as mine) and... yeah. I've been banned from the #gentoo IRC channel, on my second sentence, for asking a question. But that's a tale for another day. </rant>

    3. Re:In need of an in-house Guru by Anonymous Coward · · Score: 0

      Some guy mentioned Sabayon Linux, which is pretty dumb. It's an obscure derivative of a not-that-great distro (Gentoo, although it's users, of course, will tell you that it's the best thing since sliced bread).

      I would recommend Kubuntu. It's .deb based and has a corporation backing it, which is good. If you're wondering what the difference between "Ubuntu" and "Kubuntu" is: there is, techinically, none. Kubuntu comes with a different splash screen, and installs KDE by default instead of GNOME (of course, you can change that with a single command). It has many advantages of Debian without the "we don't ship free as in beer software" idealism shit. I use it myself (having tried Mandrake, Red Hat, Gentoo, Debian, Slackware for a few weeks each, so I know at least a bit of what I'm talking about) with an Audigy 2, and an ATI X1950 Pro.

      Ubuntu bundles the proprietary ati drivers ("fglrx"), so you won't have to install those, and I believe ALSA provides decent support for your Audigy soundcard.

      As for desktop environments, the most popular choice would be KDE. KDE's codebase can be a bit hacky sometimes, especially the obscure stuff, but it does not get in your way like GNOME does (the GNOME people, of course, will say that they made things easier and innovated user-friendly interfaces, which is all fun and games, until you're trying to use a file-open dialog and wonder how you can type in a path to file directly).

      All your problems (Video drivers, soundcard drivers, no compiler installed) SHOULD be adressed by ubuntu in the default install.

    4. Re:In need of an in-house Guru by Billly+Gates · · Score: 1

      Some folks recommended symbian or some weird name Linux.

      I would recommend ubuntu Linux which is the most popular Linux on the planet and comes with Dell computers which another poster mentioned.

      It has a software update manager which reminds you of recommended updated and will install them automatically over the web similiarly to WindowsUpdate on Windows. No need to compile anything and it uses binary drivers so you dont have to compile anything. The gnu free software zealots would consider it blasphemey since they want everything free but you at least can get things done quickly which I think is more beneficial for the community.

      I felt uncomfortable around Linux too but I noticed the same feeling when I worked with MacOSX when I worked at a computer lab. Its change. Things work a bit different and familiarity is a plus. Gnome is standard with Ubuntu and I used to hate it. Now I love it and despise KDE which was my old favorite. Its what I am used too.

      Whats great about Ubuntu is you can try it out without installing it. It has a livecd which is slow as mollasis but you can taste it and test your hardware before installing it. If you want to install it it will happily coexist with windows and install a menu which you can chose to boot during startup.

      FYI I switched back to Windows recently after I found the fonts were not anti aligned nor cleartype with Openoffice unlike the win32 version. I still run it under the free vmware server for my laptop when I want to learn Apache/PHP/Jakarta but use Windows for c# and java desktop development. VMWare a great option too for experimenting and its free. I use it to run FreeDOS to play some old games too. :-)

    5. Re:In need of an in-house Guru by 5pp000 · · Score: 1

      A lot of us have given up on ATI because their Linux driver support is so poor.

      I'll wager that if you were willing to swap in an Nvidia card, you could install almost any distro with little difficulty. You might be able to find a compatible card on eBay for $200 or so.

      That said, I found a thread for you. I found this by searching Google on "linux dell e1505 x1400". This is generally how I've worked through past Linux hardware issues. (Maybe you already did that.)

      I can't promise that will work, though. All I can tell you for certain is that the last time I went through this, I tossed the ATI card and got an Nvidia. I know, it sucks, but it's really ATI's fault, not Linux's.

      Good luck!

      --
      Your god may be dead, but mine aren't!
    6. Re:In need of an in-house Guru by Anonymous Coward · · Score: 0

      Sorry to break it to you, but your "Audigy soundcard" is nothing more than CPU-hogging emulation software that provides EAX via drivers under Windows XP (don't think Vista ones are out yet). You have an AC97-compatible or Intel High Definition Audio-compatible sound card (apparently HDA is a newer version of AC97) by SigmaTel.

      -- sf

    7. Re:In need of an in-house Guru by petrus4 · · Score: 1

      picking a distro, much harder than you think for the non-initiate.

      Depends what you want...different people like their Linux different ways, from what I've seen.

      Purely home made:- Linux From Scratch. Here is also a guide I wrote on what you'll need to know first if you want to go down that path.

      For pre-cooked meat, but where you still have to add your own sides and sauce:-
      Slackware with pkgsrc.

      Entirely pre-cooked and delivered, but still very tasty:- Ubuntu.

    8. Re:In need of an in-house Guru by MechaBlue · · Score: 1

      Been there, done that, and came to a similar conclusion: I want to use my system, not administer it. I could spend a lot of time learning how to administer Linux and keeping up-to-date on the errata but I find it much more enjoyable and profitable to invest my time into learning more about my field. I wanted something UNIXy to develop under and Windows/Cygwin was too slow (and somewhat difficult to work with), so OS X became my poison of choice.

    9. Re:In need of an in-house Guru by MechaBlue · · Score: 1

      Regardless of where the fault lies, the outcome is still the same. Spending money is an unpalatable solution to the issue, especially since the amount of money that you are suggesting is comparable to the cost of a retail version of Windows Vista.

      Also, your definition of "little difficulty" is curious: installation of nVidia's 3D drivers is a non-trivial task, especially when compared to that of Linux's two major competitors.

    10. Re:In need of an in-house Guru by frogstar_robot · · Score: 1

      For that manner, ATI has been pretty much banned from my workplace as well. And these are Windows machines too. ATI has pain aplenty for almost everyone but Mac users. But I believe Apple writes the drivers for any ATI chips they use.

  71. In fact, by WindBourne · · Score: 1

    companies would be smart to make CDs or DVDs that boot into the game.

    --
    I prefer the "u" in honour as it seems to be missing these days.
    1. Re:In fact, by Breakfast+Pants · · Score: 1

      You're right! Everyone who runs a game, also wants to kill their IM client, etc. to do so.

      --

      --

      WHO ATE MY BREAKFAST PANTS?
    2. Re:In fact, by that+this+is+not+und · · Score: 1

      Sure they would! Then each and every game/application would have to address support for each and every graphics and sound card combination that the user might happen to have installed. It makes no sense for game developers to utilize the driver infrastructure of an underlying operating system.

      And the sky is orange.

  72. ESR and Linucon '06 by hoyhoy · · Score: 1

    I raised the same question to ESR at Linucon in 2006. There are certain advantages to working with a large organization. One of those advantages is to apply resources to accomplishing unpleasant tasks. Tasks such as fixing unpleasant bugs and fixing performance issues. Much more attention will get paid to very unpleasant problems if an organization attaches social and financial capitol with finding a solution.

  73. Thank God by Tony · · Score: 2, Funny

    They use C, a language from the same period, not C++.

    Thank God for that. C++ is an abomination. It's not good at OO, it's not strictly procedural. Hell, it's not even clean.

    They use an interface that literally emulates an ancient teletype.

    Hey! Don't talk about GNOME like that!

    --
    Microsoft is to software what Budweiser is to beer.
  74. Another Fantabulous Example by bradgoodman · · Score: 1, Interesting

    This hits the nail right on the head - and here's another example:

    There has been somewhat of a "battle" (maybe that's a strong word) over support for TOEs (TCP Offload Engines) - or any network stack offload engine - within the kernel.

    A TOE would bypass all/most of the network stack to allow sockets to talk directly to hardware [for example] to achieve an array of performance advantages.

    The Linux guys will not allow for any support of TOEs in the Kernel. (I/O-AT is not an offload engine!) A summary of primary reasons include "security issues" and "mixture of non-GPL (the card's firmware) into the Kernel", though one could argue you could apply these same issues to *any* card you plug into your PC, that runs its own firmware and can bus-master.

    The point being - users of the kernel (end-users, developers, commercial and OEMs) and NIC vendors now have to scramble around to find ways to try to appease the Linux community - comply with GPL - and/or hack around the kernel, stack, hardware and user-apps - all to still get the performance that the Linux stack is sorley lacking.

    You can argue the merits of stack-design, layers, etc. - but in the end, the performance isn't there - and the technologies that are actually *available* to make it - but people don't *want* to include them.

    This seems to me as more of a political argument than a technical one.

    So what's Linux's "competitor's" take on all this? Microsoft's "Chimney" - an API to allow exactly that.

    At least someone is thinking "outside-the-box".

    1. Re:Another Fantabulous Example by bersl2 · · Score: 1

      You forgot to say at what bandwidth levels full offloading becomes relevant. I think your target audience is (for the foreseeable future) a lot smaller than you're implying, or so it seems to me.

      FWIW, I tend to agree with the Kernel devs' general position on TOE. The way that many hardware companies are so damn secretive about the interfaces to their hardware (for whatever the reason, whether justified or not), I certainly won't blame the skepticism.

    2. Re:Another Fantabulous Example by DaleGlass · · Score: 1

      The point being - users of the kernel (end-users, developers, commercial and OEMs) and NIC vendors now have to scramble around to find ways to try to appease the Linux community - comply with GPL - and/or hack around the kernel, stack, hardware and user-apps - all to still get the performance that the Linux stack is sorley lacking.


      And that's precisely the way I like it. Why the hell should I surrender to the whims of some network card manufacturer? If they don't produce the stuff I want, I'll buy from somebody who does.

      Not that MS doesn't do the same, for example by dropping hardware acceleration from DirectSound.
    3. Re:Another Fantabulous Example by bradgoodman · · Score: 0

      Yes - it is at very high levels that TOE becomes important and relavent - and the market right now is small - but why should that matter? It is obviously large enough that many NIC vendors, Microsoft, and many people building high-performance networking systems are running into these limitations.

      Try sending a million 1316-byte packets a second from user-space to a 10Gbe NIC and watch the kernel totally choke on it. The NIC is *more* than capable of doing this - the hardware is *more* than capabilities of doing this - even the NIC drivers can handle this -

      but at many many points in the stack - it can't - alloc'ing and freeing a million SKBs a second - certianly the infamous user->kernel space copy, etc. ...and I gave you an easy example - try this with *receives* and the problem gets a thousand-times worse.

      It's great to have design principals - but I actually have to get this stuff to *work* everyday - and I don't even want to get into what I have to do to get it done.

      If you don't want to be subject to how a NIC vendor does X or Y - but a different NIC - or turn off their TOE.

    4. Re:Another Fantabulous Example by mvdwege · · Score: 1

      [...] the performance that the Linux stack is sorley lacking.

      Got any links to benchmarks to back up that contention? Last time I benchmarked a bunch of network cards, the Linux TCP/IP stack got up to 80% of Ethernet speed on good hardware (3Com and Intel), which is a very good score given TCP/IPs overhead. If 3Com and Intel can get to theoretical maximum speeds using the standard kernel drivers, why do we need any magic from other manufacturers to bring their cards up to spec? Shouldn't we just point at the benchmark numbers and advise people to buy serious hardware for serious purposes?

      Mart
      --
      "I know I will be modded down for this": where's the option '-1, Asking for it'?
  75. Why Linux Fails... by JAB+Creations · · Score: 1

    Because the first thing you thought of when you read my tag line was to vehemently defend Linux against any criticisms. 1.) So I can ping from the GUI but I can't even install a program such as a Firefox nightly build unless I go skinny dipping in the command console? 2.) Why is Linux forcing me to use the AC97 onboard audio in place of my Creative Sound Blaster Audigy 2 ZS Platinum audio card... and then gives me no GUI option to switch from between the devices across the several flavors of Linux I've tried out? 3.) Consistency of design, example: key combinations need to work include Win+D, CTRL+ESC, ALT+TAB, CTRL+ALT+DEL, among many others. Kudos to Xandros for making headway on this. 4.) "YAST" is a Linux developer's preferred way of referring to something as a control panel. If Linux were to replace Windows normal users would be looking for their "preferences", "settings", or "options". 5.) Get rid of useless junk: virtual memory (and a forced virtual memory partition on top of that). There are fifty programs to do a task such as FTP, but not catagory called "FTP" so how would these programs see the light of day by normal users? If you disagree you've probably got a high end processor (instead of getting a slower one and then overclocking) but only have half the physical memory you actually use. 6.) Stop turning my hard drive in to swiss cheese. One drive one partition. It's not just about the code, it's what you do with the code (or don't).

    1. Re:Why Linux Fails... by UncleFluffy · · Score: 1

      Paragraphs, please? Slashdot has a preview button for a reason. Anyway...

      1.) So I can ping from the GUI but I can't even install a program such as a Firefox nightly build unless I go skinny dipping in the command console?

      There are several GUI package managers available.

      2.) Why is Linux forcing me to use the AC97 onboard audio in place of my Creative Sound Blaster Audigy 2 ZS Platinum audio card... and then gives me no GUI option to switch from between the devices across the several flavors of Linux I've tried out?

      Ask Creative. If they have chosen to provide a Windows driver but not a Linux driver, then that's their fault, not the fault of Linux.

      3.) Consistency of design, example: key combinations need to work include Win+D, CTRL+ESC, ALT+TAB, CTRL+ALT+DEL, among many others. Kudos to Xandros for making headway on this.

      Consistent with respect to what? Windows? If you want Windows, buy Windows.

      4.) "YAST" is a Linux developer's preferred way of referring to something as a control panel. If Linux were to replace Windows normal users would be looking for their "preferences", "settings", or "options".

      "YAST" is not Linux, it's Suse. Different distributions do things differently.

      5.) Get rid of useless junk: virtual memory (and a forced virtual memory partition on top of that).

      Every modern OS (outside of the embedded world) uses virtual memory.

      6.) Stop turning my hard drive in to swiss cheese. One drive one partition.

      There are several very good reasons for partitioning a drive, but you can put everything into one partition if you want.

      To be honest, I get the impression that you are confusing Windows-specific concepts with universal concepts, and are dismayed when you find out that other systems do things differently and you have to learn new concepts. If you travel, it's the height of crassness to complain that the place you are in does things differently to the place you came from - not everywhere in the world speaks English, and to demand that they do is offensive. To expect that all computer systems work like Windows is equally ignorant.

      --

      What would Lemmy do?

    2. Re:Why Linux Fails... by vidarh · · Score: 1
      All of your objections are against Linux distributions, not Linux. Some of your complaints are also highly subjective, or demonstrate a lack of understanding of why certain functionality is there or not. For someone aiming to replace Windows, for example, key combinations probably ought to match Windows. However, most of us couldn't care less. And most Windows users don't know many of those key combinations anyway... For distributions that care, making the relevant key combinations work as expected isn't a big deal.

      As for partitioning, it depends on how it's done. Proper partitioning makes a huge difference - you don't have non-essential stuff filling your disk at the wrong moment, for example. A typical example is that you really don't want your database to grind to a halt because someone "forgot" to remove a bunch of temporary files from their home directory after doing maintenance etc.. Partitions are a tool, and you can do stupid things with partitioning like with any other tool. For a desktop partitioning is less important, yes, and you will find that several distributions use partitioning very sparingly for that reason.

      As for getting rid of virtual memory... Are you insane? Most people are running systems with far too little RAM. Without virtual memory their systems would be useless. Besides, you CAN easily turn it off - just switch off swapping ("man swapoff" in your hated console). I've run systems with swap turned off, but only embedded systems where I knew the memory requirements exactly. You'd be surprised how badly many programs handle running out of memory. For a desktop I'd bet most people would much rather have things slow down than randomly stop working, crashing, or keep giving them errors about running out of memory.

  76. Is there a limit to your ingrateful criticisms? by Anonymous Coward · · Score: 0

    If you're so unsatisfied with the current Linux filesystem offerings, develop something better yourself.

    You use Linux and you criticize what you have to use concerning the filesystem. Considering all the effort already placed in all the different alternatives you have concerning filesystems with linux, all I see in this thread are people that are ingrateful. Can't you just appreciate the work and thank God all these filesytem alternatives exist for Linux?

    The fact remains there are many choices here: fat, ntfs, ext2, ext3, reiser, ext4, and others if I choose to look harder.

    You talk about other kinds of filesystems that version the entire filesytem in a snapshot. Interesting and all for some, but most people don't have overkill storage space to afford this luxury for the time being let alone having enough computers for all households in all countries. OLPC(one laptop per child) is an admirable attempt for helping kids learn about computers all over the planet. That is a great priority to have. Why don't criticize the fact that there are still kids on the planet that don't have computers instead of critizing the lack of versioning filesystem api's in Linux?

    Sure Linux kernel/filesystem developers have a thick skin and take criticism, but I figured it would be nice to see someone give praise for all the efforts the Linux kernel/filesystem developers have made instead of simply telling them "It is hightime they fix stuff in blah module" in an ingrateful manner.

    1. Re:Is there a limit to your ingrateful criticisms? by PylonHead · · Score: 1
      --
      # (/.);;
      - : float -> float -> float =
  77. Has someone actually read about or used it ??! by udippel · · Score: 4, Informative

    <OT>
    As an older slashdotter, I am quite disappointed with the discussion so far. A few have suggested to discuss the topic in question, respectively ZFS. But, as so often, we can make out that people just blindly speak without having read neither the original article, nor about ZFS.

    </OT>
    ZFS solves about all and any problems we have had with filesystems since FAT, and this same community was pretty enthusiast in http://developers.slashdot.org/article.pl?sid=05/1 1/16/2036242.

    Most of all, to me, I am astonished that almost everyone talks 'virtualisation', VM, QEMU, Xen.
    When it comes to filesystems, suddenly many seem to want to do everything on their own, on physical platters: partition, volumes/RAID, format. ZFS is a virtual filesystem, where none of such is physically needed. There is a nice http://www.opensolaris.org/os/community/zfs/demos/ basics/ demo on how to create 100 mirrored filesystem within 5 minutes.

    Of course, filesystem should be a black box, an object, instead of the user having to do low-level work. ZFS provides this, and more relevant: of course it needs to be cross-layered therefore.

    Snapshots ought to be available easily, at any moment in time, without taking much space. ZFS does so, by only storing the changes and sharing the unmodified data. If you want to do so, you need an abstraction of the hardware. That is, crossing layers. Not to mention writeable snapshots.

    Adding new drives without partitioning, slicing, formatting. Just adding to the existing pool. Inclusive striping being adapted automagically. This needs a cross-layer interface, right ?

    The transactional filesystem guarantees uncorrupted data at power failures and OS crashes. If you do this across a pool of physical platters, you need operations across layers.

    There is an interesting blog on the usage of ZFS for home users. It contains some good arguments, why ZFS is useful for Linux' Desktop Stride. You find it here: http://uadmin.blogspot.com/2006/05/why-zfs-for-hom e.html

    Last ot least, the online checking of all your data ('scrubbing' and 'resilvering') is a valuable feature for Linux (and the home user) as well.

    To me it looks like, as of today, that about everyone liked the features of ZFS. Now, as it requires to break some old habits, suddenly we resist change and rather stick to older concepts.
    As if GPLv2 vs GPLv3 was not enough of a threat to Linux, now we unashamedly permit a new-from-the-bottom-up filesystem to overtake us as well ?

    1. Re:Has someone actually read about or used it ??! by Anonymous Coward · · Score: 0

      > They didn't read TFA

      You must be new here.

    2. Re:Has someone actually read about or used it ??! by vidarh · · Score: 1
      Snapshots ought to be available easily, at any moment in time, without taking much space. ZFS does so, by only storing the changes and sharing the unmodified data. If you want to do so, you need an abstraction of the hardware. That is, crossing layers. Not to mention writeable snapshots.

      No. You need an API that lets you ask for a snapshot, and that handles it on a block level. You can "cross layers" if you absolutely want to, but why? It doesn't buy you anything, and it creates interdependencies. Why should the snapshot functionality have to be copied or rewritten every time you create a new filesystem? It doesn't need to depend on filesystem organization.

      Adding new drives without partitioning, slicing, formatting. Just adding to the existing pool. Inclusive striping being adapted automagically. This needs a cross-layer interface, right ?

      Of course it needs a "cross-layer interface". The entire point of layering is to expose an interface to the layer above that provides services but hides HOW those services are implemented. Nobody is complaining about interfaces from one layer to the other, but about removing the barriers between layers and merging them together in the same codebase, which, again, creates dependencies and reduces genericity where there's no reason to.

      The transactional filesystem guarantees uncorrupted data at power failures and OS crashes. If you do this across a pool of physical platters, you need operations across layers.

      Or you create a generic API for the lower layers that expose the functionality that is needed, and gets that promoted into the generic part of the appropriate layers so that all filesystems that want to have the hooks needed to implement similiar functionality without having to duplicate lots of code.

      There may be arguments for considering changes in where the boundaries between layers are drawn, or even if a specific layer is really needed. But layering is there in part because a system like Linux is a large ecosystem. We have dozens of filesystems. We have specialized replacements or additions to the lower layers (such as a choice of using software raid or not, or a block device that mirrors over a network or not etc.) etc. The number of possible combinations is huge. Cutting through the layers is a lazy way of adding extra features to a single filesystem instead of making parts of those features available to other parts of the ecosystem.

      The excuses just don't cut it - the reason ZFS cuts through the layers isn't because it needs to, but because it was convenient for the people writing ZFS without thinking holistically. In other words, they were concerned with looking only at ZFS, rather than looking at how to make the featureset they are supporting the most useful.

      That's fair enough - for Sun it makes sense. They have no real incentive for exposing all this functionality as separate interfaces for the different layers so it can be built on by others. But trying to pretend they're doing it that way because it's the right thing to do is just silly.

    3. Re:Has someone actually read about or used it ??! by julesh · · Score: 1

      Most of all, to me, I am astonished that almost everyone talks 'virtualisation', VM, QEMU, Xen.
      When it comes to filesystems, suddenly many seem to want to do everything on their own, on physical platters: partition, volumes/RAID, format. ZFS is a virtual filesystem, where none of such is physically needed.


      Who's talking about physical platters? One of the layers that ZFS removes but which Linux has is a virtual addressing layer that separates the filesystem from being concerned with physical disks. This means that in Linux, *any* filesystem can be stored wherever you want, including on a virtual disk if you want.

      Snapshots ought to be available easily, at any moment in time, without taking much space. ZFS does so, by only storing the changes and sharing the unmodified data. If you want to do so, you need an abstraction of the hardware. That is, crossing layers. Not to mention writeable snapshots.

      I don't see how using a virtual block device that provides snapshot capabilities (e.g. LVM) is "crossing layers". It's using a feature of one of the layers.

    4. Re:Has someone actually read about or used it ??! by udippel · · Score: 1

      Sure, you get me here. I have no clue about the layers in the Linux kernel.
      And still, you and julesh prove me correct, in principle.

      Firstly, I can't agree with your terminology. While 'ecosystem' sounds good, there is an ecosystem, the one that a creator or nature have set up around us. While the stuff that we have created ourselves, to the best of our knowledge, 20 or 30 years ago, to 'talk' to disk drives, ought not be called like that. It is purely man-made.
      And I have never denied, that ZFS could be written by artificially separating it out into fitting into these layers; but only at great costs and slower performance. There is actually no need, because

      Secondly, somehow the article proves to be correct. As much as I like FOSS, here a major weakness creeps up. As well as we can accommodate choice in our projects, when a revolutionary change shows on the horizon, we seem to be unable to make a huge leap forward. The functionalities of ZFS demonstrate that it is the filesystem of our dreams. Inclusive on the desktop: if Linux had it, we'd be in front of Windows: When Aunt Tilly's pr0n collection grows beyond her existing storage, she can buy a new U320, plug it into her PC without opening it or shutting it down, just plug it like that, and a pop-up will say: "Hi, Aunty. You just plugged a new hard drive. Do you want to use it for your data ?" Aunt Tilly will click 'Yes', and that's it.
      We'd need a small dictator, Steve Jobs, Theo, whatsoever, to declare that ZFS is the filesystem of the future, with sufficient capacity during our life-time, and that 'we leap ahead'. Meaning: Over 3 years it will be the main file system, over 5 years all others will be deprecated, over 10 years (and beyond) we can still read and write, but that's it. No more development on those legacy systems, no extra space in the kernel, no nothing.

      Thirdly, still on layers: OSI was such a nice, balanced, idea. We thought it was great. In the end, an unbalanced one showed to be more practical: TCP/IP. How ugly :( ! All those beautifully set up upper layers unified, actually anything above addressing a single box. Somehow, though, it has proven its value: anything above addressing somehow does not lend itself to further layering; there are too many interdependencies. Consequentially, those layers of OSI found themselves unified.
      IMHO, successful file systems would end up likewise. Anything below the data structures is implemented best, fastest and most reliable as a unified block. The lower end of which addresses storage.
      Volumes, labels, RAID, striping, error processing, partitioning, pooling, slicing, formating, scrubbing and so forth do have too much in common to be split in order to accommodate legacy ideas.

    5. Re:Has someone actually read about or used it ??! by Anonymous Coward · · Score: 0

      Well, that sound great, and in fact the ZFS demo looks impressive. However, this is not a good excuse for bypassing layers!

                Bypassing md/RAID is quite appropriate. A ZFS based on Linux's RAID layer would probably not be compatible with "normal" ZFS, and I do think using that layer wouldn't be clean. However, avoiding VFS and especially the block layer is just a convenience to the programmers, plain and simple.

                Layering really has helped Linux out a lot in the long term. It would have been faster perhaps to just have FAT, XFS, etc. go straight to disk, but in the long term having them go through layers has REALLY helped. Loopback file mounting, the current RAID, lots of other twisted combinations just plain work because code follows layers properly. I can't think of a use of running ZFS out of a loopback file, but if layered properly you will be able to do this (losetup the file as /dev/loop0, and it's just like a normal "device"). Improperly layered, you cannot do this.

  78. Re: the other reason Linux fails... by Anonymous Coward · · Score: 0

    I'm sure I'll get modded down for pointing this out, but the truth is that X-windows sucks. Linux desperately needs a replacement for X. Once that happens, Linux will finally be ready for the desktop.

    Don't get me wrong: I love using Linux on the command line, and I think Linux is vastly superior to Microsoft-Windows for server environments. I just can't stand the wretched excuse for a windowing system known as X.

  79. Re:Hey! by Daniel+Phillips · · Score: 1

    Ok, under LVM, /dev/hda is a physical volume...

    And that is exactly my point: there is no need for this restriction. It is a stupid restriction that results from a stupid design. OK, at the time the design didn't seem so stupid because it could do things we could not do without it. But now, nearly ten years later, fossilized and frozen in time, it is obviously stupid and limiting.

    --
    Have you got your LWN subscription yet?
  80. Re:Hey! by sp4c3cl0wn · · Score: 1

    I think that the beauty of linux is the fact that it is not limited in its expression like other operating systems. Linux can be what ever you want it to be. The lack of cross integration actually lends itself to adaption. The paradigm of hardware and software companies creating markets and then selling them will not be as important as costumers wanting purpose driven machines and linux delivering.

  81. Re:It sounds cool, but I think I like the layers m by Anonymous Coward · · Score: 0

    Also,

    Consider that your raid on the lower level cannot rebuild a single filesystem block or piece of data in flight to the application. ZFS can do this because it has raid knowledge and filesystem knowledge and can retrieve or calculate a repaired piece of data from RAID info if it detects that it got corrupted. Conventional RAID systems will repair a drive if you yank the whole thing and that's al lit can do because the layers don't communicate with each other.

  82. Re:Hey! by ThePengwin · · Score: 0, Offtopic

    I will be rich and famous when i find a way to stab people in the face over the internet - http://bash.org/?4281

    That way I can remove them.

  83. Nachos anyone? by fahrbot-bot · · Score: 1
    You see. Linux device drivers are like Nachos...

    [ Now picture Jon Stewart saying this while
    impersonating either Sen. Ted Stevens or President Bush. ] :-)

    --
    It must have been something you assimilated. . . .
  84. Re:It sounds cool, but I think I like the layers m by Anonymous Coward · · Score: 0

    But this is where journalling file systems such as reiserfs win. Its not exactly an old-style file system either, its more like a database. (AN ACID DATABASE) ...Atomic, Consistent, Isolated and durable... If you don't shut down happily, the file system is safe because before writing (or trying to write) the file, it made a journal entry. It then does the write, then removes the journal entry. If there is a power outage during a write, it checks the journal to see if the file system is clean (no journal entries and a clear file system bit). If its not clean, it cleans it before mounting it, and it does that by checking files against journal entries (and cleaning the journal as the file is either fixed, or just checked (all result in journal entries removed). With (also) all of the special cases, just like a database. Reiser4 also does snapshots (as does plan9). The only thing ZFS had over any other was size (and Reiser4 was big enough so that all the hard disks in the US could not exceed what Reiser4 could consider as 1 single filesystem). There are things in some of the other file systems that are not in ZFS (no tail-packing for example, which lets you put 5% more data on an average hard disk, and considering the drive sizes today, 5% can be a lot). Last I heard, ZFS was incompatible with the GPL, another valid reason for not including it in Linux.

  85. Re:Hey! by einhverfr · · Score: 2, Insightful

    No, it is not stupid. You seem to be suggesting that snapshotting should be something that can be done on an arbitrary block device. To do this, you would have to have this supported in the block device handling, and this could be *very dangerous* in some environments (GFS, for example, or other DLM-based clustered filesystems) and misleadingly useless in others (snapshot one volume in a RAID 5 array). To make this work, I think it is best to handle snapshotting on the bottom-half of the filesystem (the inode layer->block device interface). However, there is some use in having it handled by the LVM (in that it allows you snapshot logical block devices rather than filesystems).

    I am not saying that the current system is perfect (no system is, and one should always strive for improvements), but I don't think doing snapshots of arbitrary block devices is a good way to handle it.

    My list of things to improve include:
    1) Change the /dev/ location of LVM volumes to /dev/lvm/... Makes for less typing and more transparency. Makes the entire picture both cleaner and clearer.
    2) Make sure that *all* the newbie Linux documentation covers LVM.

    --

    LedgerSMB: Open source Accounting/ERP
  86. PARENT IS TROLL by donscarletti · · Score: 1

    Miguel de Icaza got married recently and I'm pretty sure his wife was the type of Brazilian woman who was born that way. I'm not sure who Jason Reynolds is, but Joel Spolsky is a big Microsoft guy according to Wikipedia.

    --
    When Argumentum ad Hominem falls short, try Argumentum ad Matrem
  87. Real complaints by CustomDesigned · · Score: 2, Interesting
    You can't snapshot things that aren't logical volumes in ZFS or AIX either. You just don't normally access the raw physical device. Many of those complaints made against Linux are of the "doctor, doctor, it hurts when I do this" variety. Don't like those crufty DOS era partition tables? Don't use them! Run pvcreate directly on /dev/hda or whatever. Yes, grub understands LVM now (and LILO never needed to).

    One legitimate complaint is the poor state of integrated RAID support in the linux LVM. Yes, the LVM can mirror logical volumes now, but it is very klunky (I miss AIX LVM). Creating PVs on top of md devices is tedious and error prone (because you often need to split physical devices into multiple partitions to avoid resyncing the world). The LVM should at least support RAID 0 and 1.

    Another complaint is the lack of consistent high level utilities for file system admin. On AIX, one command allocates a logical volume and creates a filesystem on it (or you can do the steps separately for greater control). Linux makes you create the LV, then create the filesystem. Worse, linux used to offer e2fsadm to resize a filesystem and the underlying LV. Now, you have to run lvextend THEN resize2fs - or the reverse if shrinking (and you had better type those sizes right). While it is nice to have access to raw LVs for some things, I really don't want to have to manually compute volume sizes - with potential data destruction in case of mistakes.

    1. Re:Real complaints by msh104 · · Score: 1

      you could create a lvm device on top of a raid...
      don't know what it would do to performance though..

    2. Re:Real complaints by Anonymous Coward · · Score: 0

      md devices are raid device (at least they are in Linux), so basically he already mentioned that.

  88. Note to moderators: parent poster cannot read ;-) by einhverfr · · Score: 1

    The article you linked to suggested nothing about intelligence and only compared Dell users to Mac users. I don't own any Dell computers and they all (with one exception of a Windows Server 2003 system I keep for testing purposes only) run Linux. I suppose I could argue that makes me statistically likely to be smarter than John ;-)

    Secondly, while I like the Steve Jobs quote, I would point out that in my largest open source project (LedgerSMB, see my sig), our core team is composed of six people, and only two have CS degrees. One hasn't finished her degree yet, and one of the degree holders double-majored in music. Me? I am a historian. We haven't got the best results yet but that is because the codebase we inherited is, politely put, a mess. Hopefully within a year, we will have the best darned business accounting package out there and it will be open source. Part of the reason is because there are so many contributors who are from other fields (art, music, science, history, etc).

    There is a lot of great open source software out there. I don't understand what you mean by a failure to think holisticly.

    --

    LedgerSMB: Open source Accounting/ERP
  89. silly blogger... by Error27 · · Score: 1

    Andrew Morton basically said, "Yeah it's great, but the API sucks." The blogger responds about Sun products are designed by ninth djinn feng shui masters.

    Woop-di-doo. And good for you.

  90. Re:Hey! by Daniel+Phillips · · Score: 1

    You seem to be suggesting that snapshotting should be something that can be done on an arbitrary block device. To do this, you would have to have this supported in the block device handling

    Well duh. What do you think an LVM virtual device is? Right, an instance of a block driver. Now what do you think a "physical" block device is? Right again, an instance of a block driver. Spot the difference? No, neither can I. Get my point yet? Ah, darn.

    --
    Have you got your LWN subscription yet?
  91. Re:Hey! by einhverfr · · Score: 1

    Well duh. What do you think an LVM virtual device is? Right, an instance of a block driver. Now what do you think a "physical" block device is? Right again, an instance of a block driver. Spot the difference? No, neither can I. Get my point yet? Ah, darn.

    '358' is an instance of an 'integer.' '35800' is an instance of an integer. Spot the difference? Neither can I but I guess the IRS does :-)

    My point is that physical and logical devices are used in fundamentally different ways. Taking a snapshot of a networked device using GFS and then promoting it to read-write would be downright dangerous and could result in severe data corruption. Similarly taking a snapshot of volume 1 in a 10-volume raid-5 array would not do you much good.

    It seems better to allow this only on logical volumes which are specifically managed by LVM.

    --

    LedgerSMB: Open source Accounting/ERP
  92. Re:It sounds cool, but I think I like the layers m by Anonymous Coward · · Score: 0

    You really know nothing about ZFS then if you think that's all ZFS has over the competition including Reiser. Time for you to do some Googling so as not to sound ignorant.

  93. Transactional file systems by Animats · · Score: 1

    This isn't that new. In fact, it's rather like Tandem's file system from the 1980s. It's good that people are thinking about this. Traditional UNIX file system semantics are incredibly dumb; no locking, no transactions, and no guarantees. Really, if you're looking into reliability, find out how Tandem did it. Tandem systems routinely ran for years, in some cases decades, without crashing. Even during reconfigurations and hardware upgrades.

    To me, the real "layering" issue is that the file system is in the kernel. If it were simply an application one talks to by message passing, as it is in QNX, replacing the file system wouldn't be a big deal.

    1. Re:Transactional file systems by vidarh · · Score: 1
      FUSE lets you do file systems in user space on Linux. It works fine, but it's definitively slower than the in kernel alternative, which is probably the biggest reason why it's not used by default. Since you can compile the filesystems as modules, the only thing it buys you is protection against crashes. But if the code managing your filesystem keeps crashing, you have a significant problem anyway. Not many people are in a situation where an occasional full crash is a huge deal, and not many people would accept running a filesystem that would keep crashing anyway, so it's a fairly special case that doesn't matter enough to most people.

      I'd love if it was an easy choice - if it was easy to write filesystems for Linux so you had the option of either loading them as modules into the kernel or running them user space. The same would be great for other subsystems too. For some, the tradeoff in performance is acceptable if it buys any extra stability.

      I doubt it will happen with the mainstream Linux kernel as long as Linus is in charge, though. A more likely scenario would be that someone retrofit Linux on top of one of the experimental microkernels (several projects do that already) and selectively move subsystems into separate processes (don't know if anyone is doing that yet).

  94. Interlayers bug by Anonymous Coward · · Score: 0

    Just try this in a kubuntu machine: log-in and as soon as the desktop apears, try to open some instances of konqueror... frecuently konqueror will frezee for a few seconds while opening, and after that the file system will be read-only; in the next reboot you will be forzed to do a fsck.

    And impatient coworker manages to do this frecuently... never had lost data like this; but it sucks, so he is starting to despise kubuntu

    1. Re:Interlayers bug by lintux · · Score: 1

      Can you reproduce this on a different machine? To me it sounds like good old filre system corruption. He should check dmesg when this happens. Linux usually remounts a fs r/o when it seems to be broken.

  95. Argument for the BSDs? by Billly+Gates · · Score: 1, Offtopic

    I have only seen Linux kernel panic once since 1999 because of a setting I did with the bios under kernel 2.0 that was my fault. Windows on the other hand crashes alot more often and has more security issues because things run in the kernel or ring0 which should not. Its very will layered. The apps on my linux distros are bleeding edge and suck compared to most commercial unix counterparts and even Windows but its well layers. Ubuntu, Debian, and RHES are the exceptions.

    I have switched to FreeBSD for awhile because I felt Linux lacked quality and a lack of design since it tends to evolve compared to the BSD family of operating systems which are designed .... and of course the FreeBSD manual that came with the box is the best unix resource I ever read. Everything is just integrated and works and feels like one unified system.

    For the background here I started to use Linux around 1998 or 1999 and switched to FreeBSD in 2002 - 2005. I then switched to Ubuntu and then back to Windows but still run Ubuntu under the free VMWare Server on my laptop. I needed to learn Java for my MIS program and java reaks under any BSD so I switched back to Windows and then linux again.

    Ubuntu is the only OS that feels BSDish in the way that everything is integrated and well tested with look and feel and quality.

    Anyway I feel its very mature though the apps could be improved which is an argument for commercial unixies like Solaris on mission critical servers, but with distros like Ubuntu that problem is going away thanks to integrated bug reporting.d

  96. Re:Hey! by Daniel+Phillips · · Score: 1

    My point is that physical and logical devices are used in fundamentally different ways.

    My point is that there is no such thing as a "physical" device, there are only block device drivers and instances thereof. And if I want to take a snapshot of /dev/hda, a perfectly reasonable thing to do, I should be able to continue to access the snapshotted device as /dev/hda, which will then be running a different driver that knows about the snapshot). There is no technical reason why this cannot be done. Bold is in the hope that I do not have to say "oh darn" about that point again.

    --
    Have you got your LWN subscription yet?
  97. Re: the other reason Linux fails... by Billly+Gates · · Score: 1

    But it sucks less.

    Of course that is also the argument for windows. Xorg is much better than xf86 and of course computers with gigs of ram and dual core processors are nice too.

    I loved aqua for macosx but I guess X is here. The fonts are now getting usable for those used to them on windows or macosx though you need David Turners patches for real clear type rendering.

  98. That's a bit myopic. by zippthorne · · Score: 1

    Ah, but then you trot out the old, "Democracy is two wolves and a sheep voting on what to have for dinner." Which is the definition of the tyranny of the majority, in terms even the sheep can understand.

    It doesn't do the sheep any good to "get out the vote" and convince more wolves to join in the voting.

    --
    Can you be Even More Awesome?!
    1. Re:That's a bit myopic. by poopdeville · · Score: 1

      Why should the wolves suffer for the sheep's sake? This sort of naturalistic argument doesn't inspire any confidence in your position. The wolves should eat the sheep.

      To come back to actual human voting, why should two suffer so one might not? Mind you, I think the government should protect all subject's natural rights (rights along the lines of those outlined in the Constitution), so cannibalism is a non-issue.

      --
      After all, I am strangely colored.
    2. Re:That's a bit myopic. by Anonymous Coward · · Score: 0

      But in reality there will always be more sheep than wolves unless the sheep has wandered into the wrong area, so long as the sheep stick together they will win the vote on what dinner should be. In any case this pre-supposes that wolves shouldn't be able to eat the sheep for dinner, anyone who believes that should be a vegetarian.

      The real problem with democracy is that the majority are either, stupid, too ill-informed to make a good decision or couldn't care less, they might even be all of those. If everyone in a democracy was intelligent, well-informed and cared about what happens, democracy would work a lot better.

  99. Holistic?? Far Out Man, Like totally organic by skeptictank · · Score: 1

    It's good to see that somebody is still finding a use for those old foxfire catalogs.

  100. Re:Hey! by einhverfr · · Score: 1

    Right-- there is no technical reason this *cannot* be done. But there are technical reasons this *should* not be done. Perhaps we are talking past eachother on this minor point.

    --

    LedgerSMB: Open source Accounting/ERP
  101. Windowsies are incredibly patient people by flyingfsck · · Score: 1

    Yup, it amazes me how incredibly patient Windows users are. They will put up with *anything* and come back for more. My guess is that they all have a sado-masochism fetish. If Windows gives me shit at work, I pop in a Linux bootable CD and carry on working while the rest of the people around me all head for the water cooler. Windows is the greatest *unproductivity* tool ever invented.

    --
    Excuse me, but please get off my Pennisetum Clandestinum, eh!
  102. Uninformed Coward by flyingfsck · · Score: 1

    Hmm, that post is just so uninformed that I guess the Honorable Coward hasn't ever actually used Linux.

    --
    Excuse me, but please get off my Pennisetum Clandestinum, eh!
  103. Re:It sounds cool, but I think I like the layers m by einhverfr · · Score: 1

    No, something like this could be best handled in the bottom half of the filesystem (inode layer). However, I do not think you need knowledge of the stack to do it. If what you want is a fully transactional write, you write to a new set of blocks and then mark the old ones as free. You would need to keep some state handling data in the inode, of course to make this work, but it would be completely feasible to do. It would even allow you to do transactional writes even when not using RAID.

    The problem with implementing this in the RAID layer is that this layer has no knowledge of the filesystem data structures. You *could* do this with a RAID array encapsulated behind an interface like OSD, but but behind just a block interface.

    --

    LedgerSMB: Open source Accounting/ERP
  104. typical by nanosquid · · Score: 1

    ZFS is layered.

    ZFS may be more layered than a Baumkuchen inside, but that's totally irrelevant. From the point of view of the rest of the world, ZFS is just an amorphous blob of code that talks to the disk at one end and presents a file abstraction at the other, and that's what matters. Why does it matter? Because ZFS duplicates a lot of functionality that already exists elsewhere in the kernel and because its internal abstractions aren't available (or likely even suitable) for building other things on top of. All the shiny, pretty diagrams Sun draws about its internal structure don't change that.

    You can even, y'know, read the source before you start making ignorant claims. I guess this wouldn't be Slashdot if people did that, though.

    You can even, y'know, stop being a total fanboi before you start making ignorant claims. I guess this wouldn't be Slashdot if people did that, though.

    1. Re:typical by asaul · · Score: 1

      The reason ZFS duplicates functionality is because it *has* to do achieve the sorts of features it is able to provide (read the whitepaper or the OpenSolaris ZFS community materials to see what I mean). I thourghly recommend the to small ZFS tutorial flash movies on the Open Solaris ZFS community - they show the basics of what ZFS can do very concisely.

      Traditional filesystems view the disk as a slab of blocks do what they please with. Traditional LVMs view disks as places to abstract into a single block of devices. There is no communication between other than "write ok, yes/no? Read ok, yes/no?". By breaking that model you allow point in time snapshots of the filesystem, not the device. You allow writable clones that share common blocks, you allow the storage subsystem to tune its performance to the filesystem work, rather than model the underlying storage on your idea of what the filesystem is doing.

      And so what if the storage allocator is an amorphous blob. Its open source, it does have interfaces (zvols amongst others). Why would you want to get involved in its internals unless it is not doing its job, and if it isnt the source is there to improve it.

      So many of the arguments on this topic seem to be of the line "linux allready does this, so why change?" or "I dont get it, so it must suck". But there is nothing in ZFS which says it *must* replace these functions - you can make a zpool of some devices and md/lvm etc of others - it doesnt care. You can make any other filesystem that wants a block device on top of zvols - it will happily do it. If it proves to not compete or do as well, it will fade away with time and die. If it shows to be an improvement (which in my opinion it certainly is, coming from years of SDS+UFS and VXFS+VXVM admin on Solaris) the over time it will probably replace those other features.

      Why must there be a line in the sand instead of a productive, usable alternative?

      --
      "If everybody is thinking alike, somebody isn't thinking" - Gen. George S. Patton
    2. Re:typical by nanosquid · · Score: 1

      The reason ZFS duplicates functionality is because it *has* to do achieve the sorts of features it is able to provide

      No, it doesn't "have" to do that. Those features could be provided by well-known and well-defined kernel layers.

      Why must there be a line in the sand instead of a productive, usable alternative?

      We are discussing whether ZFS represents a good approach to system design and architecture, and I'm firmly on Morton's side: it does not. That's true no matter how well it may work.

      Traditional LVMs view disks as places to abstract into a single block of devices. There is no communication between other than "write ok, yes/no? Read ok, yes/no?"

      Yes, traditional LVM's are a bad idea. But that doesn't make ZFS a good idea. In fact, ZFS shares many of the same problems that LVMs have.

      Linux will have an answer to ZFS in a few years. Unlike ZFS, it will be architected properly, and it will work better. It's taking Linux longer not for lack of resources, but because Linux developers, unlike Sun, take the time to get it right.

  105. Re:It sounds cool, but I think I like the layers m by lokedhs · · Score: 1
    The lack of proper transactional writes in the "old" stack does not come from the file system, but it's an inherit problem with RAID5. It's solvable on the volume manager layer, but unless you use a battery-backed write-cache that solution becomes horribly slow.

    Well, another solution is to use ZFS.

  106. responsible for all of the current failings by l3v1 · · Score: 1

    is responsible for all of the current failings of Linux -- desktop adoption, user-friendliness, consumer software, and gaming

    Well, and a Solaris/ZFS dev says that to a Linux dev ? Talking about thinking holistically...
     

    --
    I am putting myself to the fullest possible use, which is all I can think that any conscious entity can ever hope to do.
  107. Re:Hey! by Daniel+Phillips · · Score: 1

    Right-- there is no technical reason this *cannot* be done. But there are technical reasons this *should* not be done.

    There is not a single one that I know of, and in particular, you have not presented a single technical argument against. "Used in fundamentally different ways" is not a technical argument. Neither is "could result in severe data corruption". If I want severe data corruption I can produce it in any number of fine and otherwise useful Unixy ways. You need to take off those blinkers and think about "could be useful" and "could make life nicer for users" and "could be implemented nicely".

    --
    Have you got your LWN subscription yet?
  108. Re:It sounds cool, but I think I like the layers m by cnvogel · · Score: 1

    ZFS seems to want to take all over the disk subsystem. Why? Is there a reason why it needs its own snapshot capabilities, instead of just using LVM? Because this kind of snapshots are just much more primitive than the ones in ZFS. Basically you can branch of a complete subdirectory instantly, and branch of one from that one, too... It's the best way to do backups (not against disk failure, but against accidental overwrite/deletion) ever invented. Show me how to do that with the LVM snapshot kludge.
  109. Re:Hey! by joib · · Score: 1

    It's not like Solaris with ZFS is any different in this regard. To use snapshotting or any other zfs feature on a physical disk, you have to add the raw block device to the zfs pool. Just like you have to add a physical disk to LVM before you can use LVM snapshots on Linux. You can't just snapshot arbitrary block devices on either OS, holistic layering violations or not.

  110. Re:It sounds cool, but I think I like the layers m by jhol13 · · Score: 1
    Fact: nobody disagrees that streams modules are easier to write than Linux kernel modules. Still even the idea of accepting streams into Linux kernel is abhorred.

    The reason? It is not "fast enough" for IP. Though Solaris IP, using (heavily modified) stream modules is an excellent performer.

    Unfortunately Linux is more guilty of NIH than many others.

  111. Re:Hey! by clive_p · · Score: 1

    "Any design problem can be solved by adding an additional level of indirection, except for too many levels of indirection." This is known as Cargill's quandry. But - does anyone know who Cargill was?

  112. What confusion? by Anonymous Coward · · Score: 0

    Pick one. Use it. Done.

    You only found OSX easy to pick because there was only one. If OSX doesn't do something quite the way you'd like it to, you ignore it because either
    a) you have no choice in the matter
    b) you don't know it's a possibility

    So just pick one. From the US, Red Hat for Gnome (OSX like) or SuSE for KDE (windows like). That was no more difficult than "Do I pick Windows or OSX?".

  113. Re:It sounds cool, but I think I like the layers m by vidarh · · Score: 1
    ZFS solves this problem in two ways, both of which reuires the storage model to be part of the filesystem: 1. Each physical write never overwrites "live" data on the disk. It writes the stripe to a new location, and once it's been completely committed to disk the old data is marked as free. 2. ZFS uses variable stripe width, so that it does not have to write larger stripes than nescessary. In other words, a large write can be directly translated to a write to a large stripe on the sotrage system, and a smaller write can use a smaller stripe width. This can improve performance since it can reduce the amount of data written.

    You claim this requires the storage model to be part of the filesystem, but it doesn't.

    All it requires is sharing some minimal extra information, such as letting the block layer have a concept of free/used data blocks, and allow the filesystem to give hints about the strip width, for example. Sufficient information to deduce those values might even already be there with the existing API's (I don't know - I haven't looked much at that part of the Linux kernel).

    If done right, other filesystems would be able to take advantage of it with little effort, instead of having to duplicate this functionality in every filesystem that wants it.

    As for snapshotting, that also at most needs knowledge of which blocks are free and which are not - that's sufficient to expose a virtual block level device to the upper levels while doing copy-on-write transparently on the physical disk as long as there's enough space. You can even do it without understanding free space, but it means you need to preallocate some space for block copies which you can only reclaim if a snapshot gets deleted but that's usually ok for a lot of scenarios (such as using snapshots for hot backups).

  114. from what i see Linux is gettin there by kaizokuace · · Score: 1

    dude, If you run Ubuntu 7.04 now and drop Beryl on that you will notice that your world gets rocked. Linux is just as good as windows(and with Beryl its beautiful). I showed Ubuntu to my mom and she was like "put that on my computer" and i was like its easy just pop this disc in and press install! It really is that easy. LiveCD makes life easy for Linux. The only problem with Linux is 1) too many distros. If everyone working on Linux focused on to maybe 5 major distros a lot more work would get done. and 2) marketing. MS goes out in the world and tells people why they need windows and how wonderful their life will be with the power of windows or some shit like that. The only good press about Linux is on the internets. I wanna see tv ads showing me a better life with the magical powers of Linux! and 3) games. This will change when game developers support the platform which means more people need to HAVE the platform. When everyone that uses Linux is sad that game developers don't really support their platform they need to realize that its not because developers don't wanna support Linux. Money talks to them as they are businesses. More user base = more support. Simple as that. So once Linux gets the user base the games will come and we can fly on magical unicorns and shit into the sunset. Support the new OLPC - One Linux for every PC. chakow!

    --
    Balderdash!
  115. Full employment is a threat, not a promise. by DrSkwid · · Score: 1

    nt.

    --
    There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
  116. Linux Foundations by DrSkwid · · Score: 1

    Linux was built on "oh no, I need a Unix and I don't have any money and AT&T is suing BSD so I'd better not use that".
    For me, that's not much of a premise.
    I'd rather they went for the "lets stop working on Linux" option.

    --
    There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
  117. FIxing the problem by codefungus · · Score: 1

    I agree. It does fail, mostly. However, if you look at the success of wireless, you can kind of see what the potential is (luckily, pretty much all devers are interested in wireless). Perhaps there should be some kind of body that can put together initiatives consisting of a stacks of projects from drivers up to the GUI. I think that would be pretty sweet. And maybe the coding is even being done already, the packages could at least be strung together or grouped somehow.

    Two Examples:
    Handheld Syncing
    Printing/Scanning

    Cheers.

    --
    -- A cat is no trade for integrity!
  118. Re:Hey! by TheRaven64 · · Score: 1
    Solaris has the same benefits. If you look carefully at ZFS (see here for more information), you will note that it isn't a layering violation at all. ZFS does not violate layering, it just moves the boundaries of the layers, but there are still three distinct layers.

    Linux could have done the same thing, since all of the layers of ZFS are implemented inside the kernel. It didn't, and you can draw whatever conclusions from that you wish.

    --
    I am TheRaven on Soylent News
  119. A basic question by Yogs · · Score: 1

    I know next to nothing of the particulars of this topic technically, but at a high level it seems to me like we're having a debate between sometimes complex and annoying configuration to do what should be simple, and a monolithic approach that is easy, but does not fit all circumstances.

    So, aren't there other high level options here? Either (simplest) use the monolithic tool when it does what you want, configure by and when it doesn't, or... find an existing open source tool, or write your own (script/gui tool, whatever you prefer) that follows a convention to save yourself the time when the convention does what you want, but allow access to the underlying configuration you need to tweak (exposes those options in the script/gui tool).

    Someone tell me why these high level options aren't available, or I just plan on ignoring all arguments/complaints as being based on an either/or fallacy.

  120. Re:Hey! by raxx7 · · Score: 1

    If I understand you correctly, you're proposing to hide the disk driver behind your "LVM" driver.
    This is a problem because /dev/hda provides a number of ATA/ATAPI specific system calls. The same is true for devices representing SATA, SCSI or whatever drives. This means your "LVM" needs to know about those system calls.

    And the Linux kernel may have a problem with the entire ideia of "hiding" drivers: how can your "LVM" reference the ATA driver while the remaing kernel thinks /dev/hda means your "LVM" driver?

    Another aproach would be adding snapshotting capabilities to your disk driver.

    Then again, you're making all this mess just to hide stuff from users. :)

  121. Re: You are some kind of Joker by Douglas+Goodall · · Score: 1

    I have had MSDN for many years, and recently TechNet Plus also. Burning an ISO and installing the software is a no brainer. Within several days though, Microsoft operating systems start to fall apart as the default options start banging into each other. So you loaded Vista and Office successfully. Big Deal. The question is whether you can reliably use them to get real work done on a schedule day after day. Try looking at the system logs for information about services that fail to launch because of cascading problems in the operating system and application installs. You say you loaded up Visual Studio on Vista with no problem. I doubt that.

  122. ?! Dual head monitor: easy GUI on Kubuntu by KWTm · · Score: 1

    In the KDE version of Ubuntu, adding second head monitor involves: System Settings > Display > Second Monitor (click on checkbox). How is that different from what you wanted? (Someone can tell us what the equivalent is in GNOME.) And then you can choose "clone of primary monitor" or "dual monitors", and if you choose the latter, you can set what the position of the monitors is relative to each other.

    By the way, I'm still using the third-newest version of Kubuntu, and in fact KDE has had these features even before I switched over to Ubuntu --but since I didn't have two monitors before, I never tried to use it.

    Next example of lack of GUI for configuration, please.

    --
    404555974007725459910684486621289147856453481154 in hex is "You sank my Battleship?"
    [GPG key in journal]
  123. both Nvidia and ATI are poor, get Intel 965G by Anonymous Coward · · Score: 0

    The free radeon driver is a bit better than nv. Except it won't play 1080i with xv, a bug that hasn't been fixed for years. But that didn't quite work correctly with the last nvidia card + nv driver I tested, either.
    About the binary drivers, I don't know - I'd never use these. They're a bitch to install and require certain kernel versions, they break things, they simply don't belong on a stable system. Anyone using these would be better off running Windows.

    The one family of graphics chips that really works is the onboard Intel GMA e.g. on 965G boards. Everything just works, although you might have to use the new modesetting branch for non-standard resolutions like 1920x1200. No problems with xv or the TMDS PLL like with ATI, no stuttering video and general weirdness (or complete lack of support) like with nv.
    Intel GMA doesn't really work for games, but for these, you need that large game loader called Windows anyway.

  124. Re:Hey! by Bastard+of+Subhumani · · Score: 1

    I might know a guy who knows somebody that knows.

    --
    Only three things are certain; death, taxes, and apocryphal quotations - Ben Franklin.
  125. Spaghetti phenomenon by oglueck · · Score: 1

    Of course it's easier to create innovative features by writing spaghetti code that circumvents well-defined (and limited) interfaces. But it makes the codebase harder to maintain! The spaghetti code will break more likely than code that goes through the interfaces and adheres to the contract. Layer violations are a strong indicator that the current interfaces are not flexible enough or that they are too high-level. But the longterm solution is cerainly not spaghetti code.

  126. Re:Hey! by makomk · · Score: 1

    Well duh. What do you think an LVM virtual device is? Right, an instance of a block driver. Now what do you think a "physical" block device is? Right again, an instance of a block driver. Spot the difference? No, neither can I. Get my point yet? Ah, darn.

    A "physical" block device represents a piece of hardware (usually a hard disk) with some fixed capacity. A LVM block device represents a chunk of some LVM volume group. It makes no sense to have LVM-style snapshotting on block devices that aren't LVM logical volumes - snapshots are implemented using copy-on-write, which requires extra storage space for the modified sectors, and there's nowhere sane to put that with a normal block device.

  127. I Do It My Way by Anonymous Coward · · Score: 0

    Never going to happen; even if it did, why should someone writing code to scratch a personal itch care?

    Now think: TdR

    Would he do what the kernel guys say, or rewrite from scratch?

  128. Re:It sounds cool, but I think I like the layers m by fimbulvetr · · Score: 1

    qmail was abandoned long ago, it now consists of software + patches patched with patches to workaround the software's limitations. These patches, of course, add functionality written by 3rd parties that introduces their own vulnerabilities. Since there is no development "tree" per se, many patches are completely incompatible with each other.

    Anyone still using it is desperately clutching the "it's so secure" line, because that's what djb said. They forgot to check osvdb, though, where it's readily evident that it's not so secure.

  129. Like an Onion. by cabazorro · · Score: 1

    Kernel Team
    No! Layers! Onions have layers. Linux
    have layers! Onions have layers. You
    get it? They both have layers. (he heaves
    a sigh and then walks off)

    End User
    (trailing after the Kernel Team) Oh, they both
    have layers. Oh. {Sniffs} You know,
    not everybody likes Linux. Games! Everybody
    loves Games! Games have layers.

    Kernel Team
    I don't care. what everyone likes.
    Linux are not like games.

    End User
    You know what else everybody likes?
    Fancy GUIs. Have you ever met a person,
    you say, "Let's get some fancy GUIs," they
    say, "Hell no, I don't like fancy GUIs"?
    Fancy GUIs are delicious.

    Kernel Team.
    No! You dense, irritating, miniature
    beast of burden! Linux OSes are like onions!
    And of story. Bye-bye. See ya later.

    --
    - these are not the droids you are looking for -
  130. Mod parent as moron by 10101001+10101001 · · Score: 1

    Linux will "support gaming" once games are supported for Linux. ...
    ... MetroX ... AutoCAD ... WordPerfect Suite 8 ... Corel Draw 7 ...

    Golly, you've got a great argument sir. Of course, your argument is directed at *non-games*. As the poster was trying to point out, games sell in the order of a 6 month time span and old games are a crap shoot to get working properly on modern OSs. Or is it not fair that I point out that NTVDM is a shitty game system for DOS games, and I'm left trying to finagle with DOSBox or some other emulator on both Windows and Linux if I'm really interested in "archaic" games? But, yea, preach on brother about how you can use all your old non-games in Windows. That was entirely the subject at hand to discuss and the exact lacking that was being pointed out in Linux.

    --
    Eurohacker European paranoia, gun rights, and h
  131. Parent is BS by woolio · · Score: 1

    Do you have a copy of StarOffice from the mid-to-late 90's? Try running that in Linux now. Do you have a copy of MetroX from say, 1998? Try running that in Linux now. Are you still using the original Linux binaries for any games released in the late 90's?

    Running old software (>10 years old) in Linux is actually pretty straightforward. All you need are the older versions of the libraries that it was designed for. That's it. Most distributions still maintain "compatibility" packages for older versions of GCC, X-related libraries, etc. I believe little has changed in the kernel such that backward computability was ever broken.

    In Linux, you can run "ldd" on a binary and it will tell you what libraries it needs and what it found on your system.

    If you actually remember how Windows software worked ~10-15 years ago, you probably remember games complaining that different versionf of the Microsoft runtime libraries such as VBRUN300.DLL were not found.

    1. Re:Parent is BS by Anonymous Coward · · Score: 0

      you probably remember games complaining that different versionf of the Microsoft runtime libraries such as VBRUN300.DLL were not found.

      Except that you got off-topic with a strawman here. Our topic is "does N run in the standard OS libraries?" If you have recently seen an app ask for the MSVC7 dll, you'll know that there is a difference between built-in support on the OS, as that OS evolves, and writing a program that assumes too much about your version of Windows instead of installing the library itself.

      In other words, VBRUNx00.DLL problems you mention are the same that today's "Please wait while this PC downloads the .NET framework." The difference is that programs phone home and patch themselves these days.

      I do agree with your mention of the legacy libraries under SOME linux distros. Good luck seeing them in nonlegacy (baby) releases like Ubuntu, though.
  132. Re:Hey! by Daniel+Phillips · · Score: 1

    If I understand you correctly, you're proposing to hide the disk driver behind your "LVM" driver.

    You might say that, though this is nothing new because disk drivers are already hidden behind LVM drivers.

    This is a problem because /dev/hda provides a number of ATA/ATAPI specific system calls. The same is true for devices representing SATA, SCSI or whatever drives. This means your "LVM" needs to know about those system calls.

    No that is not a problem because in all cases (hda, /dev/mapper, md, floppy, whatever) the upstream interface is the standard block device api. Only the downstream side of a "physical" driver knows about sata, scsi etc.

    And the Linux kernel may have a problem with the entire ideia of "hiding" drivers: how can your "LVM" reference the ATA driver while the remaing kernel thinks /dev/hda means your "LVM" driver?

    Device mapper already knows how to "hide" the actual driver[1] and the remaining kernel knows how to sort that out. How do you think it is possible to create a device mapper device as a linear mapping (say) and later even while the device is in use stack a mirror or snapshot on top of it? So how come I can't do that with /dev/hda, hmm?

    Another aproach would be adding snapshotting capabilities to your disk driver.

    And do it separately for each different kind of disk? Bleah.

    Then again, you're making all this mess just to hide stuff from users.

    You don't know that. Perhaps this is more simple and powerful than the mess we currently have, which is a great example of bogus layering with no good plan for abstracting across it.

    [1] How does device mapper stack one block driver on top of another while the device is in use? Easy, it allocates a new device number internally, moves the existing block driver from the old device number to the new device number, then initializes the new block driver to do its downstream IO to the new device number, and finally stuffs the new block driver into the old device number. There is no reason why this stacking trick could not be learned by all block devices (by lifting it into the generic block layer) then not only would we be able to stack a mirror or snapshot on top of /dev/hda, we could get rid of the device mapper layer entirely.

    --
    Have you got your LWN subscription yet?
  133. Is that the point of OSS, or its biggest weakness? by Anonymous+Brave+Guy · · Score: 2, Insightful

    Sorry, but I can't agree with your reasoning. To explain, let met set out a few realities of software development, as I've personally come to see them after some years as a developer:

    1. Code reuse is mostly a myth. One significant exception is libraries/components — code specifically designed to be modular, generic, self-contained and open to reuse, and typically on a relatively large scale. Apart from that, it is much more common to reuse design concepts, interface standards and the like, rather than code itself. Reuse of isolated code fragments from one project in another is very rare.
    2. Choice is not always a good thing. The simplest reason for this is that if you only need one product to do a job, then at the time you're doing that particular job, having one good product available is worth more than a choice among multiple inferior products. And of course, if you have finite development resources, they can get more done in combination than in competition, other things being equal.
    3. The first attempt at a complex project never gets everything right. It might be a good design, but it won't be the best. It won't anticipate future changes to the ideal degree for optimal development over the lifetime of the project. In general, the decisions won't be as good as they would with hindsight. Prototyping work often gives a very high return on investment. However, development processes that emphasise working only to current requirements with limited or no future planning do not scale to larger projects and tend to collapse under their own weight after a while.

    Now, these are obviously blanket statements, and no doubt there are valid exceptions to each rule. Indeed, the rules themselves seem almost contradictory, though I think that is just an illusion: what they really tell us is that balance is required, both in the degree of concentration of effort vs. parallel development, and in the degree of future planning and generality vs. the efficiency of developing what will actually be used in the end.

    Now, take a look again at the argument you gave in the parent post.

    If you have 100 different ideas for ways to solve a problem, then go ahead and develop 100 different solutions to see which work best. But in reality, do you really, or are there only really a relatively small number of solutions, but many implementations of each with few real differences?

    OK, let's assume there really were 100 unique approaches, and that in practice 5 of them turn out to work best. Did the other 95 learn something developing their failed alternatives? Perhaps, but they might have learned something helping to develop the successful alternatives as well. After all, if so few of the ideas really worked out, would it not be better to study those and the ideas and techniques of the people behind them?

    You also suggested that the 95 would have given something back to the community. But would what they gave back have much value? Again, it seems unlikely that if 5 different solutions were all viable, the other 95 would really offer many further ideas in terms of high level design or general approach. And again, if they did, perhaps those same good ideas could have made the better solutions even better still if the development teams had compared notes earlier, giving a best-of-both result. The 95 might also have some neat implementation tricks, but as I suggested above, in reality it seems very rare for one project to borrow code from another in this way unless the code in question was specifically developed as a self-contained library, in which case it's not really specific to one of the 95 failed attempts anyway.

    It's not hard to see that a small number of ideas, perhaps 2, perhaps 5, might offer genuine pros and cons, and with a concentration of development effort they might be able to learn from each other's experience and systematically share code for common functionality so that all benefit. But really, I don't see this happening at a micro level. It has to be mac

    --
    If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
  134. Re:Hey! by Daniel+Phillips · · Score: 1

    A "physical" block device represents a piece of hardware (usually a hard disk) with some fixed capacity. A LVM block device represents a chunk of some LVM volume group. It makes no sense to have LVM-style snapshotting on block devices that aren't LVM logical volumes - snapshots are implemented using copy-on-write, which requires extra storage space for the modified sectors, and there's nowhere sane to put that with a normal block device.

    You have confused "specific driver" with "block device interface". Sigh. Hint: in a C++ context it would be the difference between an abstract interface and an instance of an object of a class derived from the abstract interface. In other words, you are a couple of levels of abstraction away from enlightenment. I suggest starting by learning about the kernel block device interface.

    --
    Have you got your LWN subscription yet?
  135. Re:Hey! by einhverfr · · Score: 1

    First, if you are so convinced that you are right and the world is wrong, nothing is stopping you (aside from your own technical understanding) from maintianing a patch to the Linux source which does exactly as you describe. If it is really that useful, I am sure other people will want it to be included in the source tree. Even if it is only useful in certain niche cases, I am sure you will have a lot of help maintaining it. But I personally don't think it would be very useful at all, and making the software which is everything to everyone is a recipe for disaster. Always.

    However, my argument is simply that the LVM layer is a *better* place for this because it can be guaranteed to be reasonably safe and meaningful there. In fact, honestly I think that the bottom half of the filesystem is the best place for this functionality simply because the driver has enough knowledge to do this safely under all circumstances. Perhaps the *best* way to handle it would be to put hooks into the LVM and md layers to make it handle this through calls from the filesystem driver.

    --

    LedgerSMB: Open source Accounting/ERP
  136. Re:Hey! by vidarh · · Score: 1

    Why would you want to do this? It does not buy you anything, as you can already set your system up to create LVM volumes of all your block devices and forget the non-LVM volumes exist. The existence of "raw" block devices that don't allow you access to the LVM features doesn't take away any functionality from you.

  137. Layering and "eyesormites" by davecb · · Score: 1

    This is an old religious debate coming back to haunt us once more... When the ARPAnet was up, running and mature, the ISO proposed a reference model for networking which lad seven layers, unlike the ARPAnet's three (network, host-to-host and application).

    Some non-practitioners believed far too much in the reference model, and went so far as to claim that layering should never be adjusted for actual cases.

    The people recommending the ISO Reference Model (ISORM) were referred to as the "ISORMists" by the ARPAnauts, and were good, critical colleagues: they started some intelligent discussions. The people claiming that other layerings were improper and/or infeasible were less than useful, and eventually were named the ISORmites, pronounced eye-sore-mites.

    Mike Padlipsky has a good description of the religious wars in his booklet "The Elements of Networking Style" Englewood Cliffs, NJ (Prentice-Hall) 1985. I recommend it if you can get your hands on a copy.

    --dave

    --
    davecb@spamcop.net
  138. Re:Hey! by Daniel+Phillips · · Score: 1

    Why would you want to do this? It does not buy you anything, as you can already set your system up to create LVM volumes of all your block devices and forget the non-LVM volumes exist. The existence of "raw" block devices that don't allow you access to the LVM features doesn't take away any functionality from you.

    Did you bother reading the article? Did you see the part about "the Linux community's inability to design, plan, and act in a holistic manner"? You are an excellent example of that inability.

    So much for the rhetoric, now please pay attention if you wish to stop being part of the problem. What this buys is removal of a whole bogus layer that has no technical justification whatsoever for existing. In the process, life becomes simpler for the system admin and we open the door to fixing some of the stupid limitations that we have been saddled with for years because of the idiotic device mapper misfactoring. Got your attention? Think I'm wrong? Well here is some advice: you should not only have read the article and understood it before posting, you should have read the code in question and you obviously have not.

    --
    Have you got your LWN subscription yet?
  139. Specious Paradox by Anonymous Coward · · Score: 0

    Design by committee produces chaos and frustration - those involved secretly desire monarchy and some control.

    Design by fiat is often effective, but very narrow - those involved secretly desire freedom and a voice.

    I suspect most respondents prevaricating rather than addressing the original subject are quite well aware of both sides of this.

    Cheers, thanks a lot.

  140. Re:Is that the point of OSS, or its biggest weakne by Anonymous Coward · · Score: 0

    Nice post, but you're casting pearls before swine by posting it on this site. There's too much emotional investment here for any real discussion.

  141. Re:Hey! by Daniel+Phillips · · Score: 1

    First, if you are so convinced that you are right and the world is wrong, nothing is stopping you (aside from your own technical understanding) from maintianing a patch to the Linux source which does exactly as you describe. What a great idea. Why didn't I think of that? (please do not miss the irony)

    If it is really that useful, I am sure other people will want it to be included in the source tree. Wow, you are getting warm. (please note the milder irony)

    Even if it is only useful in certain niche cases, I am sure you will have a lot of help maintaining it. Yes, funny how that works. And I could expect to receive even more help if it turned out to cure a bad case of braindamage.

    But I personally don't think it would be very useful at all, and making the software which is everything to everyone is a recipe for disaster. Always. Oh, and besides the empty rhetoric, what technical basis have you got for spout... err sorry, making such a bold claim?

    However, my argument is simply that the LVM layer is a *better* place for this because it can be guaranteed to be reasonably safe and meaningful there. Oh! It looks like the beginning of an argument. Oh wait, no it looks more like more empty rhetoric backed up with a double helping of ungrounded opinion.

    In fact, honestly I think that the bottom half of the filesystem is the best place for this functionality simply because the driver has enough knowledge to do this safely under all circumstances. Aha! Why am I not surprised that your argument immediately fell off the rails? To begin with, you have no idea about the relative safety. If anything, safety comes from simplicity and there is no question that abstracting a snapshot as a block device is simpler than implementing it inside a filesystem. Besides, you now propose to saddle us with the choice of either reimplementing the snapshot code for every filesystem which is to have the benefit of this wondrous technology, or deciding to ride bravely into the future with exactly one filesystem which must necessarily be all things to all people. Good luck selling either of those proposals.

    Anyway, the discussion is by no means limited to snapshotting. What about mirroring, higher level raid, encryption, multipathing, etc? Do you want to roll all those features into your one, perfect, all singing all bloating filesystem to the exclusion of all other filesystems?

    Perhaps the *best* way to handle it would be to put hooks into the LVM and md layers to make it handle this through calls from the filesystem driver. Wow! You are so close. What if I were to tell you that those hooks already exist with minor correctable deficiencies, and that they do not need to be incorporated into the lowest level of the LVM as you wish, because that whole layer is a bogus fabrication of some muddled mind and needs to die?

    Sorry about ridiculing your post. To avoid such ridicule in the future, please leave out the empty rhetoric and stick to informed, supportable arguments. If you are unable to do this, then please ask a friend who is informed and thoughtful to post in your place.
    --
    Have you got your LWN subscription yet?
  142. Re:Hey! by Daniel+Phillips · · Score: 1

    Taking a snapshot of a networked device using GFS and then promoting it to read-write would be downright dangerous and could result in severe data corruption Incidentally, that assertion is just plain wrong. By the definition of snapshot, you can go ahead and write to your snapshot all you like and it will not corrupt your shared network volume because the network volume is (ahem) snapshotted. This is ACID! The "I" in ACID as you are no doubt aware stands for "independent". In this context it means that a change to one snapshot will never affect the data of any other snapshot or the volume that was snapshotted.
    --
    Have you got your LWN subscription yet?
  143. Re:Hey! by virtual_mps · · Score: 1

    You can't snapshot anything that isn't a LVM logical volume

    True, and what kind of sense does that make? It is purely an artifact of the incumbent low level LVM model. Please go back and read the original post and notice how you misinterpreted it. And you can't zfs snapshot anything that isn't a zfs filesystem. Is that really insightful? If you create a ufs filesystem you can't magically make it have all the attributes of a zfs filesystem, and if you create a linux filesystem on a raw device rather than an lvm you can't magically make it have all the attributes of an lvm. Sun lets you do the former, linux lets you do the latter--because that's what the users want. Why is it ok for you in solaris, but a horrible problem in linux?
  144. Another insightful piece from Bonwich , ZFS head by Anonymous Coward · · Score: 0

    from: http://blogs.sun.com/bonwick/entry/rampant_layerin g_violation

    text follows:

    Rampant Layering Violation?

    Andrew Morton has famously called ZFS a "rampant layering violation" because it combines the functionality of a filesystem, volume manager, and RAID controller. I suppose it depends what the meaning of the word violate is. While designing ZFS we observed that the standard layering of the storage stack induces a surprising amount of unnecessary complexity and duplicated logic. We found that by refactoring the problem a bit -- that is, changing where the boundaries are between layers -- we could make the whole thing much simpler.

    An example from mathematics (my actual background) provides a useful prologue.

    Suppose you had to compute the sum, from n=1 to infinity, of 1/n(n+1).

    Expanding that out term by term, we have:
    1/(1*2) + 1/(2*3) + 1/(3*4) + 1/(4*5) + ...

    That is,
    1/2 + 1/6 + 1/12 + 1/20 + ...

    What does that infinite series add up to? It may seem like a hard problem, but that's only because we're not looking at it right. If you're clever, you might notice that there's a different way to express each term:
    1/n(n+1) = 1/n - 1/(n+1)

    For example,
    1/(1*2) = 1/1 - 1/2
    1/(2*3) = 1/2 - 1/3
    1/(3*4) = 1/3 - 1/4

    Thus, our sum can be expressed as:
    (1/1 - 1/2) + (1/2 - 1/3) + (1/3 - 1/4) + (1/4 - 1/5) + ...

    Now, notice the pattern: each term that we subtract, we add back. Only in Congress does that count as work. So if we just rearrange the parentheses -- that is, if we rampantly violate the layering of the original problem by using associativity to refactor the arithmetic across adjacent terms of the series -- we get this:
    1/1 + (-1/2 + 1/2) + (-1/3 + 1/3) + (-1/4 + 1/4) + ...

    or
    1/1 + 0 + 0 + 0 + ...

    In others words,
    1.

    Isn't that cool?

    Mathematicians have a term for this. When you rearrange the terms of a series so that they cancel out, it's called telescoping -- by analogy with a collapsable hand-held telescope. In a nutshell, that's what ZFS does: it telescopes the storage stack. That's what allows us to have a filesystem, volume manager, single- and double-parity RAID, compression, snapshots, clones, and a ton of other useful stuff in just 80,000 lines of code.

    A storage system is more complex than this simple analogy, but at a high level the same idea really does apply. You can think of any storage stack as a series of translations from one naming scheme to another -- ultimately translating a filename to a disk LBA (logical block address). Typically it looks like this:
    filesystem(upper): filename to object (inode)
    filesystem(lower): object to volume LBA
    volume manager: volume LBA to array LBA
    RAID controller: array LBA to disk LBA

    This is the stack we're about to refactor.

    First, note that the traditional filesystem layer is too monolithic. It would be better to separate the filename-to-object part (the upper half) from the object-to-volume-LBA part (the lower half) so that

  145. BINGO by trisweb · · Score: 1

    Wow, the article (orig) is absolutely right. It's the first intelligent Linux big-picture criticism I have ever read, and it's spot on. I absolutely agree. The nature of a disperse collection of programmers can't easily, and has not yet created a coherent, consistent, and integrated user experience that makes Windows and Mac OS even moderately successful despite all their shortcomings.

    And yet, it's hilarious to hear all the Slashdotters rail on and on about the individual parts, and give excuses about how well it works, and blah blah blah-- ZFS's "layering" isn't the problem, he's talking about the bigger picture, and until all the programmers working on the integrated Open Source OS platform GET IT, Linux will never be successful. No one gets the big picture, and if you're arguing with that, then you're not either. Move along...

    --
    "!"
    1. Re:BINGO by Anonymous Coward · · Score: 0

      Wow! this is like the first time ever i have read a post actually
      praising the article. You've definitely disrupted my daily routine.

  146. Re:It sounds cool, but I think I like the layers m by bensch128 · · Score: 1

    I'm sure there's a way for the traditional linux FS stack and ZFS to co-exist. Basically, identify the layers that are replaced by ZFS and disallow those layers to run on the same resources(volumes, drives?) that ZFS is using. Then the user has the choice of using ZFS or the normal stack.

    However, I think that ZFS IS NOT the end all and be all of file systems. It's an impressive system but it alone is not worth throwing away all of the manhours put into the linux FS stack. It might warrent a fresh look at the stack though to see if there are places for refactoring available..

    Cheers
    Ben

  147. it is already ported to FreeBSD by Anonymous Coward · · Score: 0

    it is already ported to FreeBSD

  148. Re:It sounds cool, but I think I like the layers m by Russ+Nelson · · Score: 1

    Oh, so if you misconfigure qmail it's insecure? I'll bet I can misconfigure anything and cause it to be insecure. Let's start with any PHP program and turn on register_globals. Let's run Apache as root.

    --
    Don't piss off The Angry Economist
  149. Re:It sounds cool, but I think I like the layers m by fimbulvetr · · Score: 1

    Yeah - right - misconfigure.

    1998 called, they want their arcane limitations back. 8gb of ram? Have you noticed than you and I can go to best buy and purchase a machine capable of of running 128GB (amd64/windowsxp64)?

    Famous quote of 2007: "8GB Should be enough for anyone"

  150. Re:Hey! by Daniel+Phillips · · Score: 1

    It's not like Solaris with ZFS is any different in this regard. To use snapshotting or any other zfs feature on a physical disk, you have to add the raw block device to the zfs pool. Just like you have to add a physical disk to LVM before you can use LVM snapshots on Linux. You can't just snapshot arbitrary block devices on either OS, holistic layering violations or not.

    Exactly my point. It is a stupid, unnecessary restriction whether the stupidity is implemented on Linux or Solaris. Hey, think about this: before some clever ancient person invented and carefully explained to everyone the concept of zero, the human race was unable to count below the number one. Needless to say, negative numbers were beyond the comprehension of the average person. Similarly, you are unable to perceive the benefit of removing a bogus interface layer while at the same time simplifying the user interface and making it easier to add new, sophisticated storage features. Well that is not my problem, it is yours.

    --
    Have you got your LWN subscription yet?
  151. Re:Hey! by Anonymous Coward · · Score: 0

    I'm with you, Dan. I'm really looking forward to cleaning this up sometime.
    (And if you need anyone to review your
    posts to remove excessive attitude, I'm available :-)
    - that other Dan

  152. Re:Hey! by Grimwiz · · Score: 1

    As a systems administrator I appreciate two interfaces to my data - one through a filesystem (and I really dont mind which one as long as it follows the usual semantics), and one that relates to the raw data as written to the spinning magnetic media.

    When I copy all my raw devices I am confident that I have captured the full state of my machine, and I know exactly how much space and time that copy will take.

    Whilst the ideas proposed may work in an academic way, I worry that the side effects will damage reliability. We're used to thinking about raw devices and filesystems, and to extend this to pondering filesystems as seen at certain points in time complicates disk usage because you can now no longer look at the size of data that you are storing and know how large a physical volume is needed to store it.

    If you can write to a snapshot, then you will use up your physical storage in a manner that is invisible to the standard view of the filesystem.

    We already have a way to implement this as seen using the layered filesystem in Knoppix, where the basic copying on writing goes on in a separate file. Maybe allocating storage sizes for changes when the snapshot is turned into a writable area could provide the same protection.

    I'm not convinced that making this integrated any closer with block devices will bring more benefits (probably speed) than it may cause confusion (darn, I've got lots fo disk space, why can't I write this file). Computers dont just run the operating system - they run applications. Indeed, their very purpose is to run applications since all the operating system does is to provide the interface between the application and hardware. If changes in the operating system trigger application failures then you're heading in the wrong direction, and if you are optimistic enough to suppose all application developers test for all error codes and handle them sanely and correctly I've got some lottery numbers for you.

    --
    -- Don't believe everything you read, hear or think