Linux 3.5 Released
diegocg writes "Linux 3.5 has been released. New features include support for metadata checksums in Ext4, userspace probes for performance profiling with systemtap/perf, a simple sandboxing mechanism that can filter syscalls, a new network queue management algorithm designed to fight bufferbloat, support for checkpointing and restoring TCP connections, support for TCP Early Retransmit (RFC 5827), support for android-style opportunistic suspend, btrfs I/O failure statistics, and SCSI over Firewire and USB. Here's the full changelog."
It's funny. The Linux community put so much effort into trying to win the OS of the Desktop with so little success, but secretly won the battle of the OS on phones and tablets with hardly a fanboy.
Now this looks interesting. Hopefully it works as described on the net (http://lwn.net/Articles/479841/). Automatic suspend would be wonderful.
Ext4 metadata checksums. I like that. Note that it isn't data CRC checksums, just metadata. Still, I like the way Ext4 keeps evolving and getting tuned. Btrfs sounds really great, but it may still be some time before it is stable enough for my data storage needs.
Btrfs is stable enough for real data, if you run current releases (latest 3.4 or 3.5 kernel and btrfs-progs-19 current). I use it in both single drive systems and raid1 configurations with Fedora 17. Prior to converting the systems, I ran extensive failure testing (e.g., pulling power / data connection during active writes, system crashes, using a failing drive with media errors as part of a raid1, etc.) for about a month. I never lost a single byte of data in any test, confirmed by checksum scans on all data (against a backup) after each test cycle.
I actually trust btrfs now more than ext4 due to the ability to scrub the data and confirm integrity, which I do daily or weekly depending on the system.
Can You Say Linux? I Knew That You Could.
With the current implementation and just the 'autodefrag' option added to default, there is no perceptable difference in performance compared to ext4 for any of our machines, with any application. Recent testing at Phoronix (with 3.4) has btrfs getting closer to ext4 (running without lvm2 and md raid); I'm curious to see how its numbers look in 3.5. However, because btrfs integrates the functionality of lvm2 and md raid in a much more usable manner, as well as providing much more functionality, a small performance tradeoff would be acceptable (to me).
Can You Say Linux? I Knew That You Could.
That is fundamentally what politics is about: getting people who want different things to act together in a useful way.
So you're saying an orphaned inode ended up referenced by the wrong directory entry?
It's a way of transferring TCP connections to another server (along with transferring the IP address). That way, you could do hardware maintenance on the physical machine without losing anything because you've migrated it seamlessly to another machine. Of course, you have to transfer and restore everything else over too (running processes, memory, etc).
GNU has nothing to do with the kernel at all. The LiGnuX and then later gnu/linux renaming suggestions were for entire systems that contained software written as part of gnu projects and not a totally different project such as the linux kernel. The gnu kernel is called hurd.
The point of the renaming was stated to be to "advertise" gnu on the back of a higher profile project, but personally I think it was just petty MIT staffroom politics that escaped out into the world. "But what have you done lately Mr Stallman" turned into pretended ownership of linux which certainly has the above poster and a pile of journalists fooled.
It's part of the larger project for process/system checkpointing in general.
That is, saving the entire state of a process to storage such that it can start up again where it left off and not know the difference.
Back when I was running X Windows versions 10.x and early 11s, there was no requirement that I use TWM. And while the Sun 2 came with SunView, the Sun 3 could run either SunView or X, and you could get Grasshopper Group's implementation of NeWS if you preferred, which drove your screen in Postscript. Among other things, that meant that if you wanted to change the font size to match the size of your monitor and your eyesight, you just did it, and What You Saw Was What You Wanted. None of this "need a third-party developer's hack to use the full resolution of the expensive Retina Display you just bought" nonsense. But even if you were running X, you weren't limited to Motif or OpenLook; you could run whatever window manager you liked with it.
As far as "Ubuntu [does] not [have an SDK]" goes, you can use the Gnome SDK or KDE or LXDE or several other fairly full-featured SDKs.
Bill Stewart
New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
Linux, the kernel developed and distributed by Linus Torvalds et al, contains software that is included without source code, with obfuscated or obscured source code and code under non-Free Software licenses. Linux-libre removes these parts.
http://www.fsfla.org/svnwiki/selibre/linux-libre/
So, you're saying it is a lot, lot less functional, possibly even to the point of uselessness. Hmm. Doesn't sound like my cup of tea.
Your standard app was not written for silly-high DPR. You could show this on linux too: take your desktop, and crank the DPI to 300 or so, so that the X server thinks your screen is only 5" across. Now move far enough away from it that a 12 point font looks reasonable, and then look at how stupid apps look. Icons are microscopic (because they're defined in fixed pixel sizes). Layouts between menubars and borders look stupid (natural spacing was defined in fixed pixel sizes).
So Apple's approach here is to tell the application that the screen is 1440x900. Any primitives that can be scaled ("place the string 'pants' in font 'Helvitica', size 12pt, at X,Y". "Draw this 2kx2k pixmap in this 500px x 500px space") are then rendered to the screen's native resolution. Things that can't be scaled aren't ("draw this 96x96 pixmap here, in this 96x96 space"). Some apps then look horrible, some look great.
I personally would have rather they just let apps look like crap, and told people to fix their darn apps, but I can understand why they didn't.
It's got nothing to do with politics, people with different preferences just happen to build different things.
Politics are about group preferences and group identity. It's got a heck of a lot to do with politics: There's no rational reason to offer standardized frameworks under an SDK for mobile, but avoid doing so for desktops. One of the irrational reasons behind the disparity is that the hacker and sysadmin culture view PCs as immediate kin to web servers hardware and regard any standardization or vertical integration in the stack that caters primarily to "luser" needs as a threat to their freedom and efficiency.
The overall 'distro' mindset causes each and every initiative to become hamstrung with idiotic assumptions, such as:
- Each application should be broken down into between 2 - 20 different pieces and scattered around one's hard drive.
- Changes for most system components are handled in exactly the same way and with the same priorities as high-level applications, and apps get to make dependency demands on the inner workings of the system. There is no clear distinction between system and apps for anything being updated, added or removed.
- Anything other than the kernel = "application", and this type of system-hacker nomenclature must be observed by everyone or they will be ridiculed as 'n00b'. The result is a kind of blindness to real issues that arise around interactions between apps and system.
- System coders > App coders, so we will just get Miguel and some of the ol' gang to whip up some applications that will put Microsoft and Adobe to shame (i.e. we'll draw from the pool of Linux system enthusiasts to write user-facing apps instead of creating a feature-stable environment with an SDK to attract both newbies, and experienced app coders who are only newbie to 'our' system). But the reality is that the particular hacker culture and general feature-instability act as a corrosive acid against the kind of userbase and developer community that a personal computer needs.
- More than 10 people like to manage their PC software within a paradigm designed for servers.
- Fewer GUI admin tools are better b/c people will just want to hit the CLI anyway. Avoid the GUI when describing solutions, even WRT office/productivity if possible.
- A myriad different admin tools for basic network connectivity are OK because people want 'choice' (esp. when they call up tech support for their ISP or application and the technician can't figure out what specific steps to tell the user).
- Each year, desktop users must learn to recognize "Linux" by the current and past iterations of the 4 or 5 desktop environments that are officially supported by each distro.
- App developers like to design their apps for a disembodied desktop environment, instead of viewing the OS layers underneath as equally accessible tools. They also like testing their app in several other desktop environments to ensure that it "plays well" with them.
- App devs love having to test and package on multiple distros, and they look forward to having many camps of distro maintainers telling them about app "bugs" that mean you have to help them fix the same issue in their systems over and over again for a number of years. They also love having maintainers pepper and berate them over wacky compile switches, setting defaults, patches, etc. and they way they like to refer to app devs as "upstream" instead of "author", as if "Linux" coding automatically entailed some sort of demotion.
- If one is an ISV (distributing a proprietary app as 3rd party), devs love being regarded as an oddball instead of the norm, and love being reminded constantly that so many of the compatibility issues with (untargetted) distros they keep having to read about could be automatically resolved if, gosh, the author would only release their app as open source so they could be merged with repository nirvana.
- App devs love hearing they should leave behind all the PC stuff and
It's funny, I've got a generic Dell PC I got for $300 from their outlet (Athlon etc etc.) Not a powerhouse, but not a shrinking violet either. I used my Mac Mini to download Debian Squeeze... and in 2 hours, with less interaction than a Windows install... I had a completely functional Linux desktop PC without doing anything in your list, except pick Debian. Back in college, I never got my et4000 card settings right for X on Slackware 0.99 (on floppies no less), but with screen and a familiarity with Amiga's CLI and DOS... I didn't miss it. (Plus that is the first time I got hooked on Nethack...)
Now, in the dim past just about everything was more difficult, to be sure... Getting games to run in DOS was also a magic trick. Then there was the myriad of other things that the CLI (which is where the computer originated) made easier for some, harder for others. Hell, Windows had a devil of a time keeping stable with the myriad of 3rd party drivers out there for Video and Sound cards alone.... Let's not forget NICs and so forth... And let's not diminish the fact that Windows used to be a graphical shell over DOS... for many years it was "hiding" DOS from the user...
Linux is a tool not everyone should use. There are idiots who shouldn't use a computer too. The fact that Linux has thrived in spite of Windows and Macintosh speaks more about the users and developers than it does about the drones who buy iPads and iPods because they're "hip". Those people don't use computers... they use appliances.
Here's a tip, though... if you hide everything from the user (a 'la original MacOS and returning to that I might add) it doesn't make them better at using a computer... it just makes them think all computers are magic. Which, in some people's case... I think should remain that way. :)
It's the Stay-Puft Marshmallow Man.
I've been using BTRFS in production since 3.3.1 with zero problems.
Before that, I did experience a partial fs meltdown on 3.2.x while stress testing a high number of snapshots with several million files/dirs and intense db activity. Then, the same test on 3.3.1 went flawlessly.
So I wouldn't recommend using BTRFS with anything below 3.3.1, but 3.4 or 3.5 should be fine.
Sorry Linux guys Bill Gates and IBM beat you too it many decades ago and that is the bad news.
I wasn't aware there had to be winners and losers in the game. Computing thrived with diversity, heck if it wasn't for diversity, we'd all be using some pablum invented by Bill Gates in his dorm... Thank goodness he was chasing rather than innovating... I shudder to think of the alternate universe that would've made.
Linux didn't "lose"... it's free. Linux is doing fine and several companies make a good bit of coin off it. I see Microsoft's "victory" as nothing more than eating a bit more of the pie than the other guys. Apple's got a huge market cap and tons of cash in the bank, yet they aren't even 20% of the PCs sold worldwide... So in the realm of "winners and losers"... we have to be a bit more objective, or at the very least, define what "win" means. Market share? Revenue? Mind share? Brand Loyalty? Whatever you pick, you end up with a different "winner." :) But I applaud Microsoft and Apple for really bullying everyone else for so long.. it makes me feel good that giant corporations want to actively screw me over and sell me the tools to do it with. I'm talking about both Apple and Microsoft in this regard.
As long as there are people who like to do it themselves... there will be Linux. Computing trends come and go, but revolutions stick around...
It's the Stay-Puft Marshmallow Man.
This was a bug that was corrected (it was a problem in cache flushing). All my testing occured after the bug was addressed, and pulling drive data cables while actively writing, as well as pulling drive power cables, was part of my testing. No data loss occurred in any test. The btrfsck and btrfs scrub/balance were able to correct all errors that resulted following the drive recovery.
Can You Say Linux? I Knew That You Could.
I personally would have rather they just let apps look like crap, and told people to fix their darn apps
Microsoft has had 20 years of track record with this approach, and the results are meh. Eventually Vista had to change the rules by requiring the apps to tell the system whether they are DPI-aware, and if they don't do that (e.g. all old apps), do bitmap scaling on them. Even so there are still quite a few apps written after Vista which do tell the system that they are DPI-aware, but then don't properly handle anything but the default 96 DPI.
But still, SRSLY? You'd think Apple could get font scaling correct, especially since they've been selling big desktop displays for years.
That still annoys me about OSX, you can't set the system font size.