GithubHelp home page GithubHelp logo

jianbo27 / numa_memory_latency Goto Github PK

View Code? Open in Web Editor NEW

This project forked from umezawatakeshi/numa_memory_latency

0.0 0.0 0.0 10 KB

Very simple tool to measure memory latency on numa environment

License: GNU General Public License v2.0

C++ 92.98% Makefile 7.02%

numa_memory_latency's Introduction

numa_memory_latency

Very simple tool to measure memory latency, especially in NUMA environment.

(see README.ja.md in Japanese)

Requirement

  • C++11 (C++0x on GCC 4.4.7 is also supported)
  • libnuma

How to Build

Just make!

Usage

numa_memory_latency [bufsize] [nloop]
numa_memory_latency -h

bufsize is the buffer size (in KiB) that walk memory access. This must be less than the size of memory that you want to measure and should be much greater than the size of the one lower level memory; for example, if you want to measure latency of L3 cache, bufsize must be less than the size of L3 cache and should be much greater than the size of L2 cache.

nloop is the number of walk loop. You should specify enough large number to get accurate result.

Example

On Dual Xeon E5 2630L v2 system, which have

  • 32KiB L1 data cache /core
  • 256KiB L2 cache /core
  • 15MiB L3 cache /socket

you can:

  • numa_memory_latency 16 8192 to measure L1 data cache latency.
  • numa_memory_latency 200 2048 to measure L2 cache latency.
  • numa_memory_latency 1200 1024 to measure L3 cache latency.
  • numa_memory_latency 256000 256 to measure main memory latency (on both local and remote node).

Licence

GNU GPL v2

Author

UMEZAWA Takeshi

numa_memory_latency's People

Contributors

umezawatakeshi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.