目录

7. EAL parameters

7.1. Common EAL parameters

7.1.1. Lcore-related options

7.1.2. Device-related options

7.1.3. Multiprocessing-related options

7.1.4. Memory-related options

7.1.5. Debugging options

7.1.6. Other options

7.2. Linux-specific EAL parameters

7.2.1. Device-related options

7.2.2. Multiprocessing-related options

7.2.3. Memory-related options

7.2.4. Other options


7. EAL parameters

This document contains a list of all EAL parameters. These parameters can be used by any DPDK application running on Linux.

7.1. Common EAL parameters

The following EAL parameters are common to all platforms supported by DPDK.

7.1.1. Lcore-related options

  • -c <core mask>

    Set the hexadecimal bitmask of the cores to run on.

  • -l <core list>

    List of cores to run on

    The argument format is <c1>[-c2][,c3[-c4],...] where c1c2, etc are core indexes between 0 and 128.

  • --lcores <core map>

    Map lcore set to physical cpu set

    The argument format is:

    <lcores[@cpus]>[<,lcores[@cpus]>...]
    

    Lcore and CPU lists are grouped by ( and ) Within the group. The - character is used as a range separator and , is used as a single number separator. The grouping () can be omitted for single element group. The @ can be omitted if cpus and lcores have the same value.

Note

At a given instance only one core option --lcores-l or -c can be used.

  • --master-lcore <core ID>

    Core ID that is used as master.

  • -s <service core mask>

    Hexadecimal bitmask of cores to be used as service cores.

7.1.2. Device-related options

  • -b, --pci-blacklist <[domain:]bus:devid.func>

    Blacklist a PCI device to prevent EAL from using it. Multiple -b options are allowed.

Note

PCI blacklist cannot be used with -w option.

  • -w, --pci-whitelist <[domain:]bus:devid.func>

    Add a PCI device in white list.

Note

PCI whitelist cannot be used with -b option.

  • --vdev <device arguments>

    Add a virtual device using the format:

    <driver><id>[,key=val, ...]
    

    For example:

    --vdev 'net_pcap0,rx_pcap=input.pcap,tx_pcap=output.pcap'
    
  • -d <path to shared object or directory>

    Load external drivers. An argument can be a single shared object file, or a directory containing multiple driver shared objects. Multiple -d options are allowed.

  • --no-pci

    Disable PCI bus.

7.1.3. Multiprocessing-related options

  • --proc-type <primary|secondary|auto>

    Set the type of the current process.

  • --base-virtaddr <address>

    Attempt to use a different starting address for all memory maps of the primary DPDK process. This can be helpful if secondary processes cannot start due to conflicts in address map.

7.1.4. Memory-related options

  • -n <number of channels>

    Set the number of memory channels to use.

  • -r <number of ranks>

    Set the number of memory ranks (auto-detected by default).

  • -m <megabytes>

    Amount of memory to preallocate at startup.

  • --in-memory

    Do not create any shared data structures and run entirely in memory. Implies --no-shconf and (if applicable) --huge-unlink.

  • --iova-mode <pa|va>

    Force IOVA mode to a specific value.

7.1.5. Debugging options

  • --no-shconf

    No shared files created (implies no secondary process support).

  • --no-huge

    Use anonymous memory instead of hugepages (implies no secondary process support).

  • --log-level <type:val>

    Specify log level for a specific component. For example:

    --log-level lib.eal:debug
    

    Can be specified multiple times.

  • --trace=<regex-match>

    Enable trace based on regular expression trace name. By default, the trace is disabled. User must specify this option to enable trace. For example:

    Global trace configuration for EAL only:

    --trace=eal
    

    Global trace configuration for ALL the components:

    --trace=.*
    

    Can be specified multiple times up to 32 times.

  • --trace-dir=<directory path>

    Specify trace directory for trace output. For example:

    Configuring /tmp/ as a trace output directory:

    --trace-dir=/tmp
    

    By default, trace output will created at home directory and parameter must be specified once only.

  • --trace-bufsz=<val>

    Specify maximum size of allocated memory for trace output for each thread. Valid unit can be either B or K or M for BytesKBytes and MBytes respectively. For example:

    Configuring 2MB as a maximum size for trace output file:

    --trace-bufsz=2M
    

    By default, size of trace output file is 1MB and parameter must be specified once only.

  • --trace-mode=<o[verwrite] | d[iscard] >

    Specify the mode of update of trace output file. Either update on a file can be wrapped or discarded when file size reaches its maximum limit. For example:

    To discard update on trace output file:

    --trace-mode=d or --trace-mode=discard
    

    Default mode is overwrite and parameter must be specified once only.

