I think those delays could be caused by TCP or kernel driver layer.
I analyse 1-Wire communication with a digital scope and logic analyser.
Transmission via the I2C bus runs correctly and 1-Wire also looks good.
I will try to recompile owfs 2.8p3 for ARM, but I don't know is it
suitable for my kernel.
Are you running owserver locally (127.0.0.1)?
W dniu 2011-02-04 07:22, Pascal Baerten pisze:
here the output of a simple test in php (using ownet.php) via owserver
on debian nslu2 owfs 2.8p3 and busmaster is 2482-800
reading pio is ~50ms
reading temperature is ~770ms
reading cached temp (frm owfs memory) is 15ms
measuring timming for temperature and pio
connect to ownet duration=3ms
temperature for /bus.0/uncached/28.0521AD010000/temperature =
17.6875 duration=771ms
waiting 5s duration=5006ms
set /bus.0/12.5B1E6D000000/PIO.B=1 duration=118ms
read /uncached/bus.0/12.5B1E6D000000/sensed.B=0 duration=49ms
set /bus.0/12.5B1E6D000000/PIO.B=0 duration=85ms
read /uncached/bus.0/12.5B1E6D000000/sensed.B=1 duration=46ms
waiting 1s duration=1002ms
temperature for /bus.0/28.0521AD010000/temperature =
17.6875 duration=15ms
done
2011/2/3 Roman Jałoza <[email protected] <mailto:[email protected]>>
How looks your timings? How fast can you read temperature or PIO?
Are these timings are similar to my? (650ms to PIO and 1-1,2 s for
temp without converT command )
Roman
W dniu 03.02.2011 21:44, Pascal Baerten pisze:
Hi Roman,
I'm using owfs with ds2482-800 and found the communication slower
than other bus masters solutions.
However not that slow than you describe.
Analysing 1-Wire communication with a digital scope shown that an
idle period is visible between each byte and "tri-bits".
This idle period is around 1,3ms for my system (nslu2 with
debian), this reduce the effective throughput to 4kbit/s instead
of 15kbit/s.
Do you have an hadware assited i2c controller embedded or are you
using software i2c?
I think that my behaviour come from software i2c that does not
buffer transactions and require attention from owfs between each
byte and tri-bits.
Regarding the temp reading, I think you better to read
'temperature' property after a simultaneous converT command
instead of 'fasttemp' which is not prepared by the simultaneou
command. - Paul correct me if not true -
You may also find usefull information by starting your owfs
daemon with '--debug' param. Reading temp involve a blocking
transaction that wait until conversion is finished by polling
1-wire or for fixed time depending on method used and parasite
power mode.
Pascal
2011/2/3 "Roman Jałoza - TechBase Sp. z o.o." <[email protected]
<mailto:[email protected]>>
Hi,
I'm developing 1-wire communication at embedded computer with
ARM9 and ds2482-100 master chip.
Is anyone test owfs performance via i2c master?
I'm reading temperature from ds18b20 sensors and it took a
long time (from 1,5s to 8s) with fasttemp read. It should be
much faster. I've made some tests with writing
simultaneous/temperature bit but performance was still the
same - means poor.
Reading PIO states from ds2408 device took about 600ms (but
sometimes 1,5s).
Devices are powered (reading with parasite mode took 5-8s).
Is anyone have some idea? some solution?
--
Best Regards **
*Roman Jałoza*
//
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD
value)!
Finally, a world-class log management solution at an even
better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Owfs-developers mailing list
[email protected]
<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/owfs-developers
--
Pascal
www.brain4home.eu <http://www.brain4home.eu>
to subscribe, send a mail to <[email protected]
<mailto:[email protected]>>
------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world?
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
Owfs-developers mailing list
[email protected]
<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/owfs-developers
------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access
resources
and provide services. The best practices for maximizing a physical
server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world?
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
Owfs-developers mailing list
[email protected]
<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/owfs-developers
--
Pascal
www.brain4home.eu <http://www.brain4home.eu>
to subscribe, send a mail to <[email protected]
<mailto:[email protected]>>
------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world?
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers
------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world?
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers