Skip to content

Instantly share code, notes, and snippets.

View josdotso's full-sized avatar
🎯
Focusing

Joshua Dotson josdotso

🎯
Focusing
View GitHub Profile
@josdotso
josdotso / README.md
Last active February 7, 2018 19:05
Markdown demo

Title

Section Level 1

Section Level 2

some code
This document describes about installation and configuration of IPMI simulator.
We need: qemu-kvm, OpenIPMI, OpenIPMI-tools
1) Install the qemu-kvm. We need the qemu, which have the IPMI pacthes.
Use the source https://github.com/cminyard/qemu/tree/stable-2.2-ipmi
./configure, make and make install
2) Download the OpenIPMI libraries, from http://sourceforge.net/projects/openipmi/
Follow the process documented in lanserv/README.vm
./configure --prefix=/opt/openipmi/usr --sysconfdir=/opt/openipmi/etc \
--with-perlinstall=/opt/openipmi/usr/lib/perl \
@josdotso
josdotso / latency.txt
Created November 5, 2015 20:40 — forked from jboner/latency.txt
Latency Numbers Every Programmer Should Know
Latency Comparison Numbers
--------------------------
L1 cache reference 0.5 ns
Branch mispredict 5 ns
L2 cache reference 7 ns 14x L1 cache
Mutex lock/unlock 25 ns
Main memory reference 100 ns 20x L2 cache, 200x L1 cache
Compress 1K bytes with Zippy 3,000 ns
Send 1K bytes over 1 Gbps network 10,000 ns 0.01 ms
Read 4K randomly from SSD* 150,000 ns 0.15 ms
@josdotso
josdotso / page_geo_dates.json
Last active August 29, 2015 14:26 — forked from jpotts/page_geo_dates.json
Elasticsearch filtered query template that can be used in a JMeter test
{
"query": {
"filtered": {
"query": {
"match_all": {}
},
"filter": {
"bool": {
"must": [
{
@josdotso
josdotso / jmeter-results.conf
Last active August 29, 2015 14:26 — forked from jpotts/jmeter-results.conf
Logstash config that can be used to read in JMeter test results and store them in Elasticsearch
input {
file {
path => [ "/Users/jpotts/Documents/code/es-test/results.csv"]
}
}
filter {
if ([message] =~ "responseCode") {
drop { }
} else {
csv {
@josdotso
josdotso / user.properties
Last active August 29, 2015 14:26 — forked from jpotts/user.properties
Apache JMeter user.properties that configures test settings as well as the CSV format for the test results
jmeter.save.saveservice.output_format=csv
jmeter.save.saveservice.data_type=false
jmeter.save.saveservice.label=true
jmeter.save.saveservice.response_code=true
jmeter.save.saveservice.response_data.on_error=false
jmeter.save.saveservice.response_message=false
jmeter.save.saveservice.successful=true
jmeter.save.saveservice.thread_name=true
jmeter.save.saveservice.time=true
jmeter.save.saveservice.subresults=false
@josdotso
josdotso / jmeter-results-mapping.json
Last active August 29, 2015 14:26 — forked from jpotts/jmeter-results-mapping.json
Elasticsearch mapping that can be used to index JMeter test results
{
"template": "logstash-jmeter-results-*",
"settings": {
"number_of_shards": 1,
"number_of_replicas": 0,
"index.refresh_interval": "5s"
},
"mappings": {
"logs": {
"properties": {