SV: [Owfs-developers] Timeout again

2006-02-19 Thread Christian Magnusson
Alfille Skickat: den 19 februari 2006 07:44 Till: owfs-developers@lists.sourceforge.net Ämne: Re: [Owfs-developers] Timeout again On Monday 13 February 2006 05:22 pm, Christian Magnusson wrote: Nope... 2 seconds isn't enough... Can't tell you why, but it's not working for me at least.. /Christian

Re: SV: [Owfs-developers] Timeout again

2006-02-19 Thread Paul Alfille
On Sunday 19 February 2006 04:18 am, Christian Magnusson wrote: BTW: Does this timeout and ping packets take care of read/write commands that take long time to execute? For example, ow_2433.c:OW_w_mem() will call BUSLOCK()/BUSUNLOCK() three times during the write progress (+ BUSLOCK in

SV: SV: [Owfs-developers] Timeout again

2006-02-19 Thread Christian Magnusson
I have looked a bit on your new updates, and I'm trying to verify that it works for the linksys routers at least. My first try seemed successful, and I will continue to run the latest cvs this night and see if it crash or hangs. It seems to be very slow response-time now, but I'll tell you more

Re: SV: SV: [Owfs-developers] Timeout again

2006-02-19 Thread Paul Alfille
On Sunday 19 February 2006 02:07 pm, Christian Magnusson wrote: It seems to be very slow response-time now, but I'll tell you more about my experience when it has been running for some more time. Yes the response times seem a little slow. Strange, since I eliminated an unneeded ServerPresence

SV: SV: SV: [Owfs-developers] Timeout again

2006-02-19 Thread Christian Magnusson
Paul Alfille Skickat: den 19 februari 2006 20:25 Till: owfs-developers@lists.sourceforge.net Ämne: Re: SV: SV: [Owfs-developers] Timeout again On Sunday 19 February 2006 02:07 pm, Christian Magnusson wrote: It seems to be very slow response-time now, but I'll tell you more about my experience when

Re: [Owfs-developers] Timeout again

2006-02-18 Thread Paul Alfille
On Monday 13 February 2006 05:22 pm, Christian Magnusson wrote: Nope... 2 seconds isn't enough... Can't tell you why, but it's not working for me at least.. /Christian Fixed! Added some smarts (and fixed some inefficiencies) in the network protocol. owserver will now respond within 1.5

RE: [Owfs-developers] Timeout again

2006-02-15 Thread Christian Magnusson
That seems to be one solution to the problem. We are really close to have children now (twins actually), so I doubt I will have time to do this myself right now. If nothing happens until Monday, we are going to the hospital to manually start it. Until then I have lots of things to take care of

Re: [Owfs-developers] Timeout again

2006-02-15 Thread Paul Alfille
Twins? Then concurrent thread programming should be a natural! Congratulations. I'm getting close with the solution. Just have to work out a deadlock issue. Paul On Wednesday 15 February 2006 03:45 am, Christian Magnusson wrote: That seems to be one solution to the problem. We are really

RE: [Owfs-developers] Timeout again

2006-02-14 Thread Alfille, Paul H.,M.D.
Ok, here is with 2 second timeout: [EMAIL PROTECTED]:~ /opt/owfs/bin/owfs -s 10.183.180.114:3001 /mnt/1wire [EMAIL PROTECTED]:~ ls /mnt/1wire 01.0683C909 10.42916B000800 10.892254000800 10.BE2254000800 10.F84C54000800 05.5ADD1E00 10.483354000800 10.894F54000800 10.C24654000800

[Owfs-developers] Timeout

2006-02-13 Thread Christian Magnusson
I found out that the recently added read-timeout doesnt work good at all A timeout of 1 second in ow_server.c is too low Dont know exactly why, but I end up with EIO errors when reading temperatures very often. Host1: owserver d /dev/tty/1 (Slow Linksys router with 1-wire adapter

Re: [Owfs-developers] Timeout

2006-02-13 Thread Paul Alfille
Thanks, Christian. We could go back to the old way, but I was trying to coordinate work with the Link-Hub-E which can completely bomb out. I think the large directory listing should be ok, since the directory is sent back one element at a time, which minimizes latency. I've always wanted to

SV: [Owfs-developers] Timeout

2006-02-13 Thread Christian Magnusson
: [Owfs-developers] Timeout Thanks, Christian. We could go back to the old way, but I was trying to coordinate work with the Link-Hub-E which can completely bomb out. I think the large directory listing should be ok, since the directory is sent back one element at a time, which minimizes latency

Re: SV: [Owfs-developers] Timeout

2006-02-13 Thread Paul Alfille
On Monday 13 February 2006 12:28 pm, Christian Magnusson wrote: The problem is in ow_server.c:ServerDir() (for example) where ToServer() usually returns VERY quick and the request is put in a queue to be executed on the remote-server. If there are 10 different read requests to

Re: SV: [Owfs-developers] Timeout

2006-02-13 Thread Paul Alfille
] För Paul Alfille Skickat: den 13 februari 2006 17:23 Till: owfs-developers@lists.sourceforge.net Ämne: Re: [Owfs-developers] Timeout Thanks, Christian. We could go back to the old way, but I was trying to coordinate work with the Link-Hub-E which can completely bomb out. I think the large

[Owfs-developers] Timeout again

2006-02-13 Thread Christian Magnusson
Nope... 2 seconds isn't enough... Can't tell you why, but it's not working for me at least.. /Christian [EMAIL PROTECTED] owfs]# cat /var/1wire/uncached/1*/temperature 26.5625 20.4375 19.75 15.93759.25 22.0625 0.125cat:

RE: [Owfs-developers] Timeout again

2006-02-13 Thread Gregg C Levine
: Monday, February 13, 2006 5:23 PM To: owfs-developers@lists.sourceforge.net Subject: [Owfs-developers] Timeout again Nope... 2 seconds isn't enough... Can't tell you why, but it's not working for me at least.. /Christian [EMAIL PROTECTED] owfs]# cat /var/1wire/uncached/1

RE: [Owfs-developers] Timeout again

2006-02-13 Thread Alfille, Paul H.,M.D.
conversion. I'll test tomorrow. Paul Alfille -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Gregg C Levine Sent: Monday, February 13, 2006 6:45 PM To: owfs-developers@lists.sourceforge.net Subject: RE: [Owfs-developers] Timeout again Hello from Gregg C

RE: [Owfs-developers] Timeout again

2006-02-13 Thread Christian Magnusson
Alfille -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Gregg C Levine Sent: Monday, February 13, 2006 6:45 PM To: owfs-developers@lists.sourceforge.net Subject: RE: [Owfs-developers] Timeout again Hello from Gregg C Levine This is definitely