🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.privacy.anon-server
289 messages
289 total messages Page 1 of 6 Started by Designed By India H1B Engineers Thu, 04 Jan 2018 12:56
Page 1 of 6 • 289 total messages
Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296781
Author: Designed By India H1B Engineers
Date: Thu, 04 Jan 2018 12:56
252 lines
12375 bytes
Performance hits loom, other OSes need fixes

Updated A fundamental design flaw in Intel's processor chips has 
forced a significant redesign of the Linux and Windows kernels 
to defang the chip-level security bug.

Programmers are scrambling to overhaul the open-source Linux 
kernel's virtual memory system. Meanwhile, Microsoft is expected 
to publicly introduce the necessary changes to its Windows 
operating system in an upcoming Patch Tuesday: these changes 
were seeded to beta testers running fast-ring Windows Insider 
builds in November and December.

Crucially, these updates to both Linux and Windows will incur a 
performance hit on Intel products. The effects are still being 
benchmarked, however we're looking at a ballpark figure of five 
to 30 per cent slow down, depending on the task and the 
processor model. More recent Intel chips have features – such as 
PCID – to reduce the performance hit. Your mileage may vary.


The Register
?
@TheRegister
PostgreSQL SELECT 1 with the KPTI workaround for Intel CPU 
vulnerability https://www.postgresql.org/message-
id/20180102222354.qikjmf7dvnjgbkxe@alap3.anarazel.de …

Best case: 17% slowdown
Worst case: 23%

3:58 PM - Jan 2, 2018
 12 12 Replies   331 331 Retweets   212 212 likes
Twitter Ads info and privacy
Similar operating systems, such as Apple's 64-bit macOS, will 
also need to be updated – the flaw is in the Intel x86-64 
hardware, and it appears a microcode update can't address it. It 
has to be fixed in software at the OS level, or go buy a new 
processor without the design blunder.

Details of the vulnerability within Intel's silicon are under 
wraps: an embargo on the specifics is due to lift early this 
month, perhaps in time for Microsoft's Patch Tuesday next week. 
Indeed, patches for the Linux kernel are available for all to 
see but comments in the source code have been redacted to 
obfuscate the issue.

However, some details of the flaw have surfaced, and so this is 
what we know.

Impact
It is understood the bug is present in modern Intel processors 
produced in the past decade. It allows normal user programs – 
from database applications to JavaScript in web browsers – to 
discern to some extent the layout or contents of protected 
kernel memory areas.

The fix is to separate the kernel's memory completely from user 
processes using what's called Kernel Page Table Isolation, or 
KPTI. At one point, Forcefully Unmap Complete Kernel With 
Interrupt Trampolines, aka FUCKWIT, was mulled by the Linux 
kernel team, giving you an idea of how annoying this has been 
for the developers.

Whenever a running program needs to do anything useful – such as 
write to a file or open a network connection – it has to 
temporarily hand control of the processor to the kernel to carry 
out the job. To make the transition from user mode to kernel 
mode and back to user mode as fast and efficient as possible, 
the kernel is present in all processes' virtual memory address 
spaces, although it is invisible to these programs. When the 
kernel is needed, the program makes a system call, the processor 
switches to kernel mode and enters the kernel. When it is done, 
the CPU is told to switch back to user mode, and reenter the 
process. While in user mode, the kernel's code and data remains 
out of sight but present in the process's page tables.

Think of the kernel as God sitting on a cloud, looking down on 
Earth. It's there, and no normal being can see it, yet they can 
pray to it.

These KPTI patches move the kernel into a completely separate 
address space, so it's not just invisible to a running process, 
it's not even there at all. Really, this shouldn't be needed, 
but clearly there is a flaw in Intel's silicon that allows 
kernel access protections to be bypassed in some way.

The downside to this separation is that it is relatively 
expensive, time wise, to keep switching between two separate 
address spaces for every system call and for every interrupt 
from the hardware. These context switches do not happen 
instantly, and they force the processor to dump cached data and 
reload information from memory. This increases the kernel's 
overhead, and slows down the computer.

Your Intel-powered machine will run slower as a result.

How can this security hole be abused?
At best, the vulnerability could be leveraged by malware and 
hackers to more easily exploit other security bugs.

At worst, the hole could be abused by programs and logged-in 
users to read the contents of the kernel's memory. Suffice to 
say, this is not great. The kernel's memory space is hidden from 
user processes and programs because it may contain all sorts of 
secrets, such as passwords, login keys, files cached from disk, 
and so on. Imagine a piece of JavaScript running in a browser, 
or malicious software running on a shared public cloud server, 
able to sniff sensitive kernel-protected data.

Specifically, in terms of the best-case scenario, it is possible 
the bug could be abused to defeat KASLR: kernel address space 
layout randomization. This is a defense mechanism used by 
various operating systems to place components of the kernel in 
randomized locations in virtual memory. This mechanism can 
thwart attempts to abuse other bugs within the kernel: 
typically, exploit code – particularly return-oriented 
programming exploits – relies on reusing computer instructions 
in known locations in memory.

If you randomize the placing of the kernel's code in memory, 
exploits can't find the internal gadgets they need to fully 
compromise a system. The processor flaw could be potentially 
exploited to figure out where in memory the kernel has 
positioned its data and code, hence the flurry of software 
patching.

However, it may be that the vulnerability in Intel's chips is 
worse than the above mitigation bypass. In an email to the Linux 
kernel mailing list over Christmas, AMD said it is not affected. 
The wording of that message, though, rather gives the game away 
as to what the underlying cockup is:

AMD processors are not subject to the types of attacks that the 
kernel page table isolation feature protects against. The AMD 
microarchitecture does not allow memory references, including 
speculative references, that access higher privileged data when 
running in a lesser privileged mode when that access would 
result in a page fault.

A key word here is "speculative." Modern processors, like 
Intel's, perform speculative execution. In order to keep their 
internal pipelines primed with instructions to obey, the CPU 
cores try their best to guess what code is going to be run next, 
fetch it, and execute it.

It appears, from what AMD software engineer Tom Lendacky was 
suggesting above, that Intel's CPUs speculatively execute code 
potentially without performing security checks. It seems it may 
be possible to craft software in such a way that the processor 
starts executing an instruction that would normally be blocked – 
such as reading kernel memory from user mode – and completes 
that instruction before the privilege level check occurs.

That would allow ring-3-level user code to read ring-0-level 
kernel data. And that is not good.

The specifics of the vulnerability have yet to be confirmed, but 
consider this: the changes to Linux and Windows are significant 
and are being pushed out at high speed. That suggests it's more 
serious than a KASLR bypass.

Also, the updates to separate kernel and user address spaces on 
Linux are based on a set of fixes dubbed the KAISER patches, 
which were created by eggheads at Graz University of Technology 
in Austria. These boffins discovered [PDF] it was possible to 
defeat KASLR by extracting memory layout information from the 
kernel in a side-channel attack on the CPU's virtual memory 
system. The team proposed splitting kernel and user spaces to 
prevent this information leak, and their research sparked this 
round of patching.

Their work was reviewed by Anders Fogh, who wrote this 
interesting blog post in July. That article described his 
attempts to read kernel memory from user mode by abusing 
speculative execution. Although Fogh was unable to come up with 
any working proof-of-concept code, he noted:

My results demonstrate that speculative execution does indeed 
continue despite violations of the isolation between kernel mode 
and user mode.

It appears the KAISER work is related to Fogh's research, and as 
well as developing a practical means to break KASLR by abusing 
virtual memory layouts, the team may have somehow proved Fogh 
right – that speculative execution on Intel x86 chips can be 
exploited to access kernel memory.

Shared systems
The bug will impact big-name cloud computing environments 
including Amazon EC2, Microsoft Azure, and Google Compute 
Engine, said a software developer blogging as Python Sweetness 
in this heavily shared and tweeted article on Monday:

There is presently an embargoed security bug impacting 
apparently all contemporary [Intel] CPU architectures that 
implement virtual memory, requiring hardware changes to fully 
resolve. Urgent development of a software mitigation is being 
done in the open and recently landed in the Linux kernel, and a 
similar mitigation began appearing in NT kernels in November. In 
the worst case the software fix causes huge slowdowns in typical 
workloads.

There are hints the attack impacts common virtualisation 
environments including Amazon EC2 and Google Compute Engine...

Microsoft's Azure cloud – which runs a lot of Linux as well as 
Windows – will undergo maintenance and reboots on January 10, 
presumably to roll out the above fixes.

Amazon Web Services also warned customers via email to expect a 
major security update to land on Friday this week, without going 
into details.

There were rumors of a severe hypervisor bug – possibly in Xen – 
doing the rounds at the end of 2017. It may be that this 
hardware flaw is that rumored bug: that hypervisors can be 
attacked via this kernel memory access cockup, and thus need to 
be patched, forcing a mass restart of guest virtual machines.

A spokesperson for Intel was not available for comment. ®

Updated to add
The Intel processor flaw is real. A PhD student at the systems 
and network security group at Vrije Universiteit Amsterdam has 
developed a proof-of-concept program that exploits the Chipzilla 
flaw to read kernel memory from user mode:

