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
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 |
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
- name: install python (CentOS 6) | |
yum: name={{item}} enablerepo=epel state=installed | |
with_items: | |
- PyYAML | |
- python-paramiko | |
- python-jinja2 | |
when: ansible_os_family == 'RedHat' and ansible_distribution_version.split('.')[0]|int == 6 | |
tags: python | |
- name: install python26 (CentOS 5) |
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
Nick-Stielaus-MacBook-Pro:chef-repo nstielau$ knife node log nstielau_vagrantup.com | |
Time Recipe Action Resource Type Resource | |
Tue May 10 10:25:20 -0700 2011 nginx::source create template proxy.conf | |
Tue May 10 10:25:20 -0700 2011 nginx::source enable service nginx | |
Tue May 10 09:50:42 -0700 2011 nginx::source create template /etc/init.d/nginx |
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
template "/tmp/foo.rb" | |
source "foo.rb.erb" | |
cookbook "banana" | |
end |