Re: [Owfs-developers] Cache System

2006-10-17 Thread Roberto Spadim
--cache_size is not documentated on website? Paul Alfille escreveu: > Done! > > --cache_size=100 from the command line (or configuration file). > default is cache_size=0 which means no limit > > The limit is a little squishy, no more items can be added once the > cache is exceeded. > > Some p

Re: [Owfs-developers] Cache System

2006-10-16 Thread Paul Alfille
Done!--cache_size=100 from the command line (or configuration file).default is cache_size=0 which means no limitThe limit is a little squishy, no more items can be added once the cache is exceeded. Some permanent items, like barometer parameters don't cound against the cache (but should be smal

Re: [Owfs-developers] Cache System

2006-10-16 Thread Roberto Spadim
can we set max cache size? like 1mb of cache? Roberto Spadim escreveu: >today implementation don't have problems! > >maybe an new directory could help, see: > >when we get from "/#OW SYSTEM#/#ANY FILE OR DIRECTORY#" (could be >"/ow_device_manager/#ANY FILE OR DIRECTORY#") >OW SYSTEM: > ow sys

Re: [Owfs-developers] Cache System

2006-10-15 Thread Roberto Spadim
today implementation don't have problems! maybe an new directory could help, see: when we get from "/#OW SYSTEM#/#ANY FILE OR DIRECTORY#" (could be "/ow_device_manager/#ANY FILE OR DIRECTORY#") OW SYSTEM: ow system that's connected direct to ds2480 or ds2490 or another ds this directory

Re: [Owfs-developers] Cache System

2006-10-14 Thread Gregg Levine
Hello! It sounds interesting. But since both PHP (which supports MySQL) and RRD who uses its own database model are supported by our project, and I am not at all familiar with SQLite. Except from use, and that was using TeamSpeak2. I would rather see the implementation of something who follows the

Re: [Owfs-developers] Cache System

2006-10-14 Thread Paul Alfille
Hi Robero. You certainly are exploring the entire program!Currently the cache is an in-memory binary tree. There is some information at http://www.owfs.org/index.php?page=cache Several different things are cached:1. devices (basically if a serial number was found, and on which bus)2. directory list