Firefox/Goals/2010Q1/IO Reduction: Difference between revisions

Updated formatting
(Updated formatting)
Line 1: Line 1:
== > 50% reduction of main thread I/O ==
== Pitch ==


The idea of this goal is to reduce the amount of I/O calls we make on the main thread by at least 50% with the [[Firefox/Goals/2010Q1/IO Reduction Criteria|specified criteria]].  This criteria will likely evolve throughout the quarter as we try to better quantify our results.
Reducing I/O operations on the main thread will remove potential points of hanging that users experience, providing a substantially better user experience to our users.  Removing at least 50% of our current I/O operations (as of January 1, 2010) from the main thread.


With v1.1 of the criteria, this is a summary of the amount of IO operations:
== Goals ==
* write counts: 4084
* Reduce at least 50% of the I/O operations on the main thread (read, write, fsync, fstat) based on a certain [[Firefox/Goals/2010Q1/IO Reduction Criteria|set of criteria]].
* read counts: 1073
 
* fsync counts: 49
== Non-Goals ==
* total count: 5206
* Reduce the number of I/O operations that we do


== Status ==
== Status ==


<onlyinclude>Work in progress.  Cookie stuff should have a new patch up this week.  About 27% of the IO has been removed from mozilla-central (week of March 1)!</onlyinclude>
* IN FLIGHT
* Project Lead: sdwilsh
* Project Members: Bjarne, mak, rflint, Unfocused
* Cookie stuff should have a new patch up this week.  About 27% of the IO has been removed from mozilla-central.  See [[Firefox/Goals/2010Q1/IO Reduction#Timeline / Milestones|this table]] for more details


== How to help ==
== Timeline / Milestones ==


Contact Shawn Wilsher (sdwilsh on irc, sdwilsh at mozilla dot com).  I'll try to get a buglist going shortly.
Initial numbers from v1.1 of the criteria are:
 
* write counts: 4084
== Active/Landed Bugs  ==
* read counts: 1073
 
* fsync counts: 49
These bugs represent work being done to reduce IO calls. The approximate percentage of I/O calls each bug should remove from the main thread is also listed. 
* total count: 5206


These are the bugs of interest:
{| border="1"
{| border="1"
|-
|-
Line 26: Line 30:
! scope="col" | Owner
! scope="col" | Owner
! scope="col" | Status
! scope="col" | Status
! scope="col" | Reads
! scope="col" | reads
! scope="col" | Writes
! scope="col" | writes
! scope="col" | Fsyncs
! scope="col" | fsyncs
! scope="col" | fstats
! scope="col" | % I/O Responsible
! scope="col" | % I/O Responsible
|-
|-
Line 37: Line 42:
| 1423
| 1423
| 3
| 3
|
| 27.3%
| 27.3%
|-
|-
Line 44: Line 50:
|  
|  
| 1137
| 1137
|
|  
|  
| 21.8%
| 21.8%
Line 52: Line 59:
| 10
| 10
| 111
| 111
|
|  
|  
| 2.3%
| 2.3%
Line 59: Line 67:
| wip patch up; discussion ongoing
| wip patch up; discussion ongoing
| 75
| 75
|
|  
|  
|  
|  
Line 68: Line 77:
| ?
| ?
| ?
| ?
|
|  
|  
| ?
| ?
Line 77: Line 87:
| ?
| ?
|
|
|
| ?
| ?
|-
|-
Line 85: Line 96:
| ?
| ?
|
|
|
| ?
| ?
|}
|}
== Delivery Requirements ==
This work must be landed on mozilla-central by March 31, 2010.
== Constraints ==
None
== Dependencies ==
None
== Testing ==
Our normal automated testing should be sufficient here.  Numbers of calls are generated by [[Firefox/Goals/2010Q1/IO Reduction Criteria/sdwilsh-io.d|this DTrace script]].
== Related Projects ==
None
590

edits