Linux 3.6 Released 143
diegocg writes "Linux 3.6 has been released. It includes new features in Btrfs: subvolume quotas, quota groups and snapshot diffs (aka 'send/receive'). It also includes support for suspending to disk and memory at the same time, a TCP 'Fast Open' mode, a 'TCP small queues' feature to fight bufferbloat; support for safe swapping over NFS/NBD, better Ext4 quota support, support for the PCIe D3cold power state; and VFIO, which allows safe access from guest drivers to bare-metal host devices. Here's the full changelog."
I Use Linux 3.6 (Score:5, Funny)
Re:I Use Linux 3.6 (Score:5, Funny)
Completely agree. I remember when a new Linux release was about a solid, compact code base. Now it's all about optimising for specific interests even at the expense of
Re:I Use Linux 3.6 (Score:5, Funny)
come on, finish the sentence. don't leave us hang
Please explain (Score:2)
I don't get the joke in the parent and grandparent about leaving the sentence incomplete. Can someone explain?
Re:Please explain (Score:5, Funny)
Re:Please explain (Score:5, Funny)
There once was a man from Lahore,
whose limericks stopped at line four.
When asked why this was,
he said just because
Re: (Score:1)
There once was a man from Verdun.
Re: (Score:3)
The problem is that with HTTP if your computer crashes not even half of your message will be sent, no wonder some people don't get it.
Re: (Score:1)
You seem to be unaware how TCP/IP packets work, each packet has a limited size negotiated by the transport layer, it's quite possible for the first few packets to be sent and received, and subsequent packets to be
Re: (Score:1)
Except that web server will reject any incomplete request therefore we will never see those posts. [no crash, I'm running FreeBSD]
Re: (Score:2)
Re: (Score:2)
The /. server is running li
Re: (Score:2, Funny)
I kid, I kid!
Re: (Score:3, Funny)
press the preview and submit buttons before crashing you mean
Re: (Score:3, Funny)
Re: (Score:2)
It looks like slashcode stripped the parentheses from your Lisp code listing.
Re: (Score:1)
Lousy mod. Glad someone came in to give that post its rightfully deserved +1 funny.
Re: (Score:3, Funny)
click the Submit button on Slashdot before crashing?
Re: (Score:2)
Are you using ReiserFS?
Thin clients rejoice! (Score:5, Funny)
Swap over NFS is something I've been waiting a long time for =)
Re: (Score:2)
Ha! I see what you did there...
And if you're not a fan of binary blobs (Score:5, Informative)
there's Linux-libre.
http://linux-libre.fsfla.org/pub/linux-libre/releases/LATEST-3.6.0/ [fsfla.org]
http://en.wikipedia.org/wiki/Linux-libre [wikipedia.org]
Re: (Score:2)
Yup. I'm a fan of hardware arbitrarily failing to function. Looking at the list of distros that use it, they're all pretty much irrelevant at this point.
Re: (Score:2, Interesting)
Re: (Score:1)
Re: (Score:2)
TCP Fast Open (Score:4, Interesting)
"Fast Open could result in speed improvements of between 4% and 41% in the page load times on popular web sites. In this version only the client-side has been merged."
Re: (Score:2)
4% just possibly, 41%? Highly unlikely. The main slowdown on loading pages or any data is DNS lookup then the data itself. The time taken for actually doing all the TCP negotiation for a connection is trivial in comparison. Its only a few small packets after all.
Re: (Score:2)
Re: (Score:2)
"A DNS query needs one packet each way, assuming the server has the answer cached."
Its pretty unlikely your local DNS server is going to have all the addresses in even a single web page cached , never mind an entire site. And if it doesn't then the query has to wander back up the DNS tree with all the packet passing that entails - which is what takes the time.
Re: (Score:1)
Re:TCP Fast Open (Score:5, Interesting)
Re: (Score:3)
Re: (Score:2)
1.) Cookies
2.) Scripts
3.) Plugins"
And all of my sites suddenly don't work.
The point is I should be able to browse the full-featured web without slowdowns. I shouldn't have to disable 90% of the "features" of a web-page because of latency sensitive loading. What you're suggesting is a bandaid to the problem.
Sounds like Windows' IIS (Score:5, Interesting)
This sounds a bit like they generalized the clever latency-saving behavior of IE [slashdot.org] which skips the TCP handshake when talking to IIS and leaves connections half-open. Latency could indeed be greatly improved for servers supporting it.
Re: (Score:2)
BTRFS experiences? (Score:5, Interesting)
Re: (Score:2)
Re: (Score:3)
I'm not using BTRFS yet, however as send & receive in BTRFS is similar to the ZFS send & receive implementation you can do really cool things like superquick backup of a gigantic PostgreSQL Database.
The workflow is as following
Execute "pg_start_backup(‘snapshotting’,true)"
Snapshot the filesystem with PostgreSQL data
Execute "pg_stop_backup()"
Send the snapshot to your backup server
Re: (Score:2)
Re: (Score:3)
I'm not saying EXT4 is "bad", I'm just saying BTRFS has A LOT more useful features, just less tested and has some trade-offs.
Comment removed (Score:5, Informative)
Re:BTRFS experiences? (Score:4, Interesting)
Sure, if you don't mind it being a pain to dynamically reallocate space between all your filesystems.
Oh, can you copy a 300GB file full of data in a few milliseconds and have the copy only occupy the space necessary to capture the differences between them? No, I don't want a hard link - I want changes to either file to not affect the other.
You can also instantly snapshot files, directories, or the entire filesystem, and the snapshots are first-class citizens (they can be modified, be used in place of the originals, etc).
Oh, and if the power dies in the middle of writing a RAID stripe you don't lose anything beyond the changes to the files you were intending to modify.
Btrfs will be the standard filesystem on linux in a few years - nobody really doubts that. Its main issue now is that it is still fairly immature.
Re:BTRFS experiences? (Score:4, Interesting)
Anyway, I didn't know about LVM and it looks quite "great". One question I have about it is that it supports allowing a volume to have a RAID1 style backing. If some of the data got silently corrupted in one of the mirrors, how would EXT4 decide which data to choose and how would it fix it or does LVM do this?
The biggest logical issue I've seen with separating volume managers from the FS is that the two typically don't communicate. This lack of communication hurts the overall resiliency. Not to say the FS and volume manager couldn't communicate via an API or something.
Re: (Score:2)
You don't normally use LVM for RAID1 (you can, but it kind of sucks and is a bit immature). Normally, you'd use mdraid for that, and then construct a LVM PV from the resulting mdraid device(s).
Neither ext3, LVM nor mdraid checks for silent corruption, however. That's strictly a feature of filesystems like ZFS or btrfs that explicitly checksum all data.
Re: (Score:2)
LVM has some issues of its own, and requires careful setup to avoid data loss. Also its snapshots are quite buggy and slow. See http://serverfault.com/questions/279571/lvm-dangers-and-caveats/279577#279577 [serverfault.com] for details.
Re: (Score:2)
Re: (Score:1)
A bit dated, but I had a pretty large data loss about a year ago-- about 6 months into my btrfs experiment. Most files were backed up, but I did lose a bit of work.
btrfs also uses quite a bit of memory (no, modern desktop users will not notice), but I was playing around with btrfs on my arm board, and the mem overhead was noticeable.
I ended up deciding to let others be the alpha testers.
Re: (Score:2)
I use it on a MythTV server. I don't know if it is has been added yet, but it was lacking support to remove a stripped device. I want it to re-balance off of that disk, so I can replace it or upgrade it.
Can /boot be btrfs yet?
Otherwise it is pretty cool.
Re:BTRFS experiences? (Score:5, Informative)
I've been using btrfs on two computers for about a year now. I'd say it's quite stable. I'm using it for /home as well as a data partition, with zlib compression on /home. The snapshot feature is amazing and should be used liberally. Early on I experienced some disk corruption (mostly due to rapidly switching kernel versions 3.0, 3.2, 3.4, 3.5), which was not a problem because there existed snapshots on the disk. The primary partition can be corrupted, but if you have an uncorrupted snapshot, you can mount it. So, it's a good idea to get in the habit of making regular snapshots. I've been doing it by hand, but a daily rotating snapshots would be a great idea for reliability. There are many cron jobs, shell scripts and whatnot to accomplish this (e.g. Autosnap [kernel.org]). Furthermore there is apt-btrfs-snapshot [patshead.com] which on Debian/Ubuntu systems will automatically snapshot whenever upgrading/installing a package. This basically takes care of changes in /usr (and you'll need a cron job for /home). The only real drawback I've encountered is that dpkg is very slow (likely due to my use of zlib compression). But dpkg's database access has been a snail for a long time and is dpkg's problem (and I hope someone looks into this soon, it's pissing me off -- zlib just exacerbates the problem). But since apt-get upgrade can run in the background while I'm working, it doesn't really bother me.
I'm also using RAID1 on all magnetic disks (plus one SSD not in a RAID configuration). After countless disk failures, I just don't trust magnetic disks any further than I can throw them. And, they are cheap enough that two instead of one is not a huge burden. In the last year, I have not had occasion to recover from a failure due to RAID1, but I have experimented with mounting one half of the RAID1, and it operates normally. There are a few tricks to re-sync the drives when its partner is re-added to the array, that one should be aware of. It's not fully automatic. One of my RAID1 arrays is over two LVM volumes, with the left half consisting of a single 3 TB disk, and the right half consisting of three disks concatenated into a single LVM. This makes it easier to add disks later. LVM and btrfs can both resize.
A couple things to be aware of: you cannot place a swap file on a btrfs partition. So use another filesystem, a full partition, or just buy more RAM (my preferred solution). You should not use a kernel version less than 3.5. There have been many fixes between 3.0 and 3.4, and you're asking for trouble if you use btrfs on a 3.0 or 3.2 kernel. Since I installed 3.5 kernels on all my machines, I have not had any btrfs-related problems. FWIW, I regularly have to reboot because ATI's shitty video driver causes a kernel panic, sometimes via a hard reset. I have yet to see any filesystem corruption due to this. And everyone should know how to use the Magic SysRq key [wikipedia.org] in the event of kernel panics too. (Alt-SysRq- REIUSB should unmount, sync, and boot, leaving filesystems in a consistent state)
I highly recommend BTRFS at this point. I'm not sure the distributions are up to noob auto-installs, but if you like to do things yourself, it offers a lot of advantages over ext4.
Re: (Score:2)
Still waiting for more stability and raid5 support, but I agree, it definitely is going to be the way to go at some point.
Re: (Score:2)
I expect btrfs to have a similar roll-out period which means you won't see it heavily used in production until late-2013 or 2014. Especially since it's still being actively hacked upon and doesn't seem to be feature complete yet.
Pessimistic view says 2015 before it's a safe choice for produ
Re: (Score:1)
Perhaps corruption was not BARTFS but because you unmount before sync after your ATI panics!
TRY: REISUB
Re: (Score:2)
Good catch! Sadly, in fact I have been doing U before S. I even knew what both of them did!!!!
Well, score one more for btrfs, that my idiocy did not result in any disk corruption.
Re: (Score:3)
I've used it for a couple years now. My experience:
The good:
Snapshots are a killer feature.
Integrated redundancy is much nicer than RAID.
Integrating LVM into the FS is very nice.
The bad:
sync is SLOW, and dpkg will suffer. You can work around it by creating a snapshot and then running 'eatmydata apt-get whatever' - and accept that you'll have to roll back if you have a power failure mid-install.
It finally has a functional fsck, but I don't trust it yet with mission-critical data.
Generally it works well, bu
Re: (Score:2)
Re: (Score:2)
Mostly about btrfs (Score:4, Interesting)
The most active area seems to be btrfs. What is the general opinion, is it ready for general usage?
Any one with feedback from production setups?
Re:Mostly about btrfs (Score:4, Interesting)
btrfs is coming along, but most distros still tend to have ext4 as a default. The one thing that btrfs really and desperately needs is filesystem deduplication. Even Windows now has that in place (although it is of a delayed variety where a background task searches for identical blocks and replaces the copies with pointers.)
Re: (Score:2)
How does shit like this not fail the obviousness test?
I get the feeling you are not telling the whole story, any links to clear this up?
Re:Mostly about btrfs (Score:4, Informative)
Re: (Score:2)
I still don't see how that is not obvious. I don't see how checking at write time, or later when the disk is free or any other time is anything other than a trivial change.
It's not about being obvious (Score:2, Insightful)
It doesn't matter that it is obvious and shouldn't be patented. What matters is that you can't afford to enter into a drawn out war of attrition that the other sides lawyers are going to make of this case when you bring it.
Abolish all patents now. All of them. Now.
Re: (Score:1)
That sounds like a bad idea anyway (not an expert here). btrfs comes with data checksums, so why not use those checksums for deduplication at write time, instead of doing it "occasionally" later? The checksums could be stored in a binary tree or a hash table. I think that's what ZFS does, and they don't have any patent problems.
Re: (Score:1)
Windows Server 2012 has this as a feature. Caveats:
1: It has to be a NTFS volume. No ReFS, FAT32, or other filesystems.
2: The deduplication does not happen in real time. Store 500 of the same one gig files, and it will initially take up 500 gigs until the background task gets around to replacing redundant blocks with links.
Re: (Score:1)
Dunno...I couldn't trust it for production, so I don't have a production setup. I tried to simulate bad blocks by writing random zeroes to random places on an unmounted FS, for different file systems. For mounting and repairing the FS, my order of confidence would be in ext4, then XFS, then ZFS on FreeBSD (especially mirrored), UFS on FreeBSD, then JFS, then NILFS2. As far as btrfs goes, errors seem to panic the kernel--does btrfs default to errors=panic?--and even when using the built-in RAID1, btrfs wo
Re:Mostly about btrfs (Score:4, Informative)
Still no TRIM on software RAID (md) (Score:2, Interesting)
Astounding that all the other components (major filesystems, device mapper, LVM) support TRIM but the underlying md devices still don't.
Re: (Score:2)
How often does an entire stripe become empty? And the software RAID layer would need to keep track of cumulative TRIMS on all the blocks in the stripe so that it could issue the TRIM when the whole thing becomes empty. Then you need someplace to store that metadata, and will doing that cause more problems than the TRIM fixes?
That said, might be nice if it worked since a rebuild could skip known-empty areas.
Of course, eventually btrfs is likely to make many md applications obsolete. Obviously it isn't the
Re:Still no TRIM on software RAID (md) (Score:4, Informative)
Support for TRIM on RAID linear/0/1/10 md devices was quite recently added. The patch series is here: https://lkml.org/lkml/2012/3/11/261 [lkml.org]. I can't find the actual merge now, but I believe it'll be in 3.7.
Ok, ok, question (Score:2)
Re:Ok, ok, question (Score:4, Insightful)
As a Linux noob, how do I learn what all of those words mean? The only one I even vaguely recognize is TCP and i don't even know what that is. Until someone responds, I'll be at Google.
Which is how it is done.
Re:Ok, ok, question (Score:5, Informative)
Re:Ok, ok, question (Score:4, Informative)
You might want this page then:
http://kernelnewbies.org/Linux_3.6 [kernelnewbies.org]
It usually has links to http://www.h-online.com/ [h-online.com] http://lwn.net/ [lwn.net] and/or Wikipedia which hopefully explains it in a way you'll understand.
Re:Ok, ok, question (Score:4, Insightful)
Most of these words are not linux-specific, though they are rather technical. It's what you'd expect on the release of a new kernel version, especially on slashdot.
Re: (Score:3)
Until someone responds, I'll be at Google.
Larry Page, what are you doing here?
Comparison (Score:2)
Linux 3.6 thread: 82 comments
I guess we know what stuff matters.
Re:Comparison (Score:4, Insightful)
There is a new Linux kernel release every two months; Ask Woz is a once in 15 years event.
Re: (Score:2)
Linux kernel mailing list, 774 today *
Guess we know where the Linux kernel activity is.
* and there's still 4 hours of today left for me
Re: (Score:1)
No idea about honey boo boo, but nicki minaj is apparently a popular rap vocalist noted for use of sexually explicit lyrics.
Re:The consumers want to know (Score:5, Insightful)
So no one important.
Re: (Score:1)
See that thing in the distance? That was the point you missed.
If people can't stream videos and play mp3s without major configuration and grief, who cares what version the Linux kernel is at?
Re: (Score:1)
Re: (Score:3)
If people can't stream videos and play mp3s without major configuration and grief, who cares what version the Linux kernel is at?
And conversely, if people CAN stream videos and play mp3s without major configuration and grief, who cares what version the Linux kernel is at?
(Nerds like us, that's who...)
Re: (Score:2)
"If the feature doesn't exist, code it yourself"
hmmm... I think #1 is answered by #2.
Re: (Score:1)
I happened to see 5 minutes of the show yesterday when I first sat down.. someone had TLC on it that show was on. 5 minutes was 5 minutes too many.
Re: (Score:2)
I happened to see 5 minutes of the show yesterday when I first sat down.. someone had TLC on it that show was on. 5 minutes was 5 minutes too many.
what do Tables, Ladders and Chairs wrestling matches have to do with this?
Re: (Score:1)
You make the common mistake of confusing your interests as my interests.
Re: (Score:1)
Yes, it can play midget porn.
Re: (Score:2)
Important questions from consumers, who are also voters and thus determine (collectively) your fate:
1. Does it stream video of Honey Boo Boo?
2. Does it have iTunes to get the latest from Nicki Minaj?
If not, we know this is relevant to our fascinating modern lives.
FTFY.
Re:The consumers want to know (Score:4, Informative)
It was some fine Tuesday back in 2008-09. Why do you ask?
Re: (Score:1)
Flash is not utter shit on Windows? That's news to me, and I haven't touched that OS since 2006...
Re: (Score:3)
Re: (Score:2)
Re: (Score:2)