Граф коммитов

40 Коммитов

Автор SHA1 Сообщение Дата
Michal Novotny 873439772c Bug 1325336 - Generate statistics for cache performance on the given HW, r=valentin, r=honzab
CachePerfStats gathers performance data for single open, read and write operations as well as the whole cache entry opening. It maintains long term and short term average. The long term average filters out excessive values and it represents and average time for a given operation when the cache is not busy. The short term average represents the current cache speed. By comparing these two stats we know pretty quickly that the cache is getting slower and then we race the cache with network immediately without a delay. Otherwise the delay is based on the average cache entry open time.
2017-06-23 10:24:45 +02:00
Sebastian Hengst e1f8387dab Backed out changeset e44f1f746017 (bug 1325336) for crashing e.g. in browser-chrome's browser_flashblock_on_with_ask_to_activate.js with [@ mozilla::net::CacheFileUtils::CachePerfStats::MMA::GetStdDev]. r=backout 2017-06-22 18:29:06 +02:00
Michal Novotny 51fdc64d9e Bug 1325336 - Generate statistics for cache performance on the given HW, r=valentin, r=honzab
CachePerfStats gathers performance data for single open, read and write operations as well as the whole cache entry opening. It maintains long term and short term average. The long term average filters out excessive values and it represents and average time for a given operation when the cache is not busy. The short term average represents the current cache speed. By comparing these two stats we know pretty quickly that the cache is getting slower and then we race the cache with network immediately without a delay. Otherwise the delay is based on the average cache entry open time.
2017-06-22 17:22:13 +02:00
Carsten "Tomcat" Book f4d1338e49 Backed out changeset 29c843d51c4b (bug 1325336) for bustage 2017-06-22 16:16:51 +02:00
Michal Novotny 7f22d3a3e9 Bug 1325336 - Generate statistics for cache performance on the given HW, r=valentin, r=honzab
CachePerfStats gathers performance data for single open, read and write operations as well as the whole cache entry opening. It maintains long term and short term average. The long term average filters out excessive values and it represents and average time for a given operation when the cache is not busy. The short term average represents the current cache speed. By comparing these two stats we know pretty quickly that the cache is getting slower and then we race the cache with network immediately without a delay. Otherwise the delay is based on the average cache entry open time.
2017-06-22 15:44:00 +02:00
Valentin Gosu 3c75088cde Bug 1313095 - Add telemetry to measure if cache loads are faster than network loads r=michal
MozReview-Commit-ID: C6kMSPw8gxv
* * *
[mq]: bug1313095-telemetry-reval.patch

MozReview-Commit-ID: 8jwMgq0cx3Z
2016-11-10 16:14:34 +01:00
Michal Novotny 53e5e52ac1 Bug 1313095 - Preserve cache queue length for logging and telemetry r=honzab
MozReview-Commit-ID: 2PbkAm78xz8
2016-11-10 16:14:23 +01:00
Honza Bambas a604390796 Bug 1294183 - Make HTTP cache write leader-class resources with more priority, r=michal 2016-10-12 10:32:00 +02:00
Honza Bambas 389ae20f08 Bug 1288204 - Use CancelSynchronousIo Win32 function to cancel blocking I/O on the HTTP cache thread. r=michal
--HG--
extra : rebase_source : 996af543772b29c36fb2c8eeee7a8fa8b08dac68
2016-08-10 10:50:00 -04:00
Honza Bambas e62bd5f22b Bug 1277275 - Cache I/O queue length telemetry, r=michal 2016-06-27 05:43:00 +02:00
Nathan Froyd 8b24c9d51c Bug 1281626 - part 3 - make various things accept already_AddRefed<nsIRunnable>; r=khuey
All of these things are called with the result of
NS_NewRunnableFunction, so we need to transition them over to a world
where NS_NewRunnableFunction returns something different.
2016-06-28 22:24:54 -04:00
Carsten "Tomcat" Book 7433982068 Backed out changeset 5038112b5f78 (bug 1277275) for bustage 2016-06-13 09:55:08 +02:00
Honza Bambas ee7057c5e9 Bug 1277275 - Cache I/O queue length telemetry, r=michal 2016-06-09 09:00:00 +02:00
Jonathan Watt 7000ea35bd Bug 1253094, part 6 - Stop using DebugOnly for class/struct members in netwerk/. r=mayhemer
MozReview-Commit-ID: Ab9bM9WI2uD
2016-02-26 15:52:07 +00:00
Honza Bambas 5b430fab1f Bug 996836 - Merge CLOSE and WRITE priority in cache2 I/O thread. r=michal
--HG--
extra : rebase_source : 2d16c6fb54061dfa87b338da22e019295e9c299f
2016-01-05 11:50:00 -05:00
Michal Novotny a040388dea Bug 1222782 - TSan: data race netwerk/cache2/CacheIOThread.cpp:148 Target (race on mXPCOMThread), r=jseward 2015-11-13 18:49:29 +01:00
Birunthan Mohanathas a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Michal Novotny 594c5d9881 Bug 1157322 - TSan: data race netwerk/cache2/CacheIOThread.cpp:315 OnDispatchedEvent, r=honzab 2015-06-01 15:59:17 +02:00
Michal Novotny 30fb016392 Bug 1122070 - TSan: data race netwerk/cache2/CacheIOThread.cpp:97 DispatchInternal, r=honzab 2015-06-01 15:36:44 +02:00
Honza Bambas adddf68b3c Bug 1122420 - Improve after-shutdown dispatch assertion on CacheIOThread. r=michal
--HG--
extra : rebase_source : f4e438e004b4e18e81ce35db5659a6c9cef18ce1
2015-04-13 16:58:00 +02:00
Daniel Holbert 082fd9cd7f Bug 1142841: Convert all nsRefPtr<nsIRunnable> to nsCOMPtr<nsIRunnable>. r=ehsan
This patch was generated by a script.  Here's the source of the script for
future reference:

