Originally posted by sinepgib
View Post
Announcement
Collapse
No announcement yet.
The Linux Kernel May Finally Phase Out Intel i486 CPU Support
Collapse
X
-
Originally posted by caligula View PostWell, actually Rust does have some issues with legacy targets https://github.com/rust-lang/rust/issues/82435 - I'm not sure if Rust even supports bootstrapping the whole toolchain for building a kernel on a i486/586 target.
EDIT: also clarifying that, yes, currently Rust will have issues, but no, it isn't because of that (for a start, it shouldn't be that hard to fix in rustc) that they think of dropping i486, but because of the extra effort it would take to support MGLRU on it. Two issues may coexist without being both bad enough to take drastic measures, and the case of Rust is pretty much fixable.Last edited by sinepgib; 25 October 2022, 10:24 AM.
- Likes 1
Comment
-
Originally posted by Developer12 View PostThe pentiums speculate and are affected. They're complex out-of-order superscalar chips.
Pentium Pro was the first x86 with speculative execution IIRC. (fixed per Svyatko's comment below)Last edited by bridgman; 26 October 2022, 12:08 PM.Test signature
- Likes 3
Comment
-
Originally posted by bridgman View Post
Pentium Pro was the first with speculative execution IIRC.
https://en.wikipedia.org/wiki/Pentium_(original)
The P5 Pentium was the first superscalar x86 microarchitecture and the world's first superscalar microprocessor to be in mass production—meaning it generally executes at least 2 instructions per clock mainly because of a design-first dual integer pipeline design previously thought impossible to implement on a CISC microarchitecture.
Comment
-
Originally posted by kneekoo View Post
All existing hardware has "32-bit CPUs" simply because they can run 32-bit software. RAM-limited PCs are better off with 32-bit software, to save RAM. I just checked Amazon.com and they have over 2000 results (in late 2022!) for laptops with 2GB or 4GB RAM - many of them with ChromeOS or Windows 10/11, so they're not ancient hardware. Many, if not all, don't have a RAM upgrade option. It's downright insulting towards consumers, but they're cheap enough that people still buy them.
So stop acting like a smartass and rather throw crap at PC manufacturers for perpetuating this nonsense. Go tell a kid to ask his parents to buy a new laptop with more RAM, and see how that works. It's easier to just install 32-bit software to lower the RAM usage. It won't run as fast as 64-bit software, but it will run well enough. It won't run every browser, but Firefox and Chromium still have 32-bit builds.
My system with 3 GiB RAM runs in 64 bit faster than in 32 bit.
With small amount of RAM Linux with swap on NVME drive works OK.
32-bit OSes support only 2 GiB for system + 2 GiB for applications.
Forget about 32-bit OSes for modern web browsing and desktop.
New AM4 A320 mobo + A6 APU + 4-8 GiB of RAM can cost about $100 and supports x86-64-v3.
Comment
-
Originally posted by Svyatko View PostFirefox & Mesa 3D requires SSE2, Chrome browser requires SSE3.
Originally posted by Svyatko View Post32-bit OSes support only 2 GiB for system + 2 GiB for applications.
Besides, since that's only for the address space, it's *per* application, not *for* applications. You can have hundreds of GiBs on swapped applications if you need to. As long as a single one doesn't use more than that (which regular applications shouldn't, regardless of the fact they do due to sloppiness).
Originally posted by Svyatko View PostNew AM4 A320 mobo + A6 APU + 4-8 GiB of RAM can cost about $100 and supports x86-64-v3.
- Likes 1
Comment
-
Originally posted by Svyatko View PostFor x86 only, not for all others: https://en.wikipedia.org/wiki/Superscalar_processor
Interestingly enough IBM did not use speculative execution again for 20+ years after the 7030.
While poking around at the history I was reminded that just having a branch predictor does not automatically imply speculative execution - some CPUs just do speculative fetching and others do speculative fetching and decoding with no speculative execution in either case.Test signature
Comment
-
Originally posted by Svyatko View PostFirefox & Mesa 3D requires SSE2, Chrome browser requires SSE3.
My system with 3 GiB RAM runs in 64 bit faster than in 32 bit.
With small amount of RAM Linux with swap on NVME drive works OK.
32-bit OSes support only 2 GiB for system + 2 GiB for applications.
Forget about 32-bit OSes for modern web browsing and desktop.
New AM4 A320 mobo + A6 APU + 4-8 GiB of RAM can cost about $100 and supports x86-64-v3.
Here's one example that costs $200: https://www.amazon.com/10-1Inch-Grap...dp/B086LB6FVW/
It's a cheap and fully functional PC, you can do a lot of things with it, but the RAM limitation is pretty bad.
CPU: Intel Atom x5-Z8350 quad core 64-bit, Secure Boot, AES-NI and VT-x (you can even run retro VMs)
RAM: 2GB maximum
Storage: 32GB eMMC
Apart from the write cycle limit that flash memory has, eMMC is also not great because the more you use it, the slower it becomes, so swapping both shortens its lifetime and performance. And running a desktop OS and browsing the web requires some RAM. The Raspberry Pi OS would be a great choice for that kind of a PC, maybe even the 64-bit version, but if you have to run multiple programs and you want to make sure you don't easily end up swapping, 32-bit software takes the RAM usage down a few notches and you can do almost every kind of task you need, especially for such a low-priced hardware.
And to be fair, with a SoC running on 2W, it's also a cheap to operate PC, saving a lot of money on the electricity bill compared to other options. So at least there's a positive. But other than that, 32-bit software is the better choice if you want to prolong the lifetime of such a device.
- Likes 1
Comment
-
Originally posted by kneekoo View Post
Swapping on flash memory is a terrible idea, especially on cheap hardware, which is the target of those RAM-limited laptops. And again, the point I was making there is that not everyone knows how to shop for hardware, and some people actually have little money to spend on computers. And even today, people can buy this kind of hardware, brand new.
Here's one example that costs $200: https://www.amazon.com/10-1Inch-Grap...dp/B086LB6FVW/
It's a cheap and fully functional PC, you can do a lot of things with it, but the RAM limitation is pretty bad.
CPU: Intel Atom x5-Z8350 quad core 64-bit, Secure Boot, AES-NI and VT-x (you can even run retro VMs)
RAM: 2GB maximum
Storage: 32GB eMMC
Apart from the write cycle limit that flash memory has, eMMC is also not great because the more you use it, the slower it becomes, so swapping both shortens its lifetime and performance. And running a desktop OS and browsing the web requires some RAM. The Raspberry Pi OS would be a great choice for that kind of a PC, maybe even the 64-bit version, but if you have to run multiple programs and you want to make sure you don't easily end up swapping, 32-bit software takes the RAM usage down a few notches and you can do almost every kind of task you need, especially for such a low-priced hardware.
And to be fair, with a SoC running on 2W, it's also a cheap to operate PC, saving a lot of money on the electricity bill compared to other options. So at least there's a positive. But other than that, 32-bit software is the better choice if you want to prolong the lifetime of such a device.
Comment
Comment