Subscribe:

Pages

Monday, July 11, 2011

tweak RAM performance

Your memory RAM is the most important resource on your smartphone, and how it is used can drastically affect performance. Android 2.1 and up have the new version of the linux kernel which has a built in task killer. If you have a task killer, it is probably costing you RAM. Also, 128 MB is reserved for the GPU.

RAM can also affect speed for a single process. A program might have to use swap space more often, depending on the size of the process and the amount of RAM. It used to be that 256MB would have been unheard of luxury for programmers. Now it's at most barely sufficient, and more likely lacking. You are assuming that a process wouldn't need anywhere near 256MB, but you have to deduct the overhead of OS. That will likely cut the available memory down to something much smaller that a process could swallow.

Your comparison about processors assumes the same architecture, I just checked and the processors for the two devices are almost identical: a Cortex-A8 ARM. However, I just realized that there is another potential problem in the head-to-head comparison you suggest: the OS. One might be considerably more efficient and better written than the other. (A comparison between Vista and almost anything else comes to mind.) The better written the OS, the faster the performance. For exmaple, you could run Linux on a box that would crawl under the weight of Windows. You're making the mistake of looking at raw numbers and forgetting that they exist in a context. It's like trying to claim that one digital camera is better than another based on megapixel count. But the considerations get a lot more complicated than that. 



How do i get more ram ?

# RAM is being used if you have a lot of apps running. Go to Settings > Applications > Running services and you see what is running and how much RAM you have left. You can force quit any apps that you are not using and free up ram. This is like Android's in-home task manager.
The only way to get more RAM would be to flash +64MB kernel, which takes some of the reserved GPU RAM back, maybe ?

# Install a task manager like Advanced Task Killer to limit the number of applications running the background. Kill off any unnecessary apps and then try running the game.


more RAM more speed ?

RAM does not affect your speed but the amount of processes it can handle, I never said RAM couldn't affect speed, not only that but you are not gonna be using about 215Mb worth processes on a phone (if you disagree with this it may be obvious that you have not been introduced to programing).

If you have a computer with a CPU that runs at 1.6Ghz and 4Gb RAM and you have another that runs at 1.6Ghz and has 6Gb RAM, Both will work at the same speed if the open a process that takes less that 2Gb's to run.
If you have a computer with a CPU that runs at 1.6 Ghz and has 2Gb's ram and another with a CPU that runs at 2.2Ghz and 1Gb of RAM, your 1.6 will run faster on processes that take up about 1Gb (mabye even 512Mb, I don't feel like doing math) But if the process takes up 256Mb your 2.2 will smoke your 1.6 (This is the reason why we come out with better processors and why 8Gb's of RAM is being questioned as reasonable).

tweaking RAM with ADB

1. create a file in notepad, put the file name ramtweak.sh

input the following code :
tips and tricks RAM tweak code 1

#!/system/bin/sh
# This will stabilize the memory leaks in Gingerbread and other ROMs.

# Adjusting Memory Settings
# The values in MB: 10, 16, 24, 68, 76, 92
if [ -e /sys/module/lowmemorykiller/parameters/minfree ]; then
echo "Modifying minfree parameters"
echo "2560,4096,6144,17408,19456,23552" > /sys/module/lowmemorykiller/parameters/minfree
else
echo "minfree not found"
fi



2. connect your device to a computer, open the folder where there adb.exe through CMD. move that file to a folder with ADB, go to the ADB

then enter the following code :
tips and tricks RAM tweak code 2

D:\ADB\platform-tools>adb push ramtweak.sh /system/etc/init.d



3. notification will come out successfully. then continue by entering the command "adb shell"

later appearance will change to :
tips and tricks RAM tweak code 3

D:\ADB\platform-tools>adb shell
/ #



4. get into superuser mode, type su (enter super user mode).

and enter this command :

tips and tricks RAM tweak code 3

D:\ADB\platform-tools>adb shell
/ # chmod 777 /system/etc/init.d
chmod 777 /system/etc/init.d



5. restart and done

0 comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...
Top  blogs Preview on Feedage: android-software-free Add to My Yahoo! Add to Google! Add to AOL! Add to MSN Subscribe in NewsGator Online Add to Netvibes Subscribe in Pakeflakes Subscribe in Bloglines Add to Alesti RSS Reader Add to Feedage.com Groups Add to Windows Live iPing-it Add to Feedage RSS Alerts Add To Fwicki
increase traffic Technology
mobile bredbånd Online MarketingTechnology Blogs
Technology links Technology blogs Android, Apk, Downloads, Applications, Games, apps

Free SEO Tools

Web Link Exchangesubmitgooglesitemap.com sitemap generatorhostgator couponMy Ping in TotalPing.comPing GoogleDreamhost coupon