- Made store dir selection algorithm configurable.
- Added support for admin-definable extension methods,
up to 20.
+ - Added 'maximum_object_size_in_memory' as a configuration option -
+ this defines the watermark where objects transit from being true
+ hot objects to being in-transit objects in memory. It currently
+ defaults to 8 KB.
Changes to Squid-2.4.DEVEL3 ():
#
-# $Id: cf.data.pre,v 1.194 2000/07/18 06:16:41 wessels Exp $
+# $Id: cf.data.pre,v 1.195 2000/08/15 07:14:04 adrian Exp $
#
#
# SQUID Internet Object Cache http://squid.nlanr.net/Squid/
means there is no minimum.
DOC_END
+NAME: maximum_object_size_in_memory
+COMMENT: (bytes)
+TYPE: b_size_t
+DEFAULT: 8 KB
+LOC: Config.Store.maxInMemObjSize
+DOC_START
+ Objects greater than this size will not be attempted to kept in
+ the memory cache. This should be set high enough to keep objects
+ accessed frequently in memory to improve performance whilst low
+ enough to keep larger objects from hoarding cache_mem .
+DOC_END
+
NAME: ipcache_size
COMMENT: (number of entries)
TYPE: int
/*
- * $Id: store_swapout.cc,v 1.74 2000/07/21 06:06:22 wessels Exp $
+ * $Id: store_swapout.cc,v 1.75 2000/08/15 07:14:04 adrian Exp $
*
* DEBUG: section 20 Storage Manager Swapout Functions
* AUTHOR: Duane Wessels
*/
if (mem->inmem_hi < lowest_offset)
new_mem_lo = lowest_offset;
- else if (mem->inmem_hi - lowest_offset > SM_PAGE_SIZE)
+ else if (mem->inmem_hi - lowest_offset > Config.Store.maxInMemObjSize)
new_mem_lo = lowest_offset;
else
new_mem_lo = mem->inmem_lo;
/*
- * $Id: structs.h,v 1.349 2000/08/10 21:44:44 wessels Exp $
+ * $Id: structs.h,v 1.350 2000/08/15 07:14:04 adrian Exp $
*
*
* SQUID Internet Object Cache http://squid.nlanr.net/Squid/
size_t avgObjectSize;
size_t maxObjectSize;
size_t minObjectSize;
+ size_t maxInMemObjSize;
} Store;
struct {
int high;