Portál AbcLinuxu, 30. dubna 2025 21:58
# cat /sys/kernel/debug/x86/ibrs_enabled 1 $ sqlplus SQL*Plus: Release 12.1.0.2.0 Production on Mon Jun 18 11:12:28 2018 Copyright (c) 1982, 2014, Oracle. All rights reserved. Connected to: Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production With the Partitioning, Automatic Storage Management, OLAP, Advanced Analytics and Real Application Testing options SQL> set timing on SQL> @select.sql ... 13 rows selected Elapsed: 00:00:XX.XX SQL> Disconnected from Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production With the Partitioning, Automatic Storage Management, OLAP, Advanced Analytics and Real Application Testing options # echo 0 > /sys/kernel/debug/x86/ibrs_enabled $ sqlplus SQL*Plus: Release 12.1.0.2.0 Production on Mon Jun 18 11:12:28 2018 Copyright (c) 1982, 2014, Oracle. All rights reserved. Connected to: Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production With the Partitioning, Automatic Storage Management, OLAP, Advanced Analytics and Real Application Testing options SQL> set timing on SQL> @select.sql ... 13 rows selected Elapsed: 00:00:09.39-- vyjasnění --
Tiskni
Sdílej:
For Intel processors prior to Skylake, Retpolines are used instead of the ibrs feature for mitigation against Spectre variant 2.a:
pti=1 ibrs=0 retp=1 ibpb=1-> fix variant#1 #2 #3 for pre-Skylake cpus pti=1 ibrs=1 retp=0 ibpb=1-> fix variant#1 #2 #3 for Skylake cpus
echo 2 > /sys/kernel/debug/ibrs_enabled will turn on IBRS in both userspace and kernelTeď nemůžu najít zda se do kernelu dostala (a nonvanilla distribuce to můžou mít jiné). Ale pokud by to tak platilo, tak nastavení pouze na 1 nebude mít na databázi tak velký vliv, jako by mělo i nastavení na userspace.
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.