Re: number of cores

2018-11-19 Thread Yiping Zhang
Eric: If you change any of memory or cpu over provisioning factors, you need to restart (from GUI or API) all running VM instances, otherwise the reported allocation/available numbers would still reflect data before your changes. If you also add/delete instances at the same time, you could

Re: number of cores

2018-11-19 Thread Andrija Panic
small tip - if you change cpu overprovisioning on CLUSTER level, no need to restart management server - it's applied immediately on the fly. On Tue, 20 Nov 2018 at 00:59, Eric Lee Green wrote: > On 11/19/18 3:47 PM, Yiping Zhang wrote: > > Eric: > > > > What's your value for global setting

Re: number of cores

2018-11-19 Thread Eric Lee Green
On 11/19/18 3:47 PM, Yiping Zhang wrote: Eric: What's your value for global setting cpu.overprovisioning.factor? I have this value set to 3.0. Right now, one of my servers with 32 cores @ 2.0 GHz (with HT enabled), I can allocate a total of 79 vCPU and 139 GHz to 26 VM instances. That's

Re: number of cores

2018-11-19 Thread Andrija Panic
FYI, tested again (CPU overprovisioning factor=1 on both Cluster and Global level - so NO overprovisioning) deployed VM unti it failed (could not deploy any more): At moment of failure: cpu used 79% (90% is disabled threshold, but VMs is big one, so would cause 91-92% usage) number of cpu cores:

Re: number of cores

2018-11-19 Thread Yiping Zhang
Eric: What's your value for global setting cpu.overprovisioning.factor? I have this value set to 3.0. Right now, one of my servers with 32 cores @ 2.0 GHz (with HT enabled), I can allocate a total of 79 vCPU and 139 GHz to 26 VM instances. That's over 200% over provisioning! Yiping On

Re: can't enable autoscaling options

2018-11-19 Thread Alvarez Fernando
Hi Dag, Firts of all, thank you very much for your response. The procedure that I carried out is described in the following link: http://docs.cloudstack.apache.org/projects/archived-cloudstack-getting-started/en/4.3/networking/autoscale_without_netscaler.html This instructions are written

Re: number of cores

2018-11-19 Thread Andrija Panic
Eric, I sent you numbers from KVM, Ubuntu 14.04 (qemu/libvrti from Ubuntu 16.04) Can you please reproduce the issue and upload logs - make sure to truncate logs prior to clicking the "FINISH" button in the VM creation wizard.. Upload to pastebin, so we can check it Cheers On Mon, 19 Nov 2018 at

RE: number of cores

2018-11-19 Thread Eric Green
I am with KVM. I am sure it’s the core count preventing me from starting VM’s because when I hack the database to tell it I have 48 cores rather than 24 cores on my hosts, I can then start the VM. The only thing the logs say is that I can’t create a new VM due to lack of resources. Then it

Re: KVM NFS template image

2018-11-19 Thread Andrija Panic
new template, deployed new VM, destroyed VM (with Exunge option)... up to 120sec later... (storage.cleanup.interval=120 sec, global config option) 2018-11-19 19:35:59,525 DEBUGStorage pool garbage collector found 1 templates to clean up in storage pool: Primary-storage - NFS 2018-11-19

Re: number of cores

2018-11-19 Thread Andrija Panic
https://pasteboard.co/HNVkBpv.png All fine, but note that my CPU GHZ is NOT over 80% (I believe 0.8 aka 80% is the cpu warning or disable threshold) As Dag said, please check from mgmt logs why you can't actually spin new VM in your case. When you start to deploy VM, there will be some friendly

Re: number of cores

