Kernel 3.1 is released

Linux pure!

Moderators: b1o, jkerr82508

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Kernel 3.1 is released

Postby viking60 » 25 Oct 2011, 14:29

Kernel 3.1 is released:
https://lkml.org/lkml/2011/10/24/212

Here are the improvements.

One thing to notice is that your Ext3 filesystem might get slower after upgrading. This is because the Kernel now has implemented the Red hat policy of turning on filesystem barriers by default in Ext3:
Hard disks have a memory buffer were they temporally store the instructions and data issued from the OS while the disk processes it. The internal software of modern disks changes the order of the instructions to improve performance, which means that instructions may or may not be committed to the disk in the same order the OS issued them. This breaks many of the assumptions that filesystems need to reliably implement things like journaling or COW, so disks provide a "cache flush" instruction that the OS uses when it needs it. In the Linux world, when a filesystem issues that instruction, it is called a "barrier". Filesystems such as XFS, Btrfs and Ext4 already use and enable barriers by default; Ext3 supports them but until this release it did not enable them by default: while the data safety guarantees are higher, their performance impact in Ext3 is noticeable in many common workloads, and it considered that it was an unnaceptable performance regression to enable them by default. However, Linux distros like Red Hat have enabled barriers by default in Ext3 for a long time, and now the default for mainline has been changed aswell.

In other words: if you use Ext3 and you note performance regressions with this release, try disabling barriers ("barriers=0" mount option).


As you can see it will not affect XFS, Btrfs and Ext4.
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
rolf
Guru-Berserk
Posts: 1107
Joined: 16 Mar 2010, 16:07

Re: Kernel 3.1 is released

Postby rolf » 25 Oct 2011, 16:47

No mention of reiserfs, afaict, but here's an old comment, true or false, idk, that might be interesting:

comment #138 wrote:extx3 disables barriers by default, but xfs and reiserfs enable it by default. If enabled there should be (if you believe the kernel people) a 30% penalty for ext3.

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Kernel 3.1 is released

Postby viking60 » 25 Oct 2011, 17:20

It is probably still true then. The major new thing is that Ext3 has it enabled now. The others who already have it, have been more secure at the familiar speed for some time.
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
rolf
Guru-Berserk
Posts: 1107
Joined: 16 Mar 2010, 16:07

Re: Kernel 3.1 is released

Postby rolf » 25 Oct 2011, 17:47

I don't spend time chasing down benchmarks but some of the speed-related fervor for ext3 might die down if the hit is that big. I thought there were some credible claims about the superior performance of reiser4 but that is not in mainline, has required a patch from Edward Shishkin that Thomas Backlund was implementing in his kernels prior to kernel-3. The latest I have seen of whether he will continue to do that is around here:
http://www.spinics.net/lists/reiserfs-d ... 02990.html and at the link, above.

He would post those patches @ kernel.org, under people/. After the compromise of those servers, there have only been 3 devels who have re-made their accounts, one more than the last time I mentioned this, no edward... ftp://ftp.kernel.org/pub/linux/kernel/people/ :berserk2

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Kernel 3.1 is released

Postby viking60 » 25 Oct 2011, 18:37

It looks like there is not much development on ReiserFS.
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
rolf
Guru-Berserk
Posts: 1107
Joined: 16 Mar 2010, 16:07

Re: Kernel 3.1 is released

Postby rolf » 25 Oct 2011, 19:00

viking60 wrote:It looks like there is not much development on ReiserFS.

There is still development, kernel patches: http://www.spinics.net/lists/reiserfs-d ... html#02990

User avatar
dedanna1029
Sound-Berserk
Posts: 8780
Joined: 14 Mar 2010, 20:29
Contact:

Re: Kernel 3.1 is released

Postby dedanna1029 » 26 Oct 2011, 00:51

rolf wrote:There is still development, kernel patches: http://www.spinics.net/lists/reiserfs-d ... html#02990

+1 There sure is! Even if considered outdated, one will not get performance like they do from ReiserFS, and I believe that to be for all time. I'll probably be sitting in the year 2025, still running ReiserFS, because no one's come out with anything as stable.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html


Return to “Kernel”