Problem with LAGFIX (ext4) - Not good idea?? - Galaxy S I9000 Q&A, Help & Troubleshooting

I have been using lagfix - ext4 since eclair and I was convinced of its benefit.
BUT recently I discovered it may not be such a good idea after all on froyo (v2.2.1). Why?
IT WILL LAG much more than RFS not at the beginning but at a few days into use/uptime later.
I only realised this after converting all my partitions back to RFS. After boot, I can't really tell the difference betw. RFS and ext4 smoothness (both are very smooth). But after 48-50 hours uptime later, with ext4 lagfix, I realised that free RAM seldom goes above 50MB and there is always a constant heavy cpu usage by kswap0 process everytime I use the phone. With RFS only, the free RAM varies up to 65Mb and the kswap0 cpu usage isnt as high as ext4 (i.e. there is still some lull period where kswap0 is not constantly hogging cpu). Of course RFS still slows down (but tolerable) overtime but not as bad as ext4.
I'm suspecting that the ext4 filesystem is hogging or leaking memory leading to smaller pool of useable RAM. This is causing the constant swap of dormant apps out of memory thus contributing to the lag. I am kind of convinced that the hated LAG is caused by this kswap0 process. (This kswap0 process usually has low usage just after boot thus the great speed but as time goes on it deteriorates)
Anyone has the same experience or want to comment on this?
(I am using doc rom 9.6.6 + speedmod k13d kernel)

I never had lag with RFS on 2.2 and above, but ive been running lagfix (ext 2/4) since the day i got my phone,
i do find that after a long time RAM gets reduced alot, but if my phones been running for 48+ hours, (which is rare cause i always flashing) i do a reboot to spice up my life a little lol
you should just do that too.
ext4 isnt harmful to the phone in the same sense as lets say...... overclocking CPU.
lagfixes only cause problems, like file corruption (when flashing without disabling) but a re-partition in odin fixes that up

Related

[Q] Tackling Serious Samsung Galaxy S Issue (found with Temp+CPUV2)

Hello guys,
I recently installed an app from the market called Temp+CPUV2. All the app does is it displays CPU Clock speed, CPU Utilization %, CPU Temperature, and Free RAM on a tile as a Widget.
lately, I have been observing fluctuations in the clock which ranges from 100MHz to 1GHz. I thought the widget was faulty. Then later on, I began observing constantly time to time and I found out that the phone really operates on different frequency at different times. Apart from changing the clock speed, I think the self-assessing algorithm eats too much RAM figuring out next clock speed and slows down the phone.
I assume that this features is implemented to save battery, but at the same time, this feature kills the phone by slowing it down so badly that I sometimes feel like smashing the phone against a wall or something.
I use a rooted JM1 with SU and no other mods.
Is there any way to stop the phone from assessing the clock and change it from time to time? I think that's the real reason why the phone lags in he first place.
Nope, thats just the way it works. Install a overclocking kernel and SetCPU if you want to control the clock speed but I advise you just uninstall that widget and not bother worrying about it as you are getting worked up over nothing. SetCPU and a kernel is more trouble then its worth and is very unstable
That's a powersave mechanic.
Save your battery.
It also try to keep your phone cold.
In fact it work well.
It same in computers.
Sent from GT-I9000 Jpm with z4mod
I doubt the lag you are getting has anything to do with this. Look for the lag fixes like Voodoo, Z4mod, or OCLF.
I use z4mod myself, flawless performance

Ram Usage

