How to allocate a SIZE of physical memory from a ESXi driver?
How to request a fixed physical base address for the allocation in ESXi?
Hello and welcome to the communities.
As far as I know, neither of these is possible.
Because of the virtualization layer, you wont get the memory address, but thinking about it - whta if you reserve RAM? I think it will still go via virt layer.
Check the block diagram on how vmware works.
Hi All,
If you give more inputs on this it will be helpful.
Thanks in advance,
Veera
Can you clarify what you mean?
veeraindian wrote:
How to allocate a SIZE of physical memory from a ESXi driver?
If you build a VM with a 6GB allocation and 100% reservation, it will have 6GB of physical memory.
I doubt very much you will be able to receive a fixed physical base address. As it would go through the virtualisation layer, the guest would never see that address, so I don't see what you could gain by this any way.
Jose,
I am trying to create memory hole in RAM vs ESXi. (in linux we can able to create memory hole (memory reserve) at boot time or using grub.conf (mem=6G, memmap=2G$2G)).
For Example:-
RAM size is 6 GB, If i will install ESXi5.0 means, the 100% (6GB) should be visible to vmkernel. Right?
Here i want to create 2G memory hole in RAM. so that vmkernel will use other 4G and reserved 2G (memory hole) not seen from the vmkernel.
ie, Total RAM=6GB, Here (1 to 2)G && (5 to 6)G used by vmkernel and (3 to 4) is a memory hole
1. Createing Memory hole:
Is linux (grub.conf or grub.cfg) equavalent file available in ESXI? or
is it possilbe to pass the arguments (mem=, memmap=) at boot time like linux? if so how in ESXi?
2. If successfully memroy hole created, then
from ESXi "How to request a fixed physical base address for the allocation in ESXi?"
That is, I want to allocate a 2G memory (which is 2G memroy hole created by us in the first stop) from my driver. (How to allocate a SIZE of physical memory from a ESXi driver?)
Thanks,
Veera
See the URL below (attachment included);