{"action":"created","issue":{"url":"https://api.github.com/repos/twitter/pelikan/issues/206","repository_url":"https://api.github.com/repos/twitter/pelikan","labels_url":"https://api.github.com/repos/twitter/pelikan/issues/206/labels{/name}","comments_url":"https://api.github.com/repos/twitter/pelikan/issues/206/comments","events_url":"https://api.github.com/repos/twitter/pelikan/issues/206/events","html_url":"https://github.com/twitter/pelikan/pull/206","id":386016140,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0ODU1NzA3","number":206,"title":"adding script to generate (stacked) server instances on a single host","user":{"login":"thinkingfish","id":366406,"node_id":"MDQ6VXNlcjM2NjQwNg==","avatar_url":"https://avatars2.githubusercontent.com/u/366406?v=4","gravatar_id":"","url":"https://api.github.com/users/thinkingfish","html_url":"https://github.com/thinkingfish","followers_url":"https://api.github.com/users/thinkingfish/followers","following_url":"https://api.github.com/users/thinkingfish/following{/other_user}","gists_url":"https://api.github.com/users/thinkingfish/gists{/gist_id}","starred_url":"https://api.github.com/users/thinkingfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thinkingfish/subscriptions","organizations_url":"https://api.github.com/users/thinkingfish/orgs","repos_url":"https://api.github.com/users/thinkingfish/repos","events_url":"https://api.github.com/users/thinkingfish/events{/privacy}","received_events_url":"https://api.github.com/users/thinkingfish/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-30T02:54:03Z","updated_at":"2018-12-18T23:41:38Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/twitter/pelikan/pulls/206","html_url":"https://github.com/twitter/pelikan/pull/206","diff_url":"https://github.com/twitter/pelikan/pull/206.diff","patch_url":"https://github.com/twitter/pelikan/pull/206.patch"},"body":"Example Usage:\r\n` python server_config.py --instances 30 --prefix test00`"},"comment":{"url":"https://api.github.com/repos/twitter/pelikan/issues/comments/448413822","html_url":"https://github.com/twitter/pelikan/pull/206#issuecomment-448413822","issue_url":"https://api.github.com/repos/twitter/pelikan/issues/206","id":448413822,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODQxMzgyMg==","user":{"login":"thinkingfish","id":366406,"node_id":"MDQ6VXNlcjM2NjQwNg==","avatar_url":"https://avatars2.githubusercontent.com/u/366406?v=4","gravatar_id":"","url":"https://api.github.com/users/thinkingfish","html_url":"https://github.com/thinkingfish","followers_url":"https://api.github.com/users/thinkingfish/followers","following_url":"https://api.github.com/users/thinkingfish/following{/other_user}","gists_url":"https://api.github.com/users/thinkingfish/gists{/gist_id}","starred_url":"https://api.github.com/users/thinkingfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thinkingfish/subscriptions","organizations_url":"https://api.github.com/users/thinkingfish/orgs","repos_url":"https://api.github.com/users/thinkingfish/repos","events_url":"https://api.github.com/users/thinkingfish/events{/privacy}","received_events_url":"https://api.github.com/users/thinkingfish/received_events","type":"User","site_admin":false},"created_at":"2018-12-18T23:41:38Z","updated_at":"2018-12-18T23:41:38Z","author_association":"MEMBER","body":"Here's the default output of `client_config.py`\r\n```\r\n$ cat loadgen/rpcperf.toml\r\n[general]\r\nthreads = 1\r\ntcp-nodelay = true\r\nconnections = 100\r\nwindows = 600\r\nduration = 60\r\nrequest-timeout = 200\r\nconnect-timeout = 50\r\n\r\n[[workload]]\r\nname = \"get\"\r\nmethod = \"get\"\r\nrate = 9000\r\n  [[workload.parameter]]\r\n  style = \"random\"\r\n  size = 32\r\n  num = 38347923\r\n  regenerate = true\r\n\r\n[[workload]]\r\nname = \"set\"\r\nmethod = \"set\"\r\nrate = 999\r\n  [[workload.parameter]]\r\n  style = \"random\"\r\n  size = 32\r\n  num = 38347923\r\n  regenerate = true\r\n  [[workload.parameter]]\r\n  style = \"random\"\r\n  size = 32\r\n  regenerate = false\r\n\r\n$ cat loadgen/test.sh\r\n/root/Twitter/rpc-perf/target/release/rpc-perf --config rpcperf.toml --server 10.25.2.44:12300 &\r\n/root/Twitter/rpc-perf/target/release/rpc-perf --config rpcperf.toml --server 10.25.2.44:12301 &\r\n/root/Twitter/rpc-perf/target/release/rpc-perf --config rpcperf.toml --server 10.25.2.44:12302 &\r\n```\r\n\r\nHere are the default output or `server_config.py`:\r\n```\r\n]$ cat test/bring-up.sh\r\nsudo numactl --cpunodebind=0 --preferred=0 /root/Twitter/pelikan/_build/_bin/pelikan_twemcache config/pelikan-12300.config\r\nsudo numactl --cpunodebind=1 --preferred=1 /root/Twitter/pelikan/_build/_bin/pelikan_twemcache config/pelikan-12301.config\r\nsudo numactl --cpunodebind=0 --preferred=0 /root/Twitter/pelikan/_build/_bin/pelikan_twemcache config/pelikan-12302.config\r\n\r\n$ cat test/config/pelikan-12300.config\r\ndaemonize: yes\r\nadmin_port: 9900\r\nserver_port: 12300\r\n\r\nbuf_init_size: 4096\r\n\r\nbuf_sock_poolsize: 16384\r\n\r\ndebug_log_level: 5\r\ndebug_log_file: log/12300/twemcache.log\r\ndebug_log_nbuf: 1048576\r\n\r\nklog_file: log/12300/twemcache.cmd\r\nklog_backup: log/12300/twemcache.cmd.old\r\nklog_sample: 100\r\nklog_max: 1073741824\r\n\r\nprefill: yes\r\nprefill_ksize: 32\r\nprefill_vsize: 32\r\nprefill_nkey: 38347923\r\n\r\nrequest_poolsize: 16384\r\nresponse_poolsize: 32768\r\n\r\nslab_evict_opt: 1\r\nslab_prealloc: yes\r\nslab_hash_power: 26\r\nslab_mem: 4294967296\r\nslab_size: 1048756\r\n\r\ntime_type: 2\r\n```"}}
{"actor":{"display_login":"thinkingfish"}}