Last Comment Bug 818725 - Flush localStore.rdf off the main thread
: Flush localStore.rdf off the main thread
Status: NEW
: main-thread-io
Product: Core
Classification: Components
Component: RDF (show other bugs)
: Trunk
: All All
-- normal with 2 votes (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
: Axel Hecht [:Pike]
Depends on:
Blocks: 572459 shutdown-faster 987728
  Show dependency treegraph
Reported: 2012-12-05 15:47 PST by Vladan Djeric (:vladan)
Modified: 2014-03-27 16:42 PDT (History)
16 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Description User image Vladan Djeric (:vladan) 2012-12-05 15:47:27 PST
We should look into flushing the localStore.rdf file off the main thread on shutdown:
Comment 1 User image Axel Hecht 2012-12-05 16:10:28 PST
I'm new to the topic, what would that mean? code wise, and in terms of "written file to disk before shutdown" etc.

If I read the profile right, we're actually spending time in ::Flush, i.e., not in RDF itself, but only in the actual finish of the disk write?

Is that true for various sizes of localstore.rdf?
Comment 2 User image David Teller [:Yoric] (please use "needinfo") 2012-12-06 00:08:01 PST
@Axel: I believe that this is a general issue with flushing. Its duration is unbounded, regardless of the size of the file.

Note You need to log in before you can comment on or make changes to this bug.