7.1.6. Other options

  • -h--help

    Display help message listing all EAL parameters.

  • -v

    Display the version information on startup.

  • mbuf-pool-ops-name:

    Pool ops name for mbuf to use.

  • --telemetry:

Enable telemetry (enabled by default).

  • --no-telemetry:

Disable telemetry.

7.2. Linux-specific EAL parameters

In addition to common EAL parameters, there are also Linux-specific EAL parameters.

7.2.1. Device-related options

  • --create-uio-dev

    Create /dev/uioX files for devices bound to igb_uio kernel driver (usually done by the igb_uio driver itself).

  • --vmware-tsc-map

    Use VMware TSC map instead of native RDTSC.

  • --no-hpet

    Do not use the HPET timer.

  • --vfio-intr <legacy|msi|msix>

    Use specified interrupt mode for devices bound to VFIO kernel driver.

  • --vfio-vf-token <uuid>

    Use specified VF token for devices bound to VFIO kernel driver.

7.2.2. Multiprocessing-related options

  • --file-prefix <prefix name>

    Use a different shared data file prefix for a DPDK process. This option allows running multiple independent DPDK primary/secondary processes under different prefixes.

7.2.3. Memory-related options

  • --legacy-mem

    Use legacy DPDK memory allocation mode.

  • --socket-mem <amounts of memory per socket>

    Preallocate specified amounts of memory per socket. The parameter is a comma-separated list of values. For example:

    --socket-mem 1024,2048
    

    This will allocate 1 gigabyte of memory on socket 0, and 2048 megabytes of memory on socket 1.

  • --socket-limit <amounts of memory per socket>

    Place a per-socket upper limit on memory use (non-legacy memory mode only). 0 will disable the limit for a particular socket.

  • --single-file-segments

    Create fewer files in hugetlbfs (non-legacy mode only).

  • --huge-dir <path to hugetlbfs directory>

    Use specified hugetlbfs directory instead of autodetected ones.

  • --huge-unlink

    Unlink hugepage files after creating them (implies no secondary process support).

  • --match-allocations

    Free hugepages back to system exactly as they were originally allocated.

7.2.4. Other options

  • --syslog <syslog facility>

    Set syslog facility. Valid syslog facilities are:

    auth
    cron
    daemon
    ftp
    kern
    lpr
    mail
    news
    syslog
    user
    uucp
    local0
    local1
    local2
    local3
    local4
    local5
    local6
    local7

DPDK EAL parameters(DPDK环境抽象层参数)-原始版本(F-Stack配置文件的配置参数)相关推荐

  1. DPDK EAL parameters(DPDK环境抽象层参数)-MD版本(F-Stack配置文件的配置参数)

    整理自 EAL parameters This document contains a list of all EAL parameters. These parameters can be used ...

  2. DPDK — EAL 环境抽象层

    目录 文章目录 目录 EAL 环境适配层 Linux 环境下的 EAL DPDK App 的初始化和运行 内存分配 Structure: malloc_heap Structure: malloc_e ...

  3. DPDK Programmer’s Guide(3)环境抽象层(EAL)

    官方文档查看地址: http://doc.dpdk.org/guides/prog_guide/env_abstraction_layer.html PDF下载地址: https://www.inte ...

  4. DPDK多线程:EAL pthread和lcore Affinity(F-Stack配置文件的配置参数:lcore_mask、lcore_list)

    目录 多线程 EAL pthread和lcore Affinity 非EAL pthread支持 公共线程API 控制线程API 已知的问题 cgroup控件 多线程 DPDK通常每个内核固定一个pt ...

  5. Windows API获取系统配置文件的配置参数

    在Windows平台下获取系统配置文件(如:System.ini)的配置参数. 系统配置文件System.ini的内容如下: [SYSTEM] ServiceIP = 10.128.11.99:600 ...

  6. 小米电视2 android版本,小米电视2的配置参数是什么?小米电视2标配有什么?

    小米电视2的配置参数是什么 40寸的小米电视2采用全球唯一最先进的十代线原装进口夏普SDP超晶屏,1080p全高清分辨率.5000:1超高静态对比度,拥有世界最顶级画质.40寸的小米电视2采用了顶级硬 ...

  7. java 配置参数_给你的JAVA程序配置参数(Properties的使用)

    我们在写JAVA程序时,很多时候运行程序的参数是需要动态改变的 测试时一系列参数,运行时一系列参数 又或者数据库地址也需要配一套参数,以方便今后的动态部署 这些变量的初始化,我们在写小DEMO时完全可 ...

  8. oppoa5系统服务器是什么,OPPO A5一共有几个版本有什么区别_配置参数介绍哪个最值得买...

    7月7日,OPPO A5正式上市,13日开启预售,下面一起来看一下这款手机. 该机主打高颜值,官方介绍,OPPO A5采用纳米级微晶工艺,精密计算每一条切线的角度,使机身呈现出跟随光变化的空间纹路,就 ...

  9. DPDK学习(二)DPDK多进程支持

    在DPDK中,多进程支持旨在允许一组DPDK进程以简单的透明方式协同工作,以执行数据包处理或其他工作负载.为了支持此功能,已经对核心的DPDK环境抽象层(EAL)进行了一些增加. EAL已被修改为允许 ...

最新文章

  1. javascript数据结构与算法---检索算法(二分查找法、计算重复次数)
  2. 卡尔曼滤波的原理说明
  3. WebUploader点击上传文件选择框会延迟几秒才会显示
  4. 服务器怎么控制忽略样式_使用JavaScript来编写你的CSS样式代码——JSS
  5. 重装了新版IDEA,但我之前的个人配置全丢了,太烦了!
  6. 190503每日一句
  7. Unity UGUI制作HSV颜色选择器,看我表演川剧变脸
  8. linux shell 中的idd,shell脚本入门教程.pdf
  9. 无积分怎么下载百度文库的文档
  10. 怎么让模糊的数字变清楚_如何用ps将模糊图片变清晰?
  11. kafka 验证_KAFKA:简单的验证码实施
  12. 冷门节日借势营销策略分析
  13. linux grep命令要查找的内容有双引号
  14. 游戏开发九宫格战斗架构解析具体解释
  15. 计算机奖学金用英语怎么说,奖学金证书的翻译,三好学生荣誉证书,优秀学生干部荣誉证书的英语,英语四、六级和计算机证书,辅修证书的英语怎么说, 教学实践单项奖,社会实践单项奖用英语怎么说...
  16. 信息系统综合知识八 专业英语
  17. CAD闪退的解决方法
  18. htt的缺点有哪些?这里列举的几点,欢迎留言
  19. matlab的magic函数,python实现类似于Matlab中的magic函数
  20. 一起学ORBSLAM2(12)结语

热门文章

  1. linux文件存储结构,Linux文件存储方式以及软硬链接
  2. 关于路径的问题(以后会慢慢的补进来)
  3. MySQL高级-MySQL查询缓存优化
  4. JSON有关的一道题
  5. 五初探opengl,变换我们的图形
  6. UVa 1347 旅行
  7. PHP-Open Flash Chart注意事项
  8. 数据结构——划分树模板
  9. java server faces
  10. Visual Studio下的 JS CSS 压缩和编辑插件