This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Intel(R) Memory Latency Checker - v3.1a | |
Measuring idle latencies (in ns)... | |
Numa node | |
Numa node 0 1 | |
0 86.8 129.8 | |
1 129.5 85.9 | |
Measuring Peak Memory Bandwidths for the system | |
Bandwidths are in MB/sec (1 MB/sec = 1,000,000 Bytes/sec) | |
Using all the threads from each core if Hyper-threading is enabled |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt update | |
sudo apt install -y zsh | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
mkdir workspace && cd workspace | |
git clone http://bitbucket.org/wshen0123/wconf | |
cd wconf | |
cp -r .zsh* .vim* ~/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef _RING_H_ | |
#define _RING_H_ | |
#include <rte_ring.h> | |
static inline void __attribute__((always_inline)) | |
ring_sp_enqueue(struct rte_ring *r, void **obj_table, uint32_t n) | |
{ | |
uint32_t prod_head, cons_tail; | |
uint32_t prod_next, free_entries; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Event Latency Scaled | |
1 CPU cycle 0.3 ns 1 s | |
Level 1 cache access 0.9 ns 3 s | |
Level 2 cache access 2.8 ns 9 s | |
Level 3 cache access 12.9 ns 43 s | |
Main memory access (DRAM, from CPU) 120 ns 6 min | |
Solid-state disk I/O (flash memory) 50-150 us 2-6 days | |
Rotational disk I/O 1-10 ms 1-12 months | |
Internet: San Francisco to New York 40 ms 4 years | |
Internet: San Francisco to United Kingdom 81 ms 8 years |