View image on Twitter
View image on Twitter

brainsmoke
@brainsmoke
Bingo! #kpti #intelbug

6:28 AM - Jan 3, 2018
 58 58 Replies   1,687 1,687 Retweets   2,362 2,362 likes
Twitter Ads info and privacy
The Register has also seen proof-of-concept exploit code that 
leaks a tiny amount of kernel memory to user processes.

Finally, macOS has been patched to counter the chip design 
blunder since version 10.13.2, according to operating system 
kernel expert Alex Ionescu. And it appears 64-bit ARM Linux 
kernels will also get a set of KAISER patches, completely 
splitting the kernel and user spaces, to block attempts to 
defeat KASLR. We'll be following up this week.

https://www.theregister.co.uk/2018/01/02/intel_cpu_design_flaw/

--
Windows 2000 Pro RC2 on Alpha.
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296782
Author: chrisv
Date: Thu, 04 Jan 2018 15:28
17 lines
1908 bytes
Designed By India H1B Engineers wrote:

>Crucially, these updates to both Linux and Windows will incur a 
>performance hit on Intel products. The effects are still being 
>benchmarked, however we're looking at a ballpark figure of five 
>to 30 per cent slow down, depending on the task and the 
>processor model.

This is ugly.  Think of the large computing centers, for example
Google's data centers.  Suddenly, they will need significantly more
CPU time, and thus electricity (and thus carbon), to get the job done?

-- 
"Half say its easier than Windows and the other (more truthful) half
maintain that they are GLAD Linux is buggy and error prone because it
puts off the great unwashed that would otherwise pollute the Linux
gene pool."  -  "True Linux advocate" Hadron Quark
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296780
Author: Mr. Man-wai Chang
Date: Thu, 04 Jan 2018 17:31
15 lines
2200 bytes
On 4/1/2018 23:28, chrisv wrote:
>
> This is ugly.  Think of the large computing centers, for example
> Google's data centers.  Suddenly, they will need significantly more
> CPU time, and thus electricity (and thus carbon), to get the job done?

That only made all electricity companies happy... ;)

-- 
   @~@   Remain silent! Drink, Blink, Stretch! Live long and prosper!!
  / v \  Simplicity is Beauty!
/( _ )\ May the Force and farces be with you!
   ^ ^   (x86_64 Ubuntu 9.10)  Linux 2.6.39.3
不借貸! 不詐騙! 不援交! 不打交! 不打劫! 不自殺! 請考慮綜援 (CSSA):
http://www.swd.gov.hk/tc/index/site_pubsvc/page_socsecu/sub_addressesa
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296783
Author: Roger Blake
Date: Thu, 04 Jan 2018 17:44
22 lines
2513 bytes
On 2018-01-04, chrisv <chrisv@nospam.invalid> wrote:
> This is ugly.  Think of the large computing centers, for example
> Google's data centers.  Suddenly, they will need significantly more
> CPU time, and thus electricity (and thus carbon), to get the job done?

Carbon is not a pollutant, except in the "minds" of left-wing loons,
so that is not of any importance. (I certainly refuse to lower my carbon
output. Environmentalist scum who desire to lower theirs are welcome to
stop breathing. However, I digress.)

The loss of performance could significantly increase the cost of
operations for large computing centers. Look for the cost of online
services to rise.

-- 
-----------------------------------------------------------------------------
  Roger Blake (Posts from Google Groups killfiled due to excess spam.)

  NSA sedition and treason        -- http://www.DeathToNSAthugs.com
  Don't talk to cops!             -- http://www.DontTalkToCops.com
  Badges don't grant extra rights -- http://www.CopBlock.org
-----------------------------------------------------------------------------
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296784
Author: Doomsdrzej
Date: Thu, 04 Jan 2018 17:54
18 lines
2014 bytes
On Thu, 4 Jan 2018 17:44:04 -0000 (UTC), Roger Blake
<rogblake@iname.invalid> wrote:

>On 2018-01-04, chrisv <chrisv@nospam.invalid> wrote:
>> This is ugly.  Think of the large computing centers, for example
>> Google's data centers.  Suddenly, they will need significantly more
>> CPU time, and thus electricity (and thus carbon), to get the job done?
>
>Carbon is not a pollutant, except in the "minds" of left-wing loons,
>so that is not of any importance. (I certainly refuse to lower my carbon
>output. Environmentalist scum who desire to lower theirs are welcome to
>stop breathing. However, I digress.)
>
>The loss of performance could significantly increase the cost of
>operations for large computing centers. Look for the cost of online
>services to rise.

Might I say that was an awesome post, sir.
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296785
Author: Jan-Erik Soderholm
Date: Thu, 04 Jan 2018 17:56
27 lines
2796 bytes
Den 2018-01-04 kl. 18:44, skrev Roger Blake:
> On 2018-01-04, chrisv <chrisv@nospam.invalid> wrote:
>> This is ugly.  Think of the large computing centers, for example
>> Google's data centers.  Suddenly, they will need significantly more
>> CPU time, and thus electricity (and thus carbon), to get the job done?
> 
> Carbon is not a pollutant, except in the "minds" of left-wing loons,
> so that is not of any importance. (I certainly refuse to lower my carbon
> output. Environmentalist scum who desire to lower theirs are welcome to
> stop breathing. However, I digress.)
> 

The carbon you breath comes from the food you eat. No problem.

But much of the carbon that we let out comes from carbon from
millions years ago (fosile fuels). *That* is a major problem.

Burning bilological fuels (that grow the last 100 years) is not
any problem either.

You other statements are purelly childish and uneducated.


> The loss of performance could significantly increase the cost of
> operations for large computing centers. Look for the cost of online
> services to rise.
> 
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296786
Author: Electric Comet
Date: Thu, 04 Jan 2018 18:00
6 lines
1507 bytes
On Thu,4 Jan 2018 13:56:45 <h1b@intel.com> wrote:

> has to be fixed in software at the OS level, or go buy a new 
> processor without the design blunder.

not a blunder it is deliberate
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296787
Author: chrisv
Date: Thu, 04 Jan 2018 18:29
25 lines
2157 bytes
Jan-Erik Soderholm wrote:

> Den 2018-01-04 kl. 18:44, skrev Roger Blake:
>> 
>> Carbon is not a pollutant, except in the "minds" of left-wing loons,
>> so that is not of any importance. (I certainly refuse to lower my carbon
>> output. Environmentalist scum who desire to lower theirs are welcome to
>> stop breathing. However, I digress.)
>
>The carbon you breath comes from the food you eat. No problem.
>
>But much of the carbon that we let out comes from carbon from
>millions years ago (fosile fuels). *That* is a major problem.
>
>Burning bilological fuels (that grow the last 100 years) is not
>any problem either.
>
>You other statements are purelly childish and uneducated.

Might I say that was an awesome post, sir.

-- 
"If only 2% of the world believes that GNU/Linux is great, then THEY
are the liars for claiming that it's a quality piece of software."  -
"Slimer", AKA "Doomsdrzej"
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296790
Author: DaveFroble
Date: Thu, 04 Jan 2018 20:43
27 lines
2596 bytes
chrisv wrote:
> Designed By India H1B Engineers wrote:
> 
>> Crucially, these updates to both Linux and Windows will incur a 
>> performance hit on Intel products. The effects are still being 
>> benchmarked, however we're looking at a ballpark figure of five 
>> to 30 per cent slow down, depending on the task and the 
>> processor model.
> 
> This is ugly.  Think of the large computing centers, for example
> Google's data centers.  Suddenly, they will need significantly more
> CPU time, and thus electricity (and thus carbon), to get the job done?
> 

And once all the spanners are tossed into the works, which will slow things 
down, what happens when new CPUs without the issues are available?  Will 
computers forever be artificially slowed down?

A whole bunch of someones has seriously dropped the ball on this.  Protected 
memory should be just that, protected, with no way to avoid the protection.

-- 
David Froble                       Tel: 724-529-0450
Dave Froble Enterprises, Inc.      E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA  15486
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296789
Author: Buffalo
Date: Thu, 04 Jan 2018 20:50
23 lines
2659 bytes
"Roger Blake"  wrote in message 
news:20180104123944@news.eternal-september.org...
>
>On 2018-01-04, chrisv <chrisv@nospam.invalid> wrote:
>> This is ugly.  Think of the large computing centers, for example
>> Google's data centers.  Suddenly, they will need significantly more
>> CPU time, and thus electricity (and thus carbon), to get the job done?
>
>Carbon is not a pollutant, except in the "minds" of left-wing loons,
>so that is not of any importance. (I certainly refuse to lower my carbon
>output. Environmentalist scum who desire to lower theirs are welcome to
>stop breathing. However, I digress.)
>
>The loss of performance could significantly increase the cost of
>operations for large computing centers. Look for the cost of online
>services to rise.
>

Rise? After the deal Trump gave them? Billions more in profit from saved 
taxes.
Those Big Corp execs can really vacation now!!
-- 
Buffalo 
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296791
Author: Tim Streater
Date: Thu, 04 Jan 2018 22:04
31 lines
2753 bytes
In article <p2m3kt$vnk$1@dont-email.me>, DaveFroble
<davef@tsoft-inc.com> wrote:

