Skip to content

Commit

Permalink
[ci skip] new benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
palkan committed Mar 15, 2019
1 parent 0d804cd commit 628ec4e
Show file tree
Hide file tree
Showing 13 changed files with 7 additions and 5 deletions.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion benchmarks/benchmark.yml
Expand Up @@ -5,7 +5,7 @@
remote_user: ubuntu
gather_facts: False
vars:
server_host: '172.31.21.207'
server_host: '172.31.3.169'
hostname: ws-bench-client
local_ips: ['172.31.19.119', '172.31.19.120', '172.31.17.121', '172.31.17.122']
# local_ips_str: '-l 172.31.19.119 -l 172.31.19.120 -l 172.31.17.121 -l 172.31.17.122'
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/hosts
@@ -1,5 +1,5 @@
[benchmark]
ec2-18-202-197-244.eu-west-1.compute.amazonaws.com ansible_ssh_private_key_file=/Users/palkan/.ssh/macos-dev
ec2-34-244-131-44.eu-west-1.compute.amazonaws.com ansible_ssh_private_key_file=/Users/palkan/.ssh/macos-dev

[servers]
ec2-34-255-216-103.eu-west-1.compute.amazonaws.com ansible_ssh_private_key_file=/Users/palkan/.ssh/macos-dev
ec2-34-254-163-132.eu-west-1.compute.amazonaws.com ansible_ssh_private_key_file=/Users/palkan/.ssh/macos-dev
6 changes: 4 additions & 2 deletions benchmarks/servers.yml
Expand Up @@ -6,6 +6,8 @@
gather_facts: False
vars:
web_concurrency: 8
arena_max: 64 # default, 8 times the number of virtual CPUs
rpc_pool: 30 # default
tasks:
- name: Kill servers
shell: pid=$(lsof -i:{{item}} -t); kill -TERM $pid || kill -KILL $pid
Expand All @@ -23,13 +25,13 @@
- name: Run Action Cable
become_user: deplo
tags: action_cable
command: bash -lc "WEB_CONCURRENCY={{ web_concurrency }} bundle exec rails s -p 3334 -e production"
command: bash -lc "MALLOC_ARENA_MAX={{ arena_max }} WEB_CONCURRENCY={{ web_concurrency }} bundle exec rails s -p 3334 -e production"
args:
chdir: /webapps/anycable_bench/ruby/action-cable-server
- name: Run Anycable Go
become_user: deplo
tags: anycable
shell: bash -lc "ANYCABLE_GO_BIN="anycable-go-0.6.0-alpha" ANYCABLE_PORT="3334" bundle exec bin/anycable"
shell: bash -lc "MALLOC_ARENA_MAX={{ arena_max }} ANYCABLE_RPC_POOL_SIZE={{ rpc_pool }} ADAPTER=any_cable ANYCABLE_PORT="3334" bundle exec bin/anycable"
args:
chdir: /webapps/anycable_bench/ruby/action-cable-server
- name: Run Iodine/Plezi
Expand Down

0 comments on commit 628ec4e

Please sign in to comment.