Project

General

Profile

Actions

Bug #14965

open

loader: udp receive should try harder to get packets for this connection

Added by Toomas Soome 3 months ago. Updated 3 days ago.

Status:
Pending RTI
Priority:
Normal
Assignee:
Category:
bootloader
Start date:
Due date:
% Done:

90%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

The current udp receive code does check if this packet does belong to us, but it does return immediately if not - and this can trigger timeouts, repeated send+receive calls and therefore delay or even fail the data transfer.

Instead, we should read next packet and see if it does belong to us.

This patch should fix/improve network booting for systems, which are receiving udp data streams during the network boot.

Testing done: this patch was tested on system which was previously set up as syslog server and because of incoming data streams, network boot was really slow.

Actions #1

Updated by Electric Monk 3 months ago

  • Gerrit CR set to 2347
Actions #2

Updated by Marcel Telka 5 days ago

Is zf_read: fill error possibly caused by this?

Actions #3

Updated by Toomas Soome 5 days ago

Marcel Telka wrote in #note-2:

Is zf_read: fill error possibly caused by this?

It may, if we are timing out our reads - that is, if there is a lot of other incoming packets.

Actions #4

Updated by Toomas Soome 3 days ago

  • Description updated (diff)
Actions #5

Updated by Toomas Soome 3 days ago

  • Status changed from In Progress to Pending RTI
Actions

Also available in: Atom PDF