Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

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

    Reply
    Page 11 of 29 | Prev |   9     10   11   12     13   21 | Next | Last
    412b | # 101 | 2011-08-31, 06:24 | Report

    swapiness = 10
    runs smooth enough except switching from task manager to app due to io load 50-75%, managed to open about 5 XTerms, 6 Browser tabs, Contacts, Messaging, FBReader, MediaBox, Modest, RSS, File Browser, Calendar with noticable lag in switching (due to high io load).
    I've also got a bit tuned syspart (/usr/share/policy/etc/rx51/syspart.conf)
    looking forward getting memory free fully working as it's a big stopper at the moment IMO.

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

     
    [DarkGUNMAN] | # 102 | 2011-08-31, 06:31 | Report

    Ok, swapolube optimisations removed set to stock values.
    Speedpatch removed.

    Still lagging a bit once cache is full.
    Since I'm not exactly knowledgable on this are there any more values I need to correct?

    Code:
     $ cat /proc/swaps
    Filename				Type		Size	Used	Priority
    /dev/ramzswap0                          partition	120504	120492	-1
    /dev/mmcblk0p3                          partition	786424	63204	-2
    ~ $ cat /proc/sys/vm/*
    0
    10
    500
    40
    500
    0
    0
    59326
    30000	30001	30002	30003	0	0	0	0
    45
    32768
    201135
    -66
    98304
    -121
    131072
    1024
    32
    0
    65536
    2039
    4096
    2
    0
    0
    0
    50
    2
    0
    0
    20
    100

    Edit | Forward | Quote | Quick Reply | Thanks

     
    freemangordon | # 103 | 2011-08-31, 06:50 | Report

    Originally Posted by 412b View Post
    swapiness = 10
    runs smooth enough except switching from task manager to app due to io load 50-75%, managed to open about 5 XTerms, 6 Browser tabs, Contacts, Messaging, FBReader, MediaBox, Modest, RSS, File Browser, Calendar with noticable lag in switching (due to high io load).
    I've also got a bit tuned syspart (/usr/share/policy/etc/rx51/syspart.conf)
    looking forward getting memory free fully working as it's a big stopper at the moment IMO.
    Will you try page-cluster values 0,1,2 to see if there is any difference?

    Re memory free - it is working OK, trust me on that. My understanding is that what happens is the best possible scenario, i.e. instead of notification for a page that was just marked as unused it is immediately overwritten. While we have notifications for the pages that are not immediately overwritten.
    For sure there are optimizations to be done, if you look at the code there is a mutex used on write operations.

    And for the amount of applications you are testing with - try that on your laptop and tell me how it went

    Edit | Forward | Quote | Quick Reply | Thanks

     
    [DarkGUNMAN] | # 104 | 2011-08-31, 07:14 | Report

    Responsiveness MUCH improved with page-cluster set to 0 and swappiness set to 10

    Edit | Forward | Quote | Quick Reply | Thanks

     
    TMavica | # 105 | 2011-08-31, 08:24 | Report

    Originally Posted by freemangordon View Post
    @TMavica - and do you thing there is an improvement on responsiveness, or things are just the same?
    Yes, I feel the responsiveness is improved, but not a lot

    Edit | Forward | Quote | Quick Reply | Thanks

     
    gregoranderson | # 106 | 2011-08-31, 08:37 | Report

    Intrigued as to how phone-ui is with this added. I'm in the middle of a prepping a reflash to end all reflashes of my phone. Off topic, but so far, the best "feel" gains have been eMMC fully ext3 and swap only on SD card (things like Fapman zip along and I can fuddle with the phone doing other stuff while it's doing it's thing) but the phone-ui still remains a stuttering mess.

    Either way, will give this a shot later after work, unless someone has beaten me too it.

    Cheers @freemangordon et al, for your continued efforts towards this community and unique piece of hardware

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to gregoranderson For This Useful Post:
    Daneel, Estel, reinob, Xagoln

     
    freemangordon | # 107 | 2011-08-31, 08:54 | Report

    @gregoranderson - I would recommend to wait before trying it a little bit, today I will try to make optimizations to the way swap read/write/free requests are handled, at this point compcache does not bring much improvement, while could lead to laggy system from time to time. The "testing" so far was to prove that it is working at all, without oops and hangs.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 7 Users Say Thank You to freemangordon For This Useful Post:
    Estel, fw190, gregoranderson, nkirk, OVK, Stonik, Xagoln

     
    vi_ | # 108 | 2011-08-31, 20:42 | Report

    Originally Posted by gregoranderson View Post
    Intrigued as to how phone-ui is with this added. I'm in the middle of a prepping a reflash to end all reflashes of my phone. Off topic, but so far, the best "feel" gains have been eMMC fully ext3 and swap only on SD card (things like Fapman zip along and I can fuddle with the phone doing other stuff while it's doing it's thing) but the phone-ui still remains a stuttering mess.

    Either way, will give this a shot later after work, unless someone has beaten me too it.

    Cheers @freemangordon et al, for your continued efforts towards this community and unique piece of hardware
    Hey, start a new thread on 'the flash to end all re-flashes', this could lead to some interesting discussion!

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

     
    freemangordon | # 109 | 2011-09-01, 06:20 | Report

    OK guys, my conclusions so far:

    1 - compcache works
    2 - Anything above (lets's say) 64-96 MBs for disksize_kb results in a massive swap trashing at some point in time. Yesterday it was the first time for maybe an year I missed a call because the UI was stuck (because of the swap trashing)
    3 - using the above size should not harm , only can improve things, but no wonders. I setup my primary phone that way, so will see how it will progress with time.
    4- The only viable option so far to get rid of the UI lag is to move swap on SD card. Even if it is class 2 you forget about lagging.

    I don't think I can do much more on that, sorry.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by freemangordon; 2011-09-01 at 07:47. Reason: swap size range
    The Following 10 Users Say Thank You to freemangordon For This Useful Post:
    aanckar, don_falcone, Estel, evan, fw190, Hurrian, nkirk, OVK, reinob, strange1712

     
    TMavica | # 110 | 2011-09-01, 06:39 | Report

    I havent swap on sd card, let me trytry

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 11 of 29 | Prev |   9     10   11   12     13   21 | Next | Last
vBulletin® Version 3.8.8
Normal Logout