- Latency for random memory access [lmbench]
- Latency for cache read/write operations [lmbench C release]
- Processing speed (instructions per second) [unixbench]
- Throughput for random memory access (bytes per second) [lmbench]
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
Recommend Steps to run yardstick in plugfest | |
## Prepare yardstick | |
### install docker | |
wget -qO- https://get.docker.com/ | sh | |
### pull and run yardstick docker container |
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
# pull and run yardstick continer | |
docker pull opnfv/yardstick | |
docker run -it opnfv/yardstick bash | |
# export compass credential | |
export OS_PASSWORD=console | |
export OS_TENANT_NAME=admin | |
export OS_AUTH_URL=http://172.16.1.222:35357/v2.0 | |
export OS_USERNAME=admin | |
export OS_VOLUME_API_VERSION=2 |
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
#!/bin/bash | |
compass_work_dir=$1 | |
if [[ $compass_work_dir == "" ]]; then | |
echo "Please Run: $0 <compass_work_dir>" | |
exit 1 | |
fi | |
cd $compass_work_dir | |
COMPASS_WORK_DIR=$(pwd) |
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
package main | |
import ( | |
"log" | |
"net/smtp" | |
) | |
func main() { | |
send("hello there") | |
} |
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
#!/usr/bin/env/python | |
# | |
# More of a reference of using jinaj2 without actual template files. | |
# This is great for a simple output transformation to standard out. | |
# | |
# Of course you will need to "sudo pip install jinja2" first! | |
# | |
# I like to refer to the following to remember how to use jinja2 :) | |
# http://jinja.pocoo.org/docs/templates/ | |
# |
You can find the MAC address for LAN1/eth0 (not the BMC MAC) via the SuperMicro IPMI interface by running the following command:
$ ipmitool -U $IPMI_USER -P $IPMI_PASS -H $IPMI_HOST raw 0x30 0x21 | tail -c 18
The eth0 MAC address will be output in this format:
00 25 90 f0 be ef
OlderNewer