I disabled alot of bloatware and always close applications but i need a substantial ram usage and wanted to know if this was normal.
Phone isnt slow or anything, but i thought this looked like it was using more then i expected
check screen below
https://www.dropbox.com/s/f5tklwz262ln772/Screenshot_2014-04-24-21-54-53.png
genelise said:
I disabled alot of bloatware and always close applications but i need a substantial ram usage and wanted to know if this was normal.
Phone isnt slow or anything, but i thought this looked like it was using more then i expected
check screen below
https://www.dropbox.com/s/f5tklwz262ln772/Screenshot_2014-04-24-21-54-53.png
Click to expand...
Click to collapse
That is normal. Lower RAM usage means increased lag. Higher RAM usage means reduced lag. Disabling apps ("bloatware" or otherwise) has almost no impact on RAM usage.
When RAM usage is high, that means the OS is doing it's job and teeing up all the apps you are likely to run next. If those apps were not ready to go and waiting in RAM, they would need to be loaded into RAM first, which causes lag.
GeorgeP said:
That is normal. Lower RAM usage means increased lag. Higher RAM usage means reduced lag. Disabling apps ("bloatware" or otherwise) has almost no impact on RAM usage.
When RAM usage is high, that means the OS is doing it's job and teeing up all the apps you are likely to run next. If those apps were not ready to go and waiting in RAM, they would need to be loaded into RAM first, which causes lag.
Click to expand...
Click to collapse
thanks for the information. The phone is defiantly not slow and didnt think it was a major issue unless it affected performance.
s5 is great

Putting your cache & temp on RAM Disk?

I've been wanting an SSD for a while now, so I went ahead and got a Crucial MX100 512GB SSD. Since before considering the purchase and after the purchase (during the use of it these past three days), I've been researching about things to do and things not to do. Everything from should you defragment your SSD (never) and how can you optimize your SSD. The reason for my post is simple: Will putting my cache & temp files on a RAM disk increase the longevity of the SSD, or is it just wasteful? I've noticed since putting only my cache on RAM (using some configurations that are built into Firefox), the load time of pages seems to have decreased by almost 100 percent. As far as load times go, it seems worth doing. However, does it help the SSD in any significant way or not? I would believe so as it writes less to the SSD than normal cache writes on disk, but I want to know for sure
SwiftLeeO said:
I've been wanting an SSD for a while now, so I went ahead and got a Crucial MX100 512GB SSD. Since before considering the purchase and after the purchase (during the use of it these past three days), I've been researching about things to do and things not to do. Everything from should you defragment your SSD (never) and how can you optimize your SSD. The reason for my post is simple: Will putting my cache & temp files on a RAM disk increase the longevity of the SSD, or is it just wasteful? I've noticed since putting only my cache on RAM (using some configurations that are built into Firefox), the load time of pages seems to have decreased by almost 100 percent. As far as load times go, it seems worth doing. However, does it help the SSD in any significant way or not? I would believe so as it writes less to the SSD than normal cache writes on disk, but I want to know for sure
Click to expand...
Click to collapse
From what I've read, it's definitely not wasteful, and there are definitely benefits such as those that you've already noticed. It absolutely helps the SSD because reading and writing to a RAM fs allows data to be accessed and modified without involving the SSD in any way. I am fairly sure that reading from an SSD does not impact the lifespan, only writing to it does. All of what I'm about to write is specific to linux. The trick you mentioned about firefox is complimented nicely by a script called "profile sync daemon" which syncs all the data of your firefox profile to your SSD before shutdown and copied back into your RAM after each boot so that the data can still be persistent. It's available as a package for many common linux distributions. It seems that since recent improvements in how file-systems are handled, it's possible, assuming the device is of decent quality, for SSDs to likely far outlast the rest of your hardware (outlast either because of the other hardware failure or because of hardware obsolescence) before seeing any noticeable slowdown and especially before complete wear of the SSD . To take advantage of those advancements, you should make sure that you use a filesystem that supports the trim function. Off the top of my head, I know that ext4, xfs, and btrfs support this. It is usually enabled by specifying the "discard" option in fstab. Another way to ensure that unnecessary disk writes don't occur is by disabling or reducing the level of journaling, which can be done in different ways depending on the file system, but in certain cases at the cost of data integrity.
The short answer is that doing what you're doing definitely helps improve the lifespan of the SSD, and I would recommend looking into the trim option that some filesystems offer as well as the journaling options.

New galaxy note 4 prevent emmc issue

Is there anything I can do on a new galaxy note 4 to prevent the emmc issue happening in the first place?
There was some talk about preventing overheating?
ghostwheel said:
There was some talk about preventing overheating?
Click to expand...
Click to collapse
Do I need to lower the cpu ghz? Or run some kind of app or program?
Redrainz said:
Do I need to lower the cpu ghz? Or run some kind of app or program?
Click to expand...
Click to collapse
It might help to lower the CPU speed, but you need access to root and an app to tweak the values.
Avoid gaming which is very demanding on GPU and avoid gaming for long periods of time.
Search also in the Snapdragon forum a good kernel.
Also turn off the fast charging, this can heat too much the phone.
I created a script here. It works very good, it monitors the battery temperature AND all the CPU cores temperatures, and will automatically throttle the phone if temps are too high. You can even kill some apps if the temps are to high (not yet implemented).
The difference with Samsung DVFS or integrated temperature management of kernels is that this one monitors almost all CPU sensors and also the battery, all in complete combination, and it can be easily tweaked (rather than modding a kernel). No battery hog. You can enable USB fast charge, game, etc it will still prevent overheating.
Here is the solution to eMMC error
Hello everyone, I was pretty tired of the eMMC error, and I created a script that completely annihilate this error. This error is due to the phone heating up, and the fact that custom kernels (maybe even the original kernel) don't read the...
forum.xda-developers.com

Question Average RAM Usage

Hello guys,
I would like to ask you, what is your average ram usage? because the lowest I could go for is 5GB after using memory guardian to close all apps and average usage is 6-6.5 GB. Highest is 7.4 GB
I find the average so high, because I was using same apps on my previous A70 phone and only 4-5 gb was used.
Is that normal?
Are you guys using any third-party app to clean your ram automatically?
A70 has only 6GB of RAM. You were using 80-90% of it (4-5GB).
S21U has 12/16 GB of RAM and you're using 50-60% of it (6-8 GB), even for the "lower" RAM variant.
That's very good brother. If the remaining 4 GB RAM is lying unused, or if you had more, like 8 GB free, how would that benefit your user experience? One of the reasons to buy flagships like this is the large RAM. But that would be pointless if it were never even used, right?
Apps kept in RAM can be woken up and ready to instantly with less energy expenditure. Those that get unloaded from the RAM, are also eventually loaded back - but that is from the internal UFS 3.1 storage, which is slower than LPDDR5 RAM, and wastes much more energy (battery) for a full app start instead of resuming from suspended state in RAM.
I stopped using RAM clearing apps or even OEM cleaning services few years ago. Android manages RAM very well on the newer versions, and I haven't seen any advantage of clearing apps or RAM as an end user. It only helps if you have a rogue app that runs in the background constantly. Usually, the battery health monotoring built in Android will alert yourlself to it and you can choose to put it to deep sleep or disable or uninstall the offending app. But short of bad apps, most other services don't need manual motitoring and constant user maintenance.
When free RAM falls below what the phone needs, it will kill the last/least pioritised task and re-claim it for use. As a user, you shouldn't have to bother with managing it manually.
Yup, as @enigmaamit said, don't worry and stop bothering with ram cleaning apps. I also used to try and clean my RAM back in the day but that was only necessary on the 2GB and maybe 4GB RAM phones. Since the 6GB RAM phones, cleaning apps have been useless.
The reason your a70 was using less is because it had less and the system had to decide how much to fill and how much to leave free to maximize performance.
Carry on and worry not.
On android, free ram is wasted ram. Remember this and stop using useless "memory cleaning" apps. All they do is slow your phone down and kill your battery life. Same with clearing app cache. Only do it if you have a problem with the respective app.

Categories

Resources