Skip to content

Conversation

alex-luxonis
Copy link
Collaborator

@alex-luxonis alex-luxonis commented Mar 18, 2022

See details on related PR: luxonis/depthai-core#428

Usage example for the new options:

config = dai.Device.Config()
# config.board.network.mtu = 9000 # Not advised to increase past 1500 for now, may require bootloader changes
config.board.network.xlinkTcpNoDelay = False  # Default: True
config.board.sysctl = [
    'net.inet.tcp.delayed_ack=1',  # Default: 0
]

# Connect to device and start pipeline
with dai.Device(config) as device:
    device.startPipeline(pipeline)
...

add config for MTU (not advised to change for now) and other sysctl params
@alex-luxonis alex-luxonis requested a review from themarpe May 4, 2022 22:57
@themarpe
Copy link
Collaborator

themarpe commented May 5, 2022

@Erol444 - Please document the above in appropriate section (could do in same PR if time permits)

@alex-luxonis alex-luxonis merged commit 183574d into develop May 6, 2022
@alex-luxonis alex-luxonis deleted the poe_mtu_sysctl branch May 6, 2022 00:17
@SzabolcsGergely SzabolcsGergely mentioned this pull request May 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants