samples/net/zperf/README.html · samples/net/zperf/README.rst 공식 원문 ↗

Zephyr 3.7.0 · Samples · Networking · Performance

zperf: Network Traffic Generator

iPerf 2.0.5와 연동하고 platform RAM에 맞춰 packet·buffer pool 크기를 조정합니다.

Official pathsamples/net/zperf/README.html
Source filesamples/net/zperf/README.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

본문 기준: Zephyr 3.7.0 LTS3 · 이후 유지보수 패치는 별도입니다.

Part 1

요약·해설

시험 platform, newer iPerf 제한과 네 memory configuration을 보존합니다.

Metric

Bandwidth

Compatible

iPerf 2.0.5

Modes

Client · Server

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 D601FE60BDCA81F5237B3AA7C6D7FF4D8D3D2925BA66395E0F3AE543A606C193
.. zephyr:code-sample:: zperf
   :name: zperf: Network Traffic Generator
   :relevant-api: net_config

   Use the zperf shell utility to evaluate network bandwidth.

Description
***********

The zperf sample demonstrates the :ref:`zperf shell utility <zperf>`, which
allows to evaluate network bandwidth.

Features
*********

- Compatible with iPerf_2.0.5. Note that in newer iPerf versions,
  an error message like this is printed and the server reported statistics
  are missing.

.. code-block:: console

   LAST PACKET NOT RECEIVED!!!

- Client or server mode allowed without need to modify the source code.

Supported Boards
****************

zperf is board-agnostic. However, to run the zperf sample application,
the target platform must provide a network interface supported by Zephyr.

This sample application has been tested on the following platforms:

- Freedom Board (FRDM K64F)
- QEMU x86
- Arm FVP BaseR AEMv8-R
- ARM BASE RevC AEMv8A Fixed Virtual Platforms

For best performance, the sample configures a lot of network packets and buffers.
Because of this, the sample's RAM requirements are quite large. In case the
sample does not fit into target platform RAM, reduce the following configs:

.. code-block:: cfg

   CONFIG_NET_PKT_RX_COUNT=40
   CONFIG_NET_PKT_TX_COUNT=40
   CONFIG_NET_BUF_RX_COUNT=160
   CONFIG_NET_BUF_TX_COUNT=160

Requirements
************

- iPerf 2.0.5 installed on the host machine
- Supported board

Depending on the network technology chosen, extra steps may be required
to setup the network environment.

Usage
*****

See :ref:`zperf library documentation <zperf>` for more information about
the library usage.

Part 3

한국어 전문 번역

설명

Zperf sample은 network bandwidth를 평가할 수 있는 zperf shell utility를 시연합니다.

기능

  • iPerf 2.0.5와 호환됩니다. 더 새로운 iPerf version에서는 다음과 같은 error message가 출력되고 server가 보고하는 statistics가 누락됩니다.

    LAST PACKET NOT RECEIVED!!!
  • Source code를 수정하지 않고 client mode 또는 server mode를 사용할 수 있습니다.

지원 board

Zperf는 board에 종속되지 않습니다. 다만 zperf sample application을 실행하려면 target platform이 Zephyr에서 지원하는 network interface를 제공해야 합니다.

이 sample application은 다음 platform에서 시험되었습니다.

  • Freedom Board(FRDM K64F)
  • QEMU x86
  • Arm FVP BaseR AEMv8-R
  • ARM BASE RevC AEMv8A Fixed Virtual Platforms

최상의 performance를 위해 sample은 많은 network packet과 buffer를 설정합니다. 따라서 RAM 요구량이 상당히 큽니다. Sample이 target platform RAM에 들어가지 않으면 다음 configuration 값을 줄입니다.

CONFIG_NET_PKT_RX_COUNT=40
CONFIG_NET_PKT_TX_COUNT=40
CONFIG_NET_BUF_RX_COUNT=160
CONFIG_NET_BUF_TX_COUNT=160

요구 사항

  • Host machine에 설치된 iPerf 2.0.5
  • 지원되는 board

선택한 network technology에 따라 network environment를 설정하는 추가 단계가 필요할 수 있습니다.

사용법

Library 사용법에 관한 자세한 내용은 zperf library documentation을 참고하십시오.

Source

출처

영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.