DDR5 ZRam - Xiaomi Mi 10T / 10T Pro Guides, News, & Discussion

i just noticed something with the mi 10t, it still use zram with 100 percent swap rates... i wonder why because the phone have 8gig of ram...my guess is because ddr5 ram it just so much faster so they store more stuff in it. or maybe because the phone only have 4gig ram but they emulated to 8 gig?

paul999 said:
i just noticed something with the mi 10t, it still use zram with 100 percent swap rates... i wonder why because the phone have 8gig of ram...my guess is because ddr5 ram it just so much faster so they store more stuff in it. or maybe because the phone only have 4gig ram but they emulated to 8 gig?
Click to expand...
Click to collapse
another thing i notice is when you set the io read ahead for 10t to 4096, the phone will become more snapper and quicker.. you really notice the difference

paul999 said:
another thing i notice is when you set the io read ahead for 10t to 4096, the phone will become more snapper and quicker.. you really notice the difference
Click to expand...
Click to collapse
can you plz explain how i can do this to try
i have a MI10T pro

can you share your configuration here and how it affect bencmark.
i think 100 zram is way better than default 60. also 4096 read ahead is unfair.. i will prefer 128 for stability.

Related

Faster SD Card

Does it help more if I buy a new faster SD card (default card is a Class 2 card), or do optimizations such as this one: http://forum.xda-developers.com/showthread.php?t=888379
I'll probably get a Class 6 card, as I haven't seen any Class 10 yet for micro SD.
Spaceman-Spiff said:
Does it help more if I buy a new faster SD card (default card is a Class 2 card), or do optimizations such as this one: http://forum.xda-developers.com/showthread.php?t=888379
I'll probably get a Class 6 card, as I haven't seen any Class 10 yet for micro SD.
Click to expand...
Click to collapse
Yes, faster SD cards do help quite a bit. I used a class 4 for a while and it was noticeably improved for apps2sd on eclair. I got a class 10 for Christmas and the improvement over class 4 was definitely noticeable but not as dramatic. I've read that there isn't much of an improvement between class 6 and class 10 due to hardware limitations inside the phone. For HD video recording I've seen recommendations for class 6+.
Khalpower's optimization script is amazing for eclair. I recommend the JIT, optimized build.prop, overclock and apps2sd. There is also a newer JIT, but I'm not sure if khal incorporated it into his script yet. I think we're still struggling to get the froyo builds to measure up to the optimized eclairs.
Not sure though, I find my XT720 is more compatible with class2 SD cards. I've got one 4GB Class2 Card, one 8GB class2 Card and one 8GB Class6 card which all made by SansDisk. all of these, the most compatible one is the 4GB class2 Card. Although the Class6 card is faster and perform better, there's an issue with stability, where the phone frequently cannot mount the card when the phone is booted.
pls tell your suggestions.
Spaceman-Spiff said:
Does it help more if I buy a new faster SD card (default card is a Class 2 card), or do optimizations such as this one: http://forum.xda-developers.com/showthread.php?t=888379
I'll probably get a Class 6 card, as I haven't seen any Class 10 yet for micro SD.
Click to expand...
Click to collapse
there are class 10 micro SD but the prices are outrageous at the moment.
class 6 16GB is the best bang for the buck right now
the 32GB are still stuck on class 4
looking forward to get some 32GB class 6 when they come out
Thanks for the comments. I think I'll get a 16GB class 6.
32GB microSD are also still pretty expensive (above $100).
Been using the Class 6 for a day now and I can feel speed improvements in loading apps or data from the sd card. I also cleared the factory settings to start fresh.
I've got a class 10 16 GB microSD card for 30 € in Germany, which is about 40 $. I think that's a fair price. I haven't used it yet, so I can't tell you if it is faster or not.
spyeye95 said:
I've got a class 10 16 GB microSD card for 30 € in Germany, which is about 40 $. I think that's a fair price. I haven't used it yet, so I can't tell you if it is faster or not.
Click to expand...
Click to collapse
the price cost doesn't match the quality...
it might be an imitation all original class 10 minimum price are over $100+ specially for the 16GB version
seems like they sold you a Class 4 16GB instead
run some test on it, and you'll find out
$36.99 at Newegg.
3rdstring said:
$36.99 at Newegg.
Click to expand...
Click to collapse
I'm always hessitant to buy something with that odd of a price/speed ratio. I was actually reading the reviews and found something VERY interesting. There was one person who was mentioning an app called SD Speed Boost that was described as being able to adjust the sd card cache, thus speeding up the read/write speed to the card. It was only a dollar, so I tried it.
WOW...
It has improved the speed of my system 10x. I was skeptical at first, but I realized that if I run SD Tools from the market to test the speed before and after, it shows a significant increase in read/write speed. Obviously, those of us who have apps and cache on our sd card are constantly hitting it and the card's performance will affect performance.
Does anyone else want to tackle this $1 app and confirm my findings? If this is the answer to our slowness problems, maybe the settings that this app changes can somehow be added to our ROMs for everyone to benefit!
reverendkjr said:
I'm always hessitant to buy something with that odd of a price/speed ratio. I was actually reading the reviews and found something VERY interesting. There was one person who was mentioning an app called SD Speed Boost that was described as being able to adjust the sd card cache, thus speeding up the read/write speed to the card. It was only a dollar, so I tried it.
WOW...
It has improved the speed of my system 10x. I was skeptical at first, but I realized that if I run SD Tools from the market to test the speed before and after, it shows a significant increase in read/write speed. Obviously, those of us who have apps and cache on our sd card are constantly hitting it and the card's performance will affect performance.
Does anyone else want to tackle this $1 app and confirm my findings? If this is the answer to our slowness problems, maybe the settings that this app changes can somehow be added to our ROMs for everyone to benefit!
Click to expand...
Click to collapse
Is this the app your'e referring to? My write speed stayed about the same @10.7MB/s but the read speed went from @16 to 23 with a 1MB cache. I don't have any apps on the sd card to verify that aspect of any performance boost but Media Gallery loaded pretty quick.
:Edit: A 2MB cache improved the read speed to 43MB/s
3rdstring said:
Is this the app your'e referring to? My write speed stayed about the same @10.7MB/s but the read speed went from @16 to 23 with a 1MB cache. I don't have any apps on the sd card to verify that aspect of any performance boost but Media Gallery loaded pretty quick.
:Edit: A 2MB cache improved the read speed to 43MB/s
Click to expand...
Click to collapse
Yes, this is the app i'm using. I've been "field testing" this all day, and I must say that I have never had this type of responsiveness and speed from this phone EVER. I am loving this $1 addition to my phone. I have a class 4 card that seems to be giving me 6mb write/33mb read and that is substantially better. I've tinkered with the different settings and found arount 3000 giving me the best numbers with my specific card. I can only imagine that a different class card would need different settings.
3rdstring said:
$36.99 at Newegg.
Click to expand...
Click to collapse
newegg i'll trust, and patriot is a "ok" brand
they started producing high quality SD stuff in the last couple of years
but if you show me the same thing from eBay... no way in hell
reverendkjr said:
Yes, this is the app i'm using. I've been "field testing" this all day, and I must say that I have never had this type of responsiveness and speed from this phone EVER. I am loving this $1 addition to my phone. I have a class 4 card that seems to be giving me 6mb write/33mb read and that is substantially better. I've tinkered with the different settings and found arount 3000 giving me the best numbers with my specific card. I can only imagine that a different class card would need different settings.
Click to expand...
Click to collapse
i'll try it out as well, it's only $1
SD Speed Boost, if it works it'll go into all my phones, as i have everything installed to SD anyways
hey just checking before i hit the pay button, is it this one?
SD Card Speed Booster
Jim Weiler
https://market.android.com/details?id=com.vaelek.sdspeedboost
reverendkjr said:
I'm always hessitant to buy something with that odd of a price/speed ratio. I was actually reading the reviews and found something VERY interesting. There was one person who was mentioning an app called SD Speed Boost that was described as being able to adjust the sd card cache, thus speeding up the read/write speed to the card. It was only a dollar, so I tried it.
WOW...
It has improved the speed of my system 10x. I was skeptical at first, but I realized that if I run SD Tools from the market to test the speed before and after, it shows a significant increase in read/write speed. Obviously, those of us who have apps and cache on our sd card are constantly hitting it and the card's performance will affect performance.
Does anyone else want to tackle this $1 app and confirm my findings? If this is the answer to our slowness problems, maybe the settings that this app changes can somehow be added to our ROMs for everyone to benefit!
Click to expand...
Click to collapse
AllGamer said:
hey just checking before i hit the pay button, is it this one?
SD Card Speed Booster
Jim Weiler
https://market.android.com/details?id=com.vaelek.sdspeedboost
Click to expand...
Click to collapse
Yes, that's the one.
AllGamer said:
hey just checking before i hit the pay button, is it this one?
SD Card Speed Booster
Jim Weiler
Click to expand...
Click to collapse
Just installed.
OS: Dexter's 1.3 froyo with bugfix 2
SD Card: Adata 16GB Class 6
Speed Test
Average result from running 3x:
128KB cache: Read: 13.96MBps; Write: 6.63MBps
1024KB cache: Read: 22.40MBps (60% faster); Write: 6.93MBps
2048KB cache: Read: 36.67MBps (163% faster); Write: 6.90MBps
4096KB cache: Read: 33.67MBps (141% faster); Write: 6.90MBps
Interesting. The app seems to increase Read-speed only. I need to find an ideal cache size for optimal speed increase, so far it seems to be 2MB for me.
I'll rerun with my old Class 2 microSD card when I get home.
Spaceman-Spiff said:
Just installed.
OS: Dexter's 1.3 froyo with bugfix 2
SD Card: Adata 16GB Class 6
Speed Test
Average result from running 3x:
128KB cache: Read: 13.96MBps; Write: 6.63MBps
1024KB cache: Read: 22.40MBps (60% faster); Write: 6.93MBps
2048KB cache: Read: 36.67MBps (163% faster); Write: 6.90MBps
4096KB cache: Read: 33.67MBps (141% faster); Write: 6.90MBps
Interesting. The app seems to increase Read-speed only. I need to find an ideal cache size for optimal speed increase, so far it seems to be 2MB for me.
I'll rerun with my old Class 2 microSD card when I get home.
Click to expand...
Click to collapse
I think the app is just changing the value in /sys/devices/virtual/bdi/179:0/read_ahead_kb
The default value seems to be 128. You can set the value using e.g.
Code:
echo 2048 > /sys/devices/virtual/bdi/179:0/read_ahead_kb
I have a 16GB Kingston "class 10" (see also complaints about this card throughout XDA--I got it as a gift and I believe it was on sale for $40 at the time).
I've been testing read and write speeds with "SD tools" (free). SD tools writes and reads 190 MB and displays a dial as it goes so I can see that the initial write speed starts pretty high (10 MB/s) and then quickly falls significantly within a few seconds (probably after an on SD card buffer gets filled) eventually stabilizing at 3.3 MB/s. So, clearly this card is not really class 10 at all as it cannot sustain 10 MB/s except for what seems to be a 1 sec burst. As far as read and read_ahead_kb goes:
128 -- 14.1 MB/s read (avg of 3)
1024 -- 22.4 MB/s read (avg of 3)
2048 -- 43.2 MB/s read (avg of 3)
4096 -- 38.2 MB/s read (avg of 3)
Optimal also seems to be 2MB for me.
Mioze7Ae said:
Code:
echo 2048 > /sys/devices/virtual/bdi/179:0/read_ahead_kb
Click to expand...
Click to collapse
man!... THANK YOU! i'll try changing that manually and see if there's any improvement
I was hoping that someone would figure out a way to just add this as a default into our ROMs. It was worth a dollar to get this conversation started.

