On Mon, 09 Nov 2015 15:46:48 +0100
Stefano Miccoli mo...@icloud.com wrote: 

> Curiously I ran in a similar situation as the BBB:
...
> ** non persistent : 39.96 ms, 39.99 ms, 40.00 ms, 40.01 ms, 40.21 ms,
> ** persistent     : 39.98 ms, 40.00 ms, 40.00 ms, 40.00 ms, 40.00 ms,

> When I substitute the fqdn with the IP number I get 
...
> ** non persistent :  2.14 ms,  2.15 ms,  2.15 ms,  2.16 ms,  2.23 ms,
> ** persistent     :  1.90 ms,  1.92 ms,  1.94 ms,  1.95 ms,  1.96 ms,


I've already inserted my BBB's numeric IP address into my /etc/owfs.conf, so I 
could connect to owserver from other machines:
---
The localhost setting is in (at least) two places in /etc/owfs.conf: 
! server: server = 10.1.1.4:4304  
# was previously  localhost:4304
And: 
server: port = 4304  
# was previously  localhost:4304
---


In Stefano's post:
---
In fact the original configuration (owfs.conf) is

server: link = /dev/ttyS0
server: server = owserver.example.com:4304
---

Seems like I've done that, and still get the slow response. Maybe if my 
original had been some DNS-requiring URI instead of "localhost", that timing 
would have been even worse? 


In Martin's reply:
---
> In fact the original configuration (owfs.conf) is
>
> server: link = /dev/ttyS0
> server: server = owserver.example.com <http://owserver.example.com>:4304
---

I'm assuming that "http" link was added somewhere in the mailing list plumbing? 
But maybe both versions have been accidentally manipulated, and I'm not 
understanding the suggestion. 

(I suppose my post may be further manipulated, who knows what will be received 
from this. Guess there is no universal "pre" or "code" tag that would get 
tricky bits through the whole list pathway unchanged...)


> The reason for this slow ?dir? seems linked in my case to a ?bug' in owserver 
> (debian version 2.8p15-1).

I do have that very version: 
ubuntu@arm:~$ dpkg --list | grep owfs
ii  owfs          2.8p15-1ubuntu4   all   Dallas 1-wire support
ii  owfs-common   2.8p15-1ubuntu4   all   common files used by any of the OWFS 
programs
ii  owfs-doc      2.8p15-1ubuntu4   all   Dallas 1-wire support: Documentation 
for owfs
ii  owfs-fuse     2.8p15-1ubuntu4   armhf 1-Wire filesystem

And all my timings match your slow ones so well...  Maybe I really haven't 
grasped where I need to put the numeric IP?

| Loren Amelang | lo...@pacific.net |




------------------------------------------------------------------------------
Presto, an open source distributed SQL query engine for big data, initially
developed by Facebook, enables you to easily query your data on Hadoop in a 
more interactive manner. Teradata is also now providing full enterprise
support for Presto. Download a free open source copy now.
http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to