-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 23.12.2012 02:06, Jerry Scharf wrote: > Paul, > > I do not know how others would imagine doing this, but I thought a > bit about how that could be useful to me. My imagination is that I > I would set up the polling via the comm channel so I can add, list > or remove polling tasks.
I think you (and also Paul) got my idea basically ;) Why do dumb polling when it can be handled internally in owserver (owlib) > Now comes the question of what types of things to poll for: coming > and going of devices, either all or by family events from binary > inputs, by all, family or device min/max thresholds on value > things IMHO full/max-speed for iButtons (used as push-on devices) and I/Os like DS2406/08/13, the remainder could be/remain "slow" > > The final question in my mind is about polling interval. One way to > look at this is how often the polling is done. Another way to look > at it is what percentage of bus time should be spent on polling vs. > reserved for other work. I would tend to be more likely to use the > latter, poll as fast as you can but leave x% of the bus bandwidth > available of other traffic. That way I never shoot myself in the > foot by asking for too much polling. I do not have an intuitive > sense of what kinds of polling would product what amount of bus > demand. The real problem (for me) is that the uncached search takes longer as it should, USB and CPU are million times faster than 1w.. The current solution & remainder is simple: I ask one DS18x20 (parasitic this could take 750ms, sure, but it currently takes 1s - even when its on another busmaster), then check for iButtons + IO's, then the next one but I want to multithread this task and that doesnt get faster with multiple BM :( Michael -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlDefisACgkQaWRHV2kMuALh9gCcDQvyyQfUs3upMY3bDnciShU0 ZDgAoOtGLCD4sb/QS+isOGpOZlod4uDg =lYS4 -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122912 _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers