lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 06 Jul 2014 17:57:24 +0000
From:	bugzilla-daemon@...zilla.kernel.org
To:	linux-ext4@...r.kernel.org
Subject: [Bug 78651] Write performance of ext4 degrades linearly as volume
 fills

https://bugzilla.kernel.org/show_bug.cgi?id=78651

Theodore Tso <tytso@....edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tytso@....edu

--- Comment #5 from Theodore Tso <tytso@....edu> ---
Delayed allocation certainly works with or without the journal.  But disabling
delayed allocation will _significantly_ impact performance.   There's certainly
no surprise there.   Delalloc is one of the reasons why ext4 is significantly
more performant than ext3, and the mode that we use in Google is ext4 with
delalloc in no journal mode.

In answer to your other questions, no the es_shrink_enter and es_shrink_exit
calls are not balanced.  In particular, the ext4_es_shrink_enter tracepoint
gets called from two different functions (which is a bad thing; recent shrinker
infrastructure changes added a s_es_shrinker_.count_objects() callback, and the
person converted the ext4 shirnker over to the new setup duplicated the
tracepoint instead of creating a new one.   Also, in ext4_es_scan(), if
nr_to_scan is zero, we don't end up calling the ext4_es_shrinker_exit
tracepoint.

Some other things to try.  (1)  Try collecting copies of /proc/meminfo and
/proc/slabinfo every 10% of the dump process or so.  That might be useful.  (2)
Try reformatting with a much larger journal, and see if that makes a
difference.  I doubt it will, but it's worth a try.   (3)   Either using
/sys/kernel/debug, or the ftrace command (don't use perf; since we need the
data associated with the tracepoints, not just the count), enable the
jbd2_checkpoint and jbd2_run_stats and collect the tracepoint data during the
run.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