writing processes are blocking in log_wait_common with data=ordered

David Mansfield
Tue, 30 Apr 2002 17:52:50 -0000

I have a system with many processes writing to a common data file using
pwrite.  These processes are each writing to existing blocks in the file,
not changing the file size, and the file has no holes.

When the processes get going, they seem to bottleneck at log_wait_common
(according to ps alnx).  That is, one process is uninterruptible in
log_wait_common, the rest are uninterruptible in down.

kjournald itself seems to be oftern blocked at 'wait_o', which I
unfortunately didn't get as numeric, but I assume is wait_on_buffer or
something like that.

Is there a reason the data writes should be waiting on the log in ordered
mode?  I thought that log commits were postponed until the completion of
data, but not vice-versa.

I assume that data=writeback would alleviate this bottleneck, right?

David

--
/==============================\
| David Mansfield              |
| david@cobite.com             |
\==============================/