How to enable Ext. features in VirtualBox?
-
- Member
- Posts: 34
- Joined: Sat May 04, 2024 7:48 am
- Libera.chat IRC: wishedtobe
How to enable Ext. features in VirtualBox?
e.g. 1GB page. Since I saw these labels in the log file, there must be some means to activate this to some extent.
-
- Member
- Posts: 5755
- Joined: Mon Mar 25, 2013 7:01 pm
Re: How to enable Ext. features in VirtualBox?
Is your host Windows? If so, try disabling Hyper-V.
-
- Member
- Posts: 34
- Joined: Sat May 04, 2024 7:48 am
- Libera.chat IRC: wishedtobe
Re: How to enable Ext. features in VirtualBox?
It doesn't work. As far as I can see, once this line appears in the log, the large page can be enabled.
Code: Select all
HM: HMR3Init: Attempting fall back to NEM: VT-x is not available
-
- Member
- Posts: 34
- Joined: Sat May 04, 2024 7:48 am
- Libera.chat IRC: wishedtobe
Re: How to enable Ext. features in VirtualBox?
https://docs.oracle.com/en/virtualizati ... ifyvm.html
I wonder if this is helpful.
Code: Select all
--largepages on|off: If hardware virtualization and nested paging are enabled, for Intel VT-x only, an additional performance improvement of up to 5% can be obtained by enabling this setting. This causes the hypervisor to use large pages to reduce TLB use and overhead.
-
- Member
- Posts: 5755
- Joined: Mon Mar 25, 2013 7:01 pm
Re: How to enable Ext. features in VirtualBox?
You mean can't be enabled, right?wishedtobe wrote: ↑Mon Nov 25, 2024 12:57 amAs far as I can see, once this line appears in the log, the large page can be enabled.
VirtualBox can't run 64-bit guests without hardware virtualization. If VT-x isn't available, VirtualBox is using Hyper-V.
-
- Member
- Posts: 34
- Joined: Sat May 04, 2024 7:48 am
- Libera.chat IRC: wishedtobe
Re: How to enable Ext. features in VirtualBox?
I won't focus on the logs. Only by enabling it(1gb) myself, by software operation, can I know if he actually enabled it or not.
-
- Member
- Posts: 34
- Joined: Sat May 04, 2024 7:48 am
- Libera.chat IRC: wishedtobe
Re: How to enable Ext. features in VirtualBox?
It's of no avail. Whether I have disabled Hv or not, it gives me a VERR_PAGE_TABLE_NOT_PRESENT if PSE flag set in PDPTE.
-
- Member
- Posts: 5755
- Joined: Mon Mar 25, 2013 7:01 pm
Re: How to enable Ext. features in VirtualBox?
Is Hyper-V actually disabled? According to some posts on the VirtualBox forums, Hyper-V may still be enabled even after you follow the normal procedure for disabling it.
-
- Member
- Posts: 34
- Joined: Sat May 04, 2024 7:48 am
- Libera.chat IRC: wishedtobe
Re: How to enable Ext. features in VirtualBox?
Unfortunately, this function is enabled by default, and it's apparently useless.wishedtobe wrote: ↑Mon Nov 25, 2024 2:26 am https://docs.oracle.com/en/virtualizati ... ifyvm.htmlI wonder if this is helpful.Code: Select all
--largepages on|off: If hardware virtualization and nested paging are enabled, for Intel VT-x only, an additional performance improvement of up to 5% can be obtained by enabling this setting. This causes the hypervisor to use large pages to reduce TLB use and overhead.
Code: Select all
Vboxmanage modifyvm $vm --cpuidset
-
- Member
- Posts: 34
- Joined: Sat May 04, 2024 7:48 am
- Libera.chat IRC: wishedtobe
Re: How to enable Ext. features in VirtualBox?
https://forums.virtualbox.org/viewtopic.php?p=515565
The plan already exists, but the functionality is not yet complete, so there's a
So "largepage" is not 1gb page.This log message indicates that the host OS already refuses to provide a 2 MB "large" page and forces VirtualBox to allocate smaller 4 kB pages, which is somewhat unusual that early.
Code: Select all
Page1GB - 1 GB large page = 0 (1)
-
- Member
- Posts: 34
- Joined: Sat May 04, 2024 7:48 am
- Libera.chat IRC: wishedtobe
Re: How to enable Ext. features in VirtualBox?
This may be the key. Virtual box + Windows + 1gb paging may not be supported.It works correctly on my Linux machine within VirtualBox.
-
- Member
- Posts: 34
- Joined: Sat May 04, 2024 7:48 am
- Libera.chat IRC: wishedtobe
Re: How to enable Ext. features in VirtualBox?
The same error also occurs on Linux. Perhaps he/she is using an old version of VirtualBox.wishedtobe wrote: ↑Sat Dec 07, 2024 8:30 pmThis may be the key. Virtual box + Windows + 1gb paging may not be supported.It works correctly on my Linux machine within VirtualBox.