Repository: aurora
Updated Branches:
refs/heads/master e91130e49 -> 73821e5d9
Reduce offer_filter_duration to 0secs in Vagrant
This was more a random experiment on my end. We use this value in production as
our clusters are rather small and it can happen that `#instances in a job >>
#agents`,
so a smaller filter duration increases scheduling performance. Turns out this
is also
slightly helpful in our e2e tests:
Before the patch:
real 27m52.457s
user 0m2.308s
sys 0m0.938s
With the patch:
real 23m56.899s
user 0m2.277s
sys 0m0.884s
Both experiments were preceeded with a `vagrant destroy && vagrant up`.
The improvement is minimal and could probably also due to other external
factors as I
have made only one run each.
Reviewed at https://reviews.apache.org/r/52581/
Project: http://git-wip-us.apache.org/repos/asf/aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/aurora/commit/73821e5d
Tree: http://git-wip-us.apache.org/repos/asf/aurora/tree/73821e5d
Diff: http://git-wip-us.apache.org/repos/asf/aurora/diff/73821e5d
Branch: refs/heads/master
Commit: 73821e5d93d1ff8f196233dcf9cbe181a3f72e1b
Parents: e91130e
Author: Stephan Erb <[email protected]>
Authored: Thu Oct 6 09:19:11 2016 +0200
Committer: Stephan Erb <[email protected]>
Committed: Thu Oct 6 09:19:11 2016 +0200
----------------------------------------------------------------------
examples/vagrant/upstart/aurora-scheduler-kerberos.conf | 3 ++-
examples/vagrant/upstart/aurora-scheduler.conf | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/aurora/blob/73821e5d/examples/vagrant/upstart/aurora-scheduler-kerberos.conf
----------------------------------------------------------------------
diff --git a/examples/vagrant/upstart/aurora-scheduler-kerberos.conf
b/examples/vagrant/upstart/aurora-scheduler-kerberos.conf
index f1852f1..04e3d31 100644
--- a/examples/vagrant/upstart/aurora-scheduler-kerberos.conf
+++ b/examples/vagrant/upstart/aurora-scheduler-kerberos.conf
@@ -53,4 +53,5 @@ exec bin/aurora-scheduler \
-kerberos_server_keytab=/home/vagrant/krb5-1.13.1/build/testdir/HTTP-aurora.local.keytab
\
-kerberos_server_principal=HTTP/[email protected] \
-enable_h2_console=true \
-
-tier_config=/home/vagrant/aurora/src/main/resources/org/apache/aurora/scheduler/tiers.json
+
-tier_config=/home/vagrant/aurora/src/main/resources/org/apache/aurora/scheduler/tiers.json
\
+ -offer_filter_duration=0secs
http://git-wip-us.apache.org/repos/asf/aurora/blob/73821e5d/examples/vagrant/upstart/aurora-scheduler.conf
----------------------------------------------------------------------
diff --git a/examples/vagrant/upstart/aurora-scheduler.conf
b/examples/vagrant/upstart/aurora-scheduler.conf
index 91b27d7..4d88881 100644
--- a/examples/vagrant/upstart/aurora-scheduler.conf
+++ b/examples/vagrant/upstart/aurora-scheduler.conf
@@ -51,4 +51,5 @@ exec bin/aurora-scheduler \
-mesos_role=aurora-role \
-populate_discovery_info=true \
-receive_revocable_resources=true \
- -allow_gpu_resource=true
+ -allow_gpu_resource=true \
+ -offer_filter_duration=0secs