[bitbake-devel] [PATCH] prserv: don't wait until exit to sync
richard.purdie at linuxfoundation.org
Tue Nov 4 10:51:39 UTC 2014
On Tue, 2014-11-04 at 08:42 +0000, Richard Purdie wrote:
> We're still figuring out what is going on but it is roughly that:
> a) The build generates a ton of IO
> b) That IO builds up into a queue
> c) The PR service decides it needs to sync to disk
> d) The PR service hits an fsync() of some kind in sqlite whilst writing
> e) The PR service is blocked for its clients until the sync() finishes
> f) Connections to the PR service timeout.
> It would be nice if we could write the sqlite data in a separate thread
> whilst the readers continue. There is an asynchronous module but its
> WAL is recommended instead:
> so we probably need to look at that.
is a patch Ross is kindly testing for me...
More information about the bitbake-devel