Showing posts with label RAM. Show all posts
Showing posts with label RAM. Show all posts

Monday, 18 March 2024

Gen 5 NVMe and DDR 5

It's hard to keep up with all the advances in storage technology. However, the latest and greatest seems to be PCIe Gen 5 NVM. I asked Google's Gemini about it and here is what it had to say.

PCIe Gen 5 NVM (Non-Volatile Memory) storage represents the cutting edge of storage technology. Here's a breakdown of what it is and how it differs from previous generations:

PCIe Gen 5 NVM in a Nutshell:

  • Superfast Data Transfer: Utilizes the PCIe Gen 5 interface, boasting significantly higher bandwidth compared to older generations. This translates to blazing-fast data transfer speeds, enabling quicker loading times and improved responsiveness for applications.

  • NVMe (Non-Volatile Memory Express): This refers to a high-performance storage access protocol designed specifically for solid-state drives (SSDs) connected via PCIe. It bypasses traditional storage bottlenecks, further optimizing performance.

Compared to earlier PCIe Gen NVM versions (e.g., Gen 3 & 4):

  • Speed Boost: Gen 5 offers nearly double the data transfer speeds compared to Gen 4. We're talking about reaching up to 12.4 GB/s read speeds, compared to Gen 4's 8 GB/s. This significant jump translates to real-world benefits for demanding applications.

  • Future-proofing: Gen 5 is built to handle the ever-growing data demands of applications like:

  • High-resolution video editing

  • AI and machine learning

  • Professional content creation

  • VR/AR experiences

  • Faster game loading times

Here's a table summarizing the key differences:

Feature

PCIe Gen 3 NVM

PCIe Gen 4 NVM

PCIe Gen 5 NVM

Interface

PCIe Gen 3

PCIe Gen 4

PCIe Gen 5

Maximum Bandwidth

Up to 4 GB/s

Up to 8 GB/s

Up to 12.4 GB/s

Ideal Uses

Mid-range PCs, moderate workloads

High-performance PCs, demanding workloads

Cutting-edge PCs, future-proof technology

Keep in mind:

  • Early Days: Gen 5 technology is still new (as of March 2024). While there are some Gen 5 NVM SSDs available, wider adoption and potentially lower prices might take some time.

  • Compatibility: Ensure your motherboard and system support PCIe Gen 5 to leverage the full benefits of Gen 5 NVM storage.

Overall, PCIe Gen 5 NVM storage represents a significant leap forward in data transfer speeds, making it ideal for users who demand the absolute best performance from their storage solutions. As the technology matures and becomes more widely available, it's poised to become the new standard for high-performance computing systems.

I thought I'd clarify what is meant by PCIe as well and this is what Gemini had to say:

In computer storage technology, PCIe stands for Peripheral Component Interconnect Express. It's a high-speed interface that allows devices like storage drives to connect to the motherboard and communicate with the CPU.

Here's how PCIe plays a role in storage:

  • High Bandwidth: Compared to older interfaces like SATA (Serial ATA), PCIe offers significantly higher bandwidth. This translates to faster data transfer speeds between storage devices and the CPU, ultimately improving system performance.

  • Flexibility: PCIe is a versatile interface used for various components beyond storage, including graphics cards and network cards. This allows for a more modular and scalable system design.

Generations of PCIe:

  • PCIe comes in different generations, each offering improved bandwidth and performance over the previous one. Current mainstream options include PCIe Gen 3 and Gen 4, with Gen 5 emerging as the latest cutting-edge technology.

Impact on Storage:

  • The type of PCIe interface a storage device uses significantly affects its performance. For instance, a PCIe Gen 4 NVMe SSD (Non-Volatile Memory Express) will outperform a SATA SSD due to the higher bandwidth capabilities of PCIe.

Benefits of PCIe for Storage:

  • Faster Loading Times: Faster data transfer speeds translate to quicker loading times for applications and games stored on PCIe SSDs.

  • Improved Responsiveness: Overall system responsiveness benefits from the rapid data transfer capabilities of PCIe storage.

  • Future-proofing: Opting for a PCIe interface with higher bandwidth (like Gen 4 or 5) prepares your system for future storage demands of increasingly data-intensive applications.

In essence, PCIe provides the high-speed connection critical for modern, high-performance storage solutions like NVMe SSDs. This allows them to unleash their full potential and significantly improve data transfer speeds compared to older interfaces like SATA.

I thought I'd ask about DDR 5 RAM while I was at and here was the response:

DDR5 RAM (Double Data Rate 5) is the latest generation of Random Access Memory, offering several improvements over its predecessors (DDR3 and DDR4). Here's a breakdown of the key differences:

Speed:

  • Faster Data Transfer Rates: DDR5 boasts significantly higher data transfer rates compared to DDR4. We're talking about jump from around 3200 MHz for DDR4 to starting points of 4800 MHz and potentially reaching 8400 MHz for DDR5. This translates to quicker processing of information and improved system performance.

Capacity:

  • Increased Density: DDR5 modules can hold more memory per chip compared to DDR4. This allows for the creation of RAM sticks with larger capacities, catering to the ever-growing memory demands of modern applications.

Power Efficiency:

  • Lower Voltage: DDR5 operates at a lower voltage (1.1V) compared to DDR4 (1.2V). This reduces power consumption, leading to potentially improved battery life in laptops and more energy-efficient desktops.

Error Correction:

  • On-die Error Correction (ODECC): A significant improvement in DDR5 is the integration of error correction (ECC) directly onto the memory modules themselves. This was previously handled by the CPU, and moving it to the RAM improves overall system performance and data integrity.

Other Improvements:

  • Enhanced Channel Architecture: DDR5 features a more advanced channel architecture that allows for better data flow and improved memory access patterns.

  • Burst Length: The burst length (the amount of data transferred in a single operation) has been increased in DDR5, further optimizing data transfer efficiency.

Here's a table summarizing the key differences:

Feature

DDR4

DDR5

Data Transfer Rate

Up to 3200 MHz

Starting at 4800 MHz (potential for 8400 MHz)

Capacity

Up to 32 GB per module

Up to (and beyond) 32 GB per module

Voltage

1.2 V

1.1 V

Error Correction

Handled by CPU

On-die Error Correction (ODECC)

Important Considerations:

  • Early Days: Like any new technology, DDR5 is still in its early stages (as of March 2024). While some DDR5 RAM is available, it might be pricier than DDR4 for some time.

  • Compatibility: Ensure your motherboard specifically supports DDR5 RAM. Installing DDR5 RAM in a system designed for DDR4 won't work.

Overall, DDR5 RAM represents a significant leap forward in memory technology, offering faster speeds, higher capacities, and improved efficiency. As the technology matures and becomes more widely adopted, it's poised to become the standard for high-performance computing systems.

On a final note, I exported the Gemini content of this post to Google Docs and thus retained all the formatting. This is quite useful as well as being executed very quickly. Tables within the Gemini content can be exported to Google Sheets if required.

Saturday, 9 April 2022

Testing Out The Raspberry Pi 400

 


Figure 1

Figure 1 shows the ports on my newly acquired Raspberry Pi 400 with the following specifications:

  • Broadcom BCM2711 quad-core Cortex-A72 (ARM v8) 64-bit SoC @ 1.8GHz
  • 4GB LPDDR4-3200
  • Dual-band (2.4GHz and 5.0GHz) IEEE 802.11b/g/n/ac wireless LAN
  • Bluetooth 5.0, BLE
  • Gigabit Ethernet
  • 2 × USB 3.0 and 1 × USB 2.0 ports
  • Horizontal 40-pin GPIO header
  • 2 × micro HDMI ports (supports up to 4Kp60)
  • H.265 (4Kp60 decode); H.264 (1080p60 decode, 1080p30 encode); OpenGL ES 3.1, Vulkan 1.0
  • MicroSD card slot for operating system and data storage
  • 78- or 79-key compact keyboard (depending on regional variant)
  • 5V DC via USB connector
  • Operating temperature: 0°C to +50°C ambient
  • Maximum dimensions 286 mm × 122 mm × 23 mm

Figure 2 shows its actual appearance.


Figure 2

I bought it on a whim for my 73rd birthday and it only arrived today. The operating system was already installed on the 16GB memory card and, after connecting the power and the monitor, I was up and running in no time. The first hardware issue that I encountered was with Bluetooth. My ancient monitor has no inbuilt speakers and so I assumed that I would be able to listen to sound using my Bluetooth earbuds. Not so. The Raspberry Pi's Bluetooth 5.0 did not detect them.

I've only ever used the earbuds with my iPhone and they work flawlessly on that device. I succeeded in connecting to them from my Ubuntu laptop and the connection was terrible but it was still, technically, a connection. With a second set of Bluetooth earbuds, I encountered the same problem. I'll come up with a solution to this Bluetooth "invisibility" sooner or later probably, after all it's only Day 1. I know what I'm letting myself in for. If I didn't want any problems, I'd simply go out and buy a Mac of some description. I still may do so but for the moment I'll enjoy tinkering and troubleshooting with my new toy.

Software-wise, it becomes clear that the Chromium browser and the Chrome browser as two different beasts as the following extract from this site explains:

Google Chrome is one of the most popular browsers all over the world. And Raspberry Pi is the most popular mini-PC device. But unfortunately, they can’t meet together –  there is no Chrome build for Raspberry Pi (and for any other ARM-based PC except Chromebook). You can use a number of other browsers (such as Epiphany, IceWeasel or even Lynx), but will face a lack of functionality.  Many Pi-world enthusiasts use the open source version of Chrome – Chromium browser. But this isn’t a full replacement.

Chrome includes a number of proprietary libraries and in some cases, you need to use authentic Google software. For example, you can watch videos on Netflix or Amazon Prime with Chrome and can’t with Chromium. Good news that there is a simple solution to override this issue. Using Exagear Desktop allows you to get full x86 Linux environment. And this means that you can launch any application available in x86 Linux world, including Google Chrome!

Maybe I'll try Exagear out at some point but at the moment I have 4GB of RAM and a 16GB memory card as permanent storage. I need to be careful not to overtax these limitations. If possible, I'd like to upgrade to 8GB RAM and swap the memory  card for a fast SSD. I need to watch some tutorials on the subject to determine if this is possible.

ADDENDUM:

Updating the firmware is as important as keeping your operating system and software up to date, though there might be less frequent stable updates. The main importance of this is security patches. If vulnerability in the code has been found, your Raspberry Pi firmware needs to be updated to reduce the risk of it being exploited.

The other reason is performance enhancement. Though updates usually only bring minor changes, some offer major benefits. For example, the Raspberry Pi Foundation’s November 2021 update increased the turbo-mode clock from 1.5 GHz to the 1.8 GHz for recent Raspberry Pi 4s.

If you’re running Raspberry Pi OS, your firmware options are limited to what’s offered by the Raspberry Pi Foundation. We’ll mention some alternative Raspberry Pi-compatible operating systems later.

The Raspberry Pi Foundation has put a lot of work into making the initial setup and update process for Raspberry Pi OS extremely easy. It’s detailed on their website, but the basic steps are to check for updates with sudo apt update followed by running a full upgrade (if there’s anything new) with sudo apt full-upgrade. Using this process, you’ll be updating the operating system as well as the firmware to the latest stable releases.

My hope of course was that this update would solve my Bluetooth problems. As if it would be that easy! The update made no difference whatever in that department.