Android Community
Page 2 of 7 FirstFirst 1 2 3 4 ... LastLast
Results 11 to 20 of 61

Thread: CompCache - userinit

  1. #11
    Join Date
    Jul 2009
    Posts
    301

    Default Re: CompCache - userinit


    ok i'll try to do it by myself
    but u can tell me what does backswapping do?
    Android G1
    Rom: Cyanogen 6 DS
    Recovery:New Amon Ras' 1.7.0
    Spl: Danger Spl
    Radio: 2.22.23.02
    App2Sd:|7.5Gig fat32/500M ext4|

  2. #12
    Join Date
    Nov 2008
    Location
    Kissimmee, Fl
    Posts
    763

    Default Re: CompCache - userinit

    my understanding is that it functions like linux-swap except it has better compatibility with compcache. giving you 100% Good compress. btw, does backing swap wear down the sd card?
    ALL White G1
    Cupcake
    Cyan 3.6.3
    Hero Theme 1.4.5
    apps 2 SD | 85 Mb free

  3. #13
    Join Date
    Nov 2008
    Location
    Greensboro, NC
    Posts
    219

    Default Re: CompCache - userinit

    Quote Originally Posted by muhammadsauud View Post
    ok i'll try to do it by myself
    but u can tell me what does backswapping do?
    swap = a place to temporarliy store stuff in ram, to create more space.

    a normal swap partition is on some sort of storage device, like you store files on

    compcache is a special swap partition -- it creates a sort of swap partition inside the ram itself -- how does this help if it's just moving from ram, to another part of ram you might ask -- well it compress's what it "swaps" to create more space.

    But what if you want compcache to have a place to spill over to -- a real swap partition it can use -- that is where backing swap comes in. (you could also use linuxswap, but that is managed by linux, while the backingswap is just like linuxswap except that compcache can manage it, so it plays well together)

    Do note -- that if you do not have one -- you will need to create a linux swap partition on your SD card -- this is detailed in my post -- NOTE: the method linked to -- will delete everything on the SD card -- so make a copy on your computer first!

  4. #14
    Join Date
    Jul 2009
    Posts
    301

    Default Re: CompCache - userinit

    i have edited the files and put them back in the sdcard and the step where to enable it it says init: Device or resource busy
    Android G1
    Rom: Cyanogen 6 DS
    Recovery:New Amon Ras' 1.7.0
    Spl: Danger Spl
    Radio: 2.22.23.02
    App2Sd:|7.5Gig fat32/500M ext4|

  5. #15
    Join Date
    Oct 2008
    Location
    Brooklyn
    Posts
    316

    Default Re: CompCache - userinit

    Ok, so here's my problem:

    My GoodCompress remains in the 60s and 70s when making the edits to enable backing swap. Now, the problem MIGHT be, that I only cp'ed user.conf because it was the only one that I changed. Might I have had to cp both again?

    I tried making the same changes to userinit as well, in case that's the problem, and compcache and swap stopped working entirely. Hmm...
    - Cyanogen Mod du jour
    - Compcache
    - Recovery Image 1.4
    - Apps on SD
    - Caches to SD

  6. #16
    Join Date
    Nov 2008
    Location
    Greensboro, NC
    Posts
    219

    Default Re: CompCache - userinit

    Quote Originally Posted by muhammadsauud View Post
    i have edited the files and put them back in the sdcard and the step where to enable it it says init: Device or resource busy
    Did you already have compcache enabled without backingswap before you started this? If so -- you don't have to do that last part -- just reboot the phone and run
    Code:
    rzscontrol /dev/block/ramzswap0 -s
    and see if it says anything about backing swap at the top


    p.s. I am going to edit post to clarify about this

  7. #17
    Join Date
    Oct 2008
    Location
    Brooklyn
    Posts
    316

    Default Re: CompCache - userinit

    bdb, I just checked with that code, and it doesn't say anything about backing swap, so, she's a no go for me so far
    - Cyanogen Mod du jour
    - Compcache
    - Recovery Image 1.4
    - Apps on SD
    - Caches to SD

  8. #18
    Join Date
    Jul 2009
    Posts
    301

    Default Re: CompCache - userinit

    yeap i have already enable compcache
    i did rebooted the first time but the good compress was still at 68% , i thought that may be i didn't changed the values of either one of the files so i did again lets see if it shows a good compress of 100%
    Android G1
    Rom: Cyanogen 6 DS
    Recovery:New Amon Ras' 1.7.0
    Spl: Danger Spl
    Radio: 2.22.23.02
    App2Sd:|7.5Gig fat32/500M ext4|

  9. #19
    Join Date
    Oct 2008
    Location
    Brooklyn
    Posts
    316

    Default Re: CompCache - userinit

    Ahhah, stupid me. My fault. I do not have a 3rd partition on the SD card, that'd be the problem. Does making this third partition erase my Apps2SD as well? I may just hang out with what I have...
    - Cyanogen Mod du jour
    - Compcache
    - Recovery Image 1.4
    - Apps on SD
    - Caches to SD

  10. #20
    Join Date
    Jul 2009
    Posts
    301

    Default Re: CompCache - userinit


    nope nothing about backswapp at the top and the good compress is also at 65%
    Android G1
    Rom: Cyanogen 6 DS
    Recovery:New Amon Ras' 1.7.0
    Spl: Danger Spl
    Radio: 2.22.23.02
    App2Sd:|7.5Gig fat32/500M ext4|

Page 2 of 7 FirstFirst 1 2 3 4 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •