Re: [Owfs-developers] cache refresh

2009-07-05 Thread Jaap Struyk
On 05-07-09 14:03, Paul Alfille wrote: > Nice graph. You are monitoring car engine parameters? mini tractor-puller with car engine http://www.minimumrisk.nl/?lng=en > There is one other design alternative (which is sort of suggested by your > note). > > Currently each cache item starts its time

Re: [Owfs-developers] cache refresh

2009-07-05 Thread Paul Alfille
On Thu, Jul 2, 2009 at 12:46 AM, Jaap Struyk wrote: > On 01-07-09 03:48, Paul Alfille wrote: > >> There are 2 issues here: >> 1. There is no automatic reread of data once a cached item times out. >> A timeout_volatile of 1 second would make the maximum lifespan of a >> data element be 1 second (but

Re: [Owfs-developers] cache refresh

2009-07-01 Thread Jaap Struyk
On 01-07-09 03:48, Paul Alfille wrote: > There are 2 issues here: > 1. There is no automatic reread of data once a cached item times out. > A timeout_volatile of 1 second would make the maximum lifespan of a > data element be 1 second (but since the resolution of that timestamp > is 1 second, it's

Re: [Owfs-developers] cache refresh

2009-06-30 Thread Paul Alfille
On Tue, Jun 30, 2009 at 11:12 AM, Jaap Struyk wrote: > On 29-06-09 18:59, Paul Alfille wrote: > >> What are you trying to do? Purge the cache? > > Yes, since reading every uncached sensor costs some time (reading from > uncached or with --timeout_volatile=0) so in my case the total polling > time t

Re: [Owfs-developers] cache refresh

2009-06-30 Thread Jaap Struyk
On 29-06-09 18:59, Paul Alfille wrote: > What are you trying to do? Purge the cache? Yes, since reading every uncached sensor costs some time (reading from uncached or with --timeout_volatile=0) so in my case the total polling time to poll all sensors is over a second but I want to poll every s

Re: [Owfs-developers] cache refresh

2009-06-29 Thread Paul Alfille
What are you trying to do? Purge the cache? We don't currently have a control for that, but it wouldn't be too hard to implement. I would be harder to selectively purge readings but not directory lists or device locations. You can always just read from the uncached directory for a fresh data valu

Re: [Owfs-developers] cache refresh

2009-06-29 Thread Jaap Struyk
On 29-06-09 12:42, Paul Alfille wrote: > They should be separate. Each cached value has it's own time stamp. So the only way to refresh them all at once is to use --timeout_violate? -- __

Re: [Owfs-developers] cache refresh

2009-06-29 Thread Paul Alfille
They should be separate. Each cached value has it's own time stamp. Paul Alfille On Mon, Jun 29, 2009 at 12:30 AM, Jaap Struyk wrote: > Hello, > > Will reading any sensor in uncached dir refresh the values of all the > sensors in cached? > Or does reading a counter from uncached have no effect on

[Owfs-developers] cache refresh

2009-06-28 Thread Jaap Struyk
Hello, Will reading any sensor in uncached dir refresh the values of all the sensors in cached? Or does reading a counter from uncached have no effect on reading temps. from cached? Greetings Japie. -- ___