bg4m3r
Android Expert
Yeah, I've got all that set...Check three posts up
Here's the result:
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Yeah, I've got all that set...Check three posts up
I assume you mean i/o scheduler. SIO and 2048kb. However, that should only make a difference for Storage I/O and have absolutely no affect on RAM, unless you're using SWAP. In which case, I'd say disable it for benchmarking.Hmm... There aren't really any massive differences. I guess it's not really that significant.
The biggest variance is your RAM speed. What governor/read ahead buffer are you using?
Yeah, that's what I'm talking about. For some reason I keep wanting that to be for RAM... and I am using swap, so I guess that might be the issue there.I assume you mean i/o scheduler. SIO and 2048kb. However, that should only make a difference for Storage I/O and have absolutely no affect on RAM, unless you're using SWAP. In which case, I'd say disable it for benchmarking.
I would like to have intellidemand CPU governor also.If nothing else get things like KSM and Zram working to help out the low RAM issue.
Ok I downloaded Ubuntu 14.04 and installed it into a VirtualBox machine. Followed everything at https://source.android.com/source/initializing.html to set it up. No more issues during compile but afterwards I get kernel I cannot boot. How are you taking the zImage and dtb files and merging it into a boot.img? Whatever is in the Volt Uno Tool Kit isn't working for me.
EDIT: Oh and if I just compile as normal from the 'duo' branch using only your config file without enabling any extra configurations the output is fine and does boot. I feel like I'm missing something but I just cannot figure it out, no matter how much I search online. It seems if the file is too big it will not boot, i.e. your configuration builds on my system and outputs 14.8MB on my comp but my build comes out to 14.9MB (I just enabled /proc/config.gz for a test)
I would like to have intellidemand CPU governor also.
Most importantly... Please, if you have a chance. THANK YOU![]()
OK, I wasn't aware of that. Didn't you say at one point not to use intelliactive? Or was that just for when benchmarking?I will say though that faux123 obsoleted intellidemand with intelliactive, so I suggest giving that one a try for now and let me know after a few days use if you're still interested in intellidemand.
Thanks for the feedback guys.
OK, I wasn't aware of that. Didn't you say at one point not to use intelliactive? Or was that just for when benchmarking?
Also, can you explain the two temperature options? I can't seem to find any info about Core Control.
YesCan this be flashed with the Xperia ROM?
I've been having this issue depending on what I enable. It's been very frustrating, don't know how to address it yet. You can try either removing some of the optimizations I added to the Makefile, or switch on optimize for size in the config. Consequence is the kernel won't perform as fast but the reduction should be minimal.
What did you use to set up zram?You just saved me about a day or two of research on this issue, thank you. I had eyed the config_cc_optimize_for_size option but I wasn't sure it was the correct thing to be enabling. New kernel compiled and got zram, ksm, and binfmt_misc all working. Everything except for zram is built in, I left zram as a module for more flexibility on how many zram devices you can create. The idea floating around online has been 1 zram device per cpu core, for the LG Volt that would be 4 zram slots. I have to say my device crashed once when I gave zram to much ram, seems stable with 16mb per device for a total of 64mb zram.
Here is the compiled kernel in case someone wants to mess around and test it. https://www.androidfilehost.com/?fid=24269982087013540
#!/system/bin/sh
# Specify number of devices usually one per cpu core.
zdevices=4
# Specify total zram size in megabytes which will be split by number of zram devices.
zsize=128
# Swappiness value, 100 makes sense but you decide
swappiness=100
# Load module
insmod /system/lib/modules/zram.ko num_devices=$zdevices
# Set up the devices
zsize=$(($zsize * 1024 * 1024))
zsize=$(($zsize / $zdevices))
i=0
while [ $i -lt $zdevices ]
do
echo $zsize > /sys/block/zram$i/disksize
mkswap /dev/block/zram$i
i=$(($i + 1))
done
# Wait for system to load completely.
while [ -z "$(pidof com.ra3al.launcher)" ]; do sleep 2; done
while [ -z "$(pidof com.android.systemui)" ]; do sleep 10; done
sleep 10
# Enable zram as compressed swap, keep all zram devices the same swap priority for speed.
i=0
while [ $i -lt $zdevices ]
do
swapon -p 3 /dev/block/zram$i
i=$(( $i + 1 ))
done
# Change swappiness value.
echo $swappiness > /proc/sys/vm/swappiness
Because zram is commonly compiled in kernel instead of as a module it only gets one zram device at any time and cannot be changed. That's why most zram apps and tweak apps provide settings for only one zram device. I'm not sure why one zram device would be preferred over making more than one.The new build is working well. I found an app to enable zram, although it doesn't allow me to create multiple zram devices or set the size. Would like to know how to configure these.
Maybe clinging to old premulticore concepts? Anyway, installed your script. Kernel Adiutor actually shows a zram section in the Virtual Memory section now that allows you to change the size (I don't think enabling it with the other app triggered that, of course, it never even asked for root, so who knows if it was even working). However, based on your warnings I just turned off that section (I hadn't had it enabled anyway) so it doesn't even display and set size in the script (I went with 80MB total, approx 1/10 of the total RAM and set swappiness to match what I set for swap [75] to avoid an argument). It seems to be playing nicely with the swap script as well so far.Because zram is commonly compiled in kernel instead of as a module it only gets one zram device at any time and cannot be changed. That's why most zram apps and tweak apps provide settings for only one zram device. I'm not sure why one zram device would be preferred over making more than one.
Because 1gb of memory is still plenty for now unless you have an app with absurd demands. Zram sacrifices CPU time to be able to fit more into memory. Swap sacrifices CPU and sdcard life time to create a slow memory alternative. So in most cases it just creates a slower phone, and including it in the kernel increases the kernel's size and memory footprint.Maybe clinging to old premulticore concepts? Anyway, installed your script. Kernel Adiutor actually shows a zram section in the Virtual Memory section now that allows you to change the size (I don't think enabling it with the other app triggered that, of course, it never even asked for root, so who knows if it was even working). However, based on your warnings I just turned off that section (I hadn't had it enabled anyway) so it doesn't even display and set size in the script (I went with 80MB total, approx 1/10 of the total RAM and set swappiness to match what I set for swap [75] to avoid an argument). It seems to be playing nicely with the swap script as well so far.
So glad you took up the reins on this kernel!
I don't get why Zram wasn't included in the stock kernel?
Well, I've seen nothing but improvement here.By
Because 1gb of memory is still plenty for now unless you have an app with absurd demands. Zram sacrifices CPU time to be able to fit more into memory. Swap sacrifices CPU and sdcard life time to create a slow memory alternative. So in most cases it just creates a slower phone, and including it in the kernel increases the kernel's size and memory footprint.