forum.wfido.ru  

Вернуться   forum.wfido.ru > Прочие эхи > RU.UNIX.BSD

Ответ
 
Опции темы Опции просмотра
  #11  
Старый 17.08.2016, 13:58
Ivan Novikov
Guest
 
Сообщений: n/a
По умолчанию 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
Ответить с цитированием
Ответ


Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.

Быстрый переход


Текущее время: 21:18. Часовой пояс GMT +4.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc. Перевод: zCarot