Bộ nhớ truy xuất ngẫu nhiên ram là gì

RAM là viết tắt của Random Access Memory[RAM stands for Random Access Memory] , nó là một linh kiện điện tử rất quan trọng cần có để máy tính chạy được, RAM là một dạng lưu trữ mà CPU dùng để lưu trữ tạm thời các dữ liệu làm việc hiện tại. Nó có thể được tìm thấy trong tất cả các loại thiết bị máy tính như Điện thoại thông minh, PC, máy tính bảng, máy chủ, v.v.

Vì thông tin hoặc dữ liệu được truy cập ngẫu nhiên, thời gian đọc và ghi nhanh hơn nhiều so với các phương tiện lưu trữ khác như CD-ROM hoặc Ổ đĩa cứng[Hard Disk] nơi dữ liệu được lưu trữ hoặc truy xuất tuần tự, kết quả là quá trình truy xuất chậm hơn nhiều. thậm chí một lượng nhỏ dữ liệu được lưu trữ ở giữa chuỗi chúng ta sẽ phải xem qua toàn bộ chuỗi.

RAM cần nguồn điện để hoạt động, vì vậy thông tin lưu trữ trong RAM sẽ bị xóa ngay sau khi máy tính tắt. Do đó[Hence] , nó còn được gọi là Bộ nhớ dễ bay hơi[Volatile Memory] hoặc Bộ nhớ tạm thời.

Một Bo mạch chủ[Motherboard] có thể có nhiều khe cắm bộ nhớ khác nhau, Bo mạch chủ[Motherboard] tiêu dùng trung bình sẽ có từ 2 đến 4 khe cắm trong số đó.

Để Dữ liệu[Data] hoặc chương trình được thực thi trên máy tính, trước tiên nó cần được nạp vào ram.

Vì vậy, dữ liệu hoặc chương trình đầu tiên được lưu trữ trên ổ cứng, sau đó từ ổ cứng, nó được truy xuất và tải vào RAM . Sau khi nó được tải, CPU bây giờ có thể truy cập dữ liệu hoặc chạy chương trình ngay bây giờ.

Có nhiều thông tin hoặc dữ liệu được truy cập thường xuyên hơn những thông tin hoặc dữ liệu khác, nếu bộ nhớ quá thấp, nó có thể không thể chứa tất cả dữ liệu mà CPU cần. Khi điều này xảy ra thì một số dữ liệu dư thừa sẽ được lưu trữ trên ổ cứng để bù đắp cho bộ nhớ thấp.

Cũng nên đọc: [Also Read:] Windows Registry là gì và nó hoạt động như thế nào?[What is the Windows Registry & How it Works?]

Vì vậy, thay vì dữ liệu trực tiếp đi từ RAM đến CPU , nó phải lấy nó từ ổ cứng có tốc độ truy xuất rất chậm, quá trình này làm chậm máy tính đáng kể. Điều này có thể dễ dàng giải quyết bằng cách tăng dung lượng RAM có sẵn cho máy tính để sử dụng.

Hai loại RAM khác nhau

i] DRAM hoặc RAM động[ DRAM or Dynamic RAM]

Dram là một bộ nhớ chứa các tụ điện, nó giống như một cái thùng nhỏ lưu trữ điện và chính trong các tụ điện này, nó chứa thông tin. Bởi vì dram có các tụ điện yêu cầu phải được làm mới bằng điện liên tục, chúng không giữ điện tích trong thời gian dài. Bởi vì các tụ điện phải được làm mới động, đó là nơi chúng có tên. Công nghệ RAM[RAM] dạng này không còn được sử dụng tích cực do sự phát triển của công nghệ RAM hiệu quả hơn và nhanh hơn mà chúng ta sẽ thảo luận ở phần trước.

ii] SDRAM hoặc DRAM đồng bộ[SDRAM or Synchronous DRAM]

Đây là công nghệ RAM được sử dụng rộng rãi trong các thiết bị điện tử của chúng ta bây giờ. SDRAM cũng có các tụ điện tương tự như DRAM , tuy nhiên điểm khác biệt giữa SDRAM và DRAM[difference between SDRAM and DRAM] là tốc độ, công nghệ DRAM cũ chạy chậm hơn hoặc hoạt động không đồng bộ so với CPU , điều này làm cho tốc độ truyền tải bị trễ do các tín hiệu không được điều phối.

SDRAM chạy đồng bộ với đồng hồ hệ thống, đó là lý do tại sao nó nhanh hơn DRAM . Tất cả các tín hiệu được gắn với đồng hồ hệ thống để kiểm soát thời gian tốt hơn.

RAM được cắm vào bo mạch chủ dưới dạng các mô-đun người dùng có thể tháo rời được gọi là SIMM [Mô-đun bộ nhớ đơn trong dòng] và DIMM [mô-đun bộ nhớ trong dòng kép][SIMMs [Single in-line memory modules] and DIMMs [dual in-line memory modules]] . Nó được gọi là DIMM[DIMMs] vì nó có hai hàng chân độc lập ở mỗi bên trong khi SIMM[SIMMs] chỉ có một hàng chân ở một bên. Mỗi mặt của mô-đun có 168, 184, 240 hoặc 288 chân.

Việc sử dụng SIMM[SIMMs] hiện đã lỗi thời vì dung lượng bộ nhớ của RAM tăng gấp đôi với DIMM[DIMMs] .

Các DIMM[DIMMs] này có các dung lượng bộ nhớ khác nhau, nằm trong khoảng từ 128 MB đến 2 TB. DIMM[DIMMs] truyền 64 bit Dữ liệu[Data] cùng một lúc so với SIMM[SIMMs] truyền 32 bit Dữ liệu[Data] cùng một lúc.

SDRAM cũng được đánh giá ở các tốc độ khác nhau, nhưng trước khi đi sâu vào vấn đề đó, chúng ta hãy hiểu đường dẫn dữ liệu là gì.

Tốc độ của CPU được đo bằng chu kỳ đồng hồ, vì vậy trong một chu kỳ đồng hồ, 32 hoặc 64 bit dữ liệu được truyền giữa CPURAM , quá trình truyền này được gọi là đường dẫn dữ liệu.

Vì vậy, tốc độ xung nhịp của CPU càng cao thì máy tính càng nhanh.

Khuyến nghị: [Recommended:] 15 mẹo để tăng tốc độ máy tính của bạn[15 Tips To Increase Your Computer Speed]

Tương tự, ngay cả SDRAM cũng có tốc độ đồng hồ mà tại đó việc đọc và ghi có thể diễn ra. Vì vậy, tốc độ xung nhịp của RAM càng nhanh thì các hoạt động diễn ra càng nhanh, thúc đẩy hiệu suất của bộ xử lý. Điều này được đo bằng số chu kỳ nó có thể thực hiện được tính bằng megahertz. Vì vậy, nếu RAM được đánh giá ở tốc độ 1600 MHz , nó thực hiện 1,6 tỷ chu kỳ mỗi giây.

Vì vậy, chúng tôi hy vọng điều này đã giúp bạn hiểu cách thức hoạt động của RAM và các loại công nghệ RAM khác nhau .

RAM stands for Random Access Memory, it is a very crucial electronic component that is required for a computer to run, RAM is a form of storage that CPU uses to store the current working data temporarily. It can be found in all kinds of computing devices such as Smartphones, PCs, tablets, servers, etc.

Since the information or data is randomly accessed, the read and write times are much faster compared to other storage mediums such as CD-ROM or Hard Disk Drives where the data is stored or retrieved sequentially which is far slower a process as a result to retrieve even a small amount of data stored in the middle of the sequence we will have to go through the entire sequence.

RAM requires power to work, so the information stored in RAM gets erased as soon as the computer is switched off. Hence, it is also known as Volatile Memory or Temporary Storage.

A Motherboard can have a various number of memory slots, the average consumer Motherboard will have between 2 and 4 of them.

In order for Data or programs to be executed on a computer, it needs to be loaded into ram first.

So the data or program is first stored on to the hard drive then from the hard drive, it is retrieved and loaded into RAM. Once it’s loaded, the CPU can now access the data or run the program now.

There is a lot of information or data that gets accessed more frequently than others, if the memory is too low it might not be able to hold all the data that the CPU needs. When this happens then some of the excess data gets stored on the hard drive to compensate for the low memory.

Also Read: What is the Windows Registry & How it Works?

So instead of the data directly going from RAM to the CPU, it has to retrieve it from the hard drive that has very slow access speed, this process significantly slows down the computer. This can be easily tackled by increasing the amount of RAM available for the computer to use.

Two Different types of RAM

i] DRAM or Dynamic RAM

Dram is a memory that contains capacitors, which is like a small bucket that stores electricity, and it’s in these capacitors it holds the information. Because dram has capacitors that require to be refreshed with electricity constantly, they do not hold a charge for very long. Because the capacitors have to be dynamically refreshed, that’s where they get the name from. This form of RAM technology is no longer being actively used due to the development of far efficient and faster RAM technology which we will discuss ahead.

ii] SDRAM or Synchronous DRAM

This is the RAM technology that is widely used in our electronics now. SDRAM also has capacitors similar to DRAM, however, the difference between SDRAM and DRAM is the speed, the older DRAM technology runs slower or operates asynchronously than the CPU, this makes the transfer speed to lag because the signals are not coordinated.

SDRAM runs in sync with the system clock, which is why it is faster than DRAM. All the signals are tied to the system clock for a better-controlled timing.

RAM is plugged into the motherboard in the form of user-removable modules that are called SIMMs [Single in-line memory modules] and DIMMs [dual in-line memory modules]. It is called DIMMs because it has two independent rows of these pins one on each side whereas SIMMs only have one row of pins on one side. Each side of the module has either 168, 184, 240 or 288 pins.

The usage of SIMMs is now obsolete since the memory capacity of the RAM doubled with DIMMs.

These DIMMs come in different memory capacities, that range anywhere between 128 MB to 2 TB. DIMMs transfer 64 bits of Data at a time compared to SIMMs which transfer 32 bits of Data at a time.

SDRAM is also rated at different speeds, but before we delve into that, let us understand what data path is.

The speed of CPU is measured in clock cycles, so in one clock cycle, either 32 or 64 bits of data get transferred between the CPU and RAM, this transfer is known as data path.

So the higher the clock speed of a CPU the faster the computer will be.

Recommended: 15 Tips To Increase Your Computer Speed

Similarly, even SDRAM has a clock speed at which the read and write can take place. So the faster the RAM’s clock speed the faster the operations occur boosting the processor performance. This is measured in the number of cycles it can perform counted in megahertz. So, if RAM is rated at 1600 MHz, it performs 1.6 billion cycles per second.

So, we hope this helped you understand how RAM and different types of RAM technologies work.

Video liên quan

Chủ Đề