netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Fw: [Bug 206919] New: Very bad performance of sendto function
@ 2020-03-23 16:59 Stephen Hemminger
  2020-03-25 17:13 ` David Laight
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2020-03-23 16:59 UTC (permalink / raw)
  To: netdev

There maybe something here but probably not.

Begin forwarded message:

Date: Sun, 22 Mar 2020 11:22:46 +0000
From: bugzilla-daemon@bugzilla.kernel.org
To: stephen@networkplumber.org
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: stephen@networkplumber.org
          Reporter: bernat.arlandis@gmail.com
        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.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: [Bug 206919] New: Very bad performance of sendto function
  2020-03-23 16:59 Fw: [Bug 206919] New: Very bad performance of sendto function Stephen Hemminger
@ 2020-03-25 17:13 ` David Laight
  0 siblings, 0 replies; 2+ messages in thread
From: David Laight @ 2020-03-25 17:13 UTC (permalink / raw)
  To: 'Stephen Hemminger', netdev

From: Stephen Hemminger
> Sent: 23 March 2020 16:59
> To: netdev@vger.kernel.org
> 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

> Begin forwarded message:
> 
> Date: Sun, 22 Mar 2020 11:22:46 +0000
> From: bugzilla-daemon@bugzilla.kernel.org
> To: stephen@networkplumber.org
> 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: stephen@networkplumber.org
>           Reporter: bernat.arlandis@gmail.com
>         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.
> 
> --
> 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)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-25 17:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-23 16:59 Fw: [Bug 206919] New: Very bad performance of sendto function Stephen Hemminger
2020-03-25 17:13 ` David Laight

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).