Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0515810EC9 for ; Fri, 7 Feb 2014 01:04:29 +0000 (UTC) Received: (qmail 67764 invoked by uid 500); 7 Feb 2014 01:04:26 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 67702 invoked by uid 500); 7 Feb 2014 01:04:26 -0000 Mailing-List: contact dev-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 dev@cloudstack.apache.org Received: (qmail 67694 invoked by uid 99); 7 Feb 2014 01:04:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Feb 2014 01:04:26 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [209.85.128.169] (HELO mail-ve0-f169.google.com) (209.85.128.169) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Feb 2014 01:04:20 +0000 Received: by mail-ve0-f169.google.com with SMTP id oy12so2237302veb.0 for ; Thu, 06 Feb 2014 17:03:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=7wEYOIFZFGM9OaM6zdAYHwCd9CUXCkYi2KeJ6bB/fJc=; b=gNGqNlXymUhpZLnr+NFfbKVKVr2tcbC0fxEkXf6PX1vSAL/Ktpdv04wRzSYEQYF4Ke r2cQvmZC/8/0YvkI+Due+r7utwh19TmYpKHoVI+Chlp8Gn6Ma5L142LzypVMae000RKu Hcak4zaRZ13MGKS1wUZzw0EHD3TDzX+kkXs6LqXtSR1Auo/vHuKTy9Jter7YYSg2xFuw Ip7XICaF1JfJkMiR41klPcbVdrH13+taBUvf2nipAye7WxR9GKJ2LjEF7X4kRO86lDhJ b3cbvNeGPinEyRRmKLMVfmDwdgDaWY0MwYzQjea424fZ/dZq/HvbEdJFSlc2iI7gmMqe BKow== X-Gm-Message-State: ALoCoQkJRbMnW2pVFbCVkK8x2W3lFe7tJRNVemk4se4ocJnkheu4DiZKgqx7CTXkjPfSpMdRGHeF MIME-Version: 1.0 X-Received: by 10.52.109.193 with SMTP id hu1mr6773399vdb.11.1391735038995; Thu, 06 Feb 2014 17:03:58 -0800 (PST) Received: by 10.58.188.44 with HTTP; Thu, 6 Feb 2014 17:03:58 -0800 (PST) X-Originating-IP: [207.47.50.254] Date: Thu, 6 Feb 2014 17:03:58 -0800 Message-ID: Subject: [PROPOSAL] Virtual Router aggregated execution From: Sheng Yang To: "" Content-Type: multipart/alternative; boundary=bcaec548a15b9f080704f1c69043 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec548a15b9f080704f1c69043 Content-Type: text/plain; charset=ISO-8859-1 Hi Devs, Here I'd like to introduce this improvement of VR. https://issues.apache.org/jira/browse/CLOUDSTACK-6047 https://cwiki.apache.org/confluence/display/CLOUDSTACK/Virtual+Router+aggregated+command+execution In short, we would speed up VR's rebooting and re-creating, by aggregated execution the CloudStack configuration commands when booting up. Hopefully we can get it done in O(1) rather than O(n)(which is current state). And to prepare for this work, I've get a long expected code refactor done. Now one VirtualRoutingResources would take over all the VR execution commands(rather than every hypervisor's resource). From now on, you would only need to modify one place in order to update VR commands. I've put some details of VR aggregated execution in the FS. Comments are welcome! --Sheng --bcaec548a15b9f080704f1c69043--