Hi all,

I'm looking at the performance of OVS-DPDK when offloading up to 1M flows
to hardware and I'm seeing an excessive amount of time being spent in the
clock_gettime() call. For the samples I have taken using Intel's VTune
profiler I'm seeing just under a quarter of the entire time in
clock_gettime().

Is this expected and/or are there any build or runtime options to alleviate
this?

I'm testing on a Dell R760 server running Redhat Linux 9.1
(5.14.0-162.6.1.el9_1.x86_64)

Top Hotspots
    Function                  Module       CPU Time % of CPU Time
    clock_gettime              libc.so.6    97.908s         22.2%
    dp_netdev_process_rxq_port ovs-vswitchd 78.844s         17.9%
    pmd_perf_end_iteration     ovs-vswitchd 35.506s          8.0%
    bnxt_rep_rx_burst          ovs-vswitchd 35.330s          8.0%
    bnxt_recv_pkts             ovs-vswitchd 33.970s          7.7%
    [Others]                   N/A*        159.643s         36.2%


The call stack of the clock_gettime() calls:
libc.so.6 ! clock_gettime
ovs-vswitchd ! time_usec + 0x2f
ovs-vswitchd ! pmd_thread_main + 0x57c
ovs-vswitchd ! ovsthread_wrapper + 0x74
libc.so.6 ! start_thread + 0x2d1
libc.so.6 ! __clone3 + 0x2f

Thanks,

Pete



-- 



Peter Spreadborough | Master Engineer, CCX
Broadcom Corporation | (O) 978-689-1685 | (M) 508-633-2259

-- 
This electronic communication and the information and any files transmitted 
with it, or attached to it, are confidential and are intended solely for 
the use of the individual or entity to whom it is addressed and may contain 
information that is confidential, legally privileged, protected by privacy 
laws, or otherwise restricted from disclosure to anyone else. If you are 
not the intended recipient or the person responsible for delivering the 
e-mail to the intended recipient, you are hereby notified that any use, 
copying, distributing, dissemination, forwarding, printing, or copying of 
this e-mail is strictly prohibited. If you received this e-mail in error, 
please return the e-mail to the sender, delete it from your computer, and 
destroy any printed copy of it.
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to