Thread (1 message) 1 message, 1 author, 2013-11-28

Re: Sporadic errors while initializing NICs in example applications, dpdk-1.5.0r1

From: Richardson, Bruce <hidden>
Date: 2013-11-28 11:01:41

Possibly related (same subject, not in this thread)

It's probably due to a frequency scaling.
The timer based is initialized when DPDK initialize and the CPU can change
its frequency, breaking next timers.

The fix is to control the CPU frequency.
Please try this, without your patch:
	for g in /sys/devices/system/cpu/*/cpufreq/scaling_governor; do
echo performance >$g; done The right fix for applications (examples and
testpmd included) could be to call rte_power_init(). Patches are welcomed.
[BR] Frequency changes should not affect timers for modern Intel CPUs. Please see the " Intel(r) 64 and IA-32 Architectures Software Developer's Manual" Volume 3 (http://www.intel.com/content/dam/www/public/us/en/documents/manuals/64-ia-32-architectures-software-developer-system-programming-manual-325384.pdf) , Section 17.13 for more details on this. 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help