find . \( -iname "*.cpp" -o -iname "*.h" \) | \
  xargs -n 1 sed -i "s/nsRefPtr<nsIRunnable>/nsCOMPtr<nsIRunnable>/g"
2015-03-17 09:29:17 -07:00
Benoit Jacob ff32bb14c1 Bug 1028588 - Fix dangerous public destructors in netwerk/ - r=mcmanus 2014-06-24 12:36:44 -04:00
Honza Bambas b4dd4d8955 Bug 986179 - Rework cache2 memory pool, r=michal 2014-04-06 20:45:18 +02:00
Honza Bambas fb73a2ae07 Bug 976866 - HTTP cache v2: Specific dispatch method for eviction events, r=michal 2014-04-04 14:42:05 +02:00
Michal Novotny 63c7dcaab1 Bug 968106 - HTTP cache v2: implementation of the eviction of the whole disk cache, r=honzab 2014-03-07 12:22:59 +01:00
Honza Bambas ff7f64d64a Bug 958317 - HTTP cache v2: allow yield to more priority levels in IOThread, r=michal 2014-02-27 00:11:42 +01:00
Honza Bambas a2b286f768 Bug 964039 - Memory used by the new cache backend is not reported, r=michal 2014-02-27 00:11:40 +01:00
Michal Novotny 8c254f8b27 Bug 913808 - Evict entries from the disk cache when cache limit is reached, r=honzab 2014-02-18 18:26:48 +01:00
Michal Novotny d2d590bfc8 Bug 923016 - Implementation of cache index, r=honzab 2014-02-18 16:05:07 +01:00
Ed Morley 6088e9379c Backed out changeset f514ab5c4b5b (bug 923016) for B2G xpcshell crashes; CLOSED TREE 2014-03-05 17:25:27 +00:00
Ed Morley d324b8dded Backed out changeset d8543551f12e (bug 913808) 2014-03-05 17:25:04 +00:00
Ed Morley 8dbef9c6e0 Backed out changeset 240333c3d2c1 (bug 964039) 2014-03-05 17:24:55 +00:00
Ed Morley 6fee27b115 Backed out changeset 18d79e1e15f9 (bug 958317) 2014-03-05 17:24:52 +00:00
Honza Bambas 6891434bc6 Bug 958317 - HTTP cache v2: allow yield to more priority levels in IOThread, r=michal 2014-02-27 00:11:42 +01:00
Honza Bambas 260271bf43 Bug 964039 - Memory used by the new cache backend is not reported, r=michal 2014-02-27 00:11:40 +01:00
Michal Novotny 41ee219b6e Bug 913808 - Evict entries from the disk cache when cache limit is reached, r=honzab 2014-02-18 18:26:48 +01:00
Michal Novotny a5234f73a3 Bug 923016 - Implementation of cache index, r=honzab 2014-02-18 16:05:07 +01:00
Honza Bambas ebad344e5a Bug 957707 - Merge management and IO threads in cache v2, r=michal 2014-01-22 18:54:52 +01:00
Honza Bambas e819212e97 Bug 914644 - HTTP cache v2: failure of test_doomentry.js, proper sync when dooming after open, r=michal 2014-01-09 00:27:32 +01:00
Honza Bambas 894ba59236 Bug 913807 - HTTP cache v2: API+top service+integration+tests, off by default, r=michal+ehsan+mark.finkle+fabrice+mhammond+gavin 2013-09-20 11:11:25 +02:00