Ram or cpu

While using a ics or jb the o.s eats up all the ram but we do have swap to get enough of extra ram required so if we use swap with a good class sd card, is the ram usage still a fact that affects the performanceof these Rom.. Or its just our x8's cpu then, that degrads the performance..
Sidy said:
While using a ics or jb the o.s eats up all the ram but we do have swap to get enough of extra ram required so if we use swap with a good class sd card, is the ram usage still a fact that affects the performanceof these Rom.. Or its just our x8's cpu then, that degrads the performance..
Click to expand...
Click to collapse
it is not problem only cpu,ram we have slow I/O
so if you set up swap on good sdcard it probably will still lag
Swap is not working as you think, your phone wont have more ram. Swap is like windows page file.
Sent from my E15i using xda app-developers app
I have experimented with swappiness, and if I did set it to 0, it didn't swap, even when it was very needed (and that is surprising because it should use swap in case of low RAM, even with 0 swappiness). Apps were closing instead, and the whole system was unstable because of low RAM.
When I set it to 100, it began to swap. It became stable but it was slow because it swapped out a lot of things (it had always 70-80 MB free memory).
So I think setting swappiness to 50 or 60 is ideal (I didn't try it), because it will be stable and fast at the same time.
I made some script files for setting swappiness to 0, 20, 40, 60, 80 and 100, tell me if anyone needs them, and I will upload them.
Also using zRam with normal swap, and 50 swappiness might be a good thing too.
ICS and JB lag on our devices due to both the weaker cpu and less ram.
But if we had around 512 mb ram, ics and jb would run smoother with 600mhz cpu too..
so according to me the ram factor is the one which makes ics and jb lag on our phones.
And about swap, it works only when the ram is below 5-10mb.
so i think that it does not helps us much...
har****group said:
ICS and JB lag on our devices due to both the weaker cpu and less ram.
But if we had around 512 mb ram, ics and jb would run smoother with 600mhz cpu too..
so according to me the ram factor is the one which makes ics and jb lag on our phones.
And about swap, it works only when the ram is below 5-10mb.
so i think that it does not helps us much...
Click to expand...
Click to collapse
But with a higher swappiness you can get at least 60 MB free RAM. Nevermind, it doesn't make ics and jb run smoother. But it's like not the low RAM causes those roms to run slowly. I am using MiniCM7 with 128 MB compcache and it is very smooth, smoother than using normal swap, even when playing very heavy games. And on jb and ics no matter if i use swap or zRAM (128 MB), it stays slow.
Lajbymester said:
But with a higher swappiness you can get at least 60 MB free RAM. Nevermind, it doesn't make ics and jb run smoother. But it's like not the low RAM causes those roms to run slowly. I am using MiniCM7 with 128 MB compcache and it is very smooth, smoother than using normal swap, even when playing very heavy games. And on jb and ics no matter if i use swap or zRAM (128 MB), it stays slow.
Click to expand...
Click to collapse
How did you make 128 mb zRAM?

[Q] Real RAM much less than 1,5Gb ?

In phone specifications CPU-Z and Antutu say only 1258MB RAM, not 1536MB (1,5Gb)...
It's only me the unluck guy?
donP73 said:
In phone specifications CPU-Z and Antutu say only 1258MB RAM, not 1536MB (1,5Gb)...
It's only me the unluck guy?
Click to expand...
Click to collapse
Mine says 1387MB
RaLq said:
Mine says 1387MB
Click to expand...
Click to collapse
Anyway, better than mine.
I wrote to Samsung Customer Service and they replied me that a quote of RAM is reserved for OS...
Why - then - we all have different amounts of total RAM?
Mine also says 1258mb. SM-G800F rooted stock Rom
Well first of all, anything related to sizes in computer world is not exact since someone decided that 1mb is 1000kb not 1024kb. So if a device has example 1,5GB ram, it's never really exactly 1,5GB.
Then secondly the system reserves some amount of the ram to use, so a phone will never have 1,5GB free ram if it's marketed having 1,5GB ram.
Edit: Thirdly, you have to compare the ram usage to a same phone with same firmware, settings, apps and updates to get real information.
leripe said:
Well first of all, anything related to sizes in computer world is not exact since someone decided that 1mb is 1000kb not 1024kb. So if a device has example 1,5GB ram, it's never really exactly 1,5GB.
Click to expand...
Click to collapse
@leripe: It only applies to data storage devices, not ram.
RAM: 1.5Gb = 1536 Mb = 1572864kb = 1610612736b
DISK: "1.5Gb" ~ 1500000000b ~ 1464844kb ~ 1431Mb < 1,4Gb
But rest is right. Most of the ram is reserved for other hardware, ex GPU.

Mi 9t pro total RAM question

Hello,
I just bought Mi 9t pro 6GB ram, 128gb rom version, but in Cpu-z, Total Ram shows only 5523MB, so how can be gone 477MB ?
And Internal Storage shows only 109.34 GB
How much shows cpu-z on your phones ?
That is normal. Some part is typically reserved by the system and not visible to CPU-Z.
patoberli said:
That is normal. Some part is typically reserved by the system and not visible to CPU-Z.
Click to expand...
Click to collapse
Yes, I know internal storage could be reserved, but Ram it's too much. How your total ram showing cpu_z
HTML:
?
In my case 5507 MB Ram. I think the rest is assigned to GPU and because of that hidden.
Probably it was never added to cut costs.
/sarcasm
I think the missing memory is locked from the OS because it's shared with the adreno gpu (Qualcomm hasn't shared the deeper details on gpu)

