Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 65E28200B7F for ; Sun, 11 Sep 2016 13:19:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 648BA160AD7; Sun, 11 Sep 2016 11:19:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id ACBBF160AC7 for ; Sun, 11 Sep 2016 13:19:21 +0200 (CEST) Received: (qmail 12047 invoked by uid 500); 11 Sep 2016 11:19:20 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 12030 invoked by uid 500); 11 Sep 2016 11:19:20 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 12026 invoked by uid 99); 11 Sep 2016 11:19:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Sep 2016 11:19:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id ADADD2C1B7B for ; Sun, 11 Sep 2016 11:19:20 +0000 (UTC) Date: Sun, 11 Sep 2016 11:19:20 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-9428) Fix for CLOUDSTACK-9211 - Improve performance MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 11 Sep 2016 11:19:22 -0000 [ https://issues.apache.org/jira/browse/CLOUDSTACK-9428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15481580#comment-15481580 ] ASF subversion and git services commented on CLOUDSTACK-9428: ------------------------------------------------------------- Commit 4297857e22946e9b4f421757188f07ab3f8e1efc in cloudstack's branch refs/heads/master from [~nvazquez] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=4297857 ] CLOUDSTACK-9428: Fix for CLOUDSTACK-9211 - Improve performance > Fix for CLOUDSTACK-9211 - Improve performance > --------------------------------------------- > > Key: CLOUDSTACK-9428 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9428 > Project: CloudStack > Issue Type: Improvement > Security Level: Public(Anyone can view this level - this is the default.) > Components: VMware > Reporter: Nicolas Vazquez > Assignee: Nicolas Vazquez > > h3. Introduction > On [CLOUDSTACK-9211|https://issues.apache.org/jira/browse/CLOUDSTACK-9211] passing vRAM size to support 3D GPU problem was addressed on VMware. It was found out that it could be improved to increase performance by reducing extra API calls, as we'll describe later > h3. Improvement > On WMware, {{VmwareResource}} manages execution of {{StartCommand}}. Before sending power on command to ESXi hypervisor, vm is configured by calling {{reconfigVMTask}} web method on vSphere's client {{VimPortType}} web service. > It was found out that we were using this method 2 times when passing vRAM size, as it implied creating a new vm config spec only editing video card specs and making an extra call to {{reconfigVMTask}}. > We propose reducing the extra web service call by adjusting vm's config spec. This way video card gets properly configured (when passing vRAM size) in the same configure call, increasing performance. > h3. Use case (passing vRAM size) > # Deploy a new VM, let its id be X > # Stop VM > # Execute SQL, where X is vm's id and Z is vRAM size (in kB): {code:sql} > INSERT INTO cloud.user_vm_details (vm_id, name, value) VALUES (X, 'mks.enable3d', 'true'); > INSERT INTO cloud.user_vm_details (vm_id, name, value) VALUES (X, 'mks.use3dRenderer', 'automatic'); > INSERT INTO cloud.user_vm_details (vm_id, name, value) VALUES (X, 'svga.autodetect', 'false'); > INSERT INTO cloud.user_vm_details (vm_id, name, value) VALUES (X, 'svga.vramSize', Z); > {code} > # Start VM -- This message was sent by Atlassian JIRA (v6.3.4#6332)