Skip to content

latency-histogram errors where --sbins 1000 #4101

Closed

Description

@rodw-au

I usually run latency histogram as
latency-histogram --nobase --sbins 1000

This was working on my last deb build of 2.10 when I tested this morning
But today, after building a new deb, I get an error. The window opens but the graph does not display due to this console error.


cnc@linuxcnc:~$ latency-histogram --nobase  --sbins 1000 --show
Note: Using POSIX realtime
servo: stre
cnc@linuxcnc:~$ latency-histogram --nobase  --sbins 1000 --show
Note: Using POSIX realtime
servo: stream timeout (depth 2002 < 2003)
servo: stream-error set (FIFO too small for 2003 records)
servo: stream-error set (FIFO too small for 2003 records)
servo: stream-error set (FIFO too small for 2003 records)
servo: stream-error set (FIFO too small for 2003 records)
servo: stream-error set (FIFO too small for 2003 records)
servo: stream-error set (FIFO too small for 2003 records)
servo: stream-error set (FIFO too small for 2003 records)
servo: stream-error set (FIFO too small for 2003 records)

taking a clue from the error message, If I change to --sbins 999 it works happily

Image

Activity

  1. rodw-au commented on Jun 2, 2026

    @rodw-au
    ContributorAuthor

    I had not realised that latency-histogram has changed. with the --legacy switch, --sbins 1000 works.
    Still needs better error checking as it should not open in a broken state.

  2. grandixximo commented on Jun 2, 2026

    @grandixximo
    Contributor

    Yes, it is much quicker, I pushed the change but the credit goes to @BsAtHome
    I can replicate this on my machine, also --legacy works, will dig into it.

  3. added a commit that references this issue on Jun 2, 2026
    f139117
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions