From users-return-33134-apmail-cloudstack-users-archive=cloudstack.apache.org@cloudstack.apache.org Sun Jul 7 18:15:59 2019 Return-Path: X-Original-To: apmail-cloudstack-users-archive@www.apache.org Delivered-To: apmail-cloudstack-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by minotaur.apache.org (Postfix) with SMTP id 41D8418733 for ; Sun, 7 Jul 2019 18:15:59 +0000 (UTC) Received: (qmail 58298 invoked by uid 500); 7 Jul 2019 18:15:56 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 58273 invoked by uid 500); 7 Jul 2019 18:15:56 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 58259 invoked by uid 99); 7 Jul 2019 18:15:56 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Jul 2019 18:15:56 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 6E3F31809E1 for ; Sun, 7 Jul 2019 18:15:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.095 X-Spam-Level: *** X-Spam-Status: No, score=3.095 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=2, PDS_NO_HELO_DNS=1.295, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-he-de.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id HzcV9T2IfPzu for ; Sun, 7 Jul 2019 18:15:51 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::532; helo=mail-ed1-x532.google.com; envelope-from=andrija.panic@gmail.com; receiver= Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with ESMTPS id 896ED7E21C for ; Sun, 7 Jul 2019 18:15:50 +0000 (UTC) Received: by mail-ed1-x532.google.com with SMTP id k8so12479717edr.11 for ; Sun, 07 Jul 2019 11:15:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=DXKY+ADU6p1amiKVKGiYDgnoJn+cDpDx/cbTl7Av9wc=; b=CTdy1HNReWQAr0uCk8Tb3NuqquHabkc9a7RKG7o8VhIlRgyriU/NOYa9AQ610ckPOC ftVkpvT6zGrN2Mq84S1FII8gDyKvS97AkHN2n5+4k2WzWWuENZf7p4jpaR0x8dhUHsTA Km2i5SYG2/epeiiB46j4//zU9PevGbmOOJ69TT4rC6TdH/pjtdkWYTuDXtC4UyrlvXk/ KDbtQ3OyplrWHRIFYgP+/VWye1/lYTT3lyAwNj47pS60pongKXZ2LS+teW32GAj8t46X luZ3Q1dmYKCdFwKJD2eAJ0wjuvx7uIIFKioMOiUqeReXdMXQwmEtdr3Br0ps7axAXIq5 8IfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=DXKY+ADU6p1amiKVKGiYDgnoJn+cDpDx/cbTl7Av9wc=; b=Dt6U1yGUv2v9AoGw9ceE02ALnmTev/UhjHH/R6j2VchCzLIg3wwBWVxxSh4bQF+KUr J2TLlO0nb7Y98sL0bhy4jix/FezvJpAoRdvpJRexDCQBmn7ba8ZyF8dRTP/6ffflYTfo TPDMjmzcowr+px5XKrGAQRT75mxx1DSUBmlpFtrGy7LjsbXm7ExvPuQUHM8E5VwMOR+q mRXq3/cJXhp5QYpiUGrRGInwCowuZo2lT3XCMJHVMnBTUhi4dCp/G+cpwlTRVvXFeba/ 2lOVscFPiM9myzcvmymCaK7JvTSyEGzMMAlScDRnHBc2+qQEqqutp9Kg69HvfnuQif/P BdHA== X-Gm-Message-State: APjAAAXPGWLJ+ZtTTWhO3WZzm19GkljuBw17cwxs7m58EhK3YyG7b3g3 lyB/qBMVk8ENUy+q5DeeyX9E1/4CRgwtrMZxkRxdaG5a X-Google-Smtp-Source: APXvYqzG7D16KSw7v9U84uv9XMtV6sI4ZZUB5swH8AxsxfWM2AwGj0BoJx9brPWNq7PIBnHUUKzYVh7NJB3dON9WFp0= X-Received: by 2002:a17:906:1c94:: with SMTP id g20mr12872236ejh.179.1562523349812; Sun, 07 Jul 2019 11:15:49 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Andrija Panic Date: Mon, 8 Jul 2019 00:15:38 +0600 Message-ID: Subject: Re: CPU Overprovisioning To: users Content-Type: multipart/alternative; boundary="000000000000380bd9058d1b51a7" --000000000000380bd9058d1b51a7 Content-Type: text/plain; charset="UTF-8" Assuming you are on KVM...total number of Shares = total number of Mhz (cores * Mhz) / cpuOverprovisioningFactor - cpu shares get changed (after changing cpu overprovisioning) only when you stop and start an existing VM. So i.e. 2 vCPU of 2000 MHz VM, with CPU overprovisioning of 2 will get (2*2000)/2= 2000 CPU shares In that regards, there are no "reservation" specifically, but cpu shares are "engaged" only when there is shortage of CPU cycles on the host, otherwise is not applicable. CPU cap has been implemented for KVM only in 4.12 (if not mistaken), but in general even if CPU cap has been set on the offerings, if changing cpu overprovisioning factor, cpu cap will NOT change on hypervisor side (can confirm for XS and VMware but expect same for KVM in 4.12) - i.e. it always stays the same. Hope that helps, Andrija On Sun, Jul 7, 2019, 18:04 Fariborz Navidan wrote: > Hello, > > How VMs receive CPU shares when cpu over provisioning factor is increased > and CPU cap is disabled for them? > > Thanks > --000000000000380bd9058d1b51a7--