Poor ext4 performance questions

Chris Murphy lists at colorremedies.com
Tue Nov 18 17:42:09 UTC 2014

On Nov 10, 2014, at 11:26 PM, George R Goffe <grgoffe at yahoo.com> wrote:

> Hi,
> I have some large ext4 filesystems with large numbers of files in them and performance really sucks. After inactivity, a simple ls takes minutes to complete. I'm pretty sure the drive is now powering itself down due to this inactivity.
> Are there tuning parameters that I could alter that would keep more of the filesystem meta data in memory? It looks like the data slowly migrates back to disk and as a result, takes minutes to fill back up enough to respond.
> Regards and THANKS for your help and your time,

It could be fragmentation or it could be non-optimal directory structure. When was the last fsck -f performed? It will optimize directories as needed, but can be forced with -D but I’d ask on the ext4 list before using it. And e4defrag -c can be used to get a fragmentation score, which can be run on a file or a directory.


Chris Murphy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20141118/ccebb082/attachment.html>

More information about the users mailing list