Slow Duet WiFi

  • Hi,

    Since a week the webinterface of the Duet2 Wifi board loads very slow:

    The dwc.js file takes 25 seconds to load.

    Also sending movement commands seem to be slow:

    I've replaced the SD card with a another one and sadly the same result.

    Also the status update sometimes seem to take 2 seconds:

    I've updated the firmware to the latest version:

    Here's the output of the M112 command:
    === Diagnostics ===
    RepRapFirmware for Duet 2 WiFi/Ethernet version 2.02(RTOS) running on Duet WiFi 1.02 or later
    Board ID: 08DGM-917NK-F2MS4-7JKD6-3SN6P-9GUNG
    Used output buffers: 1 of 20 (8 max)
    === RTOS ===
    Static ram: 25524
    Dynamic ram: 98524 of which 0 recycled
    Exception stack ram used: 280
    Never used ram: 6744
    Tasks: NETWORK(ready,648) HEAT(blocked,1232) MAIN(running,3812) IDLE(ready,200)
    Owned mutexes:
    === Platform ===
    Last reset 00:01:42 ago, cause: software
    Last software reset at 2019-01-26 19:55, reason: User, spinning module GCodes, available RAM 6744 bytes (slot 2)
    Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0xffffffff Task 0x4e49414d
    Error status: 0
    Free file entries: 10
    SD card 0 detected, interface speed: 20.0MBytes/sec
    SD card longest block write time: 0.0ms, max retries 0
    MCU temperature: min 28.8, current 29.3, max 29.5
    Supply voltage: min 19.3, current 19.4, max 19.5, under voltage events: 0, over voltage events: 0, power good: yes
    Driver 0: standstill, SG min/max not available
    Driver 1: standstill, SG min/max not available
    Driver 2: standstill, SG min/max not available
    Driver 3: standstill, SG min/max not available
    Driver 4: standstill, SG min/max not available
    Date/time: 2019-01-26 19:57:19
    Cache data hit count 376775670
    Slowest loop: 2.47ms; fastest: 0.07ms
    I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0
    === Move ===
    Hiccups: 0, StepErrors: 0, LaErrors: 0, FreeDm: 240, MinFreeDm: 240, MaxWait: 0ms, Underruns: 0, 0
    Scheduled moves: 0, completed moves: 0
    Bed compensation in use: none
    Bed probe heights: 0.000 0.000 0.000 0.000 0.000
    === Heat ===
    Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
    === GCodes ===
    Segments left: 0
    Stack records: 1 allocated, 0 in use
    Movement lock held by null
    http is idle in state(s) 0
    telnet is idle in state(s) 0
    file is idle in state(s) 0
    serial is idle in state(s) 0
    aux is idle in state(s) 0
    daemon is idle in state(s) 0
    queue is idle in state(s) 0
    autopause is idle in state(s) 0
    Code queue is empty.
    === Network ===
    Slowest loop: 22.73ms; fastest: 0.00ms
    Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
    HTTP sessions: 1 of 8

    • WiFi -
      Network state is running
      WiFi module is connected to access point
      Failed messages: pending 0, notready 0, noresp 0
      WiFi firmware version 1.22
      WiFi MAC address b4:e6:2d:53:15:de
      WiFi Vcc 3.46, reset reason Turned on by main processor
      WiFi flash size 4194304, free heap 27552
      WiFi IP address
      WiFi signal strength -53dBm, reconnections 0, sleep mode modem
      Socket states: 0 0 0 0 0 0 0 0

    When I upload a file I get a speed of 350 KiB/s.

    Any help would be welcome!

    Kind regards,

  • You could try DWC 2.0 to see if it works better.

  • Thanks for the suggestion but no luck 60 seconds till the file loads.

  • administrators

    Try rebooting your router and PC, if you haven't already.

  • @dc42 Thx, that fixed my problem. Any idea what could be the cause of this? Many thx.

  • administrators

    @frederikv said in Slow Duet WiFi:

    @dc42 Thx, that fixed my problem. Any idea what could be the cause of this? Many thx.

    I've no idea, I just know that it works for some people sometimes.


Looks like your connection to Duet3D was lost, please wait while we try to reconnect.