*** kerio has quit IRC | 00:28 | |
*** kerio has joined #maemo-ssu | 00:29 | |
*** Pali has quit IRC | 01:29 | |
*** NishanthMenon has quit IRC | 01:30 | |
*** sparetire_ has quit IRC | 03:40 | |
*** M4rtinK has quit IRC | 03:56 | |
*** esoare has joined #maemo-ssu | 04:07 | |
*** esoare has quit IRC | 04:37 | |
*** esoare has joined #maemo-ssu | 04:37 | |
*** esoare has quit IRC | 05:10 | |
*** futpib has joined #maemo-ssu | 06:48 | |
*** Sicelo009N has quit IRC | 07:56 | |
*** Sicelo009N has joined #maemo-ssu | 08:03 | |
*** Sicelo009N has joined #maemo-ssu | 08:03 | |
*** futpib has quit IRC | 08:16 | |
freemangordon | jonwil: could you look at function connui_internet_status_menu_item_is_suspended (connui-inet is that) | 08:33 |
---|---|---|
freemangordon | it returns gboolean, but what it will return if g_return... expression is evaluated to FALSE? | 08:33 |
jonwil | 0 | 08:35 |
freemangordon | why? | 08:35 |
jonwil | the g_return_if_fail_warning call at address 1940 returns void | 08:35 |
jonwil | so it finishes its work | 08:35 |
jonwil | then the instruction at 1944 sets R0 to 0 | 08:35 |
jonwil | then the one at 1948 returns from the function | 08:36 |
freemangordon | nut, afaik, g_return_if_fail_warning actually returns | 08:37 |
freemangordon | *but | 08:37 |
freemangordon | or not? | 08:37 |
jonwil | it does return | 08:37 |
freemangordon | anyway, HR does not show that "MOV R0, #0" on 1944 | 08:37 |
jonwil | ok, I think I screwed up. Go to the ASM view and where it does the g_return_if_fail_warning call, double click on it | 08:40 |
jonwil | then press alt-p | 08:40 |
jonwil | and uncheck the "does not return" checkbox | 08:40 |
jonwil | then press OK | 08:40 |
freemangordon | aah, that's better | 08:41 |
freemangordon | :) | 08:41 |
jonwil | I am getting closer to finishing the RE of libcodelockui, then I can start cloning it | 08:43 |
*** amiconn has quit IRC | 08:43 | |
freemangordon | great | 08:43 |
*** amiconn has joined #maemo-ssu | 08:44 | |
*** LauRoman has quit IRC | 09:01 | |
*** LauRoman has joined #maemo-ssu | 09:10 | |
jonwil | now comes the tricky part, figuring out _CluiCodeDialogPrivate | 09:15 |
*** Sicelo009N has quit IRC | 09:16 | |
*** Sicelo009N has joined #maemo-ssu | 09:18 | |
freemangordon | jonwil: connui-inet debian packaging added | 09:21 |
*** Pali has joined #maemo-ssu | 09:25 | |
jonwil | have you tested your clone? | 09:32 |
jonwil | also I believe it should depend on libconnui-dev | 09:34 |
freemangordon | not tested | 09:34 |
*** Pali has quit IRC | 09:35 | |
freemangordon | yeah, I've missed that dependency | 09:36 |
freemangordon | will add it | 09:36 |
jonwil | let me know when you are done and I will test the package on my phone :) | 09:39 |
*** unclouded has quit IRC | 10:55 | |
*** DrCode has quit IRC | 11:14 | |
jonwil | Fixed that missing dependency :) | 11:34 |
jonwil | about to test the new package on my phone :) | 11:34 |
*** Sicelo009N has quit IRC | 12:45 | |
*** Sicelo009N has joined #maemo-ssu | 12:52 | |
xes | freemangordon: after a few days of usage i have to say that last modest version is working well BUT, with offline sync mode enabled there is something weird and unclear. First sync (after an rm of the imap cache folder) tries to download all inbox messages. If interrupted sync does not starts again and only recent 250 emails are synced. Going back(+250..+250) doesn't seems to help and old emails are | 12:54 |
xes | missing. | 12:54 |
*** Sicelo009N has quit IRC | 12:59 | |
*** Sicelo009N has joined #maemo-ssu | 13:00 | |
xes | if i wait for the first sync to complete to allow modest to download ~30000 emails in inbox all seems to work properly, but modest makes a stat() of every inbox msg. In fact, with offline mode enabled and 250 visible msg the modest ram usage is pretty high, maybe a setting to change that 250 would help to find the right value. Now opening the inbox folder takes more or less 15-20 seconds | 13:02 |
*** Sicelo009N has quit IRC | 13:03 | |
*** Sicelo009N has joined #maemo-ssu | 13:07 | |
*** freemangordon_ has joined #maemo-ssu | 14:17 | |
*** freemangordon_ has quit IRC | 14:21 | |
*** freemangordon_ has joined #maemo-ssu | 14:28 | |
jonwil | bah, looks like no-one can help me out with my rootfs issue :( | 14:41 |
*** jonwil has quit IRC | 14:43 | |
*** freemangordon_ has quit IRC | 14:43 | |
*** freemangordon_ has joined #maemo-ssu | 14:52 | |
*** freemangordon_ has quit IRC | 14:57 | |
*** freemangordon_ has joined #maemo-ssu | 15:20 | |
*** freemangordon_ has quit IRC | 15:46 | |
*** sparetire_ has joined #maemo-ssu | 15:56 | |
*** Sicelo009N has quit IRC | 15:57 | |
freemangordon | xes: I am not sure how that is supposed to work, but I guess this behaviour is by design | 16:27 |
freemangordon | xes: also, keep in mind that imap offline is not that good idea, as it stores the cache in /home/use :) | 16:28 |
freemangordon | /home/user that is | 16:28 |
freemangordon | xes: and yes, we should somehow fix that stat() issue | 16:29 |
freemangordon | xes: BTW what you mean by saying "emails are missing"? where they are missing from? cache? | 16:30 |
freemangordon | xes: oh, and the issue with stat() is not in modest, but in tinymail :) | 16:36 |
*** NishanthMenon__ has joined #maemo-ssu | 17:22 | |
*** NishanthMenon__ is now known as NishanthMenon | 17:43 | |
xes | freemangordon: with missing i mean an email of 6 months ago that has not been downloaded during the first offline sync because first sync has been interrupted | 18:14 |
freemangordon | ok | 18:15 |
freemangordon | xes: I really don't know if this is not by design | 18:15 |
freemangordon | maybe it will do it someday, as there are some "IDLE" modes of imap | 18:15 |
freemangordon | xes: however, now I am testing some stat() patch | 18:16 |
freemangordon | with 5000 mails in offline cache, the folder opens in 2-3 s | 18:16 |
freemangordon | will give it to you to test it once I am sure it is my patch that is the reason for the timing :) | 18:17 |
xes | sure | 18:17 |
xes | anyway i have no idea how to trigger the complete offline sync using the ui, so far the only way i found is to rm the summary.map files | 18:20 |
xes | freemangordon: do you think it would be hard to read a value defined with: gconftool-2 --type int --set /apps/modest/emails_per_page 250 ? | 18:29 |
freemangordon | xes: I am thinking of adding a global setting (in settings dialog) | 18:30 |
xes | even better! | 18:31 |
xes | freemangordon: are you still here? | 18:37 |
freemangordon | yep | 18:38 |
freemangordon | oh | 18:38 |
freemangordon | xes: BTW, how do you manage to achieve those 15-20 seconds? | 18:41 |
xes | maybe modest's mail usage too high loading 250 offline msg + stat() of 30k msg? | 18:42 |
*** Pali has joined #maemo-ssu | 18:43 | |
freemangordon | xes: it does not load those message, it loads just headers | 18:43 |
freemangordon | and that sts() happens in background iiuc | 18:43 |
freemangordon | *stat() | 18:43 |
freemangordon | xes: what am I supposed to do to recreate the issue here? | 18:45 |
freemangordon | keep in mind that latest modest loads mails in batches | 18:45 |
xes | modest 3.4.8 is still faster but i think that offline mode wasn't available | 18:46 |
freemangordon | yes, it is in cssu modest only | 18:47 |
freemangordon | faster? I think it is on par | 18:48 |
freemangordon | yep, 4 seconds to open a folder with ~5000 mails in offline cache. the folder has ~15000 messages | 18:49 |
freemangordon | with offline cache disabled, the times are similar/same | 18:49 |
xes | memory usage? | 18:49 |
freemangordon | RSS 36120 | 18:50 |
xes | yep. mine is near 35 but now i have 180MB of swap in use... | 18:51 |
freemangordon | xes: BTW, could it be that you have 15-20 seconds only the first time it does offline sync? as it get all the headers from gmail and that takes time, my offline headers cache is ~7.6 MiB | 18:51 |
freemangordon | what happens if you close modest, let it settle for 15 seconds and open it? | 18:52 |
freemangordon | is it still slow? | 18:52 |
xes | no. offline sync took 5 hours 3 days ago | 18:52 |
freemangordon | can;t parse, rephrase please | 18:53 |
xes | complete offline sync happens only erasing summay.map files of imap cache | 18:54 |
freemangordon | ok | 18:54 |
xes | then it never happens | 18:54 |
freemangordon | but my question was - now the sync is complete (no matter partially or full), does it still take 20 seconds to open your inbox (or whatever is that huge folder)? | 18:55 |
freemangordon | as I suspect it is not stat(), but summary.map loading that takes time | 18:56 |
freemangordon | I suspect yours is !15 MiB | 18:56 |
freemangordon | *~15 | 18:56 |
xes | closing modest, opening again ...never less than 10-15 seconds | 18:56 |
freemangordon | give it some time after closing it | 18:56 |
freemangordon | as it exits and is restarted | 18:57 |
freemangordon | on restart it does all the stat() stuff and preloading and whatnot | 18:57 |
xes | yep | 18:57 |
freemangordon | hmm? | 18:58 |
freemangordon | tail -f syslog, to see when the pre-starting has completed | 18:58 |
xes | yes, i wait a lot before open it again | 18:59 |
freemangordon | wait for "SaveToDraftsMenu: missing action ActionsSaveToDrafts" to appear in syslog | 18:59 |
freemangordon | as it takes ~10 seconds here to be orestarted | 19:00 |
freemangordon | I suspect double or more on your device | 19:00 |
freemangordon | also, my SD card is very, very fast | 19:00 |
freemangordon | that may explain my times too (swap is fast) | 19:01 |
bencoh | faster than eMMC? | 19:03 |
freemangordon | I guess on par | 19:03 |
freemangordon | or slightly slower | 19:03 |
freemangordon | bencoh: random r/w is that | 19:03 |
freemangordon | iirc it has 4k random write speed of about 2 MiB/s | 19:04 |
xes | i have a samsung sd 64 pro with swap on it and also all the imap cache is inside an sdcard ext3 partition | 19:04 |
freemangordon | is it possible swap and offline cache to fight for io? | 19:05 |
freemangordon | as my offline store is in defailt location | 19:05 |
freemangordon | /home/user/.modest | 19:05 |
freemangordon | bencoh: http://www.tweaktown.com/reviews/6647/samsung-pro-64gb-sd-and-microsd-memory-cards-review/index.html | 19:10 |
bencoh | oooh, better than sandisk extreme | 19:12 |
xes | freemangordon: while opening inbox there is almost no io wait | 19:12 |
bencoh | I'll have to try tat | 19:13 |
bencoh | that* | 19:13 |
xes | sometimes i see: GLIB WARNING ** camel-imap-provider - Unexpected response from IMAP server: A00020 NO [NONEXISTENT] Invalid folder: [Gmail] (Failure) | 19:14 |
xes | but i don't think it's related | 19:14 |
freemangordon | bencoh: lemme check the exact model once again (doing swapoff) | 19:15 |
freemangordon | xes: same here, I guess it is harmless | 19:15 |
freemangordon | xes: what happens if you disable offline store? are timings still similar? | 19:16 |
freemangordon | (and remove the cache folder ofc) | 19:16 |
xes | samsung MB-MGCGB | 19:17 |
xes | freemangordon: i will try - after a backup of the folder ;) | 19:18 |
freemangordon | just rename it ;) | 19:18 |
xes | freemangordon: i was looking at the show more button ... A "show pages: N" wouldn't be even better? | 19:20 |
freemangordon | bencoh: hmm, I don't have that "Pro" label on the card. though I purchased it 2 or 3 years ago, they may have changed the printing in the meanwhile | 19:20 |
freemangordon | xes: sure, feel free to add it :P | 19:20 |
xes | :) | 19:21 |
xes | bencoh: let's way for the n900 mainline kernel to support SDR50 and SDR104 speeds: http://panasonic.net/avc/sdcard/industrial_sd/performance.html | 19:23 |
freemangordon | xes: yes, seems that (MB-MGCGB) is my card http://www.samsung.com/ie/consumer/memory-storage/memory-cards/micro-sd/MB-MGCGB/EU | 19:23 |
freemangordon | at least the printing looks exactly the same | 19:23 |
xes | freemangordon: i know, i asked you the exact model before buy it | 19:23 |
freemangordon | oh :D | 19:24 |
bencoh | xes: :) | 19:24 |
xes | i have received also the MB-MG64DA that reaches the 90MB/s (real) but i had no time to test it in the N900 | 19:26 |
freemangordon | xes: you know that sequental speed means nothing in terms of fs and swap | 19:27 |
freemangordon | what is the random r/w of that card? | 19:27 |
xes | freemangordon: https://images-na.ssl-images-amazon.com/images/I/61zx7SfMTzL._SL1600_.jpg | 19:33 |
bencoh | doesnt look bad | 19:34 |
Sicelo | freemangordon: how much of 64GB is swap? | 19:34 |
freemangordon | 1GiB iirc | 19:35 |
freemangordon | xes: yeah, looks good | 19:35 |
bencoh | hmm, we might need to either try and move to openssl 1.x or backport tls>1.0 support .... | 19:40 |
bencoh | looks like there are a few tls1.2-only sites out there ... | 19:40 |
freemangordon | merlin1991: cssu-devel does not work, please fix it | 19:41 |
*** futpib has joined #maemo-ssu | 19:41 | |
kerio | what's qd32? | 19:46 |
kerio | because 3MB/s random writes is quite meh :< | 19:46 |
*** Sicelo009N has joined #maemo-ssu | 20:24 | |
*** M4rtinK has joined #maemo-ssu | 21:15 | |
*** Sicelo009N has quit IRC | 21:57 | |
*** futpib has quit IRC | 22:10 | |
*** LauRoman is now known as TheFruitFormerly | 22:14 | |
*** TheFruitFormerly is now known as KnownAsQuince | 22:15 | |
*** KnownAsQuince is now known as LauRoman | 22:28 | |
*** infobot has quit IRC | 22:38 | |
*** jonwil has joined #maemo-ssu | 23:22 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!