Article View: sci.electronics.design
Article #967Re: Arms race
From: Johann 'Myrkraverk' Oskarsson
Date: Mon, 09 Nov 2026 18:25
Date: Mon, 09 Nov 2026 18:25
90 lines
5380 bytes
5380 bytes
On 11/10/2026 1:42 AM, Don Y wrote: > On 11/9/2026 8:56 AM, Johann 'Myrkraverk' Oskarsson wrote: >> On 10/30/2026 11:47 PM, Don Y wrote: >>> On 10/30/2026 8:36 AM, JM wrote: >>>> On Thu, 29 Oct 2026 17:36:05 +0000, Martin Brown >>>> <'''newspam'''@nonad.co.uk> wrote: >>>> >>>>> segmented memory and hard separation of program and data. Signed >>>>> drivers >>>> >>>> Not a Lisp fan then? >>> >>> You don't need *strict* separation (e.g., like a Harvard architecture) >>> to benefit from this practice. If you can locate data/code on page >>> boundaries and in page-sized units, you can commingle them freely. >>> >>> But, the idea of treating memory as an amorphous gel that can be >>> freely molded is not going to work. >>> >>> Nowadays, you actually need to put the different types of memories >>> in different *chips* if you truly want to maximize your protection >>> (you can gain some advantages with guard bands between regions but >>> the hardware has proven to easily exploitable in its efforts to >>> try to eke out more performance) >> >> I don't know any hardware manufacturer doing this -- well, I don't work >> with military hardware so they could be doing it -- and now that Sam >> Altman is gobbling up all the DRAM chips, I doubt we'll see this in end >> user computers and phones any time soon. > > You can often employ this technique in many of the larger SoCs. > sadly, the resources are often allocated by someone who doesn't > understand the VALUE of specific allocations. > > E.g., if you put kernel memory in SRAM then "other memory" > being in LPDRAM has less potential -- via direct or side-channel > attack -- of corrupting it. > > But, you have to be aware of the problem and understand how the > hardware works before you can make smart decisions about it. > Which, of course, means you have to have a firm hardware model > before you can sort out the software. > > The hardware people are similarly clueless as they are usually not aware > of how the hardware will be used (and abused). They often treat > hardware as checkoff items: 2 serial ports; check. 3GB RAM; check. > 1MB boot ROM; check. > > One of the colossal FAILS IME was a hardware person putting a one-bit > latch to drive the input of a CVSD. So, the software had to sit in a > tight loop shifting bytes into the latch and clocking the CVSD. > > And, of course, every path through the code had to have identical time > lest the clock frequency beat at the byte-rate. > > Really? You couldn't put a byte-wide (parallel load, serial out) > SHIFT REGISTER there and have it self clocked so all the CPU has to > do is push BYTES at it every 8 bit times??? You've traded a few pennies > for the entire CPU (because it can't do ANYTHING ELSE while caught > in this idiot loop). > > Perhaps we should let hardware people write code and publicly > critique their failures? Or, let software people design the > hardware and let the hardware folks write the code?? > >> So, is this a loss due to the 2026 DRAM shortage? Only speculative his- >> tory in the future will tell us. > Or have more generalists around. I'm one -- no matter what Bill Sloman tries to say -- but with only a passing experience of hardware design. Just enough to understand the basics. If you dig into old Linus-rants on the LKML, you'll find the GCC-devs of the time didn't care how the compiler was used for anything other than user space. That's not a healthy environment for kernel devs. So we should let compilers devs do operating systems, and operating sys- tem people do compilers, and both groups do hardware. At minimum. Best wishes, and happy hardware design! -- Johann | email: invalid -> com | http://www.myrkraverk.com/blog/ I'm not from the Internet, I just work there. | via Easynews.com https://bsky.app/profile/myrkraverk.bsky.social | for ( ;; ) _:; Federated at https://fed.brid.gy/bsky/myrkraverk.bsky.social
Technical Details
Message-ID:
<2eoIS.4$a%2.1@fx01.ams4>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-lon.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!fx01.ams4.POSTED!not-for-mailReferences:
<11bp6d1$16i93$1@dont-email.me> <ado1el51rv6t5e055ospgkmids7krtrd2m@4ax.com> <11bvc3s$3a0ts$1@dont-email.me> <a8n6elh26hc5cg98pn84idqp7rrel2l47o@4ax.com> <11bvnp8$3ehgg$1@dont-email.me> <11c0065$3hr4g$1@dont-email.me> <39e9elp8cqum5iatg21ltbf06hc4p4dgec@4ax.com> <11c2e63$cidf$1@dont-email.me> <J2mIS.2$a%2.1@fx01.ams4> <11ct0m8$1f9uk$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-lon.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!fx01.ams4.POSTED!not-for-mail MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Arms race Newsgroups: sci.electronics.design References: <11bp6d1$16i93$1@dont-email.me> <ado1el51rv6t5e055ospgkmids7krtrd2m@4ax.com> <11bvc3s$3a0ts$1@dont-email.me> <a8n6elh26hc5cg98pn84idqp7rrel2l47o@4ax.com> <11bvnp8$3ehgg$1@dont-email.me> <11c0065$3hr4g$1@dont-email.me> <39e9elp8cqum5iatg21ltbf06hc4p4dgec@4ax.com> <11c2e63$cidf$1@dont-email.me> <J2mIS.2$a%2.1@fx01.ams4> <11ct0m8$1f9uk$1@dont-email.me> Content-Language: en-US From: Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> Organization: Watcom Pro Ltd. In-Reply-To: <11ct0m8$1f9uk$1@dont-email.me> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Lines: 90 Message-ID: <2eoIS.4$a%2.1@fx01.ams4> X-Complaints-To: abuse@easynews.com X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly. Date: Tue, 10 Nov 2026 02:25:00 +0800 X-Received-Bytes: 5148