Hi guys,

I'm using openBD cache feature which is super cool, the strange thing
is that hitting disk is really slow.

2000 items takes half a sec

if I set a very low mem limit with diskpersistant, just to test
degradation perfomance, the swap is very slow, takes 22 secs. I know
that hitting disk is slower but should not be that slow... Is this
right??

Here is a demo of the cached the data, is just a geo structure (really
tiny)

’  sr ,com.naryx.tagfusion.cfm.cache.impl.CacheUnit           J
createdTimeJ
expireTimeL  idt  Ljava/lang/String;L  valt 'Lcom/naryx/tagfusion/cfm/
engine/cfData;xp   9µ3ßß   ;¸/Ïßt  05A2069B5B0F28A282E01434BFF59804sr
+com.naryx.tagfusion.cfm.engine.cfStructData           Z
 isBDAdminStructxr /
com.naryx.tagfusion.cfm.engine.cfStructDataBase           L  hashdatat
 Ljava/util/Map;xr /
com.naryx.tagfusion.cfm.engine.cfJavaObjectData           xr
%com.naryx.tagfusion.cfm.engine.cfData           Z
expressionZ  invalidLoopIndexZ
isImplicitI  queryColumnL  javacastt )Lcom/naryx/tagfusion/cfm/engine/
Javacast;L  queryTableDatat  Ljava/util/List;xp       ppxsr
 com.nary.util.FastMap           xr  javolution.util.FastMap         
xpsr 0com.nary.util.FastMap$StringComparatorIgnoreCase           xr
 javolution.util.FastComparator <ì›§k9    xpsr
&javolution.util.FastComparator$Default¹«ˆ¤rM«K   xq ~  w      t
 adm2sr +com.naryx.tagfusion.cfm.engine.cfStringData           Z
 maybeBooleanConvertibleZ  maybeDateConvertibleZ
 maybeNumberConvertibleL  dataq ~  [    dataBytest  [B[         dataCharst
 [Cxq ~         ppx   t  Provincia de Granadappt
adm2_aliassq ~         ppx   t  GRANADAppt  adm3sq ~         ppx   t
 Granadappt
adm3_aliassq ~         ppx   t  Granadappt  countryCodesq ~  
ppx   t  ESppt  latsq ~         ppx   t  37.18863ppt  lonsq ~  
ppx   t  -3.59078ppx

Here is the settings:

cacheRegionNew( region          ='permamem',
                                throwonerror    = false,
                                props           ={      type                    
: 'memorydisk',
                                                                size            
                : 1,
                                                                diskpersistent  
        : true,
                                                                diskspooldir    
        : expandPath( "./xxx"),
                                                                
diskcleanonstart                : false,
                                                                diskmaxsizemb   
        : 1024});

-- 
online documentation: http://openbd.org/manual/
 http://groups.google.com/group/openbd?hl=en

Reply via email to