X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=doc%2Fguides%2Fprog_guide%2Fwriting_efficient_code.rst;h=78d2afa94cda25599279da4aea6e4789e1eb46a7;hb=449c49b93a6b87506c7bb07468e82b539efddca3;hp=9a7b31b3483041957813ced50d78c81e8b185d8a;hpb=48624fd96e7c4a9603e383baa193909fea392232;p=dpdk.git diff --git a/doc/guides/prog_guide/writing_efficient_code.rst b/doc/guides/prog_guide/writing_efficient_code.rst index 9a7b31b348..78d2afa94c 100644 --- a/doc/guides/prog_guide/writing_efficient_code.rst +++ b/doc/guides/prog_guide/writing_efficient_code.rst @@ -113,7 +113,7 @@ it is advised to use the DPDK ring API, which provides a lockless ring implement The ring supports bulk and burst access, meaning that it is possible to read several elements from the ring with only one costly atomic operation -(see Chapter 5 "Ring Library"). +(see :doc:`ring_lib`). Performance is greatly improved when using bulk access operations. The code algorithm that dequeues messages may be something similar to the following: @@ -215,7 +215,7 @@ Setting the Target CPU Type The DPDK supports CPU microarchitecture-specific optimizations by means of CONFIG_RTE_MACHINE option in the DPDK configuration file. -The degree of optimization depends on the compiler's ability to optimize for a specitic microarchitecture, +The degree of optimization depends on the compiler's ability to optimize for a specific microarchitecture, therefore it is preferable to use the latest compiler versions whenever possible. If the compiler version does not support the specific feature set (for example, the Intel® AVX instruction set),