Etesting

Estuary Testing


  • 分类

  • 标签

  • 归档

  • 关于

  • 搜索
close
Etesting

README.armor.iptables

发表于 2016-10-10 | 分类于 Estuary , Documents |

How to verify iptables tool

阅读全文 »
Etesting

UEFI_Manual.4D02

发表于 2016-10-10 | 分类于 Estuary , Documents |
  • Introduction
  • Upgrade UEFI
  • Recover the UEFI when it broke
阅读全文 »
Etesting

Toolchains_Guide.4All

发表于 2016-10-10 | 分类于 Estuary , Documents |

This is the guide for toolchains

阅读全文 »
Etesting

Distributions_Guild.4All

发表于 2016-10-10 | 分类于 Estuary , Documents |

This is the guide for distributions

阅读全文 »
Etesting

README.armor.kgdb.kdb

发表于 2016-10-10 | 分类于 Estuary , Documents |
  • Readme for KGDB and KDB Tools
  • Debugging using KGDB
阅读全文 »
Etesting

README.armor.lttng

发表于 2016-10-10 | 分类于 Estuary , Documents |
  • LTTNG
  • Ubuntu
  • Fedora
  • OpenSuse
阅读全文 »
Etesting

Setup_HiKey_WiFi_Env.4HiKey

发表于 2016-10-10 | 分类于 Estuary , Documents |
  • Config WiFi On mini-rootfs systerm
  • Config WiFi On Ubuntu & Debian systerm
  • Fedora && CentOS wifi configure
  • OpenSuse Wifi configure
阅读全文 »
Etesting

Setup_PXE_Env_on_Host.4All

发表于 2016-10-10 | 分类于 Estuary , Documents |
  • Introduction
  • Setup DHCP server on Ubuntu
  • Setup TFTP server on Ubuntu
  • Put files in the TFTP root path
  • Setup NFS server on Ubuntu
阅读全文 »
Etesting

README.armor.perf

发表于 2016-10-10 | 分类于 Estuary , Documents |

Readme for Ubuntu ARM64

Install the latest perf binary*
$# sudo apt-get install linux-tools-3.19.0-23
The latest version availabe can be installed.
Now use the perf tool installed in /usr/lib/linux-tools-3.19.0-23/perf
$# /usr/lib/linux-tools-3.19.0-23/perf stat -e L1-dcache-stores ls -l

The LLC, MN and DDR are added as RAW events.
The RAW event encoding format is as below
<die ID(4 bit)><Module ID(4 bit)><Bank(4 bit)><event code(12 bit)>

Example: For LLC_READ_ALLOCATE event for TotemC will be 0x24f300, where 0x2 is DieID for TotemC, 0x4 is the ModuleID of LLC, 0xf is for all LLC banks, 0x300is the event code for LLC_READ_ALLOCATE
The Module ID’s are as below

1
2
3
4
LLC = 0x4
MN = 0xb
DDRC0 = 0x8
DDRC1 = 0xd

The DieID for the CPU Die are as below

1
2
3
4
5
6
SOC0_TOTEMA = 0x1 /* TOTEM A in Socket 0 */
SOC0_TOTEMC = 0x2
SOC0_TOTEMB = 0x3
SOC1_TOTEMA = 0x4
SOC1_TOTEMC = 0x5
SOC1_TOTEMB = 0x6

The 22 LLC events are added as RAW events starting from 0x300 to 0x315
The 9 MN event codes and also the DDRC read, write and latecy counters, event codes are listed below

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
LLC_READ_ALLOCATE = 0x300
LLC_WRITE_ALLOCATE = 0x301
LLC_READ_NOALLOCATE = 0x302
LLC_WRITE_NOALLOCATE = 0x303
LLC_READ_HIT = 0x304
LLC_WRITE_HIT = 0x305
LLC_CMO_REQUEST = 0x306
LLC_COPYBACK_REQ = 0x307
LLC_HCCS_SNOOP_REQ = 0x308
LLC_SMMU_REQ = 0x309
LLC_EXCL_SUCCESS = 0x30A
LLC_EXCL_FAIL = 0x30B
LLC_CACHELINE_OFLOW = 0x30C
LLC_RECV_ERR = 0x30D
LLC_RECV_PREFETCH = 0x30E
LLC_RETRY_REQ = 0x30F
LLC_DGRAM_2B_ECC = 0x310
LLC_TGRAM_2B_ECC = 0x311
LLC_SPECULATE_SNOOP = 0x312
LLC_SPECULATE_SNOOP_SUCCESS = 0x313
LLC_TGRAM_1B_ECC = 0x314
LLC_DGRAM_1B_ECC = 0x315
MN_EO_BARR_REQ = 0x316
MN_EC_BARR_REQ = 0x317
MN_DVM_OP_REQ = 0x318
MN_DVM_SYNC_REQ = 0x319
MN_READ_REQ = 0x31A
MN_WRITE_REQ = 0x31B
MN_COPYBK_REQ = 0x31C
MN_OTHER_REQ = 0x31D
MN_RETRY_REQ = 0x31E
DDRC0_FLUX_READ_BW = 0x31F
DDRC0_FLUX_WRITE_BW = 0x320
DDRC0_FLUX_READ_LAT = 0x321
DDRC0_FLUX_WRITE_LAT = 0x322
DDRC1_FLUX_READ_BW = 0x323
DDRC1_FLUX_WRITE_BW = 0x324
DDRC1_FLUX_READ_LAT = 0x325
DDRC1_FLUX_WRITE_LAT = 0x326

1
2
# To count LLC_WRITE_NOALLOCATE and LLC_READ_ALLOCATE for TotemC
$# /usr/lib/linux-tols-3.19.0-23/perf stat -e r24f303 -e r24f300 ls -l
1
2
# To count MN_EO_BARR_REQ and LLC_READ_ALLOCATE for TotemA
$# /usr/lib/linux-tols-3.19.0-23/perf stat -e r1bf316 -e r14f300 ls -l
1
2
# To count LLC_READ_HIT and LLC_WRITE_HIT for a process with pid
$# /usr/lib/linux-tools-3.19.0-23/perf stat -e r24f304,r24f305 -p <pid>

Known Issues:

  1. As Hisilicon hardware counters are not CPU core specific, the counter values maynot be accurate. To get more accurate count. please append the option “-C 0 -A” in perf stat command.
    $# perf stat -C 0 -A -e r24f303 -e r24f300 ls -l

  2. As the counter registers in Hisiilicon are config and accessed via Djtag interface, it can affect the event counter readings as the access is not atomic.

Etesting

Deploy_Manual.4HiKey

发表于 2016-10-10 | 分类于 Estuary , Documents |
  • Introduction
  • Preparation
    • Hardware Connect
    • PC Environment
    • Image File
  • Upgrade Systerm
    • Flash Uefi image to eMMC
    • Flash Boot image to eMMC
    • Update Distrubition
      • SD card placing this ubuntu systerm
      • eMMC on HiKey placing this ubuntu systerm
  • Appendix 1: Partition Information
阅读全文 »
1…456…8
Estuary

Estuary

Testing cases

73 日志
7 分类
16 标签
GitHub Estuary.org Estuary.github
Creative Commons
Links
  • ABS
  • ProGit
  • Hexo
  • NexT
  • Mastering-Markdown
  • Markdown-Style-Guide
© 2016 - 2017 Estuary
由 Hexo 强力驱动
主题 - NexT.Mist