>chrisv wrote:
>> Designed By India H1B Engineers wrote:
>> 
>>> Crucially, these updates to both Linux and Windows will incur a 
>>> performance hit on Intel products. The effects are still being 
>>> benchmarked, however we're looking at a ballpark figure of five 
>>> to 30 per cent slow down, depending on the task and the 
>>> processor model.
>> 
>> This is ugly.  Think of the large computing centers, for example
>> Google's data centers.  Suddenly, they will need significantly more
>> CPU time, and thus electricity (and thus carbon), to get the job done?
>> 
>
>And once all the spanners are tossed into the works, which will slow things 
>down, what happens when new CPUs without the issues are available?  Will 
>computers forever be artificially slowed down?
>
>A whole bunch of someones has seriously dropped the ball on this.  Protected 
>memory should be just that, protected, with no way to avoid the protection.

But AIUI, the protection isn't applied when the CPU does speculative
instruction execution. It's unclear why, though.

-- 
There's no obfuscated Perl contest because it's pointless.

- Jeff Polk
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296792
Author: Bob F
Date: Thu, 04 Jan 2018 22:10
23 lines
2466 bytes
On 1/4/2018 10:29 AM, chrisv wrote:
> Jan-Erik Soderholm wrote:
> 
>> Den 2018-01-04 kl. 18:44, skrev Roger Blake:
>>>
>>> Carbon is not a pollutant, except in the "minds" of left-wing loons,
>>> so that is not of any importance. (I certainly refuse to lower my carbon
>>> output. Environmentalist scum who desire to lower theirs are welcome to
>>> stop breathing. However, I digress.)
>>
>> The carbon you breath comes from the food you eat. No problem.
>>
>> But much of the carbon that we let out comes from carbon from
>> millions years ago (fosile fuels). *That* is a major problem.
>>
>> Burning bilological fuels (that grow the last 100 years) is not
>> any problem either.
>>
>> You other statements are purelly childish and uneducated.
> 
> Might I say that was an awesome post, sir.
> 
Agreed!
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296794
Author: Jan-Erik Soderholm
Date: Thu, 04 Jan 2018 22:12
39 lines
3515 bytes
Den 2018-01-04 kl. 23:04, skrev Tim Streater:
> In article <p2m3kt$vnk$1@dont-email.me>, DaveFroble
> <davef@tsoft-inc.com> wrote:
> 
>> chrisv wrote:
>>> Designed By India H1B Engineers wrote:
>>>
>>>> Crucially, these updates to both Linux and Windows will incur a 
>>>> performance hit on Intel products. The effects are still being 
>>>> benchmarked, however we're looking at a ballpark figure of five to 30 
>>>> per cent slow down, depending on the task and the processor model.
>>>
>>> This is ugly.  Think of the large computing centers, for example
>>> Google's data centers.  Suddenly, they will need significantly more
>>> CPU time, and thus electricity (and thus carbon), to get the job done?
>>>
>>
>> And once all the spanners are tossed into the works, which will slow 
>> things down, what happens when new CPUs without the issues are 
>> available?  Will computers forever be artificially slowed down?
>>
>> A whole bunch of someones has seriously dropped the ball on this.  
>> Protected memory should be just that, protected, with no way to avoid the 
>> protection.
> 
> But AIUI, the protection isn't applied when the CPU does speculative
> instruction execution. It's unclear why, though.
> 

Becuse the designers, for performance reasons, has mapped kernel memory
into the user process address space and relies on the OS to check
protection before any kernel memory (or code) is accessed.

The issue with the current issues is that the hardware (the CPU) does
these accesses in hardware "under the hood" without control by the OS.

If you map your kernel memory in another way that uses the hardware
protection facilities, you are (as I understand) safe, at the cost
of worse performance to switch between user and kernel mode.
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296797
Author: Roger Blake
Date: Fri, 05 Jan 2018 03:36
23 lines
2614 bytes
On 2018-01-04, chrisv <chrisv@nospam.invalid> wrote:
> Might I say that was an awesome post, sir.

His post was sheer idiocy. CO2 is not a pollutant - period.

Human caused "climate change/global warming" is junk science at
its worst. Even Reid Bryson, the scientist who was the father of
modern climate science, stated that it is "a bunch of hooey."

As I said, I absolutely refuse to reduce my own carbon emissions and
in fact continue to see ways to increase them. (Do you dumbass hippies
really believe that your stoopid windmills are solar panels are capable
of keeping people warm and alive in the deep freeze that so much of the
U.S. is currently experiencing?)

-- 
-----------------------------------------------------------------------------
  Roger Blake (Posts from Google Groups killfiled due to excess spam.)

  NSA sedition and treason        -- http://www.DeathToNSAthugs.com
  Don't talk to cops!             -- http://www.DontTalkToCops.com
  Badges don't grant extra rights -- http://www.CopBlock.org
-----------------------------------------------------------------------------
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw
#296803
Author: Nomen Nescio
Date: Fri, 05 Jan 2018 04:24
12 lines
1215 bytes
Jan-Erik Soderholm <jan-erik.soderholm@telia.com> wrote:

> The issue with the current issues is that the hardware (the CPU) does
> these accesses in hardware "under the hood" without control by the OS.

The main issue is that a process can read CPU cache lines and internal 
states by way of comparing the time it takes the processor to finish 
certain operations.

The only real solution without sacrificing performance will probably be to 
use dedicated cores for sensitive operations that no other process can run 
on.
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296798
Author: JF Mezei
Date: Fri, 05 Jan 2018 06:37
53 lines
3585 bytes
On 2018-01-04 17:04, Tim Streater wrote:

> But AIUI, the protection isn't applied when the CPU does speculative
> instruction execution. It's unclear why, though.


The protection IS applied. But...


Here is how it works:

-read 1 byte from memory location Y (for which your process does NOT
have access) into register x.

-move "1" to my_array[x]

So normally, you'd read a value from memory, and then use that value as
an index into a 256 byte array where you then move a "1". (the rest of
the array is all zeros).


The CPU starts to process first instruction and sends the "read 1 byte
from memory at virtual location Y" request to memory subsystem. While it
waits for that to finish, it starts to preprocess the next instruction
which eventually has to wait for the value from memory to arrive.

The memory system does the virtual to physical translation, sends
request to the memory to read that byte, and then check the virtual
translation table to see if you have access to that memory.

The problem is that by the time it decides it was illegal memory access,
the request to read tyat byte has already gone to memory and will return
to internal CPU register (not to register x). The instruction will not
complete and will not store the value in register X because it goes to
the exception handler for an illegal memory access.

The problem is that the next instruction, all prepped and ready, is
allowed to go the microsecond the memory contents have been received
into the internal CPU register, and one reason for this is that it
doesn't do anything with the value (not stored elsewhere), it simply
used as an index into an array.

That array is modified by that second instruction, but it only goes as
far as the cache and not to RAM before the exception handler runs things
down and undoes the instructions.

Here is the trick:  a second process keeps flushing the CPU's cache and
checking for changes. When process 1 changes the array, even though it
doesn't go to RAM, it is visivble in the cache and second process sees
that the 57th byte in array has been modified with a "1". This means
that the value read fron kernel memory was 57.

You need to repeat that for every byte read.
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296799
Author: Peter Köhlmann
Date: Fri, 05 Jan 2018 09:04
11 lines
1833 bytes
Roger Blake wrote:

> On 2018-01-04, chrisv <chrisv@nospam.invalid> wrote:
>> Might I say that was an awesome post, sir.
> 
> His post was sheer idiocy. CO2 is not a pollutant - period.
> 
> Human caused "climate change/global warming" is junk science at
> its worst. 

Idiot
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296800
Author: Chris Ahlstrom
Date: Fri, 05 Jan 2018 11:00
17 lines
2073 bytes
Roger Blake wrote this copyrighted missive and expects royalties:

> On 2018-01-04, chrisv <chrisv@nospam.invalid> wrote:
>> Might I say that was an awesome post, sir.
>
> His post was sheer idiocy. CO2 is not a pollutant - period.

How about you fill your room with CO2 for a couple hours, Roge?

> <rest of head-in-the-sand post snipped>

-- 
Q:	Why do ducks have big flat feet?
A:	To stamp out forest fires.
 
Q:	Why do elephants have big flat feet?
A:	To stamp out flaming ducks.
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296801
Author: Jan-Erik Soderholm
Date: Fri, 05 Jan 2018 11:33
42 lines
3716 bytes
Den 2018-01-05 kl. 04:36, skrev Roger Blake:
> On 2018-01-04, chrisv <chrisv@nospam.invalid> wrote:
>> Might I say that was an awesome post, sir.
> 
> His post was sheer idiocy. CO2 is not a pollutant - period.
> 

No, it is a natural part of the atmosphare, but it is a balance.
It has to be in the right proportions. To much (and in particual
if we continue to burn fosile fuels that ads carbone that was
bound millions of years ago) and the climate will be hurt.

