Skip to content

Instantly share code, notes, and snippets.

View vilobhmm's full-sized avatar

Vilobh Meshram vilobhmm

  • United States
  • 06:32 (UTC -12:00)
View GitHub Profile
sudo systemctl list-units
sudo journalctl -u etcd --no-pager
sudo iptables -t nat -A POSTROUTING -o `ROUTE=\`ip route get 8.8.8.8\`; DEVICE=${ROUTE#*dev}; echo $DEVICE | awk '{print $1}'` -j MASQUERADE
tracepath www.google.com
/etc/resolv.conf
proposed a spec https://review.openstack.org/#/c/138607/ under https://review.openstack.org/#/c/138607/10/specs/liberty/approved/service-group-using-tooz.rst is "specs/liberty/approved" right place for new specs to be put for review ?
11:59 dansmith, mriedem, melwitt : ^^^
mriedem
12:01 vilobhmm1: yes
mriedem
12:01 even though they aren't approved yet, which is confusing
vilobhmm1
12:01 mriedem : yep that was the confusing part as it two dir "approved" and "implemented"
12:02 thanks mriedem
dansmith
@vilobhmm
vilobhmm / gist:1a0b9063ba63bb0ef05c
Last active August 29, 2015 14:16
Serial vs Parallel Numbers Iozone
[root@openstack-hv5 vilobhmm]# time sh -c "dd if=/dev/zero of=ddfile bs=8k count=250000 && sync"; rm ddfile
250000+0 records in
250000+0 records out
2048000000 bytes (2.0 GB) copied, 1.67513 s, 1.2 GB/s
real 0m4.661s
user 0m0.030s
sys 0m1.669s
[root@openstack-hv5 vilobhmm]#
e.
[vilobhmm@swallowhollow fab]$ fab run_iozone_local
/usr/local/lib/python2.7/site-packages/Crypto/Util/number.py:57: PowmInsecureWarning: Not using mpz_powm_sec. You should rebuild using libgmp >= 5 to avoid timing attack vulnerability.
_warn("Not using mpz_powm_sec. You should rebuild using libgmp >= 5 to avoid timing attack vulnerability.", PowmInsecureWarning)
[10.90.148.69] Executing task 'run_iozone_local'
[10.90.148.69] run: rm -rf /home/vilobhmm/local
[10.90.148.69] run: mkdir /home/vilobhmm/local
[10.90.148.69] run: mkdir /home/vilobhmm/local/outdir/
[10.90.148.69] run: ./iozone -R -b /home/vilobhmm/local/outdir/out.xls -s 2g -r 8k -i 0 /home/vilobhmm/local/benchmark_test
[10.90.148.69] out: Iozone: Performance Test of File I/O
Slow
71
72
89
74
75
76
77
78
79