2018-11-19 Thread Andrija Panic
Let me test this also, on clean 4.11.2 RC5... (KVM) On Mon, 19 Nov 2018 at 18:47, Dag Sonstebo wrote: > Andrija - not sure about your 3.4GHz cores - must a be a simplified lookup > somewhere making assumptions. > > Eric - have just tried your scenario in my 4.11.2RC5 lab (admittedly with >

Re: KVM NFS template image

2018-11-19 Thread Andrija Panic
True (at least I'm sure for SolidFire) - but I believe in general also (will test this now...) On Mon, 19 Nov 2018 at 18:51, Dag Sonstebo wrote: > Developers please correct me... but as far as I remember there is a > garbage collector which does remove the templates from primary storage once >

Re: can't enable autoscaling options

2018-11-19 Thread Dag Sonstebo
Fernando - which process did you follow? I know this worked at some point in the past, but not played with it for years. Regards, Dag Sonstebo Cloud Architect ShapeBlue On 14/11/2018, 14:29, "Alvarez Fernando" wrote: Hi there! Some time ago I am trying to enable the

Re: KVM NFS template image

2018-11-19 Thread Dag Sonstebo
Developers please correct me... but as far as I remember there is a garbage collector which does remove the templates from primary storage once they are not needed (i.e. have no more "child VMs"). This is controlled by the global setting "storage.template.cleanup.enabled". Regards, Dag

Re: number of cores

2018-11-19 Thread Dag Sonstebo
Andrija - not sure about your 3.4GHz cores - must a be a simplified lookup somewhere making assumptions. Eric - have just tried your scenario in my 4.11.2RC5 lab (admittedly with VMware, not KVM) - and I can see my core allocation keeps going up, e.g. at the moment it sits at 166% - 10 out of

Re: number of cores

2018-11-19 Thread Eric Lee Green
On 11/19/18 03:56, Andrija Panic wrote: Hi Ugo, Why would you want to do this, just curious ? I believe it's not possible, but anyway (at least with KVM, probably same for other hypervisors) it doesn't even makes sense/use, since when deploying a VM, ACS query host free/unused number of MHz

Re: number of cores

2018-11-19 Thread Andrija Panic
Thx Dag for confirmation. Speaking about CPU cores - I do have one "problem" which not sure is possible to solve in meaningful way 2 x 8 core Intel Xeon E5 2.6GHz nominally (with HT enabled), with burst to 3.4 GHz ( but ! only a few cores can burst to that 3.4 - not all at the same time !) -

Re: number of cores

2018-11-19 Thread Dag Sonstebo
Ultimately there will always be a 1-to-1 relationship between vCPU cores and physical cores - you can't make a 4vCPU VM run on an "overprovisioned 2 physical core" hypervisor (unless you consider Intel HT to be exactly this). You can only overprovision time slices of your total clock cycles. If

Re: number of cores

2018-11-19 Thread Andrija Panic
Unless someone gives you better answer, I guess it's for fun - to have more detailed numbers in dashboard (may be it's related to other hypervisor types, just assuming... or not...) Cheers On Mon, 19 Nov 2018 at 14:11, Ugo Vasi wrote: > Hi Andrija, > not having noticed this new voice before I

Re: number of cores

2018-11-19 Thread Ugo Vasi
Hi Andrija, not having noticed this new voice before I wondered if it is limiting the fact of reaching or exceeding the number of physical cores. What is the purpose of this dashboard pane? Il 19/11/18 12:56, Andrija Panic ha scritto: Hi Ugo, Why would you want to do this, just curious ?

Re: number of cores

2018-11-19 Thread Andrija Panic
Hi Ugo, Why would you want to do this, just curious ? I believe it's not possible, but anyway (at least with KVM, probably same for other hypervisors) it doesn't even makes sense/use, since when deploying a VM, ACS query host free/unused number of MHz (GHz), so it's not even relevant for ACS -

number of cores

2018-11-19 Thread Ugo Vasi
Hi all, in the dashboard of an ACS installation vesion 4.11.1.0 (Ubuntu 16.04 with KVM hypervisor), the new entry "# of CPU Cores" appears. Is it possible to over-provision like for MHz or storage? Thanks -- *Ugo Vasi* / System Administrator ugo.v...@procne.it