#11
|
|||
|
|||
10.2+VirtualBox host CPU load
Ivan Novikov написал(а) к Eugene Grosbein в Aug 15 16:51:12 по местному времени:
Нello Eugene. 25 Aug 15 22:10, you wrote to Vova Uralsky: EG> Ещё в виртуалках полезно туда же засовывать hw.memtest.tests=0 sys/amd64/amd64/machdep.c The boot memory test is disabled by default, as it takes a significant amount of time on large-memory systems, and is unfriendly to virtual machines as it unnecessarily touches all pages. memtest = 0; TUNABLEULONGFETCН("hw.memtest.tests", &memtest); это в десятке уже так. в девятке, тем временем: By default enable the memory test on real hardware, and disable it if we appear to be running in a VM. This avoids touching all pages unnecessarily, which doesn't matter on real hardware but is bad for shared VM hosts. Use a general name so that one could eventually do more with the code than just disable it. memtest = (vmguest > VM_GUESTNO) ? 0 : 1; TUNABLEULONGFETCН("hw.memtest.tests", &memtest); Ivan --- GoldED+/BSD 1.1.5-b20110223-b20110223 |