Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [ANNOUNCE] COMPCACHE on kernel-power (now with notifications)

    Reply
    Page 12 of 29 | Prev | 2   10     11   12   13     14   22 | Next | Last
    TMavica | # 111 | 2011-09-01, 06:43 | Report

    sorry for disturbance..
    how to swap on sd card..cant find the wiki

    Edit | Forward | Quote | Quick Reply | Thanks

     
    freemangordon | # 112 | 2011-09-01, 06:45 | Report

    Originally Posted by TMavica View Post
    I havent swap on sd card, let me trytry
    And you MUST use setting from here.

    Anyway, this is going OT

    Edit | Forward | Quote | Quick Reply | Thanks

     
    evan | # 113 | 2011-09-01, 06:47 | Report

    that was my finding also. not a good idea to grab more than half available physical ram for swapz. you don't want to pass each and every call for ram allocation through the swap mechanism. I have such a low disksize for a frew days now and it works, no lags, no crashes, no wonders.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to evan For This Useful Post:
    Estel, freemangordon, fw190

     
    freemangordon | # 114 | 2011-09-01, 07:22 | Report

    Originally Posted by evan View Post
    that was my finding also. not a good idea to grab more than half available physical ram for swapz. you don't want to pass each and every call for ram allocation through the swap mechanism. I have such a low disksize for a frew days now and it works, no lags, no crashes, no wonders.
    Did you try with 96MB?

    And would you share your other settings:

    where is your swap located at
    /proc/sys/vm changes
    io scheduler changes (if any)

    what else?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to freemangordon For This Useful Post:
    Estel, fw190

     
    evan | # 115 | 2011-09-01, 07:39 | Report

    I tried with 96mb only for a while and while I did not see heavy lags, I noticed nokia maps to take too long to start. Swappiness to 30 and laptop mode to 0 as is default. Nothing else changed. No magic script nor magic carpets. Swap is the default p3 cause I can’t get bothered to repartition my sd card although since you say it’s the best bet for improved performance I will try it when I find the time.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to evan For This Useful Post:
    Estel, freemangordon

     
    Estel | # 116 | 2011-09-01, 13:20 | Report

    And:

    Originally Posted by freemangordon
    Notifications are working, but seems there are paths in the kernel swap subsystem allowing direct write over a page without first marking it free.
    Seems like memory consumption should not be affected by that.
    ...seems to be impossible to fix, currently?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    freemangordon | # 117 | 2011-09-01, 13:50 | Report

    Originally Posted by Estel View Post
    And:



    ...seems to be impossible to fix, currently?
    Should be posible, but I don't think we will gain anything but additional overhead. You can check upstream zram, they are not using notifications at all, does not seem to have much negative effect. The problem is that SW running on n900 needs lots of RAM and not having it (because it is used by compcache) leads to constant swapping (swap trash).

    Anyway there is definitely improvement from using compcahe, just not so much that was probably expected. Use disksize_kb in range 64MB to 96MB and you will see it.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to freemangordon For This Useful Post:
    Estel

     
    Estel | # 118 | 2011-09-01, 16:25 | Report

    Thanks for all your effort - I've not had any "exaggerated" expectations, and it's already great thing that you've bring it to us. I think it's closest of what we can get, to actual higher RAM amount

    So, thanks for doing something, that no one else was able/interested to bring us.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    TMavica | # 119 | 2011-09-02, 05:54 | Report

    Friends, I tried swap on SD:

    ramzswap (120504), mmcblk0p3, mmcblk1p2 (796472) with priority 1, 0, 0 and with your setting recommanded, but still sometimes the UI got some laggy.

    Moreover, I made a script for bootup, only can swapon ramzswap and mmcblk0p3, mmcblk1p2 cant swapon at bootup
    from added a more line here, http://talk.maemo.org/showpost.php?p...8&postcount=95

    Edit | Forward | Quote | Quick Reply | Thanks

     
    freemangordon | # 120 | 2011-09-02, 06:04 | Report

    Originally Posted by TMavica View Post
    Friends, I tried swap on SD:

    ramzswap (120504), mmcblk0p3, mmcblk1p2 (796472) with priority 1, 0, 0 and with your setting recommanded, but still sometimes the UI got some laggy.

    Moreover, I made a script for bootup, only can swapon ramzswap and mmcblk0p3, mmcblk1p2 cant swapon at bootup
    from added a more line here, http://talk.maemo.org/showpost.php?p...8&postcount=95
    Use only 64-96 MBs for ramzswap. And do not use mmcblk0p3, only SD card swap partition. And just to make sure put /sbin/ in front of swapon/swapoff commands

    EDIT: and change first line of your script to "start on started rcS-late"

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by freemangordon; 2011-09-02 at 06:09.
    The Following 2 Users Say Thank You to freemangordon For This Useful Post:
    Estel, TMavica

     
    Page 12 of 29 | Prev | 2   10     11   12   13     14   22 | Next | Last
vBulletin® Version 3.8.8
Normal Logout