From b8ae1286ad709bb609e0efc37039b3a3cacc6e9d Mon Sep 17 00:00:00 2001 From: michael-west Date: Tue, 9 Jan 2018 16:32:11 -0800 Subject: X300: Reduce CPU usage during TX by restoring timeout when getting flow control packets --- host/lib/usrp/device3/device3_io_impl.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'host/lib/usrp/device3/device3_io_impl.cpp') diff --git a/host/lib/usrp/device3/device3_io_impl.cpp b/host/lib/usrp/device3/device3_io_impl.cpp index 5646d9b9c..024fe3fbb 100644 --- a/host/lib/usrp/device3/device3_io_impl.cpp +++ b/host/lib/usrp/device3/device3_io_impl.cpp @@ -342,9 +342,7 @@ static bool tx_flow_ctrl( } // Look for a flow control message to update the space available in the buffer. - // A minimal timeout is used because larger timeouts can cause the thread to be - // scheduled out for too long at high data rates and result in underruns. - managed_recv_buffer::sptr buff = async_xport->get_recv_buff(0.000001); + managed_recv_buffer::sptr buff = async_xport->get_recv_buff(); if (buff) { vrt::if_packet_info_t if_packet_info; -- cgit v1.2.3