• chevron_right

      20-year-old Linux workaround is still slowing down AMD systems

      news.movim.eu / ArsTechnica · Monday, 26 September, 2022 - 20:51 · 1 minute

    A second-generation Epyc server chip from AMD, one that may have been running 2002-era Linux code slowing it down.

    Enlarge / A second-generation Epyc server chip from AMD, one that may have been running 2002-era Linux code slowing it down. (credit: Getty Images)

    AMD has come a long way since 2002 , but the Linux kernel still treats modern Threadrippers like Athlon-era systems—at least in one potentially lag-inducing respect.

    AMD engineer Prateek Nayak recently submitted a patch to Linux's processor idle drivers that would "skip dummy wait for processors based on the Zen microarchitecture." When ACPI support was added to the Linux kernel in 2002—written by Andy Grover, committed by Linus Torvalds—it included a "dummy wait op." The system essentially read data with no purpose other than delaying the next instruction until the CPU could fully stop with the STPCLK# command. This allowed for some power saving and compatibility during the early days of ACPI implementation when some chipsets wouldn't move to an idle state when one would expect it.

    But today's Zen-based AMD chips don't need this workaround, and, as Nayak writes, it's hurting them, at least in specific workloads on Linux. Testing with instruction-based sampling (IBS) workloads shows that "a significant amount of time is spent in the dummy op, which incorrectly gets accounted as C-State residency." The CPU, seeing all this low-effort dummy work, can push into deeper, slower C-State, which then makes the CPU take longer to "wake up," especially on jobs that require lots of switching between busy and idle states.

    Read 3 remaining paragraphs | Comments

    • Fo chevron_right

      Here’s Why NASA Perseverance Rover Is Powered By A 23 Yr Old CPU

      pubsub.do.nohost.me / FossBytes · Wednesday, 3 March, 2021 - 06:27 · 1 minute

    Perseverance rover processor

    Last month, the Perseverance rover landed on Mars and proved that decades of countless efforts that went into improving space aviation didn’t go in vain. Until the touchdown on the surface of Mars, known as “7 Minutes of Terror,” the landing period of the rover were some of the “brutal and nerve-wracking minutes in space aviation history, but this is just the beginning for Perseverance,” said Al Chen of JPL (Jet Propulsion Laboratory).

    That said, Perseverance’s landing on the red planet wasn’t just the result of NASA’s technology but also the open-source software like Linux used in Ingenuity . It’s a small helicopter tucked inside the belly of the rover. Ingenuity will be the first time an aircraft will fly in the martian atmosphere.

    Perseverance Rover: Did NASA Use High-End Components?

    Many people often question the components inside these rovers might be highly advanced and expensive, but that’s not true.

    Ingenuity’s powered by an almost 8 years old ARM-based chipset called Snapdragon 801 from Qualcomm, used in the OnePlus One.

    iMac G3

    Perseverance uses a 23-year-old CPU called PowerPC 750 from Apple’s iconic iMac G3, launched in 1998 when Apple was all set to revolutionize modern computing.

    The PowerPC 750 is a single-core CPU that runs at 233MHz, which comes nowhere near modern electronics processors’ power. The reason why they chose to go with the same is because of its efficiency.

    IBM PowerPC750

    PowerPC 750 was the first processor to come equipped with dynamic branch prediction . For starters, using the dynamic branch prediction, the processor guesses instructions to follow next based on the previous instructions. Modern processors use this method, and hence, they perform efficiently.

    However, the catch is that the rover’s processor is not exactly PowerPC 750 but rather an improved version of RAD750. It’s made to withstand immense radiation of 200,000 to 1,000,000 Rads. It can also withstand temperatures between -55 to 125℃ or -67 to 257℉.

    The reason for this is; Earth has an Ozone layer to protect is from the harmful ultra-violet radiation from the Sun. In contrast, just one glance of sunlight on Mars and the rover is done for.

    If you want to know more about Ingenuity or the software and hardware components used inside it, do make sure to read our article about the same .

    The post Here’s Why NASA Perseverance Rover Is Powered By A 23 Yr Old CPU appeared first on Fossbytes .