[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Web cache simulation (fwd)



	Thanks a lot. Now I understands there 2 two types
of "page pool" one is for page repositary, the other is
for web-cache.
	I try to understands how does the "webcache" works
by reading the script "simple-webcache.tcl" and related
source code.  But I still dont understands how does
web cache simulation work well? 
	For example, the http.log produced by simple-webcache.tcl
only includes 1 cache MISS. Then how does the MISS be generated
and where is the replace-policy implemented? And where is the
size of the cache defined?  It seems quite many souce files 
related,  whether you can give me some pointers where to 
start at? 

	Thanks,


Kevin


On Tue, 18 May 1999, Haobo Yu wrote:

> > 	For one client+one cache+one server model, this is OK. 
> > But for multi clients+mutli client cache+one server model, will
> > this also work?  I mean, now, if we still use only one page-pool,
> > then how do we distinguish page attribute like "hit-count/ref count"
> > for different page?  Or can I say that the number of page-pool
> > needed is equal with the number of caches simulated?
> 
> Sorry this is a misunderstanding by the name "page pool". There are two
> kinds of page pools. The first is indeed a page/request generator. The
> other is used by caches to records details about which page is in cache,
> the cache space (which will appear in snapshot later), hit count, etc.
> They are both called PagePool, but indeed serve two different purposes. 
> For the latter, every cache has its own page pool. 
> 
> Hope this helps. 
> 
> - Haobo
> 
>