VMware Cloud Community
veeraindian
Contributor
Contributor

How to allocate a SIZE of physical memory from a ESXi driver?

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?

0 Kudos
6 Replies
vmroyale
Immortal
Immortal

Hello and welcome to the communities.

As far as I know, neither of these is possible.

Brian Atkinson | vExpert | VMTN Moderator | Author of "VCP5-DCV VMware Certified Professional-Data Center Virtualization on vSphere 5.5 Study Guide: VCP-550" | @vmroyale | http://vmroyale.com
0 Kudos
ranjitcool
Hot Shot
Hot Shot

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.

Please award points if you find my answers helpful Thanks RJ Visit www.rjapproves.com
0 Kudos
veeraindian
Contributor
Contributor

Hi All,

       If you give more inputs on this it will be helpful.

Thanks in advance,

Veera

0 Kudos
Josh26
Virtuoso
Virtuoso

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.

0 Kudos
veeraindian
Contributor
Contributor

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

0 Kudos
jrmunday
Commander
Commander

See the URL below (attachment included);

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=201764...

vExpert 2014 - 2022 | VCP6-DCV | http://www.jonmunday.net | @JonMunday77
0 Kudos