Return-Path: X-Original-To: apmail-incubator-mesos-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-mesos-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 63CD4EEC0 for ; Tue, 19 Feb 2013 19:45:00 +0000 (UTC) Received: (qmail 46368 invoked by uid 500); 19 Feb 2013 19:45:00 -0000 Delivered-To: apmail-incubator-mesos-dev-archive@incubator.apache.org Received: (qmail 46335 invoked by uid 500); 19 Feb 2013 19:45:00 -0000 Mailing-List: contact mesos-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mesos-dev@incubator.apache.org Delivered-To: mailing list mesos-dev@incubator.apache.org Received: (qmail 46324 invoked by uid 99); 19 Feb 2013 19:45:00 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2013 19:45:00 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 9A17B1C7880; Tue, 19 Feb 2013 19:44:52 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============4333318091860644105==" MIME-Version: 1.0 Subject: Re: Review Request: Speed up allocations by keeping a set of slaves with available resources From: "Ben Mahler" To: "Benjamin Hindman" Cc: "Ben Mahler" , "Thomas Marshall" , "mesos" Date: Tue, 19 Feb 2013 19:44:52 -0000 Message-ID: <20130219194452.18986.5427@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Ben Mahler" X-ReviewGroup: mesos X-ReviewRequest-URL: https://reviews.apache.org/r/6665/ X-Sender: "Ben Mahler" References: <20130215183408.21521.10567@reviews.apache.org> In-Reply-To: <20130215183408.21521.10567@reviews.apache.org> Reply-To: "Ben Mahler" --===============4333318091860644105== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/6665/#review16747 ----------------------------------------------------------- Hey Thomas, can you include some performance / timing comparisons as well f= rom local run simulations? - Ben Mahler On Feb. 15, 2013, 6:34 p.m., Thomas Marshall wrote: > = > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/6665/ > ----------------------------------------------------------- > = > (Updated Feb. 15, 2013, 6:34 p.m.) > = > = > Review request for mesos and Benjamin Hindman. > = > = > Description > ------- > = > Currently, every time we do an allocation we have to traverse the entire = list of active slaves an check each one to see if its whitelisted and if it= has resources to allocate. This patch keeps a set of all slaves that meet = those requirements, and updates it when slaves are added/removed and when r= esources are allocated/recovered. > = > = > Diffs > ----- > = > src/master/hierarchical_allocator_process.hpp 33e059c = > = > Diff: https://reviews.apache.org/r/6665/diff/ > = > = > Testing > ------- > = > make check > = > = > Thanks, > = > Thomas Marshall > = > --===============4333318091860644105==--