The obligatory disclaimer: The more performance you gain, the more data integrity you loose! But if you want to tune something like a file system, I strongly assume that you know what you are doing :) These tips apply to all major Linux distributions like Fedora/Red Hat, OpenSUSE, and Ubuntu that are already using ext4 or are going to make ext4 their default file system.
As write operations on Solid State Disks (SSD) are expensive the tips below are focused on SSD usage but also apply to HDD usage as well.
If you understand the following cases, you understand Java 8' new interface model.
The code below, won't compile throwing this error:
java: class FooBar inherits unrelated defaults for someMethod() from types Foo and Bar
The code above compiles and prints:
The code below won't compile as well and throws this familiar (for Java < 8 JDKs) error message:
java: FooBar is not abstract and does not override abstract method someMethod() in Foo
As you might see in this examples, starting with JDK 8, Java has introduced a kind of multiple inheritance as both, the class and its interface might contain an implementation of the same method (same name & signature). To address the diamond problem there is a precedence in which order an implementation is used: only if the class implements alldefault / optional methods of its interfaces, the code can be compiled and the implementations of this class are used. Otherwise the comp…
Ext3 as the by journaling capability enhanced successor filesystem of ext2 has quite conservative default parameters which ensure an adequate data integrity after crashes. But if you make backups and using a notebook you will maybe pay a greater attention to the read/write speed of your HDD than an exaggerated and performance wasting data integrity. In the following you can see the settings which I am using for my LUKS encrypted partitions accommodated by a LVM. You have to alter the both files below as followed: