[ZODB-Dev] ZEO 2 : cache twiddling

Guido van Rossum guido@python.org
Wed, 20 Nov 2002 15:59:11 -0500


> Right, I've enabled cache trace logging.
> 
> Here's the summary from stats.py:
> Read 80,207 records (1,924,968 bytes) in 3.5 seconds
> Versions:   3 records used a version
> First time: Wed Nov 20 11:23:11 2002
> Last time:  Wed Nov 20 14:49:56 2002
> Duration:   12,405 seconds
> File stats: 44,253 in file 0; 35,954 in file 1
> Data recs:  38,967 (48.6%), average size 3373.1 KB
> Hit rate:   1.6% (load hits / loads)
> 
>          Count Code Function (action)
>              2  00  _setup_trace (initialization)
>              1  08  *** unknown code ***
>          2,792  10  invalidate (miss)
>             73  1c  invalidate (hit, writing 'i')
>         38,206  20  load (miss)
>            603  2a  load (hit, returning non-version data)
>              1  32  *** unknown code ***
>              3  44  *** unknown code ***
>            154  4c  modifiedInVersion (hit, return '')
>             76  54  *** unknown code ***
>         38,210  5a  store (non-version data present)
>             69  6a  _copytocurrent
>              2  6e  *** unknown code ***
>             14  70  checkSize (cache flip)
>              1  76  *** unknown code ***
> 
> Can anyone help reading these runes?

Oops.  All thopse unknown codes look like sometehing is seriously out
of whack...

I don't know what's going on -- is this on Windows?  Do you want to
send me the trace file?

--Guido van Rossum (home page: http://www.python.org/~guido/)