| Deutsch English Français Italiano |
|
<vcgrag$gsv0$2@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: druck <news@druck.org.uk> Newsgroups: comp.sys.raspberry-pi Subject: 1-wire behaviour on Bookworm Date: Thu, 19 Sep 2024 10:36:16 +0100 Organization: A noiseless patient Spider Lines: 17 Message-ID: <vcgrag$gsv0$2@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 19 Sep 2024 11:36:17 +0200 (CEST) Injection-Info: dont-email.me; posting-host="7ca41d303d102dc1a25912c0726f815d"; logging-data="553952"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX180pcK//ZL8GG9g3MzjH7iC" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:MaMKm059be+vhQy0ewc4Q08Ljc8= Content-Language: en-GB Bytes: 1678 After getting another Pi 5, I've moved a Pi 4B running Bookworm in to the role taken by a Pi 3B running Bullseye, which is monitoring 6 ds18b20 sensors, configured as 2 1-wire buses with 3 sensors on each. With the Pi 3B, I could either read the sensors sequentially taking about 0.9s each, or using threads simultaneously in 1.0s. The Pi 4B with Bookworm reads the sensors sequentially a shade faster at just over 0.8s, but when reading simultaneously, returns 2 after 0.8s, another 2 after 1.6s and the last two at 2.4s. Anyone have an explanation for this? It's not a problem as I changed some time ago from performing one simultaneous read every 5 minutes to reading sequentially every minute and averaging over 15 minutes. ---druck