enabling swap

Search This thread

ddalex

Member
Dec 22, 2010
27
27
Just to let you know that Razr I works beautifully with ZRAM swap enabled !

Moto Razr I comes with a 1G of RAM, but sometimes that is not enough. The Linux kernel uses swap space even if there is a lot of memory to page out allocated but rarely used pages, and move instead disk cache into memory.

I enabled a 256Mb ZRAM swap, and the difference in device responsivness is impressive - I can switch between applications with no lag, I get no freezes, and I'm happy with it.

To enable this, I sent a pull request to the Gamma kernel: http://xdaforums.com/showthread.php?t=2217725

You will need to flash the next kernel image after the change is merged.
 
  • Like
Reactions: paulle and Hazou

paulle

Senior Member
Nov 1, 2010
1,295
276
swap

Just to let you know that Razr I works beautifully with ZRAM swap enabled !

Moto Razr I comes with a 1G of RAM, but sometimes that is not enough. The Linux kernel uses swap space even if there is a lot of memory to page out allocated but rarely used pages, and move instead disk cache into memory.

I enabled a 256Mb ZRAM swap, and the difference in device responsivness is impressive - I can switch between applications with no lag, I get no freezes, and I'm happy with it.

To enable this, I sent a pull request to the Gamma kernel: http://xdaforums.com/showthread.php?t=2217725

You will need to flash the next kernel image after the change is merged.

A noob question: Is this similar to the swap partition in linux?
 
  • Like
Reactions: adddaamo

adddaamo

Senior Member
Oct 1, 2010
183
63
Just to let you know that Razr I works beautifully with ZRAM swap enabled !

Moto Razr I comes with a 1G of RAM, but sometimes that is not enough. The Linux kernel uses swap space even if there is a lot of memory to page out allocated but rarely used pages, and move instead disk cache into memory.

I enabled a 256Mb ZRAM swap, and the difference in device responsivness is impressive - I can switch between applications with no lag, I get no freezes, and I'm happy with it.

To enable this, I sent a pull request to the Gamma kernel: http://xdaforums.com/showthread.php?t=2217725

You will need to flash the next kernel image after the change is merged.
I've enabled it also, it didn't help too much. Try to switch between Chrome and Skype and Hangouts, each time each app is killed. Memory management in Android sucks.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Just to let you know that Razr I works beautifully with ZRAM swap enabled !

    Moto Razr I comes with a 1G of RAM, but sometimes that is not enough. The Linux kernel uses swap space even if there is a lot of memory to page out allocated but rarely used pages, and move instead disk cache into memory.

    I enabled a 256Mb ZRAM swap, and the difference in device responsivness is impressive - I can switch between applications with no lag, I get no freezes, and I'm happy with it.

    To enable this, I sent a pull request to the Gamma kernel: http://xdaforums.com/showthread.php?t=2217725

    You will need to flash the next kernel image after the change is merged.
    1
    swap

    Just to let you know that Razr I works beautifully with ZRAM swap enabled !

    Moto Razr I comes with a 1G of RAM, but sometimes that is not enough. The Linux kernel uses swap space even if there is a lot of memory to page out allocated but rarely used pages, and move instead disk cache into memory.

    I enabled a 256Mb ZRAM swap, and the difference in device responsivness is impressive - I can switch between applications with no lag, I get no freezes, and I'm happy with it.

    To enable this, I sent a pull request to the Gamma kernel: http://xdaforums.com/showthread.php?t=2217725

    You will need to flash the next kernel image after the change is merged.

    A noob question: Is this similar to the swap partition in linux?
    1
    A noob question: Is this similar to the swap partition in linux?
    It's a different beast.

    http://xdaforums.com/showthread.php?t=1851991
    1
    Can you post a tutorial?