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 79D7E18D5E for ; Tue, 3 Nov 2015 01:26:28 +0000 (UTC) Received: (qmail 57902 invoked by uid 500); 3 Nov 2015 01:26:28 -0000 Delivered-To: apmail-mesos-issues-archive@mesos.apache.org Received: (qmail 57618 invoked by uid 500); 3 Nov 2015 01:26:28 -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 57589 invoked by uid 99); 3 Nov 2015 01:26:27 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Nov 2015 01:26:27 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CCC172C1F6C for ; Tue, 3 Nov 2015 01:26:27 +0000 (UTC) Date: Tue, 3 Nov 2015 01:26:27 +0000 (UTC) From: "Adam B (JIRA)" To: issues@mesos.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MESOS-1187) precision errors with allocation calculations 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-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14986450#comment-14986450 ] Adam B commented on MESOS-1187: ------------------------------- +1 to milli-cpus and fixed point. That's what Google uses internally, and it should be good enough for Mesos too. > precision errors with allocation calculations > --------------------------------------------- > > Key: MESOS-1187 > URL: https://issues.apache.org/jira/browse/MESOS-1187 > Project: Mesos > Issue Type: Bug > Components: allocation, master > Reporter: aniruddha sathaye > Assignee: Klaus Ma > > As allocations are stored/transmitted as doubles many a times precision errors creep in. > we have seen erroneous share calculations happen only because of floating point arithmetic. -- This message was sent by Atlassian JIRA (v6.3.4#6332)