> Human caused "climate change/global warming" is junk science at
> its worst. Even Reid Bryson, the scientist who was the father of
> modern climate science, stated that it is "a bunch of hooey."
> 

I could probably name the scientist that has the opposite view, but
the space in one posting would not be enough.

And why pick one that has been dead for 10 years? The views on global
warming has changed over the years and a lot has happend the last decade.

> As I said, I absolutely refuse to reduce my own carbon emissions and
> in fact continue to see ways to increase them.

OK. fine. You'll be sorry and your children will be hurt. But then, if
you could reduce your C02 emission, what would be the issue?

> (Do you dumbass hippies
> really believe that your stoopid windmills are solar panels are capable
> of keeping people warm and alive in the deep freeze that so much of the
> U.S. is currently experiencing?)

That weather phenomenon is probably also caused by the disturbed climate
caused by the CO2 emissions. So in the case of the current US weather
issues, you could say that it is, in a way, self-inflicted.

Anyway, you could probably start with more efficient cars, shutting down
all AC equipment and so on. This cold is just a temporarily storm and
has little to do with the overall climate issues. One can not use the
amount of snow on the back garden to judge about the climate at large.
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296802
Author: chrisv
Date: Fri, 05 Jan 2018 13:05
25 lines
1978 bytes
Chris Ahlstrom wrote:

> Roger Blake wrote:
>>
>> chrisv wrote:
>>>
>>> Might I say that was an awesome post, sir.
>>
>> His post was sheer idiocy. CO2 is not a pollutant - period.
>
>How about you fill your room with CO2 for a couple hours, Roge?
>
>> <rest of head-in-the-sand post snipped>

It was the expected illogical, dishonest attack, from the
right-winger.  

As if there isn't a middle ground between doing nothing at all and
(absurdly) depending entirely upon renewable energy.

Sheesh.

-- 
"Nevermind if the game is fair or not, it is the winning and the
losing that matters, eh?"  -  Rat
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296804
Author: Alan Browne
Date: Fri, 05 Jan 2018 13:45
9 lines
2190 bytes
On 2018-01-04 12:44, Roger Blake wrote:
> On 2018-01-04, chrisv <chrisv@nospam.invalid> wrote:
>> This is ugly.  Think of the large computing centers, for example
>> Google's data centers.  Suddenly, they will need significantly more
>> CPU time, and thus electricity (and thus carbon), to get the job done?
> 
> Carbon is not a pollutant, except in the "minds" of left-wing loons,

When the truth is inconvenient, deny it.
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296805
Author: Alan Browne
Date: Fri, 05 Jan 2018 13:50
33 lines
3312 bytes
On 2018-01-04 15:43, DaveFroble wrote:
> chrisv wrote:
>> Designed By India H1B Engineers wrote:
>>
>>> Crucially, these updates to both Linux and Windows will incur a 
>>> performance hit on Intel products. The effects are still being 
>>> benchmarked, however we're looking at a ballpark figure of five to 30 
>>> per cent slow down, depending on the task and the processor model.
>>
>> This is ugly.  Think of the large computing centers, for example
>> Google's data centers.  Suddenly, they will need significantly more
>> CPU time, and thus electricity (and thus carbon), to get the job done?
>>
> 
> And once all the spanners are tossed into the works, which will slow 
> things down, what happens when new CPUs without the issues are 
> available?  Will computers forever be artificially slowed down?
> 
> A whole bunch of someones has seriously dropped the ball on this.  
> Protected memory should be just that, protected, with no way to avoid 
> the protection.

I presume it's an implementation flaw, not a principle-of-design flaw. 
So once addressed, it should result in both proper memory protection and 
increased performance in future cores.  Alas (per the article) this 
can't be addressed with a microcode patch.

-- 
“When it is all said and done, there are approximately 94 million
  full-time workers in private industry paying taxes to support 102
  million non-workers and 21 million government workers.
  In what world does this represent a strong job market?”
..Jim Quinn
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296807
Author: Wolf K
Date: Fri, 05 Jan 2018 13:59
14 lines
1935 bytes
On 2018-01-05 08:50, Alan Browne wrote:
> “When it is all said and done, there are approximately 94 million
>   full-time workers in private industry paying taxes to support 102
>   million non-workers and 21 million government workers.
>   In what world does this represent a strong job market?”
> .Jim Quinn

The real world. Without consumers, there would be no "job market".

-- 
Wolf K
kirkwood40.blogspot.com
"The next conference for the time travel design team will be held two 
weeks ago."
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296809
Author: Alan Browne
Date: Fri, 05 Jan 2018 14:02
29 lines
2983 bytes
On 2018-01-04 07:56, Designed By India H1B Engineers wrote:
> Performance hits loom, other OSes need fixes

Stunning.  As someone else mentioned the electricity hit alone could be 
enormous.  Not just in data centres but across all intel users.

Class action suit against intel I think.  This is on the level of the 
FDIV bug of yore.  Worse in some sense.

Must be full cigar time at AMD...

Curiously Apple claim that their mitigation of this has no measurable 
effect on one aspect (CVE-2017-5754 or "rogue data cache load" - aka 
Meltdown) of the flaw (using 3rd party benchmarking s/w); and "only" 
2.5% slowdown in one of three benchmarks for the other flaws ( 
CVE-2017-5753 or "bounds check bypass," and CVE-2017-5715 or "branch 
target injection.").
https://support.apple.com/en-us/HT208394

This makes me wonder if the article's claims of 5 - 30% slowdown (post 
OS fix [Windows, Linux]) are exaggerated or if Apple's fix is either 
miraculous or incomplete.

-- 
“When it is all said and done, there are approximately 94 million
  full-time workers in private industry paying taxes to support 102
  million non-workers and 21 million government workers.
  In what world does this represent a strong job market?”
..Jim Quinn
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296810
Author: Alan Browne
Date: Fri, 05 Jan 2018 14:05
21 lines
2667 bytes
On 2018-01-05 08:59, Wolf K wrote:
> On 2018-01-05 08:50, Alan Browne wrote:
>> “When it is all said and done, there are approximately 94 million
>>   full-time workers in private industry paying taxes to support 102
>>   million non-workers and 21 million government workers.
>>   In what world does this represent a strong job market?”
>> .Jim Quinn
> 
> The real world. Without consumers, there would be no "job market".

Double congratulations are in order Sir.

1) Replying to sigs is very lame,
2) Misunderstanding the fundamental meaning, moreso.

-- 
“When it is all said and done, there are approximately 94 million
  full-time workers in private industry paying taxes to support 102
  million non-workers and 21 million government workers.
  In what world does this represent a strong job market?”
..Jim Quinn
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296811
Author: DaveFroble
Date: Fri, 05 Jan 2018 14:06
20 lines
2184 bytes
Peter Köhlmann wrote:
> Roger Blake wrote:
> 
>> On 2018-01-04, chrisv <chrisv@nospam.invalid> wrote:
>>> Might I say that was an awesome post, sir.
>> His post was sheer idiocy. CO2 is not a pollutant - period.
>>
>> Human caused "climate change/global warming" is junk science at
>> its worst. 
> 
> Idiot

Don't feed the troll, opps, I just did ...

-- 
David Froble                       Tel: 724-529-0450
Dave Froble Enterprises, Inc.      E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA  15486
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296812
Author: Bill Gunshannon
Date: Fri, 05 Jan 2018 14:06
34 lines
2879 bytes
On 01/05/2018 08:50 AM, Alan Browne wrote:
> On 2018-01-04 15:43, DaveFroble wrote:
>> chrisv wrote:
>>> Designed By India H1B Engineers wrote:
>>>
>>>> Crucially, these updates to both Linux and Windows will incur a 
>>>> performance hit on Intel products. The effects are still being 
>>>> benchmarked, however we're looking at a ballpark figure of five to 
>>>> 30 per cent slow down, depending on the task and the processor model.
>>>
>>> This is ugly.  Think of the large computing centers, for example
>>> Google's data centers.  Suddenly, they will need significantly more
>>> CPU time, and thus electricity (and thus carbon), to get the job done?
>>>
>>
>> And once all the spanners are tossed into the works, which will slow 
>> things down, what happens when new CPUs without the issues are 
>> available?  Will computers forever be artificially slowed down?
>>
>> A whole bunch of someones has seriously dropped the ball on this. 
>> Protected memory should be just that, protected, with no way to avoid 
>> the protection.
> 
> I presume it's an implementation flaw, not a principle-of-design flaw. 
> So once addressed, it should result in both proper memory protection and 
> increased performance in future cores.  Alas (per the article) this 
> can't be addressed with a microcode patch.
> 

Sounds more like a "principle-of-design" flaw to me.  Hard to
believe all those different companies all made the same mistake
building on a sound design.

bill
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296813
Author: Alan Browne
Date: Fri, 05 Jan 2018 14:10
33 lines
3121 bytes
On 2018-01-04 12:56, Jan-Erik Soderholm wrote:
> Den 2018-01-04 kl. 18:44, skrev Roger Blake:

>> Carbon is not a pollutant, except in the "minds" of left-wing loons,
>> so that is not of any importance. (I certainly refuse to lower my carbon
>> output. Environmentalist scum who desire to lower theirs are welcome to
>> stop breathing. However, I digress.)
>>
> 
> The carbon you breath comes from the food you eat. No problem.
> 
> But much of the carbon that we let out comes from carbon from
> millions years ago (fosile fuels). *That* is a major problem.

Indeed, we've "unlocked" sequestered carbon.  I'm not especially against 
that - but we've done it in such a recklessly fast (wasteful, 
inefficient and polluting manner) that the "system" doesn't have time to 
absorb the damage in a reasonable way.

> 
> Burning bilological fuels (that grow the last 100 years) is not
> any problem either.
> 
> You other statements are purelly childish and uneducated.

+1 generally but -10 for attempting to help a hopelessly closed mind.

-- 
“When it is all said and done, there are approximately 94 million
  full-time workers in private industry paying taxes to support 102
  million non-workers and 21 million government workers.
  In what world does this represent a strong job market?”
..Jim Quinn
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296814
Author: Alan Browne
Date: Fri, 05 Jan 2018 14:11
8 lines
2308 bytes
On 2018-01-04 22:36, Roger Blake wrote:
> As I said, I absolutely refuse to reduce my own carbon emissions and
> in fact continue to see ways to increase them. (Do you dumbass hippies
> really believe that your stoopid windmills are solar panels are capable
> of keeping people warm and alive in the deep freeze that so much of the
> U.S. is currently experiencing?)

Oh dear.  Another retard equating the weather to climate.  Sad.
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296815
Author: DaveFroble
Date: Fri, 05 Jan 2018 14:15
54 lines
3822 bytes
Jan-Erik Soderholm wrote:
> Den 2018-01-04 kl. 23:04, skrev Tim Streater:
>> In article <p2m3kt$vnk$1@dont-email.me>, DaveFroble
>> <davef@tsoft-inc.com> wrote:
>>
>>> chrisv wrote:
>>>> Designed By India H1B Engineers wrote:
>>>>
>>>>> Crucially, these updates to both Linux and Windows will incur a 
>>>>> performance hit on Intel products. The effects are still being 
>>>>> benchmarked, however we're looking at a ballpark figure of five to 
>>>>> 30 per cent slow down, depending on the task and the processor model.
>>>>
>>>> This is ugly.  Think of the large computing centers, for example
>>>> Google's data centers.  Suddenly, they will need significantly more
>>>> CPU time, and thus electricity (and thus carbon), to get the job done?
>>>>
>>>
>>> And once all the spanners are tossed into the works, which will slow 
>>> things down, what happens when new CPUs without the issues are 
>>> available?  Will computers forever be artificially slowed down?
>>>
>>> A whole bunch of someones has seriously dropped the ball on this.  
>>> Protected memory should be just that, protected, with no way to avoid 
>>> the protection.
>>
>> But AIUI, the protection isn't applied when the CPU does speculative
>> instruction execution. It's unclear why, though.
>>
> 
> Becuse the designers, for performance reasons, has mapped kernel memory
> into the user process address space and relies on the OS to check
> protection before any kernel memory (or code) is accessed.
> 
> The issue with the current issues is that the hardware (the CPU) does
> these accesses in hardware "under the hood" without control by the OS.
> 
> If you map your kernel memory in another way that uses the hardware
> protection facilities, you are (as I understand) safe, at the cost
> of worse performance to switch between user and kernel mode.
> 
> 

As I wrote, someone dropped the ball on this one.

Speculative execution is part of the HW, not software.  It appears the HW 
doesn't follow it's own rules.  Or, perhaps I don't actually understand the problem?

-- 
David Froble                       Tel: 724-529-0450
Dave Froble Enterprises, Inc.      E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA  15486
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296824
Author: Alan Browne
Date: Fri, 05 Jan 2018 14:20
64 lines
4795 bytes
On 2018-01-05 06:33, Jan-Erik Soderholm wrote:
> Den 2018-01-05 kl. 04:36, skrev Roger Blake:
>> On 2018-01-04, chrisv <chrisv@nospam.invalid> wrote:
>>> Might I say that was an awesome post, sir.
>>
>> His post was sheer idiocy. CO2 is not a pollutant - period.
>>
> 
> No, it is a natural part of the atmosphare, but it is a balance.
> It has to be in the right proportions. To much (and in particual
> if we continue to burn fosile fuels that ads carbone that was
> bound millions of years ago) and the climate will be hurt.
> 
>> Human caused "climate change/global warming" is junk science at
>> its worst. Even Reid Bryson, the scientist who was the father of
>> modern climate science, stated that it is "a bunch of hooey."
>>
> 
> I could probably name the scientist that has the opposite view, but
> the space in one posting would not be enough.
> 
> And why pick one that has been dead for 10 years? The views on global
> warming has changed over the years and a lot has happend the last decade.
> 
>> As I said, I absolutely refuse to reduce my own carbon emissions and
>> in fact continue to see ways to increase them.
> 
> OK. fine. You'll be sorry and your children will be hurt. But then, if
> you could reduce your C02 emission, what would be the issue?
> 
>> (Do you dumbass hippies
>> really believe that your stoopid windmills are solar panels are capable
>> of keeping people warm and alive in the deep freeze that so much of the
>> U.S. is currently experiencing?)
> 
> That weather phenomenon is probably also caused by the disturbed climate
> caused by the CO2 emissions. So in the case of the current US weather
> issues, you could say that it is, in a way, self-inflicted.

Well, no matter how much they try, even the most pushy climate 
scientists cannot link a given weather event to global warming.  They 
can state that there's "possibly"/"probably" some link, but not to a 
causal level.

That said, the current east coast weather event is linked to a an 
extreme jet-stream condition near Alaska and the bomb-cyclone 
development.  So one _weather_ scientist has said both are extreme and 
_likely_ linked to climate change and that the combination of both at 
the same time just exacerbates the whole.

> Anyway, you could probably start with more efficient cars, shutting down
> all AC equipment and so on. This cold is just a temporarily storm and
> has little to do with the overall climate issues. One can not use the
> amount of snow on the back garden to judge about the climate at large.

Exactly.  Weather ≠ Climate.


-- 
“When it is all said and done, there are approximately 94 million
  full-time workers in private industry paying taxes to support 102
  million non-workers and 21 million government workers.
  In what world does this represent a strong job market?”
..Jim Quinn
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296828
Author: Jan-Erik Soderholm
Date: Fri, 05 Jan 2018 14:22
62 lines
4544 bytes
Den 2018-01-05 kl. 15:15, skrev DaveFroble:
> Jan-Erik Soderholm wrote:
>> Den 2018-01-04 kl. 23:04, skrev Tim Streater:
>>> In article <p2m3kt$vnk$1@dont-email.me>, DaveFroble
>>> <davef@tsoft-inc.com> wrote:
>>>
>>>> chrisv wrote:
>>>>> Designed By India H1B Engineers wrote:
>>>>>
>>>>>> Crucially, these updates to both Linux and Windows will incur a 
>>>>>> performance hit on Intel products. The effects are still being 
>>>>>> benchmarked, however we're looking at a ballpark figure of five to 30 
>>>>>> per cent slow down, depending on the task and the processor model.
>>>>>
>>>>> This is ugly.  Think of the large computing centers, for example
>>>>> Google's data centers.  Suddenly, they will need significantly more
>>>>> CPU time, and thus electricity (and thus carbon), to get the job done?
>>>>>
>>>>
>>>> And once all the spanners are tossed into the works, which will slow 
>>>> things down, what happens when new CPUs without the issues are 
>>>> available?  Will computers forever be artificially slowed down?
>>>>
>>>> A whole bunch of someones has seriously dropped the ball on this. 
>>>> Protected memory should be just that, protected, with no way to avoid 
>>>> the protection.
>>>
>>> But AIUI, the protection isn't applied when the CPU does speculative
>>> instruction execution. It's unclear why, though.
>>>
>>
>> Becuse the designers, for performance reasons, has mapped kernel memory
>> into the user process address space and relies on the OS to check
>> protection before any kernel memory (or code) is accessed.
>>
>> The issue with the current issues is that the hardware (the CPU) does
>> these accesses in hardware "under the hood" without control by the OS.
>>
>> If you map your kernel memory in another way that uses the hardware
>> protection facilities, you are (as I understand) safe, at the cost
>> of worse performance to switch between user and kernel mode.
>>
>>
> 
> As I wrote, someone dropped the ball on this one.
> 
> Speculative execution is part of the HW, not software.  It appears the HW 
> doesn't follow it's own rules.  Or, perhaps I don't actually understand the 
> problem?
> 

As I understand, as in Linux, the kernel memeory is mapped into each user
process memory space (for performance reasons). The speculative fetch done
by the hardware can read kernel memory directly. And when the protection
schemas detects this, the data is already in the internal CPU cache.

The solution seems to be to separate kernel and user memoery into separate
virtual memory areas. So a re-mapp of the memory mapping is needed each
time the process needs to read kernel memory, and that adds a perf cost.

