Mobile phone (memory) changed from 8G to 12G? Is "memory fusion" really so powerful?

Text/talk about technology

Seeing that many people are singing bad about this function, I think everyone is a little extreme. Although this technology is not so new, it doesn't mean that the old technology can't rejuvenate.

Memory fusion technology, just the name, originated from VIVO system, that is, when the original Origin OS was released, it was the first time that ordinary consumers knew that there was something similar to PC virtual memory on Android system.

In fact, memory fusion technology is not a particularly new technology. Its underlying technology is an improved version of the existing technology in Linux system, which has always been known as swap and zram, but these two technologies have always had great shortcomings.

Among them, SWAP technology is similar to the virtual memory technology we see on the Windows platform. Simply put, when the system detects that the physical memory is insufficient, it allocates a part of flash memory space (that is, hard disk storage space) for memory use, so that the service in the system will not be suspended or unresponsive directly. But the core problem of this technology is that when the system senses that there is not enough memory, it has already started the memory recycling mechanism, which is also the root cause of the jam. Coupled with the limitation of flash memory speed in those years, SWAP technology has not played a good role in Android system.

On the other hand, Zram technology is a compression technology. For example, suppose that a process supporting WX needs 500M of storage space. After adopting ZRAM technology, when the application is opened, the CPU will initially compress the process from 500M to 300M, thus reducing the occupation of physical storage space. But this technology also has shortcomings. That is to say, it will occupy the computing power resources of the CPU, which is equivalent to adding a compression job to the CPU while opening the application, which naturally has a considerable impact on the fluency of the whole machine (the execution efficiency of the Android system).

To sum up, although swap and zram were born for a long time, they have not been reused due to various disadvantages, and swap itself is a product for some low-end mobile phones.

But with the passage of time, the progress of technology and the improvement of hardware performance, these two technologies have ushered in their own spring. The first is the rapid improvement of flash memory performance, from emmc to the latest UFS3. 1. The sequential read-write and random read-write performance of flash memory are greatly improved, which lays a good hardware foundation for swap technology, because the performance bottleneck of virtual memory technology comes from the read-write performance of flash memory.

However, please note that this does not mean that all mobile phones equipped with Android +UFS3. 1 system can have a stable and smooth experience after turning on swap technology.

The reason is also very simple, because native swap technology is not smart. It will simply and rudely throw some processes into the flash memory space under the condition of insufficient memory according to the system detection. If this process happens to be the legitimate process that the user is using, then the application will get stuck, and the experience will be affected. And SWAP technology will only intervene when the system thinks that the memory is insufficient. At this time, in fact, there has been a performance bottleneck, which can not directly avoid the problem of system jam.

Therefore, for mobile phone manufacturers, how to make swap technology "alive and smart" is the key, and in this respect, the technical differences between mobile phone manufacturers are actually different. You can take a look at the description of memory fusion technology at the first conference of VIVO Origin OS. There are two very important indicators-"intelligent allocation, early intervention".

What do you mean? Simply put, the modified memory fusion technology will intelligently judge which process can be put into the allocated space of flash memory according to the user's usage habits and the characteristics of the software itself without affecting the user experience, which requires the system research and development department of the mobile phone manufacturer to judge according to its own user behavior data and the communication results with the application manufacturer.

This is a big project, which requires great efforts, but it is not as simple as everyone thinks.

Early intervention means that memory fusion technology will actively intervene the user's behavior pattern in advance, rather than wait until the memory is insufficient, thus avoiding the risk of fluency decline caused by insufficient memory to some extent. This also needs mobile phone manufacturers to develop.

As for zram technology, it has also been greatly optimized. For example, as mentioned at the latest developer conference of VIVO, the memory occupation of the native system of 800M can be reduced through memory fusion technology, which is a typical technical application. The optimized zram technology can better cooperate with NPU, thus reducing the burden on CPU and making it serve the system smoothly while avoiding some disadvantages.

To sum up, this technology is very necessary. After all, the memory of a mobile phone cannot be increased indefinitely. How to use technology to reduce hardware costs is also a big trend in the future.

Just virtual memory.

It's no use. A long time ago, there was virtual memory technology on the computer, and then there was no following. Hardware is not good, and neither is system optimization. It's just that the parameters were good-looking, which is a gimmick made by the manufacturer. Apple never heaps parameters, and those who claim that memory integration is deceptive.

In fact, it is swap on linux, which is similar to the virtual memory function on Windows. Change the name (memory fusion) and you will know that it is high. What a fool

Honor does not have this function, does it?