Skip to content

Instantly share code, notes, and snippets.

@josh-wrale
josh-wrale / seldon-gluster-benchmarking.2014-03-01a.md
Last active August 29, 2015 13:56
Seldon: GlusterFS Benchmarking 2014-03-01a

On all six GlusterFS server/client nodes:

### Install iozone
[root@core-n1 ~]# yum install http://pkgs.repoforge.org/iozone/iozone-3.408-1.el6.rf.x86_64.rpm -y

### Mount the volume
[root@core-n1 ~]# gluster peer status
Number of Peers: 5
@josh-wrale
josh-wrale / iodata.mkd
Created February 28, 2014 13:52 — forked from paul/iodata.mkd

m1.large

Single mounted EBS, XFS

Iozone: Performance Test of File I/O
        Version $Revision: 3.308 $
  Compiled for 64 bit mode.
  Build: linux

Run began: Sun Aug 22 19:35:33 2010

@josh-wrale
josh-wrale / gist:9148605
Created February 22, 2014 04:11
iproute2-3.13.0-1.el6.elrepo
##%define date_version 20091009
%define cbq_version v0.7.3
Summary: Advanced IP routing and network device configuration tools
Name: iproute
Version: 3.13.0
Epoch: 1
Release: 1%{?dist}.elrepo
Group: Applications/System
URL: http://kernel.org/pub/linux/utils/net/%{name}2/
@josh-wrale
josh-wrale / 2014-02-19_seldon-tests.published.md
Last active August 29, 2015 13:56
(2014-02-19) Seldon Tests (published)

Test 1

core-n2 -> core-n1 via 802.1q tagging over VLAN 30 (inside cab)

Result

[root@core-n2 ~]# iperf3 -c 10.30.3.1 -i 60 -t 240 
Connecting to host 10.30.3.1, port 5201
[  4] local 10.30.3.2 port 38904 connected to 10.30.3.1 port 5201
@josh-wrale
josh-wrale / gist:7590564
Last active December 29, 2015 01:08
stupid human trick
- hosts: all
sudo: True
roles:
- "\
firstdir/\
seconddir/\
dirwithrole1"
- "\
firstdir/\
seconddir/\
The MIT License (MIT)
Copyright (c) [2013] [Fanya Engler]
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
@josh-wrale
josh-wrale / LICENSE
Created November 18, 2013 03:57 — forked from mrinaudo/LICENSE
The MIT License (MIT)
Copyright (c) 2013 Matteo Rinaudo
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
slug : bundlejs
name : bundlejs.com
homepage : http://bundlejs.com
author : Alex Gorbatchev
description : Hosted files for bundlejs.com
releases:
- version : prod
date : now
location : http://localhost:3100
@josh-wrale
josh-wrale / LICENSE
Created October 26, 2013 20:29 — forked from mrinaudo/LICENSE
The MIT License (MIT)
Copyright (c) 2013 Matteo Rinaudo
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
#!/bin/bash
###############################################################################
# CONFIG
# AWS config
export AWS_SECRET_KEY="XXXX"
export AWS_ACCESS_KEY="XXXX"
export PATH=$PATH:/usr/local/aws/ec2/bin
export EC2_HOME=/usr/local/aws/ec2/