Still killing the process? Things you don't know about Android

Source: Internet
Author: User

Do you really know about Android?

Google has brought us a new Android system different from IOs. Today, cainiao have become a dominant player and more people are using Android phones. However, do you really know about Android?

Android has changed from cainiao to a dominant player.

In fact, in many aspects, the mechanism of the Android system is also very different from that of other systems. More often, users bring the experience of using other systems to their Android phones, for example, the first thing that many people buy Android phones is to install process killing software such as "Advanced Task Manager" or "auto task killer... today, the editor will share with you some of the distinctive Android mechanisms in the most easy-to-understand way.

Background

Background

Users who have used Symbian or Windows Mobile systems generally have a habit of paying attention to the amount of remaining Ram resources frequently. They wish to break a copy of ram into two blocks for fear of any background applications.ProgramAndroid uses different memory management mechanisms: when a user switches back from the program to the main interface, the program will be paused, and the system will not allocate CPU resources to it at this time, in this way, we can increase the speed of the next entry into the program. Second, we will not consume too much power during multi-task operations, but will not slow down the system speed. Users who often use Android programs may have this experience. When the Home Key is switched back to the main interface and then returned, the program will be loading again from the main interface, this is because of this mechanism (of course there are exceptions, which I will describe later ).

Android background mechanism

In fact, the android program consumes a lot of RAM, because Android is actually based on Java, and each opened application carries a Java virtual machine, therefore, it consumes more RAM than other systems, but it is very good to do so-a single program crash does not affect the system stability, which is a beneficial Android feature.

We can see that the Android platform ensures both stability and speed while ensuring multi-tasks, but it is precisely because of the mindset that other platforms bring to users, it makes many Android users think that the backend will naturally slow down as long as it is enabled, which will naturally shorten the endurance time. However, users do not have to worry about this.

"Auto task killer" and other killing process software... today, the editor will share with you some distinctive Android mechanisms in the most easy-to-understand way.

Recycling Mechanism

Recycling Mechanism

Careful friends may ask, Ram is limited, what if the program is full? In this regard, the android system also handles the automatic memory recycle mechanism, which is completed by lowmemory killer in the Linux kernel.

Android has an automatic Memory Management Mechanism

Specifically, the android system has a table sorted by importance from high to low. All applications are seated by importance (foregroud_app, visible_app, secondary_server, home_apphidden_app, content_provider, empty_app). The program located at the end of this ranking is naturally the main target of Android. For example, the six programs belong to these six types, with the memory thresholds 8 Mb, 12 Mb, and 20 mb respectively in the descending order of 1, 2, 3, 4, 5, and 6, 32 MB, 48 MB, 60 MB (assuming), when the idle Ram is less than 48 MB, the system will kill 5 and 6; when the idle Ram is less than 20 mb, the system will kill 3 to 6 programs. Here I simplified this mechanism. In fact, all program types correspond to the memory threshold values one by one and are strictly enforced.

Therefore, when using general applications or standby applications (such as the UC browser), you can submit the memory management work to the Android system. Of course, the kill process is useful when you need to start a large game. More free RAM can increase the game startup speed.

Flash and running points

Flash and running points

Android2.2 is not a sufficient condition to support flash. In addition to android2.2, a CPU that supports the armv7 instruction set is required. This is why many Android models do not support flash. Therefore, do not be fooled by some parameters.

Flash makes Android more powerful

Quadrant advanced, a software that is familiar to Android users, can be used to test Android hardware in terms of I/O, CPU, 3D, and 2D, and generate a bar chart with other models and horizontal charts, which is a benchmark for many Android players to compete for the hardware level. However, during the test, I found that similar software is not objective enough. factors such as the quality of optimization and firmware version will greatly influence the test results. For example, in the smartbench2011 test, the game score of the Nexus S game that has passed the overclocking and optimization can even reach 10082 (the dual-core flagship is usually around 2700 ). Quadrant
Advanced is also powerless to reflect the actual performance of dual-core mobile phones. Therefore, we suggest you look at these results objectively.

Running points are sometimes untrusted.

Power Consumption and self-start

Power Consumption and self-start

As I mentioned above, background processes, such as (push required) or music playback (backend running required), will automatically enable a service when these applications are switched to the backend, these applications with service attached consume CPU resources and power. General applications without services basically do not consume CPU resources and power.

Power issues are a major concern for Android users

Many people think that dual-core CPUs will consume more power. In fact, users who have used Motorola Atrix 4G should have the most say. The use of dual-core Atrix 4G improves work efficiency and saves power, the Android mobile phone is the most expensive or the screen, minimizing the screen opening time and lowering the screen brightness, which is the most effective and direct way to prolong the standby time.

I believe many people have this question about the Automatic startup of the application: "Why does it run automatically after I close the application ?" I have read a lot of information, and there are very few related materials, but I can be certain that these automatically started services are required by plug-ins and synchronization needs, or the application corresponding to the service that is running in the background. In some cases, the background program does not really start, but is paused, so that the user can access the service as quickly as possible, this is an advantage of the Android system mentioned above. As long as the started programs do not have service items, they are all suspended and do not consume CPU resources or power, it makes no sense to compete with these programs.

Of course, if you really want to prevent them from starting, there are still some methods. The first is to disable the network when the mobile phone is in standby mode, so that most applications will not start on their own; the second is to delete the corresponding self-starting application after root and kill these programs from the source. However, these two methods definitely do more harm than good.

App2sd and program uninstall

App2sd and program uninstall

With regards to app2sd, PC experience tells users that the smaller the disk space for C, the slower the PC speed. Therefore, many people attempt to enable app2sd, or even partition the memory card, and want to transfer the program to the SD card, this saves some space for Android phones and increases the speed of mobile phone operation. However, this also has a major drawback. The first is that it will increase power consumption, and the second is that some plug-ins fail, third, the program running efficiency is reduced, and the SD card is also put forward high requirements.

App2sd adds new significance to the microSD card

With regard to program uninstallation, many people will find that they are unable to uninstall some programs in the mobile phone after buying the Android phone. In fact, this is related to the firmware, some manufacturers or operators will fl the modified firmware into the mobile phone. The program in the firmware already belongs to the system level, and it is difficult to delete it. Users only need to root their mobile phones before making system level changes. If you do not pay attention to this, you will be charged. This is also an easy option for many users to ignore when purchasing mobile phones.

There is no reason for the popularity of the Android system. The multi-task and perfect system mechanism, as well as the high degree of freedom make it attractive. After reading these five aspects, do you have a deeper understanding of the Android system?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.