Virtual Memory


Last Updated:

  1. Koumajutsu

    Koumajutsu Well-Known Member

    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

    well i'm not afraid to ask! what would it be used for? hopefully not a stupid question?
  3. fcortes626

    fcortes626 Well-Known Member

    huh? lol too much technical words for ma haha:eek:
  4. Rarewolf

    Rarewolf Well-Known Member

    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

    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 Developer

    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

    wouldnt it be better to put it on the sd card?
  8. lMonsterl

    lMonsterl Well-Known Member

    I choose apk method
    jay6868 likes this.
  9. jwh42000

    jwh42000 Well-Known Member

    You da man! This IS big. MIUI would profit from it
  10. Slayer72

    Slayer72 Well-Known Member Developer

    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

    will this work on 3.4 or should i just update to 3.5?
  12. Lordvincent 90

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

    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 Developer

    You should be on 3.5, why haven't you??
  14. Slayer72

    Slayer72 Well-Known Member Developer

    Can Kouma confirm this, he hasn't said anything about it yet...
  15. cwhatever

    cwhatever Life Goes On Guide

    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

    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

    A 32-64 heap on /data would be great!
  18. Slayer72

    Slayer72 Well-Known Member Developer

    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

    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

    data would be great, also us to point where would be good too:D
  21. fcortes626

    fcortes626 Well-Known Member

    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

    to reinstall apps just use sdext from advanced restore, quick and easy!!:D
  23. Slayer72

    Slayer72 Well-Known Member Developer

    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. Koumajutsu

    Koumajutsu Well-Known Member

    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 Developer

    LMAO!! Ok thx bro, be looking forward to this great news... :p

Share This Page