Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Node
  3. Max Request Speed

Max request speed

By jdols , 23 July, 2024
Forums
Gurux.Serial

Hi, I'm trying to make requests at the maximum speed that the bus allows me using the python library. At first I saw that it took 1.5 seconds to make 7 data requests when in other applications each request was resolved in 15 ms. I discovered that there was a time.sleep(0.1) in the _readThread function and when I removed it I went down to 300 ms. But I would like to go down more. Can you give me any more recommendations to increase speed? Thank you.

Profile picture for user Kurumi

Kurumi

2 years 3 months ago

Hi, This sleep is because…

Hi,

This sleep is because some of the USB to serial port controllers return right away if there is no data available on the serial port. This will cause the CPU to be 100%.

You can remove the sleep if you want to, but it might cause problems with other serial port controllers.

I'll check if the delay can be changed from 100ms to 10ms.

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 10/13/2026 - 12:00
    gurux.dlms.java 4.0.97
  • Tue, 09/22/2026 - 14:02
    Gurux.DLMS.Net 9.0.2609.2201
  • Mon, 09/21/2026 - 10:18
    Gurux.DLMS.Net 9.0.2609.2101
  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202

New forum topics

  • Need RJ45 pin configuration for Saral 300 and Saral 305 Secure meters
  • Query Regarding Class 63 Status Mapping Support in Gurux DLMS Python
  • Inhemeter
  • DLMS Server - Profile Generic - can't add too many items to profile generic capture object - how to set maximum profile entries
  • HDLC Frames sequencing
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin