Root Virtual Memory

Discussion in 'Android Devices' started by Koumajutsu, Apr 26, 2012.

  1. So I've got virtual memory (aka linux swap) working on our beloved prevail. I want to know if you guys want it. If so, what is the preferred method for swapspace? I can hard code for a swap partition on the sdcard, a swapfile on the vfat, swap file in /data, all of the above, or I can add a text field to koumamod.apk so you can point to wherever you put it yourself. :)
     

    Advertisement
  2. cwhatever

    cwhatever Life Goes On
    Guide
    213

    Mar 4, 2012
    3,042
    846
    213
    Male
    Master Technician
    south central fla
    well i'm not afraid to ask! what would it be used for? hopefully not a stupid question?
     
  3. fcortes626

    fcortes626 Well-Known Member
    53

    Jul 28, 2011
    442
    67
    53
    FedEx and Auto tech student
    Los Angeles
    huh? lol too much technical words for ma haha:eek:
     
  4. Rarewolf

    Rarewolf Well-Known Member
    143

    Jan 11, 2012
    1,272
    154
    143
    Student
    CaliFornia, Azusa
    Is this like a swap for ram?
    That'd be awesome.
    I'm asking stupid questions just cuz I can. Lolz.
     
  5. Lordvincent 90

    Lordvincent 90 ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
    Guide
    583

    Oct 5, 2011
    5,559
    4,443
    583
    Male
    entertainer
    grand rapids,mi
    Yes

    :thumbup::thumbup:
    Virtual RAM, (like paging files/virtual memory in windows)

    Very interesting... i don't care how you release it :D if it functions as intended, this is big (and when have you ever spoken up, without knowing your sh** works? Not that I've seen :) )
    To bad cm7 doesn't like your tinkering... :banghead::banghead:

    Edit- did you test gps?:D:D:D lmao
     
    cwhatever likes this.
  6. Slayer72

    Slayer72 Well-Known Member
    Contributor
    223

    Dec 22, 2011
    2,672
    955
    223
    Male
    Troy NY
    I'm with you man, I'd like to know what the virtual memory is used for, and if it would be useful I'd like it to be put into KoumaMod for a selection to pick for use... :D
     
    cwhatever likes this.
  7. fcortes626

    fcortes626 Well-Known Member
    53

    Jul 28, 2011
    442
    67
    53
    FedEx and Auto tech student
    Los Angeles
    wouldnt it be better to put it on the sd card?
     
  8. lMonsterl

    lMonsterl Well-Known Member
    213

    Jul 18, 2011
    1,313
    602
    213
    Self-Employed
    U.S.
    I choose apk method
     
    jay6868 likes this.
  9. jwh42000

    jwh42000 Well-Known Member
    63

    Feb 7, 2012
    392
    83
    63
    Kansas City, MO
    You da man! This IS big. MIUI would profit from it
     
  10. Slayer72

    Slayer72 Well-Known Member
    Contributor
    223

    Dec 22, 2011
    2,672
    955
    223
    Male
    Troy NY
    For CTMod 3.5 I'd like to see it in the KoumaMod Settings bro... :D

    If you can do that for KoumaMod I'll test it for you if ya want... :p
     
  11. fcortes626

    fcortes626 Well-Known Member
    53

    Jul 28, 2011
    442
    67
    53
    FedEx and Auto tech student
    Los Angeles
    will this work on 3.4 or should i just update to 3.5?
     
  12. Lordvincent 90

    Lordvincent 90 ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
    Guide
    583

    Oct 5, 2011
    5,559
    4,443
    583
    Male
    entertainer
    grand rapids,mi
    Basically, instead of your low memory killer killing an app in a out of memory situation, it would move the app to the swap location (partition, etc) and allow it to be recalled instead of having to open it again.

    @kouma would you be able to mount the real /data partition as swap? (for /data 2ext mod) seems like a good use of the 160mb or so of unused space... And being internal, would probably provide the most performance/least lag
     
  13. Slayer72

    Slayer72 Well-Known Member
    Contributor
    223

    Dec 22, 2011
    2,672
    955
    223
    Male
    Troy NY
    You should be on 3.5, why haven't you??
     
  14. Slayer72

    Slayer72 Well-Known Member
    Contributor
    223

    Dec 22, 2011
    2,672
    955
    223
    Male
    Troy NY
    Can Kouma confirm this, he hasn't said anything about it yet...
     
  15. cwhatever

    cwhatever Life Goes On
    Guide
    213

    Mar 4, 2012
    3,042
    846
    213
    Male
    Master Technician
    south central fla
    i think i understand, maybe a little more on it though?


    sorry a little late on post already answered
     
  16. lMonsterl

    lMonsterl Well-Known Member
    213

    Jul 18, 2011
    1,313
    602
    213
    Self-Employed
    U.S.
    thats typically what ram does..

    think of it as plugging a thumb drive into windoze 7 and the autoplay menu pops up. Theres one for speed boost. It uses your memory stick in a similar way
     
    cwhatever likes this.
  17. blovadova

    blovadova Well-Known Member
    48

    Apr 13, 2012
    79
    133
    48
    Tech Support
    Knoxville TN
    A 32-64 heap on /data would be great!
     
  18. Slayer72

    Slayer72 Well-Known Member
    Contributor
    223

    Dec 22, 2011
    2,672
    955
    223
    Male
    Troy NY
    Can we get some input from Kouma on what this will actually do since he originally brought this to our attention??
     
  19. trenchkato

    trenchkato Well-Known Member
    93

    Jul 9, 2011
    507
    127
    93
    Atlanta, Georgia
    If /data is mounted to /sd-ext... could you posiblly use the normal space that /data uses for swap?

    Edit: I may be wrong but /data usually mounts to flash memory.. that would make it faster than trying to swap pages to an from by class 2 sd card...
     
  20. cwhatever

    cwhatever Life Goes On
    Guide
    213

    Mar 4, 2012
    3,042
    846
    213
    Male
    Master Technician
    south central fla
    data would be great, also us to point where would be good too:D
     
  21. fcortes626

    fcortes626 Well-Known Member
    53

    Jul 28, 2011
    442
    67
    53
    FedEx and Auto tech student
    Los Angeles
    idk too lazy to re install all the apps and stuff lol. then i have to add all the scripts and build.prop tweaks. i will probably update tomorrow since i dont have school.:captain:
     
  22. cwhatever

    cwhatever Life Goes On
    Guide
    213

    Mar 4, 2012
    3,042
    846
    213
    Male
    Master Technician
    south central fla
    to reinstall apps just use sdext from advanced restore, quick and easy!!:D
     
  23. Slayer72

    Slayer72 Well-Known Member
    Contributor
    223

    Dec 22, 2011
    2,672
    955
    223
    Male
    Troy NY
    lol, reinstalling apps shouldn't be a problem, all you have to do is restore sd-ext after you upgrade to 3.5, I'm quite sure there should be a way to incorporate the tweak files in the flashable zip too, need to find out from someone if they can and if the script needs to be modified to put those tweaks in the right locations...

    EDIT: What tweaks are you using in build.prop and what tweak scripts are you using??
     
  24. Lol I've been at the grocery store since I posted this topic. When I get back to a computer, I'll put together a good response
     
    jay6868, patsfann and Slayer72 like this.
  25. Slayer72

    Slayer72 Well-Known Member
    Contributor
    223

    Dec 22, 2011
    2,672
    955
    223
    Male
    Troy NY
    LMAO!! Ok thx bro, be looking forward to this great news... :p
     

Share This Page

Loading...