[Galaxy S III Original Android Development] invinciblecc:
Re: [Kernel][2013/JAN/27][GT-I9300][Samsung JB U7][3.0.60][Aroma] Yank555.lu kernel v

First of all thanks a million for being so patient and willing to discuss

I kind of got what zram is and I did my own experiments with it here is what I discovered or did not discover please comment on it account to what is right or not

Please don't mind me restating I am kind of summing up

1)zram and swap one and the same thing one is fast bother is slow

Swap is better because it does not restrict the actual free ram allowing ram for apps to run but it is slow

2) apps do not run when in zram if I set zram too high apps wouldn't run due to lack of free ram ex 833-zram =space apps have to run

So if

Ex zram =820 mb

Apps have 13 mob to run

3) this is the most important point

There is a difference between multitasking and remembering states of apps(as I call it pseudomultitasking ) a very imp differnce

Multitasking means doing more than one work together where both the worka are actual processes which are going on

Example

1) Playing 2 games in split screen or any 2 APS in multiwindow mode

2) giving a work to an app for example copying files to x-plore then leaving the app and going to another app while the first app I.e. x-plore is performing this work in background

3) playing games while watching movie orpopup player while browsing

4) downloading while playing games

But pseudo multitasking is

1) writing something in tapa talk and then going and visiting 10 more apps then again coming back to tapa talk and continuing from where u left or reading something then continuing without it reloading itself here tapa talk was not found anything in background so only the present state of tapa talk needs place to be saved

2)playing game leaving it going back to begin where left etc

3)any list opening from where u were

Now apple provides pseudo multitasking and android provides true multitasking

AlsO ZRAM AND SWAP OF ANY KIND DO NOT PROVIDE TRUE MULTITASKING THEY ONLY PROVIDE PSEUDOMULTITASKING

THEY ONLY HELP U TO REMEMBER STATES OF MOST APPS

MORE ZRAM MORE SWAP MORE SWAPPINESS MEANS MORE APPLICATIONS WHOSE STATE SYSTEM WILL REMEMBER IT DOES NOT MEAN MORE APPLICATIONS RUNNING AT THE AAME TIME

THERE IS A DIFFERENCE HERE RUNNING MEANS DOING ACTIVE WORK IN BACKGROUND

ACC TO ME TRUE I repeat true not pseudo MULTITASKING POTENTIAL OF GALAXY S3 is close to nil

Pages reload themselves if in playing a game or phone comes don't even expect to resumt the game from where u left (talking without swap and zram here)

Now the point comes of why is iPhone popular I know it is bull****

Acc to me

PSEUDO MULTITASKIBG IS WHAT WE USE MORE THAN 80 PERCENT OF THE TIME

THINK ABOUT IT WHILE MULTITASKING IN HOW MANY INSTANCES DO U ACTUALLY NEED THE APPLICATION TO PERFORM SOMETHING INBBACKGROUND

USUALLY U NEED TO REMEMBER ITS STATE

EVEN IF U NEED IT TO DO SOMETHING IN BACKGROUND A BIG TASK

I DOUBT MOST PEOPPE WOULD GO BEYOND 3 APPS

I MEAN WHO WOULD GIVE A TASK TO APP 1 THEN GO TO APP 2 GIVE IT A TASK GO TO APP 3 GIVE IT A TASK AND SO ON I THINK THE MAX NO OF APPS WE GIVE TASKS TO ARE ABOUT3 RARELY 5 SIMULTANEOUSLY

SO WE USE THE PSEUDO ONE A LOT MORE THAN THE REAL ONE AND IT IS MORE CONVENIENT TOO

SO MORE SWAP MORE ZRAM MEANS MORE REMEMBERING STATES

AND AT LEAST TO ME IT MEANS MORE CONVENIENCE

ALSO ZRAM ISBFAST SO IT IS BETTER

NOW COMES THE FACT OF THE LIMITATION OF ZRAM THAT IT REDUCES FREE EXECUTABLE RAM

SO AT VERY HIGH RAM APPS SHOULD FORCE CLOSE DUE TO LACK OF RESOURCES

NOW MY EXPERIMENTS WITH DIFFERENT LEVELS OF ZRAM

1) ZRAM 250MB REMEMBERS STATES OF ABOUT 10APPS REST ARE MOVED TO HARDSWAP ABLE TO PLAY GTA VC AND OTHEE GAMES NO LAGS

2) ZRAM 500 MB REMEMBERS STATES OF 25-26 APPS

SYSTEM SPEED UP REDUCES TIME OF OPENING APPPS MUCH LESS LAG ABLE TO PLAY GTA VCS NO LAG

3) ZRAM 650 REMEMBERS STATE OF 50 APPS REST ALL SAME AS ABOVE ABLE TO PLAY GTAVCS AND DEAD TRIGGER NO LAG

4)ZRAM 820 MB THAT MEANS FREE MEMORY OR EXECUTABLE RAM ONLY 13 MB STILL ABLE TO PLAY GTA VCS ALMOST NEGLIGIBLE LAG AND I MEAN IT VERY NEGLIGIBLE TO THE POINT I DOUBT IT WAS THERE

I am merely restating what yank said in my own words here but

I discovered GTA VCS uses about 65mb ram and in my experiment 4 ram executable was only 13 mb so the only thing I am unable to understand is why did GTA VCS not force close I checked in task manager while playing the game it was using 65 mb ram

Where did it get this ram

Though I even found what yank was saying true

But I think (correct me if I am incorrect I am just a noob) that this onne between Zram and real ram is dynamic and the system can use zram partition as free ram if it requires to a certain extent

Ex if 820 mb is zram and system requires 73mb it will take rest that is 60 mb from zram partition if it is not being utilised

Thus explains why GTA was able to run yank please shed light on this

Final opinion

All levels of zram in above except last one 820(as I did not try it for much time so can't say ) provide at least up till 5 apps of true multitasking and respective pseudo multitasking mentioned above

And personally I would choose more pseudo anytime over true provided true also be there for limited no of appa (3 is fine for me) as I use pseudo more depends from person to person

Lastly sorry for this long post and even sorry if u think it is off topic

Anyone may correct me if I am wrong

Finally enjoying s3

Yanks kernel

Sotmax v13

Zram enabled

Swap enabled