How to enable Ext. features in VirtualBox?
Posted: Sun Nov 03, 2024 12:39 am
e.g. 1GB page. Since I saw these labels in the log file, there must be some means to activate this to some extent.
The Place to Start for Operating System Developers
http://f.osdev.org/
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
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.
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.
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.
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
So "largepage" is not 1gb page.The plan already exists, but the functionality is not yet complete, so there's aThis 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)
This may be the key. Virtual box + Windows + 1gb paging may not be supported.It works correctly on my Linux machine within 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.