LINUX.ORG.RU
ФорумTalks

retbleed, тормоза и как отключить патч в 5.19

 ,


0

2

Как и ожидалось, патч против retbleed садит производительность, и в софте vmware - до 70%. Чтобы отключить это безобразие в 5.19, можно передать ядру параметр spectre_v2=off.

https://www.bleepingcomputer.com/news/linux/vmware-70-percent-drop-in-linux-esxi-vm-performance-with-retbleed-fixes/

★★★★★

Ответ на: комментарий от alex1101

Слишком много дыр открывает

-- женщина на горизонте!

-- открыть ворота!

-- это трап!

-- закрыть ворота!

-- с сиськаме!!!

-- приоткрыть ворота!!!

Spoofing ★★★★★
()
Ответ на: комментарий от alex1101

В мире куча необновлённых систем. Если бы эти уязвимости реально работали в «поле», а не только в лабораторных условиях, то начался армагедон. Но этого нет.

ox55ff ★★★★★
()
Ответ на: комментарий от ox55ff

Мне и не нужен армагеддон, мне достаточно угрозы стать частью ботнета или распрощаться с паролями от интернет-банков и электронных кошельков.

alex1101
()

то есть лялех по производительности приближается к openbsd.
отлично.

goodwin ★★
()
Ответ на: комментарий от Spoofing

От иного человека подобного анекдота трудно было бы ожидать.

turbognida
()

https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/log/?h=call-...

Here is currently a new patchset in testing which helps a bit with the performance and retbleed for intel:

+config CALL_DEPTH_TRACKING
+  bool "Mitigate RSB underflow with call depth tracking"
+  depends on CPU_SUP_INTEL && HAVE_CALL_THUNKS
+  select HAVE_DYNAMIC_FTRACE_NO_PATCHABLE
+  select CALL_THUNKS
+  default y
+  help
+    Compile the kernel with call depth tracking to mitigate the Intel
+    SKL Return-Speculation-Buffer (RSB) underflow issue. The
+    mitigation is off by default and needs to be enabled on the
+    kernel command line via the retbleed=stuff option. For
+    non-affected systems the overhead of this option is marginal as
+    the call depth tracking is using run-time generated call thunks
+    in a compiler generated padding area and call patching. This
+    increases text size by ~5%. For non affected systems this space
+    is unused. On affected SKL systems this results in a significant
+    performance gain over the IBRS mitigation.
+
+
Jameson ★★★★★
()
Закрыто добавление комментариев для недавно зарегистрированных пользователей (со score < 50)