Project

General

Profile

Bug #12957

Updated by Paul Winder almost 2 years ago

Some of the network management commands when used against i40e interfaces are slow. Eg 

 |create-aggr|37s| 
 |set-linkprop -p mtu aggr|10m| 
 |delete-aggr|20s| 
 |create-vnic|16s| 
 |create-if i40e|20s| 
 |delete-if i40e|10s| 

 The majority of the time is caused by a misprogrammed delay used in ring teardown. The command is similar to: 
 <pre> 
 /* delay 50ms */ 
 delay(50 * drv_usectohz(1000)) 
 </pre> 
 This is supposed to delay by 50ms .... but if is the tick is 100Hz (so not set to highres tick), this ends up being 500ms. And when there is this delay for every ring and there are 256 rings, that's 128s.

Back