Thursday, January 4, 2018

Make Spectre a software option

The processors need to have a critical code mode for the kernel that disables speculative pipelining, then expose the critica code interface to applications.

We do not want to disable the Spectre exploit all the time, critical speed code still can use it as long as the software developer can distinguish.  Then Spectre is not a bug, it is a feature for the developer to control the speed/security interface.  A  processor protected to the core will use the feature in its micro code when using its private key.

For the sandbox, this is what we want, speed when the autonomous matching sequence is in progress, security during check in and out. Sandboxers are not worried, we are delighted to have the choice, Spectre is worth more as market information about the speed/security interface then the cost to expose the option in new design.

The exciting art to me is proof of concept on cyber policing, we can see the market and techies progressively narrow the possibilities for counterfeit. It shows sandbox can stay ahead of the opposition, likely do watermarks better than paper cash. (Watermarking really means the 'cash' bot can hold and exchange assets without a human present).

How would trading pits use the Spectre option?

The pit bots are all known and proven source codes.  The trading pits switch context between the bts as they demand looks at the trade book and dump asynchronous trades. But these are all internal context switches, the pit is managing this.  We want speculative pipelining turned up, like way up. What we want is a pipeline that says: If done with this bot, just take the other branch, right there in the pipeline, don't ask, just do it.  In the pits we are more like a game rendering machine. we love Spectre, enhance it; but let us disable it on check in/out.  The best option, for us, is that the collection of trader bot codes be small, and they all fit in the pipeline at once, each bot code just returns a pipeline pointer right back to the next botcoder in line.

I don't get the market pessimism, this is a huge advance in trading efficiency. We have a compiler, and we can tell it to pack this set of code into a pipeline achie matched to a particular processor, for closed operations, under timeout or instruction count.  It is called full spectre mode, it turns the main core into a ultra fast array processor with an external hardware constraint.

In Spectre mode the processor really does own the digital assets. If you had a few standard escrow protocols, and they all fit in the pipeline, then the escrow router need just feed the pipeline lists of wallet addresses. You get this autonomous, always running over finite protocols, each with timeout and count limit. Extremely efficient, extremely safe; it is all kernel mode. Spectre obeys Hawkin's Law.

No comments: