)]}'
{"devstack-vm-gate-wrap.sh":[{"author":{"_account_id":6198,"name":"Peter Portante","email":"peter.a.portante@gmail.com","username":"peter-a-portante"},"change_message_id":"81cdb6ca42ef6d479204e0fc157863e2c17f117e","unresolved":false,"context_lines":[{"line_number":153,"context_line":""},{"line_number":154,"context_line":"# Set the number of threads to run tempest with"},{"line_number":155,"context_line":"NUM_CPUS\u003d$(python -c \u0027import multiprocessing; print multiprocessing.cpu_count()\u0027)"},{"line_number":156,"context_line":"export TEMPEST_CONCURRENCY\u003d${TEMPEST_CONCURRENCY:-$[${NUM_CPUS} - 2]}"},{"line_number":157,"context_line":""},{"line_number":158,"context_line":"# The following variables are set for different directions of Grenade updating"},{"line_number":159,"context_line":"# for a stable branch we want to both try to upgrade forward n \u003d\u003e n+1 as"}],"source_content_type":"text/x-sh","patch_set":1,"id":"AAAAUH%2F%2BbFs%3D","line":156,"updated":"2014-01-27 02:26:44.000000000","message":"Is it possible that NUM_CPUS will ever be 1, or perhaps a non-integer value?\n\nIt looks like a 2 will result in testr using a concurrency of 1.  Not sure how negative values will be handled, if we care.","commit_id":"733eb5113a1a26ac07b3f137e78c0e6541f7befb"},{"author":{"_account_id":1561,"name":"Russell Bryant","email":"rbryant@redhat.com","username":"russellb"},"change_message_id":"a9716904d764a915a68b40f0755ed3fa01f5c2c2","unresolved":false,"context_lines":[{"line_number":153,"context_line":""},{"line_number":154,"context_line":"# Set the number of threads to run tempest with"},{"line_number":155,"context_line":"NUM_CPUS\u003d$(python -c \u0027import multiprocessing; print multiprocessing.cpu_count()\u0027)"},{"line_number":156,"context_line":"export TEMPEST_CONCURRENCY\u003d${TEMPEST_CONCURRENCY:-$[${NUM_CPUS} - 2]}"},{"line_number":157,"context_line":""},{"line_number":158,"context_line":"# The following variables are set for different directions of Grenade updating"},{"line_number":159,"context_line":"# for a stable branch we want to both try to upgrade forward n \u003d\u003e n+1 as"}],"source_content_type":"text/x-sh","patch_set":1,"id":"AAAAUH%2F%2BYtU%3D","line":156,"in_reply_to":"AAAAUH%2F%2BbFs%3D","updated":"2014-01-27 13:56:49.000000000","message":"It is possible.  I was only thinking about the test nodes that we\u0027re currently using, which are all 4 or 8 vCPU nodes.  If this is run on something smaller, it would break.  I guess people may try to run this locally to simulate our test environment, so I should make it a little safer.\n\nIt\u0027s also possible that cpu_count() raises NotImplementedError, technically...","commit_id":"733eb5113a1a26ac07b3f137e78c0e6541f7befb"},{"author":{"_account_id":866,"name":"Chmouel Boudjnah","email":"chmouel@chmouel.com","username":"chmouel"},"change_message_id":"7bb38c5e8b0438ae2f523dbd64b33a2568050f7b","unresolved":false,"context_lines":[{"line_number":152,"context_line":"export DEVSTACK_GATE_CONFIGDRIVE\u003d${DEVSTACK_GATE_CONFIGDRIVE:-1}"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"# Set the number of threads to run tempest with"},{"line_number":155,"context_line":"DEFAULT_CONCURRENCY\u003d$(python -c \u0027import multiprocessing"},{"line_number":156,"context_line":"try:"},{"line_number":157,"context_line":"    num_cpus \u003d multiprocessing.cpu_count()"},{"line_number":158,"context_line":"    print num_cpus if num_cpus \u003c 4 else num_cpus - 2"}],"source_content_type":"text/x-sh","patch_set":2,"id":"AAAAUH%2F%2BYic%3D","line":155,"updated":"2014-01-27 14:19:33.000000000","message":"Why don\u0027t use nproc(8) ?","commit_id":"328902f70c91dacd6d448025786a4dc4a36b9644"}]}
