From 763ebe7adfd2aa850f94862b49ee6d7371d0e22f Mon Sep 17 00:00:00 2001 From: "rvargas@google.com" Date: Thu, 11 Dec 2008 23:49:43 +0000 Subject: Disk cache: Set up an experiment to measure the effect of increasing the maximum cache size. There will be three groups on the experiment, each group with 10% of the users (Dev Channel). Each group will have the max cache size increased by a factor from 2 to 4 times the current size, and we'll measure the age of evicted entries. I'm also adding a few metrics of reliability, to detect how often we're not getting to do proper cleanup. Review URL: http://codereview.chromium.org/14013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6847 0039d316-1c4b-4281-b951-d872f2087c98 --- net/disk_cache/disk_format.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'net/disk_cache/disk_format.h') diff --git a/net/disk_cache/disk_format.h b/net/disk_cache/disk_format.h index 2e839a1..7dc2e7c 100644 --- a/net/disk_cache/disk_format.h +++ b/net/disk_cache/disk_format.h @@ -84,7 +84,9 @@ struct IndexHeader { int32 this_id; // Id for all entries being changed (dirty flag). CacheAddr stats; // Storage for usage data. int32 table_len; // Actual size of the table (0 == kIndexTablesize). - int32 pad[64]; + int32 crash; // Signals a previous crash. + int32 experiment; // Id of an ongoing test. + int32 pad[62]; LruData lru; // Eviction control data. IndexHeader() { memset(this, 0, sizeof(*this)); -- cgit v1.1