[openstack-dev] [nova] How are vcpu's, ram mapped with an instance
Hi Folks, When we boot an instance and assign a flavor to it, how are the vcpu's, ram given to the instance. Actually the question is this while creating an instance we must be assigning it some Vcpu's according to the flavor we gave to the instance. So where are these Vcpu's placed and how are they mapped with an instance. Suppose I want to add some more Vcpu's to my VM at runtime without changing my flavor to a bigger one, can I do it ? -- Thanks and Regards Abhishek Talwar Employee ID : 770072 Assistant System Engineer Tata Consultancy Services,Gurgaon India Contact Details : +918377882003 =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [nova] How are vcpu's, ram mapped with an instance
Hi Abhishek, You can change it directly using KVM/Qemu command line. However, nova probably won't be notified and the information on the database will be outdated. Em ter, 7 de abr de 2015 às 06:04, Abhishek Talwar/HYD/TCS abhishek.tal...@tcs.com escreveu: Hi Folks, When we boot an instance and assign a flavor to it, how are the vcpu's, ram given to the instance. Actually the question is this while creating an instance we must be assigning it some Vcpu's according to the flavor we gave to the instance. So where are these Vcpu's placed and how are they mapped with an instance. Suppose I want to add some more Vcpu's to my VM at runtime without changing my flavor to a bigger one, can I do it ? -- Thanks and Regards Abhishek Talwar Employee ID : 770072 Assistant System Engineer Tata Consultancy Services,Gurgaon India Contact Details : +918377882003 =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [nova] How are vcpu's, ram mapped with an instance
- Original Message - From: Abhishek Talwar/HYD/TCS abhishek.tal...@tcs.com To: openstack-dev@lists.openstack.org Hi Folks, When we boot an instance and assign a flavor to it, how are the vcpu's, ram given to the instance. Actually the question is this while creating an instance we must be assigning it some Vcpu's according to the flavor we gave to the instance. So where are these Vcpu's placed and how are they mapped with an instance. By default we do not assign the instances vCPUs to specific pCPU cores - instead just passing a number of vCPUs to give to the instance to qemu. As of Kilo CPU pinning functionality is available but it is somewhat indirect (see http://specs.openstack.org/openstack/nova-specs/specs/kilo/implemented/virt-driver-cpu-pinning.html ). Suppose I want to add some more Vcpu's to my VM at runtime without changing my flavor to a bigger one, can I do it ? What you are effectively asking for here is hot resize. Most modern hypervisors including KVM have some concept of being able to do this but it's not currently exposed through Nova, though it has been proposed in the past. This appears to be the most recent proposal of this ilk: https://blueprints.launchpad.net/nova/+spec/instance-live-resize I would recommend reviewing and commenting on the latest specification if this is of interest to you: https://review.openstack.org/#/c/141219/ Thanks, Steve __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev