CERCA
PER MODELLO
FullScreen Chatbox! :)

Utente del giorno: 9mm con ben 3 Thanks ricevuti nelle ultime 24 ore
Utente della settimana: 9mm con ben 8 Thanks ricevuti negli ultimi sette giorni
Utente del mese: 9mm con ben 29 Thanks ricevuti nell'ultimo mese

Pagina 111 di 168 primaprima ... 1161101109110111112113121161 ... ultimoultimo
Ultima pagina
Visualizzazione dei risultati da 1,101 a 1,110 su 1671
Discussione:

[CUSTOM KERNEL][MOD] Cor Plenus et Cor Optimi v2

Se questa discussione ti è stata utile, ti preghiamo di lasciare un messaggio di feedback in modo che possa essere preziosa in futuro anche per altri utenti come te!
  1. #1101
    Androidiano VIP


    Registrato dal
    Jun 2012
    Messaggi
    4,923
    Smartphone
    SAMSUNG GT-S5570I

    Ringraziamenti
    139
    Ringraziato 1,091 volte in 873 Posts
    Predefinito

    Quote Originariamente inviato da Fahmi1597 Visualizza il messaggio
    My mean, i have 2 partition on my sdcard
    sd - mmcblk0p1
    linux swap - mmcblk0p2
    i don't use sdext.

    and if i'm go to terminal and type
    $su
    #free
    there is showing 0 (zero)
    is correct the zram has enable?
    Fahmi, zram and swap are two different things, the first is used to compress ram pages while the second is used to store such pages on local drive and free up avalaible ram.
    It should be this.
    Guida per partizionare la microsd: HERE
    Tutti i file per il Next Turbo nel mio repository: HERE

    Premi a sinistra per ringraziarmi se ti son stato d'aiuto!

  2. Il seguente Utente ha ringraziato Korgar per il post:

    Fahmi1597 (19-12-12)

  3.  
  4. #1102
    Androidiano


    Registrato dal
    Jul 2012
    Messaggi
    57

    Ringraziamenti
    12
    Ringraziato 15 volte in 4 Posts
    Predefinito

    Quote Originariamente inviato da Korgar Visualizza il messaggio
    Fahmi, zram and swap are two different things, the first is used to compress ram pages while the second is used to store such pages on local drive and free up avalaible ram.
    It should be this.
    Ah, thanks kogar..
    so i don't need the linux swap again, right?

  5. #1103
    Androidiano VIP


    Registrato dal
    Jun 2012
    Messaggi
    4,923
    Smartphone
    SAMSUNG GT-S5570I

    Ringraziamenti
    139
    Ringraziato 1,091 volte in 873 Posts
    Predefinito

    Uhm I don't think... I always heard that swap partition is useless for sdcards...
    Guida per partizionare la microsd: HERE
    Tutti i file per il Next Turbo nel mio repository: HERE

    Premi a sinistra per ringraziarmi se ti son stato d'aiuto!

  6. Il seguente Utente ha ringraziato Korgar per il post:

    Fahmi1597 (19-12-12)

  7. #1104
    Androidiano VIP L'avatar di Michelasso


    Registrato dal
    Apr 2012
    Località
    Treviso
    Messaggi
    3,215

    Ringraziamenti
    146
    Ringraziato 984 volte in 486 Posts
    Predefinito

    Quote Originariamente inviato da Fahmi1597 Visualizza il messaggio
    My mean, i have 2 partition on my sdcard
    sd - mmcblk0p1
    linux swap - mmcblk0p2
    i don't use sdext.

    and if i'm go to terminal and type
    $su
    #free
    there is showing 0 (zero)
    is correct the zram has enable?
    If it shows zero no swap is enabled. Also to enable it in the 07setvm script you must modify the partition number. I use 03, you use 02.

    Quote Originariamente inviato da Korgar Visualizza il messaggio
    Fahmi, zram and swap are two different things, the first is used to compress ram pages while the second is used to store such pages on local drive and free up avalaible ram.
    It should be this.
    Not quite. zRAM are compressed RAM disks/devices. One can choose how to use them. As a partition for volatile file system or as a swap partition. Such choice are made "by hand", first creating the zRAM devices, formatting them depending on how we want to use them and then enabling them for their purpose. I use the zRAM in 07setvm only as a swap partition, so at the end it has the same exactly functionality of the flash swap partition.

    Quote Originariamente inviato da Fahmi1597 Visualizza il messaggio
    Ah, thanks kogar..
    so i don't need the linux swap again, right?
    Honestly I am against the flash Linux partition. Unless someone finds the right tuning values it may slow down the phone dramatically. It is there just for people that want to experiment it. To use the zRAM as a Linux swap it is much better. It steals RAM but it makes more than twice of the stolen RAM available as a very fast swap device. So the trade off should be positive. Still, more application one allows to run, and higher is the battery drain. I don't know if it is worth it.
    Se sono stato utile non dimenticare di premere Thanks!

    Visita la mia collezione di temi per telefoni e tablet Xperia!


  8. Il seguente Utente ha ringraziato Michelasso per il post:

    Fahmi1597 (19-12-12)

  9. #1105
    Androidiano


    Registrato dal
    Jul 2012
    Messaggi
    57

    Ringraziamenti
    12
    Ringraziato 15 volte in 4 Posts
    Predefinito

    Quote Originariamente inviato da Michelasso Visualizza il messaggio
    If it shows zero no swap is enabled. Also to enable it in the 07setvm script you must modify the partition number. I use 03, you use 02.



    Not quite. zRAM are compressed RAM disks/devices. One can choose how to use them. As a partition for volatile file system or as a swap partition. Such choice are made "by hand", first creating the zRAM devices, formatting them depending on how we want to use them and then enabling them for their purpose. I use the zRAM in 07setvm only as a swap partition, so at the end it has the same exactly functionality of the flash swap partition.



    Honestly I am against the flash Linux partition. Unless someone finds the right tuning values it may slow down the phone dramatically. It is there just for people that want to experiment it. To use the zRAM as a Linux swap it is much better. It steals RAM but it makes more than twice of the stolen RAM available as a very fast swap device. So the trade off should be positive. Still, more application one allows to run, and higher is the battery drain. I don't know if it is worth it.
    ################################################## ###########
    # zRAM module
    #
    if [ -z $ENABLE_ZRAM ] || [ ! "$ENABLE_ZRAM" = "ON" ]; then
    #
    # Swappiness wouldn't really matter. Just set it to zero
    #
    echo 0 > /proc/sys/vm/swappiness
    #
    # Set memory manager minfree (in 4KB pages)
    #
    echo "1024,2048,3072,21000,22000,23000" > /sys/module/lowmemorykiller/parameters/minfree
    #
    log -p i -t setvm "zRAM is not enabled"
    else
    #
    # Set Swappiness. Use value >0 if zRAM is enabled. Not too high
    # Higher the number, higher the swap activity (theoretically...)
    #
    echo 40 > /proc/sys/vm/swappiness
    #
    # Set memory manager minfree (in 4KB pages)
    #
    echo "1024,2048,3072,24000,25000,26000" > /sys/module/lowmemorykiller/parameters/minfree
    #
    # Load kernel's zRAM modules
    insmod /system/lib/modules/lzo_compress.ko
    insmod /system/lib/modules/lzo_decompress.ko
    insmod /system/lib/modules/zram.ko
    #
    # enable zRAM. disksize is in bytes
    #
    if [ ! -e /sys/block/zram0/disksize ]; then
    log -p e -t setvm "Something went wrong. zRAM modules not loaded by the kernel!!"
    else
    echo $(($zram_size*1024*1024)) > /sys/block/zram0/disksize
    mkswap /dev/block/zram0
    swapon -p 100 /dev/block/zram0
    log -p i -t setvm "zRAM is enabled. Current status of swap areas:"
    log -p i -t setvm "$(cat /proc/swaps)"
    fi
    fi
    #
    # End of zRAM section
    ################################################## ###########

    i don't find to mmcblk0p3, where i can change it? in linux swap section?

    sorry, i'm too newb about zram ._.

  10. #1106
    Androidiano VIP L'avatar di Michelasso


    Registrato dal
    Apr 2012
    Località
    Treviso
    Messaggi
    3,215

    Ringraziamenti
    146
    Ringraziato 984 volte in 486 Posts
    Predefinito

    Quote Originariamente inviato da Fahmi1597 Visualizza il messaggio
    i don't find to mmcblk0p3, where i can change it? in linux swap section?

    sorry, i'm too newb about zram ._.
    And where else should it be? That one is the zRAM section. mmcblk0p3 is an mmc (and thus SD) partition. It is in the second section, the Linux swap section as i called it since that is a pure swap partition.
    Se sono stato utile non dimenticare di premere Thanks!

    Visita la mia collezione di temi per telefoni e tablet Xperia!


  11. Il seguente Utente ha ringraziato Michelasso per il post:

    Fahmi1597 (19-12-12)

  12. #1107
    Androidiano VIP L'avatar di Michelasso


    Registrato dal
    Apr 2012
    Località
    Treviso
    Messaggi
    3,215

    Ringraziamenti
    146
    Ringraziato 984 volte in 486 Posts
    Predefinito

    Scusate il doppio post, ma è per non mescolare inglese e italiano.. Ragassi.. io ho provato a togliere il tuning della minfree in 07setvm.. Mi si è mezzo bloccato il telefono!!! Troppe applicazioni attive, CPU al 100% a nastro. Poi l'ho tolto abilitando la zRAM.. e ciao. Proprio non si muoveva. Sempre in I/O, forse a causa dello swapping con la zRAM.

    Sicuri che eliminando 07setvm vi funzioni meglio?
    Se sono stato utile non dimenticare di premere Thanks!

    Visita la mia collezione di temi per telefoni e tablet Xperia!


  13. #1108
    Androidiano L'avatar di themind


    Registrato dal
    Sep 2012
    Messaggi
    233
    Smartphone
    OnePlus 2

    Ringraziamenti
    21
    Ringraziato 37 volte in 22 Posts
    Predefinito

    Quote Originariamente inviato da Michelasso Visualizza il messaggio
    Sicuri che eliminando 07setvm vi funzioni meglio?
    Beh senza, il mio telefono è molto più reattivo. Almeno non deve ricaricare processi che in realtà non doveva chiudere.
    Se vi sono stato utile fate un thanks

  14. #1109
    Androidiano


    Registrato dal
    Jul 2012
    Messaggi
    57

    Ringraziamenti
    12
    Ringraziato 15 volte in 4 Posts
    Predefinito

    Quote Originariamente inviato da Michelasso Visualizza il messaggio
    And where else should it be? That one is the zRAM section. mmcblk0p3 is an mmc (and thus SD) partition. It is in the second section, the Linux swap section as i called it since that is a pure swap partition.
    Btw thanks michel, know if
    $free

    Tthere showing the 72 mb of zram v some modificated in 07setvm
    Keep working for it
    sry for my bad english and my noob question


    Regards.

  15. #1110
    Androidiano VIP L'avatar di Michelasso


    Registrato dal
    Apr 2012
    Località
    Treviso
    Messaggi
    3,215

    Ringraziamenti
    146
    Ringraziato 984 volte in 486 Posts
    Predefinito

    Quote Originariamente inviato da themind Visualizza il messaggio
    Beh senza, il mio telefono è molto più reattivo. Almeno non deve ricaricare processi che in realtà non doveva chiudere.
    Mah… Onestamente mica è ben chiaro come funzioni la gestione della RAM in Android. Perché prima c'è la gestione della RAM fatta dal kernel, poi sopra c'è quella per chiudere le applicazioni quando la RAM libera è inferiore ai valori stabiliti da minfree. Aggiungici che è pure possibile attivare le partizioni swap e… buonanotte.

    A me infatti funziona meglio con minfree settato in 07setvm. Il fatto che più applicazioni siano presenti allo stesso tempo dovrebbe comportare un maggiore uso di CPU, e quindi un ovvio rallentamento. Monitorando con "top" da shell la cosa è pure confermata. Anche se qui di ovvio c'è ben poco.
    Se sono stato utile non dimenticare di premere Thanks!

    Visita la mia collezione di temi per telefoni e tablet Xperia!


Pagina 111 di 168 primaprima ... 1161101109110111112113121161 ... ultimoultimo
Ultima pagina

Tag per questa discussione

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire risposte
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Torna su
Privacy Policy