Return-Path: X-Original-To: apmail-mesos-issues-archive@minotaur.apache.org Delivered-To: apmail-mesos-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D47621814C for ; Fri, 17 Jul 2015 17:23:04 +0000 (UTC) Received: (qmail 3588 invoked by uid 500); 17 Jul 2015 17:23:04 -0000 Delivered-To: apmail-mesos-issues-archive@mesos.apache.org Received: (qmail 3556 invoked by uid 500); 17 Jul 2015 17:23:04 -0000 Mailing-List: contact issues-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list issues@mesos.apache.org Received: (qmail 3546 invoked by uid 99); 17 Jul 2015 17:23:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Jul 2015 17:23:04 +0000 Date: Fri, 17 Jul 2015 17:23:04 +0000 (UTC) From: "James Peach (JIRA)" To: issues@mesos.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (MESOS-3075) introduce QuiesceOffers message MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MESOS-3075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Peach updated MESOS-3075: ------------------------------- Attachment: MESOS-3075.tiff Attached screenshot of %user CPU usage for meson-master. The purple is unmodified 0.22.1, the brown is with the changes from MESOS-3052, and the final blue is with a compatibility patch that implements the QuiesceOffers semantic. > introduce QuiesceOffers message > ------------------------------- > > Key: MESOS-3075 > URL: https://issues.apache.org/jira/browse/MESOS-3075 > Project: Mesos > Issue Type: Improvement > Reporter: James Peach > Attachments: MESOS-3075.tiff > > > When there are a large number of slaves and a large number of frameworks, allocation performance suffers as the list of refused filters grows. Once a framework hits its target, it ends up having to refused offers all the time. It is more effective to simply request that it no longer receive offers. > The QuiesceOffers message requests that the framework no longer receive offers. It has similar semantics to declining an offer. The quiescence is persisted across framework failures, and can be lifted using ReviveOffers. The proposed protobuf signature for this is: > {code} > diff --git a/src/messages/messages.proto b/src/messages/messages.proto > index 165a16d..1b4475a 100644 > --- a/src/messages/messages.proto > +++ b/src/messages/messages.proto > @@ -188,6 +188,10 @@ message ReviveOffersMessage { > required FrameworkID framework_id = 1; > } > +message QuiesceOffersMessage { > + required FrameworkID framework_id = 1; > + optional double quiesce_seconds = 2; > +} > {code} > If {{quiesce_seconds}} is not specified, the quiescence is indefinite (ie. applied until the next ReviveOffers). -- This message was sent by Atlassian JIRA (v6.3.4#6332)