And yes, it looks like different "levels" in the hardware are bit
out of sync...
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296817
Author: Alan Browne
Date: Fri, 05 Jan 2018 14:24
36 lines
3342 bytes
On 2018-01-05 09:15, DaveFroble wrote:
> Jan-Erik Soderholm wrote:

>> Becuse the designers, for performance reasons, has mapped kernel memory
>> into the user process address space and relies on the OS to check
>> protection before any kernel memory (or code) is accessed.
>>
>> The issue with the current issues is that the hardware (the CPU) does
>> these accesses in hardware "under the hood" without control by the OS.
>>
>> If you map your kernel memory in another way that uses the hardware
>> protection facilities, you are (as I understand) safe, at the cost
>> of worse performance to switch between user and kernel mode.
>>
>>
> 
> As I wrote, someone dropped the ball on this one.
> 
> Speculative execution is part of the HW, not software.  It appears the 
> HW doesn't follow it's own rules.  Or, perhaps I don't actually 
> understand the problem?

At least as well as I do.  These are very complex mechanisms and 
complexity is usually where you're most likely to get problems.

In this case the h/w implementation didn't reflect the design goal.

This means intel had very poor design review and abysmal testing of 
security features.

-- 
“When it is all said and done, there are approximately 94 million
  full-time workers in private industry paying taxes to support 102
  million non-workers and 21 million government workers.
  In what world does this represent a strong job market?”
..Jim Quinn
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296823
Author: Alan Browne
Date: Fri, 05 Jan 2018 14:29
54 lines
4330 bytes
On 2018-01-05 09:06, Bill Gunshannon wrote:
> On 01/05/2018 08:50 AM, Alan Browne wrote:
>> On 2018-01-04 15:43, DaveFroble wrote:
>>> chrisv wrote:
>>>> Designed By India H1B Engineers wrote:
>>>>
>>>>> Crucially, these updates to both Linux and Windows will incur a 
>>>>> performance hit on Intel products. The effects are still being 
>>>>> benchmarked, however we're looking at a ballpark figure of five to 
>>>>> 30 per cent slow down, depending on the task and the processor model.
>>>>
>>>> This is ugly.  Think of the large computing centers, for example
>>>> Google's data centers.  Suddenly, they will need significantly more
>>>> CPU time, and thus electricity (and thus carbon), to get the job done?
>>>>
>>>
>>> And once all the spanners are tossed into the works, which will slow 
>>> things down, what happens when new CPUs without the issues are 
>>> available?  Will computers forever be artificially slowed down?
>>>
>>> A whole bunch of someones has seriously dropped the ball on this. 
>>> Protected memory should be just that, protected, with no way to avoid 
>>> the protection.
>>
>> I presume it's an implementation flaw, not a principle-of-design flaw. 
>> So once addressed, it should result in both proper memory protection 
>> and increased performance in future cores.  Alas (per the article) 
>> this can't be addressed with a microcode patch.
>>
> 
> Sounds more like a "principle-of-design" flaw to me.  Hard to
> believe all those different companies all made the same mistake
> building on a sound design.

Call as you like I'll stick to my version.  "All"?  What?  2?

They have similar design goals so having similar attacks on the problem 
aren't a surprise.  Indeed in their communities ideas fly around 
somewhat freely before implementation puts them under proprietary 
"protection".

The failure (I'm speculating) is in design implementation and failure to 
test the intent of the security in an OS environment.

Further speculation: the CPU h/w designers are a couple steps away from 
OS designers and their understanding of OS concerns doesn't see clearly 
to how to design the security tests.

-- 
“When it is all said and done, there are approximately 94 million
  full-time workers in private industry paying taxes to support 102
  million non-workers and 21 million government workers.
  In what world does this represent a strong job market?”
..Jim Quinn
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296818
Author: Doomsdrzej
Date: Fri, 05 Jan 2018 15:11
25 lines
2460 bytes
On Fri, 5 Jan 2018 03:36:34 -0000 (UTC), Roger Blake
<rogblake@iname.invalid> wrote:

>On 2018-01-04, chrisv <chrisv@nospam.invalid> wrote:
>> Might I say that was an awesome post, sir.
>
>His post was sheer idiocy. CO2 is not a pollutant - period.
>
>Human caused "climate change/global warming" is junk science at
>its worst. Even Reid Bryson, the scientist who was the father of
>modern climate science, stated that it is "a bunch of hooey."
>
>As I said, I absolutely refuse to reduce my own carbon emissions and
>in fact continue to see ways to increase them. (Do you dumbass hippies
>really believe that your stoopid windmills are solar panels are capable
>of keeping people warm and alive in the deep freeze that so much of the
>U.S. is currently experiencing?)

I _refuse_ to buy an electic car which has horrible range, little
storage and looks absolutely awful in the hope that mining lithium to
power them somehow causes less pollution than driving a regular,
gas-burning car.

I want power in my vehicle as well as the ability to drive as far as I
want to and that is something electric cars will never allow for.
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296819
Author: Doomsdrzej
Date: Fri, 05 Jan 2018 15:13
17 lines
1826 bytes
On Fri, 05 Jan 2018 10:04:06 +0100, Peter Köhlmann
<peter-koehlmann@t-online.de> wrote:

>Roger Blake wrote:
>
>> On 2018-01-04, chrisv <chrisv@nospam.invalid> wrote:
>>> Might I say that was an awesome post, sir.
>> 
>> His post was sheer idiocy. CO2 is not a pollutant - period.
>> 
>> Human caused "climate change/global warming" is junk science at
>> its worst. 
>
>Idiot

Another thought-provoking and irrefutable post by Mainz's greatest
export, Peter the Klöwn.
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296821
Author: Doomsdrzej
Date: Fri, 05 Jan 2018 15:20
72 lines
4734 bytes
On Fri, 5 Jan 2018 12:33:59 +0100, Jan-Erik Soderholm
<jan-erik.soderholm@telia.com> wrote:

>Den 2018-01-05 kl. 04:36, skrev Roger Blake:
>> On 2018-01-04, chrisv <chrisv@nospam.invalid> wrote:
>>> Might I say that was an awesome post, sir.
>> 
>> His post was sheer idiocy. CO2 is not a pollutant - period.
>> 
>
>No, it is a natural part of the atmosphare, but it is a balance.
>It has to be in the right proportions. To much (and in particual
>if we continue to burn fosile fuels that ads carbone that was
>bound millions of years ago) and the climate will be hurt.

You can't _hurt_ climate. The Earth always balances itself out and
there are thousands of years of data showing this. Some periods are
cold; some periods are warm. In the end, there is a balance regardless
of what its living creatures do.

>> Human caused "climate change/global warming" is junk science at
>> its worst. Even Reid Bryson, the scientist who was the father of
>> modern climate science, stated that it is "a bunch of hooey."
>> 
>
>I could probably name the scientist that has the opposite view, but
>the space in one posting would not be enough.
>
>And why pick one that has been dead for 10 years? The views on global
>warming has changed over the years and a lot has happend the last decade.

Please demonstrate how.

>> As I said, I absolutely refuse to reduce my own carbon emissions and
>> in fact continue to see ways to increase them.
>
>OK. fine. You'll be sorry and your children will be hurt. But then, if
>you could reduce your C02 emission, what would be the issue?

Reducing CO2 emissions should be voluntary in the same way that
companies having a $15 minimum wage should be voluntary. In the United
States, some companies did so and as a result show that they can
afford to pay people that well without there being any kind of
consequences. In Ontario, for instance, the $15 minimum wage was
forced and companies now have to cut back somehow to afford to pay
people that well. The liberal approach to CO2 emissions involves
forcing companies and the people to make significant sacrifices and
the end result is that it will do damage to the economy and the
standard of life in the _hope_ that we will somehow be able to slow
the evitable in a very insignificant way at a time when none of us
will still be alive. The best governments _should_ hope for is to
raise awareness about the potential problem and encourage people to
make whatever changes they can which is not at all what they've been
doing with schemes like the Paris Climate Accord.

>> (Do you dumbass hippies
>> really believe that your stoopid windmills are solar panels are capable
>> of keeping people warm and alive in the deep freeze that so much of the
>> U.S. is currently experiencing?)
>
>That weather phenomenon is probably also caused by the disturbed climate
>caused by the CO2 emissions. So in the case of the current US weather
>issues, you could say that it is, in a way, self-inflicted.
>
>Anyway, you could probably start with more efficient cars, shutting down
>all AC equipment and so on. This cold is just a temporarily storm and
>has little to do with the overall climate issues. One can not use the
>amount of snow on the back garden to judge about the climate at large.

Just watch this:

<https://hooktube.com/watch?v=NjlC02NsIt0>
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296822
Author: chrisv
Date: Fri, 05 Jan 2018 15:32
16 lines
2120 bytes
Doomsdrzej wrote:

>The Earth always balances itself out and
>there are thousands of years of data showing this. Some periods are
>cold; some periods are warm. In the end, there is a balance regardless
>of what its living creatures do.

What the right-wing propagandists always "forget" is that, while there
are compensating mechanisms that tend to bring the climate back to an
equilibrium, the forces are gentle, and they work on the time-scale of
millennia.  They cannot cope with a violent change in conditions
occurring over a short period of time, as in the last 100 years.

-- 
"Tell us again how Windows 95 is not DOS-based, Peter."  -  "Slimer",
AKA "Doomsdrzej", putting his ignorance on display
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296825
Author: Wolf K
Date: Fri, 05 Jan 2018 15:34
24 lines
2284 bytes
On 2018-01-05 09:05, Alan Browne wrote:
> On 2018-01-05 08:59, Wolf K wrote:
>> On 2018-01-05 08:50, Alan Browne wrote:
>>> “When it is all said and done, there are approximately 94 million
>>>   full-time workers in private industry paying taxes to support 102
>>>   million non-workers and 21 million government workers.
>>>   In what world does this represent a strong job market?”
>>> .Jim Quinn
>>
>> The real world. Without consumers, there would be no "job market".
> 
> Double congratulations are in order Sir.
> 
> 1) Replying to sigs is very lame,
> 2) Misunderstanding the fundamental meaning, moreso.
> 

