Thread (5 messages) flat view 5 messages, 3 authors, 2012-09-13

Re: Ongoing data reorganization/defragmentation?

From: Lukáš Czerner <hidden>
Date: 2012-09-12 18:15:21

On Wed, 12 Sep 2012, norritt@t-online.de wrote:
Date: Wed, 12 Sep 2012 18:36:24 +0200
From: norritt@t-online.de
To: linux-ext4@vger.kernel.org
Subject: Ongoing data reorganization/defragmentation?

Ongoing data reorganization/defragmentation?

In my efforts to optimize an ext4 for usage on SSDs, I have found information
on the web about ext4 I've not been able to verify.

From what I've found out it's a good idea to:
- mount with noatime, discard (if drive supports trim)
The -o discard option might be tricky since some devices still
handles it quite badly and you can experience big performance drops
(http://people.redhat.com/lczerner/discard/ although it is somewhat
outdated already). But you might to try to see yourself if it does
not hurt your performance.

The other option would be to use batched discard with fstrim (see
fstrim from util-linux) and run it once per (day, week, month).

Thanks!
-Lukas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help