Read ahead value cranking question - Nexus 4 Q&A, Help & Troubleshooting

Hi all.
What are the down sides to cranking read ahead value to max?

forcedairinduction said:
Hi all.
What are the down sides to cranking read ahead value to max?
Click to expand...
Click to collapse
It makes a difference when processing large files like but not for system files. Read this http://broodplank.net/?p=788. I have it set to 1024 kb.

gee2012 said:
It makes a difference when processing large files like but not for system files. Read this http://broodplank.net/?p=788. I have it set to 1024 kb.
Click to expand...
Click to collapse
Great thanks for that, I'll have a read : )

So according to that article. 3072 I'd optimum : )
Mine only goes up to 2048 max? : (

forcedairinduction said:
Do according to that article. 3072 I'd optimum : )
Click to expand...
Click to collapse
I wouldn`t go higher than 2048, i use 1024 and that offers a balance between user and system files. Just try out some values with an app like SD Booster from Play.

gee2012 said:
I wouldn`t go higher than 2048, i use 1024 and that offers a balance between user and system files. Just try out some values with an app like SD Booster from Play.
Click to expand...
Click to collapse
Thanks again bud. Ill check it out.

1024 working a treat ; )

Related

The best pool size for HD2 rom

Hi ppl,
What is the best size for poolsize ?
What will be if i set it to small value ? to big ?
IS it reasonable to change default PoolSize ?
Thanks
p-kirill said:
Hi ppl,
What is the best size for poolsize ?
What will be if i set it to small value ? to big ?
IS it reasonable to change default PoolSize ?
Thanks
Click to expand...
Click to collapse
i would also like to know this, thanks.
everyone has their own opinion but I think the hd2 shouldn't go anywhere near the pool, never mind how big it is.. It might get wet
ok personally I find the pagepool set at 22mb to work best for me...
I set mine to 16, but i might be way off I think its a matter of taste and depends on the ROM.
Can we use the PagePoolChanger.exe that I used on my Diamond roms for the HD2? if it does work it looks like the standard roms are 15meg. Ill probably set mine to around 22meg, the phones got loads of ram and a bigger pool should help things out
is a larger pagepool better for the hd2?
sorry for my ignorance
what is the best and fastest way to set pagepool?
thx...!!!
Can someone post me the link to pool tools ?
I need info about default pool sizes
thanks
barbapappa_86 said:
I think its a matter of taste and depends on the ROM.
Click to expand...
Click to collapse
My rom is clead version without manilla, htc messages and htc contacts
Pure windows like
So i have 240 ram and 290 rom and only 6M PP ( this is Envirus kitchen default) so i should know what is OEM default PP value.
I havent got and PP tool yet
Any ideas ?
Thanks
p-kirill said:
Can someone post me the link to pool tools ?
I need info about default pool sizes
thanks
Click to expand...
Click to collapse
type pagepool into the search at the top of the site and start reading..
the answers are all their for you..
fards said:
everyone has their own opinion but I think the hd2 shouldn't go anywhere near the pool, never mind how big it is.. It might get wet
ok personally I find the pagepool set at 22mb to work best for me...
Click to expand...
Click to collapse
LOL..........
is a larger pagepool better?
Lizzo said:
is a larger pagepool better?
Click to expand...
Click to collapse
Depending on the apps you use and so forth. Pagepooling is the ability to change the amount of virtual memory the OS uses to run programs. So for instance, larger more intense apps like tomtom require more memory to run so with a larger set pp, tomtom will open faster.
A general rule of thumb is that larger is better however, there are limits to this as if you go too far, it will work in reverse.
Testing the limits using benchmarks is the most objective way to discern performance improvements and/or limitations. If there are significant improvements between tests, then the nake eyes should be sufficient to conclude.
The HD2 does have some nice memory overhead so it should be fun to see what this baby can do....
band27 said:
Depending on the apps you use and so forth. Pagepooling is the ability to change the amount of virtual memory the OS uses to run programs. So for instance, larger more intense apps like tomtom require more memory to run so with a larger set pp, tomtom will open faster.
A general rule of thumb is that larger is better however, there are limits to this as if you go too far, it will work in reverse.
Testing the limits using benchmarks is the most objective way to discern performance improvements and/or limitations. If there are significant improvements between tests, then the nake eyes should be sufficient to conclude.
The HD2 does have some nice memory overhead so it should be fun to see what this baby can do....
Click to expand...
Click to collapse
thank u soo much for ur reply, it was quite helpful...so would it be wise to set a 24mb pp on a rom for the hd2? (i'm using pandora 1.1 btw)
and here's a pagepool changer for those who want it btw
I'm going to use 18
Lizzo said:
thank u soo much for ur reply, it was quite helpful...so would it be wise to set a 24mb pp on a rom for the hd2? (i'm using pandora 1.1 btw)
and here's a pagepool changer for those who want it btw
Click to expand...
Click to collapse
Can anyone confirm that this pagepool changer works?
Back in the day with the diamonds, you needed a Hex Editor to switch stuff around...Have a quick read <<HERE>>
bobsbbq said:
I'm going to use 18
Click to expand...
Click to collapse
Chefs know best...
band27 said:
Can anyone confirm that this pagepool changer works?
Click to expand...
Click to collapse
it does work....or i wouldnt have posted it
Xannytech's HD Rom uses 20mb.
The HD2 which has almost double the resources should be able to hit 24mb easy.
Lizzo said:
it does work....or i wouldnt have posted it
Click to expand...
Click to collapse
OK, thus have you check to see if this happens:
• the higher the PP the lower your Program Memory goes, yes?
If it doesn't change as you change your PP, then it doesn't work.
I believe you however some people think it's working and sometimes it actually doesn't. Do the above test to see if it works...
MORE INFO on PP <<HERE>>
I set my to 0 (auto) and
It has been running very well and very fast.
Will see ...

Page pool size

Just for fun I created a pagepool size of 100 Mb. First, to test if it would really result in some significant speed gain and second to find out how and where the additional memory was taken from.
I never noticed this, but appearantly the size of the pagepool is taken from the program memory. Now, i'm asking myself, can't the pagepool size be taken as a measurement for how real the newly gained 576 ram is? For example, maybe someone can create a page pool size of 448 Mb (the size of the ram according to the specifications), just to see if the device is still starting up and if there is some significant memory left. (unfortunately I can't do this at the moment).
I know the size of the ram was tested before. Nevertheless, for some sceptics, and there are still some sceptics out there, this might be some convincing additional proof.
Second. I read some threads about page pool sizes and read that for old devices one of the biggest constraints was the available program memory. For the HD2 this isn't a issue anymore, so, from this new perspective I like to ask the cooks here: what would be a good page pool size for the HD2. What are the other constraints here which really matter.
(I now that this is a difficult thing to make statements about. Nevertheless, please give it a shot. Cause i'm new to cooking I like to learn something from it)
nice
i played alot with pp=0
nothing interesting
now i use default HTC value (15)
tell us about what you will get
p-kirill said:
nice
i played alot with pp=0
nothing interesting
now i use default HTC value (15)
tell us about what you will get
Click to expand...
Click to collapse
my experience is that while cooking with new manila from 2.10 ROM if you go above 15MB, Document Browser Tabs thumbnails are not being loaded.there are only icons of formats documentas are in.
polystirenman said:
my experience is that while cooking with new manila from 2.10 ROM if you go above 15MB, Document Browser Tabs thumbnails are not being loaded.there are only icons of formats documentas are in.
Click to expand...
Click to collapse
i have 24mb pp on my 2.10 build and no problem in document tab for me. have you added the ereader tab? i left it out because it does seem to screw with manilla a bit.
however, im open to testing a 448mb pagepool will contrust one tomorrow and let y'all know
polystirenman said:
my experience is that while cooking with new manila from 2.10 ROM if you go above 15MB, Document Browser Tabs thumbnails are not being loaded.there are only icons of formats documentas are in.
Click to expand...
Click to collapse
I don't have any problems with this and I run 18 usually, But I have tried 64 mb and still everything works. I just don't think after a certain amount of pagepool increase you don't see any more benefit
bobsbbq said:
I don't have any problems with this and I run 18 usually, But I have tried 64 mb and still everything works. I just don't think after a certain amount of pagepool increase you don't see any more benefit
Click to expand...
Click to collapse
I'm still running 100 Mb. No problems whatsoever, but performance isn't any better (or worse) than a 16 Mb pagepool I tried before.
Anyone tried a 448 Mb pagepool yet, just to see if the new 576 ram is for real?
appelflap said:
I'm still running 100 Mb. No problems whatsoever, but performance isn't any better (or worse) than a 16 Mb pagepool I tried before.
Anyone tried a 448 Mb pagepool yet, just to see if the new 576 ram is for real?
Click to expand...
Click to collapse
yup, i did!
it was very sloooooooow to boot and even slooooooooower to do anything useful, but it *did* work, kinda!
bobsbbq said:
I don't have any problems with this and I run 18 usually, But I have tried 64 mb and still everything works. I just don't think after a certain amount of pagepool increase you don't see any more benefit
Click to expand...
Click to collapse
so it must have been something else then...
g.lewarne said:
yup, i did!
it was very sloooooooow to boot and even slooooooooower to do anything useful, but it *did* work, kinda!
Click to expand...
Click to collapse
This pretty much shows (again) that the 576 is real. I'll try it myself today. I will also try to create a 448 pagepool on the same rom with the extra 128 mb disabled. Just to double check.
p-kirill said:
nice
i played alot with pp=0
nothing interesting
now i use default HTC value (15)
tell us about what you will get
Click to expand...
Click to collapse
Do you experience a relevant difference between pp=0 and pp=15?
----
Furthermore, I was wondering what the default pp size is of the HTC roms.
From my experience 0 will work just fine as it is dynamic but I find that with it set at say 16-20 things seem faster, more instant. I don't know if it has to due with the dynamic scaling or what.
bobsbbq said:
From my experience 0 will work just fine as it is dynamic but I find that with it set at say 16-20 things seem faster, more instant. I don't know if it has to due with the dynamic scaling or what.
Click to expand...
Click to collapse
It's dynamic, you say? But than it can be used to test the real size of the ram with the method described above. Or?
appelflap said:
It's dynamic, you say? But than it can be used to test the real size of the ram with the method described above. Or?
Click to expand...
Click to collapse
if you find a method to fill the page pool completly yes, but if I remember correctly it was already proven the 576mb is for real.
EpiphanyNL said:
if you find a method to fill the page pool completly yes, but if I remember correctly it was already proven the 576mb is for real.
Click to expand...
Click to collapse
Yes it was. I just wanted to do another test. Just to be sure.
appelflap said:
Yes it was. I just wanted to do another test. Just to be sure.
Click to expand...
Click to collapse
Haha never can be sure enough eh?
I've tried 18 and 16 before, and find 24MB much better.
Now I've by default set my pp to 64MB.
zenkinz said:
I've tried 18 and 16 before, and find 24MB much better.
Now I've by default set my pp to 64MB.
Click to expand...
Click to collapse
i find 24mb better as well. is 64mb pp stable enough?
gianton said:
i find 24mb better as well. is 64mb pp stable enough?
Click to expand...
Click to collapse
I always set ozrom, kumar's to 64mb before flashing and they have been stable so far.
Hi there!
1st of all I'm new to page pool stuff. I've heard about it though but it always seemed to much work for me.
As i got my HD2 i finally got interested working with pp. (Memory is not an issue anymore on the HD2) =]
Also, there was something about the relation between pp and battery life, is this true?
I'm always for the lookout for clean and fast ROM's but this seems to be a big factor too.
(Can anyone give me some advice on (Dutch) ROM's and a good pp setting?)

Fixing camera on 2.1

Hi, does anyone know how to fix the camera fps on the original 2.1? Thanks!
khankuan said:
Hi, does anyone know how to fix the camera fps on the original 2.1? Thanks!
Click to expand...
Click to collapse
The best suggestion I can give you is...
Upgrade to 2.2
haha tried.. decided to go back to old rom and charge my phone every 3 days instead of 1.. but camera fix will be pretty nice though
try a different camera app, such as lgcamera. free on the market, and lets you choose fps and stuff.
Oic, will try that when i fix my sbf first :S
hmm okies lgcamera doesnt really help. couldnt even record. i saw dexter mention about the libraries. Is is possible to port the libraries over and will it work just by porting them?
Thanks
Personnally, I set autokiller with others values by changing install-recovery.sh, I overclock to [email protected] vsel and I modify readahead.kb file with 512 value by install-recovery.sh.
For autokiller, it's good to test with app autokiller first.
I have less freeze in records.
If someone is interest about that, I will post my settings in few days.
EDIT : not with 512 value, 2048 is better
Zachary57 said:
Personnally, I set autokiller with others values by changing install-recovery.sh, I overclock to [email protected] vsel and I modify readahead.kb file with 512 value by install-recovery.sh.
Click to expand...
Click to collapse
I don't know about install-recovery.sh. It sounds quite useful. Do you have a link?
How to use install-recovery.sh?
Thanks!!
I just modifiy install-recovery.sh files in /etc/ and I add lines :
#To improve sd card read/write
echo "2048" > /sys/devices/virtual/bdi/179:0/read_ahead_kb
#To modify autokiller settings
echo "3072,2048,9216,15360,15360,20480" > /sys/module/lowmemorykiller/parameters/minfree
I found tip for sd card in another forum and for memorykiller, app autokiller can do it.
I don't know if it's really improve something a lot but I find it's better so, you can try if you want.
wow yes it helped a lot. much smoother now like khal's rom. Thanks again! =)
For me, it's work but I have again small freeze in records. But I think motorola have to do something to fix record. They sell a phone with a 8MP camera but we can't record without freeze.
PS : If you have problems with games that are in sd card change 2048 by 256,512 or 1024 default value is 128 but if you removes lines its come to 128 by itself.
hmm but the 8MP don't have anything to do with video quality?
but that is right.. it's absolutely a cheek that video quality is that low
edit: or did I understand you the wrong way :??
Knoedelkopf said:
hmm but the 8MP don't have anything to do with video quality?
but that is right.. it's absolutely a cheek that video quality is that low
edit: or did I understand you the wrong way :??
Click to expand...
Click to collapse
You understood, I find it's not fair to have a so bad video quality they sell this phone and it's write that it's record at 720p.
Mioze7Ae said:
I don't know about install-recovery.sh. It sounds quite useful. Do you have a link?
Click to expand...
Click to collapse
If I good understood, install-recovery.sh is a startup script so, if you add command to this file, they are execute at startup but I don't know if it's work with superusers commands.
khankuan said:
Hi, does anyone know how to fix the camera fps on the original 2.1? Thanks!
Click to expand...
Click to collapse
I have a friend who also owns an xt720. he told me that once he downloaded an app called vignette(a camera app), the photo taking quality of the camera improved a lot!! but its not free however but he tld me that it was dfinately worth the buy! Hope this helps!!
2.1 allows battery to last 3 days?!
Sent from my XT720 using XDA App
eejin2 said:
2.1 allows battery to last 3 days?!
Sent from my XT720 using XDA App
Click to expand...
Click to collapse
It lasts 3 days?? Im also from singapore and im running rooted stock 2.1 xt720. usually mine lasts for a day. Would the battery calibration app help me?

why i9100g dpi value looks bougs

You can see this value:
x DPI: 2.8386712E-6
Y DPI: 4.731187E-6
it looks strange, I also check the i9100 mode, it looks normal.
217.71428
218.49463
Thats a very odd refresh rate too, 68? Is it really 60?
Yeah, me too having same values. I am using Android System Info App. So its not app issue. 2 apps are showing same value. I have no idea what x DPI and y DPI having those values means? What should be ideal values?
And 68 Hz refresh rate is odd. lol
^^Pal-ambar, Y U NO give it a rest?
speedofheat said:
^^Pal-ambar, Y U NO give it a rest?
Click to expand...
Click to collapse
Well I am not the OP
ambar_hitman said:
Yeah, me too having same values. I am using Android System Info App. So its not app issue. 2 apps are showing same value. I have no idea what x DPI and y DPI having those values means? What should be ideal values?
And 68 Hz refresh rate is odd. lol
Click to expand...
Click to collapse
This is the value of i9100 model, it's a ideal value
217.71428
218.49463
happy_peach said:
This is the value of i9100 model, it's a ideal value
217.71428
218.49463
Click to expand...
Click to collapse
Ok. Lets see what this means:
x DPI: 2.8386712E-6
Y DPI: 4.731187E-6
Its quite funny. Maybe some expert can help out what this means?
Or it may be the case that the apps are not able to read DPI properly? Its saying 240 DPI, and AFAIK I9100 has 217. So its reading is wrong.
ambar_hitman said:
Ok. Lets see what this means:
x DPI: 2.8386712E-6
Y DPI: 4.731187E-6
Its quite funny. Maybe some expert can help out what this means?
Or it may be the case that the apps are not able to read DPI properly? Its saying 240 DPI, and AFAIK I9100 has 217. So its reading is wrong.
Click to expand...
Click to collapse
actually I think the app read the DPI properly, as other app also get this value.
Unless samusing make the fake data to make us read a incorrect value.

Break limit of 32 apps

I read that Oxygen OS is designed to run at the most 32 apps at the same time...
But with 8 GB of RAM, this a waste of memory I think... is there any way to set a high limit or infinite?
thank you!!
Astur_Torque said:
I read that Oxygen OS is designed to run at the most 32 apps at the same time...
But with 8 GB of RAM, this a waste of memory I think... is there any way to set a high limit or infinite?
thank you!!
Click to expand...
Click to collapse
build.prop has a line you can change
DespairFactor said:
build.prop has a line you can change
Click to expand...
Click to collapse
Thanks i found it:
ro.sys.fw.bg_apps_limit
Enviado desde mi Oneplus 5 mediante Tapatalk
what limit should we set?
I'm sure I read that people were setting it around 45 although who runs 45 applications at the same time? (I don't think background system processes count in that)
Lol
Who runs 32 apps at once?
?
Sent from my 8GB/128GB OP5 using Tapatalk PRO ?
I don't think I have 32 apps installed lol
I don't have any proof to back up my claim, but I believe OxygenOS uses a portion of the RAM for optimizations and performance. Hence why the 8GB variant seems to be slightly faster than the 6GB variant.
L22EEW said:
Lol
Who runs 32 apps at once?
?
Sent from my 8GB/128GB OP5 using Tapatalk PRO
Click to expand...
Click to collapse
cached
8 GB of RAM is a huge amount of RAM, don't using it is wasting it
zathus said:
I don't think I have 32 apps installed lol
Click to expand...
Click to collapse
system apps also count
Astur_Torque said:
system apps also count
Click to expand...
Click to collapse
This is what I've had it at since I received it. Using this phone is too much fun... Everything is so smooth, quick, and responsive.
I have 8GB model
Titanium backup says k have 208 user apps and 138 system apps.
I set my cap to 60 or 65. Right now im at 65 with swap enabled and the phone keeps practically an infinite amount of things in memory.
OcazPrime said:
I set my cap to 60 or 65. Right now im at 65 with swap enabled and the phone keeps practically an infinite amount of things in memory.
Click to expand...
Click to collapse
How did you enable swap memory? is that another line in build prop?
MrWilsonxD said:
How did you enable swap memory? is that another line in build prop?
Click to expand...
Click to collapse
Its usually enabled by default
how need 8GBRAM ?
the answer is " i am "

Categories

Resources