Several reports on different types of Bus Masters not working, so I
investigated.
Just did some quick tests, using a large passive network:
The first number is the number of devices.
LINK (serial)
p...@paul-desktop:~/owfs$ time (/opt/owfs/bin/owdir | wc -l)
112
real 0m5.021s
user 0m0.008s
sys 0m0.000s
DS9097U (serial)
p...@paul-desktop:~/owfs$ time (/opt/owfs/bin/owdir | wc -l)
113
real 0m6.297s
user 0m0.004s
sys 0m0.004s
DS9097 (passive circuit, serial)
p...@paul-desktop:~/owfs$ time (/opt/owfs/bin/owdir | wc -l)
112
real 0m55.456s
user 0m0.000s
sys 0m0.008s
This was with bus traffic turned on, so the noisier DS9097 get penalized.
Still, they all find the same number of devices, except the DS9097U has an
09 chip in the adapter.
For comparison,
USB
p...@paul-desktop:~/owfs$ time (/opt/owfs/bin/owdir | wc -l)
113
real 0m0.016s
user 0m0.000s
sys 0m0.004s
p...@paul-desktop:~/owfs$ time (/opt/owfs/bin/owdir /uncached | wc -l)
112
real 0m1.940s
user 0m0.004s
sys 0m0.004s
Cached (the first one) cheats because the bus gets enumerated on startup for
USB, but /uncached should be a valid comparison.
And finally,
LinkUSB
p...@paul-desktop:~/owfs$ time (/opt/owfs/bin/owdir | wc -l)
112
real 0m4.919s
user 0m0.000s
sys 0m0.004s
-----------------------------
So, in terms of efficiency, the adapters that have better Search algorythms
do better (USB > LINK > DS9097U >> DS9097)
-----------------------------
What I really gather from this experiment is that all these adapters DO work
(at least under the devoper's conditions) and so the problems reported can
be figured out.
Paul Alfille
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers