Home  >  Article  >  What are the disadvantages of memory fusion?

What are the disadvantages of memory fusion?

藏色散人
藏色散人Original
2023-03-21 17:14:0017418browse

The disadvantage of memory fusion is that it will affect the storage life of the mobile phone; SWAP refers to memory fusion technology. When the memory is insufficient, part of the hard disk space is taken out and the overflowed data is temporarily stored to ensure the stability of the front-end application. Works, but after it is turned on, the foreground operation is intuitively slowed down, the memory write delay is greatly increased, and the background keep-alive ability is slightly improved.

What are the disadvantages of memory fusion?

The operating environment of this tutorial: macOS 13 system, M1 Macbook Air.

What are the disadvantages of memory fusion? What is memory fusion technology?

It’s actually the old-fashioned SWAP, which is the same type as Windows’ Virtual Memory M1 Macbook’s memory swap.

Let me talk about the conclusion first. Memory fusion technologySWAP will have an impact on the storage life of mobile phones.

What is SWAP:

swap is translated as "exchange, replacement".

When the memory is insufficient, use part of the hard disk space to temporarily store the overflowed part data to ensure the work of the foreground application.

Virtual memory under Windows is also partitioned through SWAP. Part of the hard disk space is allocated as memory. Now the solid-state read and write can also have 7000Mbps. It sounds like it is not a problem to use it temporarily as memory. big.

But I believe many old Windows players are deeply impressed by the various bugs caused by Windows virtual memory...

What are the disadvantages of memory fusion?

Android is based on Linux, so it is natural to use SWAP to temporarily pull out a part of the flash memory for use by the memory brother. There seems to be nothing wrong with it.

But after it is turned on, the foreground operation is intuitively slowed down, the memory writing delay is greatly increased, and the background keep-alive ability is slightly improved, which is not a good experience.

What are the disadvantages of memory fusion?

Theoretically speaking, the performance of high-end hard disks with a few gigabytes of cache is already very good. Android machines often also have a 64K L1 Cache, which should be able to make up for it to a certain extent. Differences in speed and latency between memory and hard drive.

But in fact, whether it is mechanical or solid state, they are essentially born for non-volatile storage, and memory born for volatile storage is based on software and hardware. The huge difference destined SWAP to face severe compatibility issues and hardware life issues.

Take the 8G memory version of the M1 Macbook Air as an example. Poor memory management results in excessive and frequent reading and writing of the hard disk SWAP partition, and even 22TB is written in a month. It's hard to imagine whether such a hard drive can still work normally after one year of warranty.

Let’s talk about the memory fusion technology recently released by Android manufacturers. In fact, it is still SWAP. There should be none of the problems mentioned above. , overall it does more harm than good.

For existing flagship models, it is really stupid to sacrifice running speed and open two more apps in the background.

The user is innocent, and the manufacturer does SWAP for the flagship model with 8G memory out of good intentions. So who can we blame? We can’t blame BAT for not setting a good example, right?

Don’t dare to make random mistakes!

For more related knowledge, please visit the FAQ column!

The above is the detailed content of What are the disadvantages of memory fusion?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn