2010-01-25 08:27:31

by bugzilla-daemon

[permalink] [raw]
Subject: [Bug 14830] When other IO is running sync times go to 10 to 20 minutes

http://bugzilla.kernel.org/show_bug.cgi?id=14830





--- Comment #8 from Theodore Tso <[email protected]> 2010-01-25 08:27:26 ---
Hmm, can you run "iostat 1 | tee iostat.log &", and while that is running, wait
for a 15 seconds or so we can capture what things like in steady state, and
then type "sync", and note when the sync command was initiated in the
iostat.log file? It would be useful seeing what this looks like on both your
ext3 production server and on the ext4 test server. Do you know if there are
any other differences between the two systems, in terms of the workload seen by
your production server versus your test server?

Another thing that would be very useful to do is to enable ftrace, and then cd
to /sys/kernel/debug/tracing. (This assumes that you have debugfs mounted on
/sys/kernel/debug.) Then "echo 1 > events/jbd2/jbd2_run_stats/enable" and
then in a similar fashion, do "cat trace_pipe | tee /tmp/trace.output", wait
for four or five data samples from your file system of interest, and then issue
the sync command, and let's see what is happening.

--
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.