[Owfs-developers] Improved network performance

2009-10-03 Thread Christian Magnusson
I made a fix to owserver, where some code was limiting 1 request per 200ms! when persistent connections were used. (Eg. Owserver-owserver or Owfs -owserver configurations) I added a timed semaphore which should fix the unnecessary delay between two requests within the same persistant

Re: [Owfs-developers] Hard Freezing

2009-10-03 Thread Rob O'Connell
I'm using linkUSB and T-sense on Ubuntu 9.04 - using latest updates.I don't use digitemp, I use /opt/owfs/bin/owserver --link=/dev/ttyUSB0 -p 4304 to run the server and I use owread to get temperatures. I have been reading on 90-second periods for many days and has been very robust. One

Re: [Owfs-developers] Improved network performance

2009-10-03 Thread Christian Magnusson
Here is some comparison between the performance before and after the latest changes. # /opt/owfs/bin/owserver --foreground --error_level=3 --fake=10 -p 5000 # /opt/owfs/bin/owfs --foreground --error_level=3 -s 5000 /tmp/2 Old code. It takes 2.37 seconds to read 6 fake devices! # time cat

Re: [Owfs-developers] OWFS and RS232 over Ethernet Adapter

2009-10-03 Thread Paul Davis
From what I read about the passive adapters, the serial port should operate at 115.2 kbps and the character size should be 6 bits. This presents the best timing for the 1-wire bus. I took a quick read through the XT-Micro documentation and I see different models with different

Re: [Owfs-developers] OWFS and RS232 over Ethernet Adapter

2009-10-03 Thread Paul Alfille
Nice discussion, Paul. OWFS uses 6-bit communication with the DS9097 by default, but will use 8-bit with a command line parameter (this issue has come up with some embedded computers that can't support 6-bit serial communication). I believe the BAUD rate is changed to 9600 baud briefly