Question New weekly changes on latest 21.7.21 CN/Xiaomi.eu Rom

Have you guys tried the new SWAP on WEEKLY 21.7.21 rom?
It supposed to decrease 5º celsius under load and decrease throttling and battery consumption.
CHANGELOG
System
New - Xiaomi.eu recovery ROM for Mi 11 Lite 5G (renoir)
New - Enabled "Memory extension (SWAP)" feature [Snapdragon 888/870/865 devices]
System launcher
Fix - Uninstalling apps using drag-and-drop was not working in drawer mode
EDIT: from what i gather it's supposed to increase your RAM by creating Virtual RAM using your UFS3.1 Storage, also decrease/use around 3gb of storage space like windows pagefile.
xwonic said:
Have you guys tried the new SWAP on WEEKLY 21.7.21 rom?
It supposed to decrease 5º celsius under load and decrease throttling and battery consumption.
CHANGELOG
System
New - Xiaomi.eu recovery ROM for Mi 11 Lite 5G (renoir)
New - Enabled "Memory extension (SWAP)" feature [Snapdragon 888/870/865 devices]
System launcher
Fix - Uninstalling apps using drag-and-drop was not working in drawer mode
EDIT: from what i gather it's supposed to increase your RAM by creating Virtual RAM using your UFS3.1 Storage, also decrease/use around 3gb of storage space like windows pagefile.
Click to expand...
Click to collapse
It actually does not increase your ram and is only used if you are out of ram, Considering the vast majority of phones have anywhere from 6GB - 12GB ram and the average user in all actuality uses no more than four, this is just a useless gimmick that will take up space on your sd card/internal storage and won't give you any performance boost whatsoever.
Back in the day, when phones only had 1-3GB ram, we would root our phones and use these swap files to help with opening files and running apps, but that isn't necessary in today's smartphone world.
jim262 said:
It actually does not increase your ram and is only used if you are out of ram, Considering the vast majority of phones have anywhere from 6GB - 12GB ram and the average user in all actuality uses no more than four, this is just a useless gimmick that will take up space on your sd card/internal storage and won't give you any performance boost whatsoever.
Back in the day, when phones only had 1-3GB ram, we would root our phones and use these swap files to help with opening files and running apps, but that isn't necessary in today's smartphone world.
Click to expand...
Click to collapse
I dont think so cause its only for snap 865 870 and 888 and all smartphone with these cpu have 6gb+
xwonic said:
I dont think so cause its only for snap 865 870 and 888 and all smartphone with these cpu have 6gb+
Click to expand...
Click to collapse
Its built in to all MIUI, but only benefits phones with four or less GB of ram. Let me ask you, your phone has 12GB or ram and the average user only uses 4GB ram, how is this going to benefit you in any way?
How Much RAM Does a Smartphone Need?
Every smartphone needs memory, but just how much RAM does a smartphone actually need to work properly?
www.makeuseof.com
jim262 said:
Its built in to all MIUI, but only benefits phones with four or less GB of ram. Let me ask you, your phone has 12GB or ram and the average user only uses 4GB ram, how is this going to benefit you in any way?
How Much RAM Does a Smartphone Need?
Every smartphone needs memory, but just how much RAM does a smartphone actually need to work properly?
www.makeuseof.com
Click to expand...
Click to collapse
You need to understand how it works. It merely creates a swap file on your internal storage and with the amount of ram flagship phones have (the Mi 11 Ultra has 12GB), it will never, ever be used, but it will take up space on your internal storage, that you could use for other more important things, like pictures, videos, music, games, etc...
Well definitely is not a feature for flagships,
xNAPx said:
Well definitely is not a feature for flagships,
Click to expand...
Click to collapse
Not a feature for any phone with greater than 4GB ram.
Indeed

Categories

Resources