[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <baa1807d-cc00-0182-4b34-4d986d62ebcb@itcare.pl>
Date: Tue, 15 Aug 2017 19:42:37 +0200
From: Paweł Staszewski <pstaszewski@...are.pl>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: Linux Kernel Network Developers <netdev@...r.kernel.org>
Subject: Re: 100% CPU load when generating traffic to destination network that
nexthop is not reachable
# To display the perf.data header info, please use
--header/--header-only options.
#
#
# Total Lost Samples: 0
#
# Samples: 2M of event 'cycles'
# Event count (approx.): 1585571545969
#
# Children Self Command Shared Object Symbol
# ........ ........ .............. ....................
..............................................
#
1.82% 0.00% ksoftirqd/43 [kernel.vmlinux] [k]
__softirqentry_text_start
|
--1.82%--__softirqentry_text_start
|
--1.82%--net_rx_action
|
--1.82%--mlx5e_napi_poll
|
--1.81%--mlx5e_poll_rx_cq
|
--1.81%--mlx5e_handle_rx_cqe
|
--1.79%--napi_gro_receive
|
--1.78%--netif_receive_skb_internal
|
--1.78%--__netif_receive_skb
|
--1.78%--__netif_receive_skb_core
|
--1.78%--ip_rcv
|
--1.78%--ip_rcv_finish
|
--1.76%--ip_forward
|
--1.76%--ip_forward_finish
|
--1.76%--ip_output
|
--1.76%--ip_finish_output
|
--1.76%--ip_finish_output2
|
--1.73%--neigh_resolve_output
|
--1.73%--neigh_event_send
|
--1.73%--__neigh_event_send
|
--1.70%--_raw_write_lock_bh
queued_write_lock
queued_write_lock_slowpath
|
--1.67%--queued_spin_lock_slowpath
W dniu 2017-08-15 o 18:57, Eric Dumazet pisze:
> On Tue, 2017-08-15 at 18:30 +0200, Paweł Staszewski wrote:
>> Hi
>>
>>
>> Doing some tests i discovered that when traffic is send by pktgen to
>> forwarding host where nexthop for destination network on forwarding
>> router is not reachable i have 100% cpu on all cores and perf top show
>> mostly:
>>
>> 77.19% [kernel] [k] queued_spin_lock_slowpath
>> 10.20% [kernel] [k] acpi_processor_ffh_cstate_enter
>> 1.41% [kernel] [k] queued_write_lock_slowpath
>>
> To the rescue (for us to help)
>
> perf record -a -g sleep 10
>
> perf report --stdio
>
>
>
>
Powered by blists - more mailing lists