I parsed you sig generously. As written, it''s not even wrong.

-- 
Wolf K
kirkwood40.blogspot.com
"The next conference for the time travel design team will be held two 
weeks ago."
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296827
Author: Alan Browne
Date: Fri, 05 Jan 2018 15:37
15 lines
2727 bytes
On 2018-01-05 10:32, chrisv wrote:
> What the right-wing propagandists always "forget" is that, while there
> are compensating mechanisms that tend to bring the climate back to an
> equilibrium, the forces are gentle, and they work on the time-scale of
> millennia.  They cannot cope with a violent change in conditions
> occurring over a short period of time, as in the last 100 years.

+10

-- 
“When it is all said and done, there are approximately 94 million
  full-time workers in private industry paying taxes to support 102
  million non-workers and 21 million government workers.
  In what world does this represent a strong job market?”
..Jim Quinn
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296826
Author: Alan Browne
Date: Fri, 05 Jan 2018 15:43
36 lines
3431 bytes
On 2018-01-05 10:13, Doomsdrzej wrote:
> On Fri, 05 Jan 2018 10:04:06 +0100, Peter Köhlmann
> <peter-koehlmann@t-online.de> wrote:
> 
>> Roger Blake wrote:
>>
>>> On 2018-01-04, chrisv <chrisv@nospam.invalid> wrote:
>>>> Might I say that was an awesome post, sir.
>>>
>>> His post was sheer idiocy. CO2 is not a pollutant - period.
>>>
>>> Human caused "climate change/global warming" is junk science at
>>> its worst.
>>
>> Idiot
> 
> Another thought-provoking and irrefutable post by Mainz's greatest
> export, Peter the Klöwn.

A funny thing about your sort is you believe that putting down others 
makes your point valid and that resonates in your little echo chambers 
as some sort of truth.  While there is wisdom in crowds, that only works 
when everyone's decision is independent.  You have the independence of a 
particularly dull sheep.  Why alpha-idiots like Twump make little honest 
effort to enlist you - not worth the expense - you come near free.

Meanwhile scientists worldwide are investigating climate change and with 
each passing year narrowing the doubt about current anthropogenic 
climate change to the statistical exclusion of all other causes.

-- 
“When it is all said and done, there are approximately 94 million
  full-time workers in private industry paying taxes to support 102
  million non-workers and 21 million government workers.
  In what world does this represent a strong job market?”
..Jim Quinn
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296829
Author: Wolf K
Date: Fri, 05 Jan 2018 15:51
32 lines
2942 bytes
On 2018-01-05 09:22, Jan-Erik Soderholm wrote:

[snip remarks about probable performance hits]]
> As I understand, as in Linux, the kernel memeory is mapped into each user
> process memory space (for performance reasons). The speculative fetch done
> by the hardware can read kernel memory directly. And when the protection
> schemas detects this, the data is already in the internal CPU cache.
> 
> The solution seems to be to separate kernel and user memoery into separate
> virtual memory areas. So a re-mapp of the memory mapping is needed each
> time the process needs to read kernel memory, and that adds a perf cost.
> 
> And yes, it looks like different "levels" in the hardware are bit
> out of sync...

So, in order to reduce the performance hit, would it make sense to 
redesign the CPU with a larger on-board cache to store both kernel and 
user memory? Or, what am I missing in the protected memory concept?

Anyhow, I think most users will see no performance hit. I mean, how many 
people are rendering CGI on their laptops? Etc.

I'm more worried about server farms used by big data, banks, ISPs etc. 
These already show performance hits tied to time-of-day, as user access 
(ie demand) varies. Even a few % slowdown in overall throughput will be 
noticeable at peak demand times.

-- 
Wolf K
kirkwood40.blogspot.com
"The next conference for the time travel design team will be held two 
weeks ago."
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296830
Author: Alan Browne
Date: Fri, 05 Jan 2018 16:07
51 lines
4327 bytes
On 2018-01-05 10:51, Wolf K wrote:

> So, in order to reduce the performance hit, would it make sense to 
> redesign the CPU with a larger on-board cache to store both kernel and 
> user memory? Or, what am I missing in the protected memory concept?

Ignoring that the only fix will be in future (or currently in 
pre-production) CPU's, the fix could be done with the same sized caches 
but correctly implemented.  It could be the "correct fix" is itself less 
efficient overall than the goal (execution).  It could be that such a 
fix would reduce the amount of cache available to Kernel/User space and 
thus have an impact too.

New CPU's can have the luxury of more cache in any case and so can add 
even more to help with the issue.

Wow.  What a long winded way to say: "who knows?".

> 
> Anyhow, I think most users will see no performance hit. I mean, how many 
> people are rendering CGI on their laptops? Etc.
> 
> I'm more worried about server farms used by big data, banks, ISPs etc. 
> These already show performance hits tied to time-of-day, as user access 
> (ie demand) varies. Even a few % slowdown in overall throughput will be 
> noticeable at peak demand times.

That depends on the server farms.  Well designed they scale up cheaply 
(upscale effort) but expensively (hardware + energy).  There is cost.

AWS style platforms can upscale dynamically according to load (and the 
contract with the service client).  Of course the service client will be 
sad to see his costs with the platform go up and have to find a way to 
get more revenue.

All that said, the 5 - 30% load increase seems to be speculative / 
theoretical.  And maybe you're right that it will mostly affect people 
using their computers to the hilt a lot of the time and not most 
"casual" users.   Alas, I do render videos often but can't say my Mac 
(OS 10.13.2) has seen any impact (nor can I say it hasn't - nothing 
noticable IOW).

Maybe under 10.13.3 when Apple are rumoured to "complete" their defense 
against Meltdown and/or Spectre we'll perceive the hit.

-- 
“When it is all said and done, there are approximately 94 million
  full-time workers in private industry paying taxes to support 102
  million non-workers and 21 million government workers.
  In what world does this represent a strong job market?”
..Jim Quinn
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296831
Author: Wolf K
Date: Fri, 05 Jan 2018 16:10
37 lines
3155 bytes
On 2018-01-05 10:20, Doomsdrzej wrote:
[...]
> You can't_hurt_  climate. The Earth always balances itself out and
> there are thousands of years of data showing this. Some periods are
> cold; some periods are warm. 
[...]

True, but when climate changes too fast, a lot of living things get 
hurt. This time round, it will be us. Or rather, our children and 
grandchildren. Humans have a depressing history of hybris in their 
dealing with Earth. We tend to think that because things are going our 
way we are somehow in control of the Earth and its systems. Acting on 
that delusion never ends well.

Case in point: Viking Greenland settlements. They established a 
northern-temperate zone farming system, which worked for a couple 
hundred years or so. Then the local climate cooled about 1/2 C (about 1 
F). Result: those farms were no longer viable. The Vikings despised the 
Skraelings, and refused to learn from them. So the settlements 
disappeared. That is, the Vikings starved to death.

> In the end, there is a balance regardless
>> of what its living creatures do.

That is simply not true. Or rather _complexly_ not true. It's the 
complexity that's the problem. Humans have a terrible time thinking in 
complex-system terms.

Very small changes in the systems can have very large effects, both 
short term and long term. They are non-linear systems. The rebalancing 
you refer to can be rather drastic.

-- 
Wolf K
kirkwood40.blogspot.com
"The next conference for the time travel design team will be held two 
weeks ago."
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296832
Author: Tim Streater
Date: Fri, 05 Jan 2018 16:41
21 lines
2657 bytes
In article <q16v4d1k940dhta8gj73uuso1qbg3qgtpn@4ax.com>, chrisv
<chrisv@nospam.invalid> wrote:

>Doomsdrzej wrote:
>
>>The Earth always balances itself out and
>>there are thousands of years of data showing this. Some periods are
>>cold; some periods are warm. In the end, there is a balance regardless
>>of what its living creatures do.
>
>What the right-wing propagandists always "forget" is that, while there
>are compensating mechanisms that tend to bring the climate back to an
>equilibrium ...

This in itself is meaningless. Nature itself is never in balance.

