On 2/05/2013 6:38 p.m., Niran wrote:
Dear All,
I'm having problem in Squid 2.7 STABLE 9 on changing the maximum object size to higher value then default of 1 MB.
I re-compiled the squid with --with-coss-membuf-size=134217728 which is 128 MB.
And I even changed the static value of COSS_MEMBUF_SZ 134217728 in source file /src/fs/coss/store_coss.h and recompiled.
This is still giving the error that I can't change the max-size in COSS is bigger then COSS_MEMBUF_SZ (1048576).
Does anyone have any idea ?
Why are you trying to increase this size?
COSS is only efficient because it stores *small* objects and pre-loads a
bunch of closely related ones in each slice. Dumping larger ones into
each slice reduces the amount of pre-loading which is possible by
loading the slice. There is a threshold somewhat *less* than 1MB where
it becomes more efficient to use the OS disk buffering and stream each
file individually to the client wanting it. AUFS runs faster on large files.
Amos