Skip to content

Instantly share code, notes, and snippets.

View gslin's full-sized avatar

Gea-Suan Lin gslin

View GitHub Profile
04:12 -!- jnlin [[email protected]] has quit [Ping timeout: 272 seconds]
04:13 -!- pct [[email protected]] has quit [Ping timeout: 250 seconds]
04:16 -!- wayne_ [[email protected]] has quit [Quit: Lost terminal]
04:17 -!- mathiss [[email protected]] has quit [Ping timeout: 246 seconds]
04:18 -!- coronaXP [[email protected]] has quit [Ping timeout: 264 seconds]
04:18 -!- tsung_ [[email protected]] has quit [Ping timeout: 246 seconds]
04:19 -!- mhsin [[email protected]] has quit [Ping timeout: 244 seconds]
04:20 -!- yhchan [[email protected]] has quit [Ping timeout: 260 seconds]
04:21 -!- AceLan [[email protected]] has quit [Ping timeout: 265 seconds]
04:21 -!- none [[email protected]] has quit [Ping timeout: 265 seconds]
@gslin
gslin / gist:3147897
Created July 20, 2012 00:28
HP Cloud, openssl speed
Doing md2 for 3s on 16 size blocks: 328600 md2's in 3.00s
Doing md2 for 3s on 64 size blocks: 173677 md2's in 3.00s
Doing md2 for 3s on 256 size blocks: 58622 md2's in 3.00s
Doing md2 for 3s on 1024 size blocks: 16050 md2's in 3.00s
Doing md2 for 3s on 8192 size blocks: 2066 md2's in 3.00s
Doing md4 for 3s on 16 size blocks: 10171532 md4's in 3.00s
Doing md4 for 3s on 64 size blocks: 8232957 md4's in 3.00s
Doing md4 for 3s on 256 size blocks: 5317374 md4's in 3.00s
Doing md4 for 3s on 1024 size blocks: 2182495 md4's in 3.00s
Doing md4 for 3s on 8192 size blocks: 335863 md4's in 3.00s
@gslin
gslin / gist:3148066
Created July 20, 2012 01:21
HP Cloud, iozone -a (over XFS)
Iozone: Performance Test of File I/O
Version $Revision: 3.308 $
Compiled for 64 bit mode.
Build: linux
Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins
Al Slater, Scott Rhine, Mike Wisner, Ken Goss
Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR,
Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner,
Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy,
@gslin
gslin / gist:3176820
Created July 25, 2012 15:37
HiCloud openssl speed
Doing md2 for 3s on 16 size blocks: 170301 md2's in 3.00s
Doing md2 for 3s on 64 size blocks: 55049 md2's in 2.99s
Doing md2 for 3s on 256 size blocks: 16610 md2's in 2.99s
Doing md2 for 3s on 1024 size blocks: 4653 md2's in 2.99s
Doing md2 for 3s on 8192 size blocks: 633 md2's in 3.13s
Doing md4 for 3s on 16 size blocks: 2159523 md4's in 2.99s
Doing md4 for 3s on 64 size blocks: 2396253 md4's in 3.01s
Doing md4 for 3s on 256 size blocks: 1437402 md4's in 2.99s
Doing md4 for 3s on 1024 size blocks: 546142 md4's in 2.99s
Doing md4 for 3s on 8192 size blocks: 84751 md4's in 3.00s
gslin@GSLIN-DESKTOP [~] [06:52/W4] dig www.facebook.com @8.8.8.8
; <<>> DiG 9.8.1-P1 <<>> www.facebook.com @8.8.8.8
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 65325
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;www.facebook.com. IN A
gslin@GSLIN-DESKTOP [~] [06:52/W3] dig www.facebook.com @168.95.1.1
; <<>> DiG 9.8.1-P1 <<>> www.facebook.com @168.95.1.1
;; global options: +cmd
;; connection timed out; no servers could be reached
gslin@one [~] [22:57] dig www.facebook.com @8.8.8.8
; <<>> DiG 9.8.1-P1 <<>> www.facebook.com @8.8.8.8
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 58417
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;www.facebook.com. IN A
gslin@colo-p [~] [15:26/W4] t mx1.us.apache.org 25
Trying 140.211.11.136...
Connected to mx1.us.apache.org.
Escape character is '^]'.
220 apache.org ESMTP qpsmtpd 0.29 ready; send us your mail, but not your spam.
ehlo colo-p.gslin.org
250-apache.org Hi [112.121.80.241] [112.121.80.241]
250-PIPELINING
250 8BITMIME
mail from: <[email protected]>
<?php
$old_error_reporting = error_reporting(0);
$eval_result = eval('?' . '>' . trim(file_get_contents($this->getSource())));
error_reporting($old_error_reporting);
# [mysqld_safe]
wsrep_urls = gcomm://10.1.1.101:4567,gcomm://10.1.1.102:4567,gcomm://10.1.1.103:4567,gcomm://
#
# Default values.
[mysqld]
binlog_format = ROW
character_set_server = utf8
collation_server = utf8_general_ci
datadir = /var/lib/mysql
default_storage_engine = InnoDB