-- 
"The problem with defending the purity of the English language is that English
is about as pure as a cribhouse whore. We don't just borrow words; on occasion,
English has pursued other languages down alleyways to beat them unconscious 
and rifle their pockets for new vocabulary."            -- James Nicoll, rasfw
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296833
Author: Tim Streater
Date: Fri, 05 Jan 2018 16:57
46 lines
3344 bytes
In article <s2F3C.66300$Xx7.43925@fx16.iad>, JF Mezei
<jfmezei.spamnot@vaxination.ca> wrote:

>On 2018-01-04 17:04, Tim Streater wrote:
>
>> But AIUI, the protection isn't applied when the CPU does speculative
>> instruction execution. It's unclear why, though.
>
>
>The protection IS applied. But...
>
>
>Here is how it works:
>
>-read 1 byte from memory location Y (for which your process does NOT
>have access) into register x.
>
>-move "1" to my_array[x]
>
>So normally, you'd read a value from memory, and then use that value as
>an index into a 256 byte array where you then move a "1". (the rest of
>the array is all zeros).

>Here is the trick:  a second process keeps flushing the CPU's cache and
>checking for changes. When process 1 changes the array, even though it
>doesn't go to RAM, it is visivble in the cache and second process sees
>that the 57th byte in array has been modified with a "1". This means
>that the value read fron kernel memory was 57.
>
>You need to repeat that for every byte read.

OK, so now I have two questions.

1) Process 2, you say, keeps flushing the CPU cache. How does it do
this without root priv? And if it has that priv, there must be easier
ways to get access to vital info without doing what you describe.

2) Process 1 reads from protected memory and will get an exception for
each byte it tries to read. One supposes it has arranged recovery from
these exceptions so it can try another byte-read. Wouldn't a prudent OS
terminate any process that accumulates more than, say, 10 exceptions of
this nature?

-- 
"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted"  --  Bill of Rights 1689
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296834
Author: JF Mezei
Date: Fri, 05 Jan 2018 17:22
31 lines
2897 bytes
On 2018-01-05 11:57, Tim Streater wrote:

> 1) Process 2, you say, keeps flushing the CPU cache. How does it do
> this without root priv? And if it has that priv, there must be easier
> ways to get access to vital info without doing what you describe.


That is an issue which was not adressed by the Meltdown white paper. But
the transfer of data is dependent on the other process having access to
the CPU cache because that is the only way the data fetched by process 1
can be transfered to another process.

Without the cache technique, process 1 might have fetched the data it
wasn't supposed to, but that data would not have gone to a register or
to other location in memory as the exception would have stopped
everything before the instructions are committed.

The cache trick is a means for the dying process to leave breadcrumbs
that another process can pickup.

> 2) Process 1 reads from protected memory and will get an exception for
> each byte it tries to read. One supposes it has arranged recovery from
> these exceptions so it can try another byte-read. Wouldn't a prudent OS
> terminate any process that accumulates more than, say, 10 exceptions of
> this nature?


Yep. But the other way to do it is for the process itself to declare its
own exception handler so that even though the instructions are rolled
back, the process can continue with attempt to read the next byte. (this
gets into performance design to read all of the RAM).
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296835
Author: Tim Streater
Date: Fri, 05 Jan 2018 17:26
43 lines
3618 bytes
In article <2vO3C.211600$Cr5.112175@fx36.iad>, JF Mezei
<jfmezei.spamnot@vaxination.ca> wrote:

>On 2018-01-05 11:57, Tim Streater wrote:
>
>> 1) Process 2, you say, keeps flushing the CPU cache. How does it do
>> this without root priv? And if it has that priv, there must be easier
>> ways to get access to vital info without doing what you describe.
>
>
>That is an issue which was not adressed by the Meltdown white paper. But
>the transfer of data is dependent on the other process having access to
>the CPU cache because that is the only way the data fetched by process 1
>can be transfered to another process.
>
>Without the cache technique, process 1 might have fetched the data it
>wasn't supposed to, but that data would not have gone to a register or
>to other location in memory as the exception would have stopped
>everything before the instructions are committed.
>
>The cache trick is a means for the dying process to leave breadcrumbs
>that another process can pickup.

OK. So this question stands.

>> 2) Process 1 reads from protected memory and will get an exception for
>> each byte it tries to read. One supposes it has arranged recovery from
>> these exceptions so it can try another byte-read. Wouldn't a prudent OS
>> terminate any process that accumulates more than, say, 10 exceptions of
>> this nature?

>Yep. But the other way to do it is for the process itself to declare its
>own exception handler so that even though the instructions are rolled
>back, the process can continue with attempt to read the next byte. (this
>gets into performance design to read all of the RAM).

Well I would expect it to declare its own exception handler. But that
handler is called by the OS, which can keep tabs on how many exceptions
of a given type a process has accumulated.

-- 
Lady Astor: "If you were my husband I'd give you poison." Churchill: "If
you were my wife, I'd drink it."
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296836
Author: Doomsdrzej
Date: Fri, 05 Jan 2018 18:46
34 lines
2383 bytes
On Fri, 5 Jan 2018 10:43:48 -0500, Alan Browne
<bitbucket@blackhole.com> wrote:

>On 2018-01-05 10:13, Doomsdrzej wrote:
>> On Fri, 05 Jan 2018 10:04:06 +0100, Peter Köhlmann
>> <peter-koehlmann@t-online.de> wrote:
>> 
>>> Roger Blake wrote:
>>>
>>>> On 2018-01-04, chrisv <chrisv@nospam.invalid> wrote:
>>>>> Might I say that was an awesome post, sir.
>>>>
>>>> His post was sheer idiocy. CO2 is not a pollutant - period.
>>>>
>>>> Human caused "climate change/global warming" is junk science at
>>>> its worst.
>>>
>>> Idiot
>> 
>> Another thought-provoking and irrefutable post by Mainz's greatest
>> export, Peter the Klöwn.
>
>A funny thing about your sort is you believe that putting down others 
>makes your point valid and that resonates in your little echo chambers 
>as some sort of truth.

Says the hypocrite who just defended someone calling another poster an
"idiot."

> While there is wisdom in crowds...

.... there is none in your posts. 

*plonk*
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296837
Author: Wolf K
Date: Fri, 05 Jan 2018 20:55
32 lines
2899 bytes
On 2018-01-05 11:41, Tim Streater wrote:
> In article <q16v4d1k940dhta8gj73uuso1qbg3qgtpn@4ax.com>, chrisv
> <chrisv@nospam.invalid> wrote:
> 
>> Doomsdrzej wrote:
>>
>>> The Earth always balances itself out and
>>> there are thousands of years of data showing this. Some periods are
>>> cold; some periods are warm. In the end, there is a balance regardless
>>> of what its living creatures do.
>>
>> What the right-wing propagandists always "forget" is that, while there
>> are compensating mechanisms that tend to bring the climate back to an
>> equilibrium ...
> 
> This in itself is meaningless. Nature itself is never in balance.
> 

Also true. But over long periods of time it oscillates around an average 
sequence of states, eg the seasonal cycles which we call "climate". Or 
plant and animal populations that we call "ecosystems". Etc.

These systems are chaotic, ie, non-linear. At some point, some small 
extra load or disturbance in some part of the system will trigger a 
rapid "rebalancing" of the whole thing. It won't be pretty, but it will 
be interesting.

-- 
Wolf K
kirkwood40.blogspot.com
"The next conference for the time travel design team will be held two 
weeks ago."
Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
#296838
Author: DaveFroble
Date: Fri, 05 Jan 2018 21:00
48 lines
3368 bytes
Alan Browne wrote:
> On 2018-01-05 09:15, DaveFroble wrote:
>> Jan-Erik Soderholm wrote:
> 
>>> Becuse the designers, for performance reasons, has mapped kernel memory
>>> into the user process address space and relies on the OS to check
>>> protection before any kernel memory (or code) is accessed.
>>>
>>> The issue with the current issues is that the hardware (the CPU) does
>>> these accesses in hardware "under the hood" without control by the OS.
>>>
>>> If you map your kernel memory in another way that uses the hardware
>>> protection facilities, you are (as I understand) safe, at the cost
>>> of worse performance to switch between user and kernel mode.
>>>
>>>
>>
>> As I wrote, someone dropped the ball on this one.
>>
>> Speculative execution is part of the HW, not software.  It appears the 
>> HW doesn't follow it's own rules.  Or, perhaps I don't actually 
>> understand the problem?
> 
> At least as well as I do.  These are very complex mechanisms and 
> complexity is usually where you're most likely to get problems.
> 
> In this case the h/w implementation didn't reflect the design goal.
> 
> This means intel had very poor design review and abysmal testing of 
> security features.
> 

There seems a whole bunch of us "speculating" about things we probably don't 
know enough about.

:-)

It seems to me that before memory is fetched into cache, the CPU should be 
determining whether it should indeed be fetching that memory.  Yeah, sounds 
simple, but I'm betting it isn't.


-- 
David Froble                       Tel: 724-529-0450
Dave Froble Enterprises, Inc.      E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA  15486
Page 1 of 6 • 289 total messages
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads