Comment 5 for bug 1811886

Revision history for this message
Artom Lifshitz (notartom) wrote :

> # Test C, pinned, implicit small pages, oversubscribed
>
> This should fail because we don't allow oversubscription with CPU pinning.
>
> $ openstack flavor create --vcpu 2 --disk 0 --ram 7168 test.pinned
> $ openstack flavor set test.pinned --property hw:cpu_policy=dedicated
>
> $ openstack server create --flavor test.pinned --image cirros-0.3.6-x86_64-disk --wait test1
> $ openstack server create --flavor test.pinned --image cirros-0.3.6-x86_64-disk --wait test2
>
> Expect: FAILURE
> Actual: SUCCESS

I have trouble grokking why we expect this to fail. We can't oversubscribe CPUs with a dedicated policy, but why can't memory not be oversubcribed, at least with the implicit small page size?