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
auto lo | |
iface lo inet loopback | |
auto bond0 | |
iface bond0 inet static | |
slaves eth2 eth3 | |
address 10.6.2.102 | |
netmask 255.255.255.0 | |
auto bond1 |
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
hosts = Hash.new | |
search(:node, "*") do |server| | |
hosts[server[:ipaddress]] << server[:hostname] | |
end | |
template "/tmp/hosts" do | |
source "hosts.erb" | |
mode 0644 | |
owner "root" |
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
/var/chef/cache/cookbooks/xen/recipes/default.rb:40:in `from_file': undefined method `cookbook' for #<Chef::Resource::RemoteDirectory:0x7fffaa854fb0> (NoMethodError) | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.5.4/lib/chef/recipe.rb:190:in `instance_eval' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.5.4/lib/chef/recipe.rb:190:in `method_missing' | |
from /var/chef/cache/cookbooks/xen/recipes/default.rb:39:in `from_file' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.5.4/lib/chef/cookbook.rb:139:in `load_recipe' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.5.4/lib/chef/compile.rb:109:in `load_recipes' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.5.4/lib/chef/compile.rb:101:in `each' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.5.4/lib/chef/compile.rb:101:in `load_recipes' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.5.4/lib/chef/client.rb:339:in `converge' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.5.4/lib/chef/client.rb:76:in `run' |
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
2009-03-23_20:00:50.50338 merb : worker (port 4000) ~ end of file reached - (EOFError) | |
2009-03-23_20:00:50.50339 /usr/lib/ruby/1.8/net/protocol.rb:135:in `sysread' | |
2009-03-23_20:00:50.50339 /usr/lib/ruby/1.8/net/protocol.rb:135:in `rbuf_fill' | |
2009-03-23_20:00:50.50340 /usr/lib/ruby/1.8/timeout.rb:62:in `timeout' | |
2009-03-23_20:00:50.50341 /usr/lib/ruby/1.8/timeout.rb:93:in `timeout' | |
2009-03-23_20:00:50.50341 /usr/lib/ruby/1.8/net/protocol.rb:134:in `rbuf_fill' | |
2009-03-23_20:00:50.50342 /usr/lib/ruby/1.8/net/protocol.rb:116:in `readuntil' | |
2009-03-23_20:00:50.50342 /usr/lib/ruby/1.8/net/protocol.rb:126:in `readline' | |
2009-03-23_20:00:50.50343 /usr/lib/ruby/1.8/net/http.rb:2020:in `read_status_line' | |
2009-03-23_20:00:50.50345 /usr/lib/ruby/1.8/net/http.rb:2009:in `read_new' |
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
4 Intel X-25M Software RAID0 | |
ext3, CFQ, default read-ahead | |
Sequential Reads | |
File Blk Num Avg Maximum Lat% Lat% CPU | |
Identifier Size Size Thr Rate (CPU%) Latency Latency >2s >10s Eff | |
---------------------------- ------ ----- --- ------ ------ --------- ----------- -------- -------- ----- | |
2.6.27-11-generic 65536 4096 4 365.77 147.9% 0.042 666.95 0.00000 0.00000 247 | |
2.6.27-11-generic 65536 4096 8 357.27 302.0% 0.085 968.03 0.00000 0.00000 118 |
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
include_recipe "runit" | |
package "libopenssl-ruby1.8" | |
remote_file "/etc/chef/client.rb" do | |
source "client.rb" | |
mode 0644 | |
owner "root" | |
group "root" | |
end |
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
Sequential Reads | |
File Blk Num Avg Maximum Lat% Lat% CPU | |
Identifier Size Size Thr Rate (CPU%) Latency Latency >2s >10s Eff | |
---------------------------- ------ ----- --- ------ ------ --------- ----------- -------- -------- ----- | |
2.6.29.1-wikia 32768 4096 1 489.86 45.36% 0.008 79.88 0.00000 0.00000 1080 | |
2.6.29.1-wikia 32768 4096 2 778.83 145.9% 0.010 61.05 0.00000 0.00000 534 | |
2.6.29.1-wikia 32768 4096 4 841.21 334.0% 0.018 85.84 0.00000 0.00000 252 | |
2.6.29.1-wikia 32768 4096 8 826.57 665.6% 0.038 201.85 0.00000 0.00000 124 | |
Random Reads |
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
Run #1: /usr/bin/tiotest -t 8 -f 4096 -r 500 -b 4096 -d . -TTT | |
Unit information | |
================ | |
File size = megabytes | |
Blk Size = bytes | |
Rate = megabytes per second | |
CPU% = percentage of CPU used during the test | |
Latency = milliseconds | |
Lat% = percent of requests that took longer than X seconds |
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
root@r4-8-a20:/var/lib/mysql/data# tiobench --size 32768 --threads 1 --threads 4 --threads 8 | |
Run #1: /usr/bin/tiotest -t 8 -f 4096 -r 500 -b 4096 -d . -TTT | |
Unit information | |
================ | |
File size = megabytes | |
Blk Size = bytes | |
Rate = megabytes per second | |
CPU% = percentage of CPU used during the test | |
Latency = milliseconds |
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
sysctl Mash.new unless attribute?("sysctl") |
OlderNewer