Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Mozilla's Servo Still Going Forth To Parallelize The Web

  1. #11
    Join Date
    Feb 2008
    Location
    Linuxland
    Posts
    5,337

    Default

    Could be, I don't follow it too actively.

  2. #12
    Join Date
    Mar 2011
    Location
    Canada
    Posts
    107

    Default

    Quote Originally Posted by curaga View Post
    It is clear you have not used Firefox recently with a lot of bookmarks. Such magnificent and wise decisions they were to have it all in SQLite, which consequently fsync()s in the UI thread.
    SQLite only calls `fsync` at the end of a transaction. For a read-only operation like viewing the bookmarks, there's certainly no `fsync` happening. Firefox's responsiveness problems aren't caused by using a storage backend with transaction support. Chromium certainly makes use of transactions to prevent data loss and recover from being killed just like Firefox but it doesn't have any of these problems.

    The entire Firefox UI freezes when a tab is running a loop in JavaScript, so there are obviously far bigger architectural issues. It doesn't really have anything to do with SQLite or the lack of multi-processing for sandboxing.
    Last edited by strcat; 02-21-2014 at 07:06 AM.

  3. #13
    Join Date
    Feb 2008
    Location
    Linuxland
    Posts
    5,337

    Default

    There's a pretty clear correlation there, as the UI stall complaints increased a lot right after FF moved to sqlite.

  4. #14
    Join Date
    Oct 2008
    Posts
    3,247

    Default

    Quote Originally Posted by curaga View Post
    There's a pretty clear correlation there, as the UI stall complaints increased a lot right after FF moved to sqlite.
    That issue wasn't from bookmarks, but the history. When you visit a webpage, it gets stored in the history, and you can search for it in the awesomebar. That's where all the fsyncs came from.

    As i mentioned earlier, there was a big effort a while back to move all that IO, both reading and writing, into async calls running in background threads. It seems like maybe that was around FF17-18 or so, but i don't recall exactly.
    Last edited by smitty3268; 02-22-2014 at 08:38 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •