Skip to contentSkip to conversation

New: Very bad performance of sendto function

Bug 206919 Stephen Hemminger 2 participants 2 messages Mar 23, 2020 – Mar 25, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

There maybe something here but probably not.

Begin forwarded message:

Date: Sun, 22 Mar 2020 11:22:46 +0000
From: [email protected]
To: [email protected]
Subject: [Bug 206919] New: Very bad performance of sendto function

https://bugzilla.kernel.org/show_bug.cgi?id=206919

            Bug ID: 206919
           Summary: Very bad performance of sendto function
           Product: Networking
           Version: 2.5
    Kernel Version: 5.4.13
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Other
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 288007
--> https://bugzilla.kernel.org/attachment.cgi?id=288007&action=edit
Sysprof capture file

Hi,

I have a case where the sendto function is slowing down the software I'm trying to use. Sysprof capture file attached.

It's probably being called at a high frequency and the __netlink_dump_start function spends a lot of time in the mutex lock, then also in the netlink_dump call.

This is causing the threads calling the function to stall. At least this is my interpretation of the profiling session.

I don't have any knowledge about the way networking code works. I'd like to know if the flaw is in the user-space software or in the kernel. Can I provide any more info or do some test to help determine what's happening? I'd like to help fix it.

My NIC: Intel Corporation I211 Gigabit Network Connection (rev 03)

My system: Debian 10 with kernel 5.4.13.

Thanks.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#1 lore raw

From: Stephen Hemminger

Quoted 5 lines

Sent: 23 March 2020 16:59
To: [email protected]
Subject: Fw: [Bug 206919] New: Very bad performance of sendto function

There maybe something here but probably not.

They need to raise it with wine.

They don't even say what sort of message rate they are getting (or trying to get).

David

Quoted 49 lines

Begin forwarded message:

Date: Sun, 22 Mar 2020 11:22:46 +0000
From: [email protected]
To: [email protected]
Subject: [Bug 206919] New: Very bad performance of sendto function

https://bugzilla.kernel.org/show_bug.cgi?id=206919

            Bug ID: 206919
           Summary: Very bad performance of sendto function
           Product: Networking
           Version: 2.5
    Kernel Version: 5.4.13
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Other
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 288007
--> https://bugzilla.kernel.org/attachment.cgi?id=288007&action=edit
Sysprof capture file

Hi,

I have a case where the sendto function is slowing down the software I'm trying to use. Sysprof capture file attached.

It's probably being called at a high frequency and the __netlink_dump_start function spends a lot of time in the mutex lock, then also in the netlink_dump call.

This is causing the threads calling the function to stall. At least this is my interpretation of the profiling session.

I don't have any knowledge about the way networking code works. I'd like to know if the flaw is in the user-space software or in the kernel. Can I provide any more info or do some test to help determine what's happening? I'd like to help fix it.

My NIC: Intel Corporation I211 Gigabit Network Connection (rev 03)

Quoted 7 lines

My system: Debian 10 with kernel 5.4.13.

Thanks.

--
You are receiving this mail because:
You are the assignee for the bug.

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales)