*** arcean has joined #maemo-ssu | 00:03 | |
*** dhbiker has quit IRC | 00:04 | |
*** Skry has joined #maemo-ssu | 00:38 | |
*** NIN101 has quit IRC | 00:42 | |
*** NIN101 has joined #maemo-ssu | 00:42 | |
*** dhbiker has joined #maemo-ssu | 00:56 | |
*** trumee has quit IRC | 01:01 | |
*** trumee has joined #maemo-ssu | 01:09 | |
*** NIN101 has quit IRC | 01:50 | |
*** LaoLang_cool has joined #maemo-ssu | 02:09 | |
*** Sc0rpius has joined #maemo-ssu | 02:13 | |
*** ron0062000 has joined #maemo-ssu | 02:36 | |
*** ron0062000 has quit IRC | 02:45 | |
*** LaoLang_cool has joined #maemo-ssu | 03:16 | |
*** LaoLang_cool has quit IRC | 03:34 | |
*** kolp has quit IRC | 03:39 | |
*** LaoLang_cool has joined #maemo-ssu | 03:45 | |
*** dhbiker has quit IRC | 03:57 | |
*** nox- has quit IRC | 04:04 | |
*** LaoLang_cool has quit IRC | 04:11 | |
*** LaoLang_cool has joined #maemo-ssu | 04:19 | |
*** arcean has quit IRC | 04:19 | |
*** LaoLang_cool has quit IRC | 04:34 | |
*** dhbiker has joined #maemo-ssu | 05:02 | |
*** amiconn_ has joined #maemo-ssu | 05:26 | |
*** amiconn has quit IRC | 05:26 | |
*** amiconn_ is now known as amiconn | 05:26 | |
*** DocScrutinizer05 has quit IRC | 06:04 | |
*** DocScrutinizer05 has joined #maemo-ssu | 06:04 | |
*** dhbiker has quit IRC | 06:25 | |
Sc0rpius | heh | 06:42 |
---|---|---|
*** dhbiker has joined #maemo-ssu | 06:46 | |
*** chainsawbike has quit IRC | 07:39 | |
*** chainsawbike has joined #maemo-ssu | 07:40 | |
*** LaoLang_cool has joined #maemo-ssu | 09:43 | |
*** LaoLang_cool has quit IRC | 09:45 | |
*** MrPingu has quit IRC | 09:50 | |
*** LaoLang_cool has joined #maemo-ssu | 09:51 | |
*** Milhouse has quit IRC | 10:07 | |
*** Milhouse has joined #maemo-ssu | 10:08 | |
* freemangordon idle wonders why hildon-status-menu needs 6MB of heap | 10:20 | |
jon_y | freemangordon: reserved in case it ever needs it without needing to call malloc :) | 10:25 |
freemangordon | jon_y: well, all bins started as .launchers use enormous amounts of heap | 10:25 |
freemangordon | that could be normal, but still | 10:25 |
freemangordon | I still don;t know what that maemo-launcher does :( | 10:26 |
jon_y | it could do worst if you have read thedailyWTF | 10:31 |
kerio | freemangordon: they inherit gtk from maemo-launcher | 10:54 |
kerio | so it doesn't need to be loaded again | 10:54 |
freemangordon | kerio: I understand what maemo-launcher/invoker does with gtk and why | 10:55 |
freemangordon | the point is that every .launcher uses a pile of heap | 10:56 |
freemangordon | which should not be the case | 10:56 |
freemangordon | those ^^^ use at least 4MB, which makes no sense | 10:58 |
freemangordon | esp for hildon-status-menu | 10:58 |
freemangordon | those 7-8 launcher programs use about 40-50 MB of heap, which is instane. Even if it is swapped | 10:59 |
freemangordon | *insane | 10:59 |
kerio | what does that heap contain, i wonder | 11:00 |
freemangordon | NFC how to check it | 11:00 |
kerio | gdb :D | 11:00 |
kerio | or the source code | 11:00 |
freemangordon | kerio: would you check heap size on your device? | 11:00 |
freemangordon | for hildon-status-menu | 11:01 |
kerio | it's just maemo-invoker or something | 11:01 |
kerio | freemangordon: sure, how do i check? | 11:01 |
freemangordon | in/proc/../smaps | 11:01 |
kerio | also, which status-menu? :) | 11:01 |
freemangordon | ps| grep hildon-status-menu | 11:01 |
freemangordon | the second one is yours ;) | 11:01 |
freemangordon | pid | 11:01 |
kerio | so the one under maemo-launcher? | 11:01 |
kerio | that's the real one i think | 11:02 |
freemangordon | yep | 11:02 |
freemangordon | you'll get 2 pids | 11:02 |
freemangordon | second one is what we need | 11:02 |
kerio | holy shit smaps is huge | 11:02 |
freemangordon | yes, it is | 11:02 |
kerio | wat do | 11:02 |
freemangordon | grep -A 9 heap /proc/.../smaps | 11:03 |
kerio | k | 11:03 |
kerio | what do you need? | 11:03 |
freemangordon | Size: | 11:03 |
kerio | oh | 11:03 |
kerio | 2984kB | 11:03 |
freemangordon | makes no sense | 11:04 |
freemangordon | what is your uptime? | 11:04 |
kerio | with pali's battery applet, cpumem-applet, flashlight, simple-brightness-applet and forcerotation | 11:04 |
kerio | 1 day 10:25 | 11:04 |
freemangordon | Size: 5780 kB | 11:04 |
kerio | hold on, did i boot at 11.30 pm then? :O | 11:04 |
kerio | why the hell did i do that | 11:04 |
kerio | oh right, charger confusion | 11:05 |
freemangordon | with flashlight and 2g/3g selection applet | 11:05 |
kerio | oh, i've got 2g/3g too | 11:05 |
kerio | freemangordon: uptime? | 11:05 |
freemangordon | 1d 15h | 11:05 |
kerio | i'll report back in 5 hours then :D | 11:06 |
freemangordon | but,but,... thats crazy! | 11:06 |
freemangordon | well, I have fmms too | 11:06 |
freemangordon | which I think puts status menu applet too | 11:06 |
freemangordon | but again, I can't see a simple reason for such heap usage | 11:07 |
freemangordon | and it is the same for all .launcer processes | 11:07 |
freemangordon | *.launcher | 11:07 |
freemangordon | thats fishy | 11:08 |
*** LaoLang_cool has quit IRC | 11:15 | |
freemangordon | hmm, it is not .launcher thingie, if compiled as a simple binary, hildon-status menu still uses 4952 kB | 11:37 |
*** MrPingu has joined #maemo-ssu | 11:39 | |
*** NIN101 has joined #maemo-ssu | 11:52 | |
freemangordon | hmm, removing rtcom-notification-ui.desktop reduces heap usage by 3MB. WTF?!? | 11:53 |
freemangordon | removing rtcom-presence-ui.desktop saves 1MB more | 11:56 |
kerio | neat! | 11:56 |
kerio | otoh, without the notification ui, you won't get notifications | 11:57 |
freemangordon | I know, I was trying to find who uses such amount of memory | 11:57 |
kerio | hahaha, "Some of the more obscure uses of pivot_root() may quickly lead to insanity." | 12:00 |
kerio | in the pivot_root(2) manpage | 12:01 |
*** M4rtinK has joined #maemo-ssu | 12:01 | |
kerio | in the BUGS section | 12:01 |
*** NIN101 has quit IRC | 12:19 | |
*** iDont has joined #maemo-ssu | 12:26 | |
*** iDont has quit IRC | 12:37 | |
*** NIN101 has joined #maemo-ssu | 12:41 | |
freemangordon | The fuck, osso-abook-home-applet is using 2100 KB | 12:53 |
jon_y | the address book? | 12:54 |
freemangordon | no, home contact widget | 12:54 |
jon_y | huh, no idea why a link would use that much mem | 12:54 |
freemangordon | well, it uses osso-abook library | 12:55 |
freemangordon | and I am starting to have the feeleing adress book is kept in memory for every osso-abook consumer | 12:55 |
freemangordon | which would be insane | 12:55 |
jon_y | a seperate copy for every consumer? :) | 12:55 |
freemangordon | but so far it seems that is the case | 12:56 |
freemangordon | well, not copy, but something like that | 12:56 |
freemangordon | cache or who knows what | 12:56 |
freemangordon | as osso-abook-home-applet is 21k binary, which does not do much | 12:56 |
ShadowJK | silly coders thinking it'll be faster to load from swap than load from onenand ;) | 12:56 |
freemangordon | ShadowJK: this is heap | 12:57 |
jon_y | ShadowJK: nah their test case was a clean n900 | 12:57 |
freemangordon | 2100K | 12:57 |
ShadowJK | locked in ram? | 12:57 |
freemangordon | does not matter | 12:57 |
jon_y | malloc(n*sizeof(entry)) | 12:57 |
freemangordon | this is mallocked | 12:57 |
freemangordon | *malloced | 12:57 |
ShadowJK | so brk area? | 12:58 |
freemangordon | makes no difference if it is locked in ram or swapped, usig 2MB just to show avatar on desktop is insane | 12:58 |
jon_y | let me guess, osso-abook-home-applet is non-free | 12:58 |
freemangordon | you win | 12:58 |
jon_y | :) | 12:58 |
freemangordon | the same for osso-abook | 12:59 |
jon_y | valgrind will be grinding | 12:59 |
ShadowJK | Yeah I just mean if they preloaded something they were silly thinking loading it from swap would be faster :) | 12:59 |
jon_y | too bad they don't put debug symbols anywhere | 12:59 |
freemangordon | ShadowJK: look backscroll for hildon-status-menu heap usage | 12:59 |
freemangordon | woth and without rtcom-... plugins | 13:00 |
freemangordon | *with | 13:00 |
freemangordon | and those use osso-abook too | 13:00 |
jon_y | so how much mem can I save if I redid the N900 UI with a basic X window without any themes? :) | 13:01 |
freemangordon | so it is either osso-abook or underlying database | 13:01 |
ShadowJK | hm, my hildon-status menu has 66M vmdata :) | 13:01 |
jon_y | yep me too, crazy huge for some reason | 13:02 |
freemangordon | jon_y: who know, 40-60 MB maybe | 13:02 |
jon_y | sweet, an address book list that is an actual list UI element :) | 13:02 |
kerio | ShadowJK: mtdswap | 13:03 |
freemangordon | jon_y: not sure I got your question, but I suspect that database is cached in memory for every process using it | 13:03 |
jon_y | it would look like Win3.11, but it would save memory | 13:03 |
kerio | how do you feel about it? | 13:03 |
freemangordon | which is insane, given there is backend for that purpose | 13:04 |
jon_y | freemangordon: I mean redo the UI portion with a minimalist rewrite and got rid Nokia stuff | 13:04 |
ShadowJK | At the time I still had interest in harmatten and was going to read the sources for it, there were no sources | 13:04 |
freemangordon | jon_y: we cannot get rid of address book | 13:04 |
freemangordon | osso-abook? | 13:04 |
jon_y | actually, I don't know too much of the backend, so I'm likely sprouting nonsense | 13:05 |
freemangordon | jon_y: /usr/bin/osso-addressbook | 13:05 |
jon_y | a reimplementation would take years, probably | 13:05 |
freemangordon | well, that could be done in a clever way | 13:06 |
freemangordon | but still not easy | 13:06 |
freemangordon | i.e. a second backend keeping only one osso-abook instance for the system | 13:06 |
ShadowJK | If I'd make a cynical guess, sqlite was involved in backend and it became too slow so they load entire abook into everything? :) | 13:06 |
freemangordon | ShadowJK: afaik it is berkeley db | 13:07 |
jon_y | lets put mysql in there instead :) | 13:07 |
jon_y | or OracleDB if we have $$$$ | 13:07 |
* ShadowJK stabs jon_y with a tusty fork | 13:08 | |
freemangordon | ShadowJK: but you have a point here, it might be that abook loads libdb4.2, which caches everything in memory | 13:08 |
jon_y | feel the enterprise-ness | 13:08 |
freemangordon | aah, why people don;t trust OS to cache the fs :( | 13:08 |
jon_y | freemangordon: does fork() call get involved in there? | 13:08 |
freemangordon | jon_y: no | 13:08 |
ShadowJK | jon_y; if we had 16 xeon cores and 128 gig ram and a raid-0 of Intel S3700 SSDs | 13:09 |
freemangordon | I rebuilt hildon-status-menu withou .launcer stuff | 13:09 |
jon_y | ok, I was suspecting fork is duplicating the DB heap if something wrote to it | 13:09 |
freemangordon | it still uses ~ 5MB | 13:09 |
ShadowJK | but these things usually slow even harddrives down to a crawl, and is about 1000 times worse on flash | 13:09 |
freemangordon | jon_y: no, as exec follows fork | 13:09 |
jon_y | ok | 13:09 |
freemangordon | but removing librtcom... plugins reduces heap usage by $ MB | 13:10 |
freemangordon | *4MB | 13:10 |
freemangordon | yeah, libosso-abook-1.0.so.0 imports libdb-4.2.so | 13:11 |
freemangordon | hmm, lemme check something | 13:11 |
*** kolp has joined #maemo-ssu | 13:15 | |
freemangordon | well, seems like it is berkeley DB caching the data | 13:20 |
jon_y | how many instances are there? | 13:21 |
freemangordon | there is no instance | 13:21 |
freemangordon | it is .so | 13:21 |
kerio | ShadowJK: srsly though, would mtdswap make it better? | 13:22 |
jon_y | freemangordon: I mean of the BDB cache | 13:22 |
freemangordon | seems like every application using it has its own cache | 13:22 |
jon_y | I would assume loading the .so means a heap for every client | 13:22 |
freemangordon | looks like | 13:23 |
jon_y | that would explain things | 13:23 |
freemangordon | I wonder why it is not using mmap | 13:23 |
jon_y | windows developers? | 13:23 |
jon_y | interns? | 13:23 |
freemangordon | oracle ;) | 13:23 |
jon_y | :) | 13:23 |
jon_y | I had to read through C code written by an CS intern once, it wasn't pretty | 13:24 |
ShadowJK | kerio; make what better | 13:24 |
jon_y | you need GLIB to prevent memleaks?? you suck bad | 13:24 |
jon_y | you need that too to read directory entries and cat strings?? | 13:25 |
kerio | ShadowJK: the N900 as a whole | 13:25 |
jon_y | surfice to say the code is now part of a critical infrastructure :( | 13:25 |
jon_y | it's a blackbox that no one wants to touch | 13:26 |
ShadowJK | kerio; i think the optimal algorithm for sd/mmc is same as for onenand, so if they've got good gc implemented in it I'd put that in normal swap algo | 13:26 |
kerio | idk, mtdswap is apparently an actual thing | 13:27 |
kerio | it's in mainline | 13:27 |
* ShadowJK wonders if N950/N9 has emmc that does more than 1-2 IOPS :) | 13:29 | |
freemangordon | hmm, seems heap can be disabled during build time. and maximum can be set at runtime | 13:29 |
jon_y | freemangordon: it still won't stop copies of caches per client | 13:30 |
freemangordon | yes, but if we free 10MB, i'll be happy | 13:31 |
jon_y | imho libdb-4.2.so should not be used directly by DB clients | 13:31 |
freemangordon | why? | 13:31 |
jon_y | except to talk to a singleton server instance | 13:31 |
freemangordon | there is no server | 13:31 |
jon_y | that would be the ideal case anyway | 13:31 |
freemangordon | ofc | 13:31 |
freemangordon | but there is no server | 13:32 |
jon_y | yeah I know, which is kind of an architectural problem | 13:32 |
kerio | ShadowJK: wouldn't mtdswap wear out the flash pretty quickly, on the n900? | 13:34 |
* ShadowJK shrugs | 13:34 | |
ShadowJK | using that tiny thing doesn't interest me much | 13:34 |
ShadowJK | I'm waiting for my new microsd to arrive. It claims 100-150 iops random write. | 13:35 |
ShadowJK | If true performance is a tenth of that, it's still factor 5-10 improvement over every other microsd :) | 13:36 |
kerio | ShadowJK: are IOPS actually that important, compared to, say, random write speed? | 13:39 |
kerio | ShadowJK: also, the onenand will still be much faster in every regard | 13:43 |
ShadowJK | iops IS random write speed | 13:48 |
kerio | hm, right | 13:50 |
kerio | hm, how would you measure the IOPS of a uSD? | 13:51 |
kerio | how many writes of... how much? | 13:51 |
kerio | in one second | 13:51 |
*** MrPingu has quit IRC | 14:07 | |
ShadowJK | 4k random write | 14:20 |
kerio | ShadowJK: ...150 of those in one second? :O | 14:21 |
kerio | where is this marvel of technology | 14:21 |
kerio | i wanna buy it | 14:21 |
jon_y | fast, cheap, reliable, choose 1 :) | 14:24 |
kerio | i know | 14:25 |
*** MrPingu has joined #maemo-ssu | 14:33 | |
*** _shadowx has quit IRC | 15:19 | |
*** M4rtinK has quit IRC | 15:36 | |
*** andre__ has quit IRC | 15:39 | |
DocScrutinizer05 | freemangordon: (hildon-status-menu 'heap usage') wait wait.... It's started via *.launch? | 15:44 |
DocScrutinizer05 | freemangordon: you say you know what launcher does, but I'm not convinced you do. launcher shares a memory region to all .launch'ed processes, so the per-process mem usage is largely bogus | 15:50 |
DocScrutinizer05 | so even a tiny process started as process.launch will show to have enormous amount of memory, but all of that memory is shared with all other .launched processes and thus the actual increase in RAM usage of whole system is *smaller* this way | 15:51 |
*** don_falcone has joined #maemo-ssu | 15:52 | |
*** toxarisswe has joined #maemo-ssu | 15:53 | |
don_falcone | hi, any1 seen luf lately? | 15:55 |
DocScrutinizer05 | ~seen luf | 15:59 |
infobot | luf <luf@nat/ibm/x-eeonivbxbcxtjtwl> was last seen on IRC in channel #maemo-ssu, 3d 15m 21s ago, saying: 'DocScrutinizer05: do you mean some alu plactic?'. | 15:59 |
DocScrutinizer05 | (.launch) it's basically same concept used for mce-plugins and (aiui) system-ui plugins | 16:02 |
*** toxarisswe has quit IRC | 16:02 | |
don_falcone | damn i hated those scripts already back in the days... *scratches head* | 16:06 |
kerio | ShadowJK: no srsly gimme a link for your magical uSD | 16:20 |
ShadowJK | http://www.adata-group.com/index.php?action=product_feature&cid=7&piid=178 | 16:25 |
ShadowJK | http://www.adata-group.com/upload/ProductFeature/productImage3281.jpg :o | 16:25 |
*** don_falcone has quit IRC | 16:26 | |
freemangordon | DocScrutinizer05: for sure launcher does exec() | 16:26 |
freemangordon | and that frees all malloc()-ed memory | 16:26 |
freemangordon | also there is no way (afaik) heap to be shared | 16:27 |
freemangordon | DocScrutinizer05: but at the end it seems all that memory is used by addressbook | 16:28 |
freemangordon | DocScrutinizer05: for example removing librtcom-... plugins from status menu (both use libosso-abook) reduces heap usage by 3-4 MB | 16:29 |
kerio | ShadowJK: hrmpf, i can't find an actual online seller | 16:29 |
*** MrPingu has quit IRC | 16:30 | |
ShadowJK | You could have a launcher that loads common data into a format and data structures used by common apps, and you could fork and exec in a way that leaves that data around, and it'd be copy-on-write and shared between all the apps as long as they don't modify it | 16:31 |
DocScrutinizer05 | freemangordon: maybe I missed sth in prev convo, but I know ${randomprocess}.launch is basically a .so that gets loaded to main process | 16:31 |
DocScrutinizer05 | *one* main process | 16:31 |
DocScrutinizer05 | at least that's been the idea and description of what maemo-invoker does | 16:32 |
freemangordon | ShadowJK: as long as you do exec(), heap gets destroyed/freed | 16:33 |
kerio | ShadowJK: holy shit, a 32GB of those for 65 USD on amazon us | 16:34 |
freemangordon | DocScrutinizer05: i've compiled hildon-status-menu with nolauncher option, memory usage remains the same | 16:34 |
DocScrutinizer05 | wee | 16:34 |
DocScrutinizer05 | well, obviously | 16:34 |
kerio | hahahahaha 92€ for the same one on amazon it | 16:34 |
freemangordon | ShadowJK: read long as soon :) | 16:35 |
DocScrutinizer05 | since it's just the one difference that with nolauncher, the memory isn't shared from maemo-invoker, but actually alloc'ed | 16:35 |
kerio | ShadowJK: hm, the description on amazon UK states "random write (IOPS) speeds are as high as 50" | 16:35 |
*** arcean has joined #maemo-ssu | 16:35 | |
freemangordon | DocScrutinizer05: in both cases memory is malloc()-ed | 16:36 |
freemangordon | the difference is that with .launcher you share GTK stuff | 16:36 |
freemangordon | (ifusing GTK booster) | 16:36 |
DocScrutinizer05 | freemangordon: though... it should *not* allocate memory for stuff it doesn't use at all and that would get shared by maemo-invoker just because some other process pulled it in to shared memory pool | 16:37 |
freemangordon | it does not | 16:37 |
freemangordon | aiui maemo-launcher exploits copy-on-write | 16:37 |
freemangordon | i.e. gtk relocations? is shared amongst all of the processes | 16:38 |
freemangordon | or something like that | 16:38 |
freemangordon | but heap is not shared, that is for sure | 16:38 |
freemangordon | anywa, high heap usage is not because of the .launcher, no matter what it does | 16:39 |
freemangordon | DocScrutinizer05: for example contact widget process uses 2100KB of heap | 16:40 |
freemangordon | and I can bet it is because it uses osso-abook | 16:40 |
freemangordon | still cannot understand who caches the whole db in memory - is it berkeley db, or EDS or NFC who | 16:41 |
jon_y | can't valgrind? | 16:42 |
freemangordon | won;t help | 16:42 |
freemangordon | aiui | 16:42 |
freemangordon | this is not a memory leak, but inefficien memory usage | 16:43 |
jon_y | how about you inject/preload your .so to intercept malloc/free calls | 16:43 |
freemangordon | ^^^ | 16:43 |
jon_y | iirc valgrind can also intercept such calls | 16:43 |
freemangordon | as ShadowJK pointed, that seems like a broken design | 16:43 |
jon_y | you could at least in theory tell were the heap alloc was called from | 16:44 |
freemangordon | jon_y: sure, but how that will help, elaborate please. | 16:44 |
kerio | easy fix: don't make phone calls | 16:44 |
freemangordon | without debug symbols? | 16:44 |
freemangordon | i doubt | 16:44 |
freemangordon | there is a whole chain if closed source binaries | 16:45 |
jon_y | .so mapping to tell where they come from? | 16:45 |
jon_y | s/.so/.text/ | 16:45 |
infobot | jon_y meant: .text mapping to tell where they come from? | 16:45 |
freemangordon | don't know what you mean | 16:45 |
freemangordon | aaah | 16:45 |
freemangordon | got it | 16:45 |
jon_y | each executable is loaded at a VM address, those malloc calls have to come from somewhere | 16:45 |
freemangordon | yeah, yeah | 16:46 |
jon_y | you should be able to tell if the heap is owned by the GTk libs or BDB or whatever | 16:47 |
freemangordon | what I cannot undersand is - BDB uses mmap, why it needs to cache in heap too? | 16:47 |
jon_y | no idea, you found out the heap is owned by BDB? | 16:48 |
freemangordon | no. but i suspect that | 16:48 |
jon_y | their logic probably heap is faster than disk | 16:49 |
jon_y | though it runs afoul when you have very limited RAM | 16:49 |
freemangordon | heap is almost the same as the size as log.0000001 file | 16:49 |
freemangordon | in ~/.osso-abook/db | 16:49 |
jon_y | sadly, you'll need to step into the BDB code to confirm the behavior | 16:51 |
freemangordon | it is open source, so NP | 16:51 |
jon_y | yeah, a debug version might come handy | 16:51 |
jon_y | you should also match the malloc calls to the free calls, to screen out temporary heap allocs | 16:52 |
freemangordon | DocScrutinizer05: would you check what is the memory usage on your stock device of /usr/bin/osso-abook-home-applet | 16:52 |
* jon_y off to sleep now | 16:53 | |
jon_y | good luck in your debug runs | 16:53 |
DocScrutinizer05 | hard to do on stock device. I can do on CSSU-T device | 16:54 |
freemangordon | :( | 16:56 |
*** int_ua has joined #maemo-ssu | 16:56 | |
*** MrPingu has joined #maemo-ssu | 16:56 | |
freemangordon | i'll ask on #maemo | 16:56 |
DocScrutinizer05 | how would cssu-t differ from stock in that regard? | 16:59 |
DocScrutinizer05 | or, if you prefer, I can do that on a "stock hildon" with KP46(?) system | 16:59 |
kerio | DocScrutinizer05: why? | 17:00 |
kerio | stock has no /proc? | 17:00 |
kerio | :o | 17:00 |
DocScrutinizer05 | - - - 14608 1528 1400 40 288 0 0 1 1980 user 20 1 S - - - 0:01.58 0.0 0.6 /usr/bin/mafw-playlist-daemon | 17:00 |
DocScrutinizer05 | - - - VIRT RES SHR CODE DATA LIB DIRTY PPID PID USER PRI NI S - - - TIME+ CPU% MEM% Command | 17:00 |
DocScrutinizer05 | kerio: what? | 17:01 |
freemangordon | DocScrutinizer05: "stock" as "no CSSU" | 17:01 |
freemangordon | just in case | 17:01 |
kerio | why can't you check the memory occupation on a stock device? | 17:01 |
freemangordon | DocScrutinizer05: and i need heap section in /proc/.../smaps | 17:02 |
DocScrutinizer05 | kerio: please reread, I never said anything like that | 17:02 |
freemangordon | alnog with the size of /home/user/.osso-abook/db/log.0000000001 | 17:03 |
DocScrutinizer05 | I said I got no stock device. That's all | 17:03 |
freemangordon | *along | 17:03 |
kerio | oic | 17:03 |
DocScrutinizer05 | freemangordon: maybe pasting the cmdline here would yield most exactly matching results to what you wanna see? | 17:04 |
freemangordon | grep -A 9 heap /proc/`pidof osso-abook-home-applet`/smaps | 17:05 |
DocScrutinizer05 | since nobody (incl me, but for sure 'mere mortals' in #maemo) CBA to figure what your request translates to, in terms of cmdline incantation | 17:05 |
freemangordon | DocScrutinizer05: ^^^ | 17:06 |
DocScrutinizer05 | 00016000-00298000 rw-p 00016000 00:00 0 [heap] Size: 2568 kB Rss: 524 kB Pss: 520 kB Shared_Clean: 4 kB Shared_Dirty: 0 kB Private_Clean: 148 kB Private_Dirty: 372 kB Referenced: 360 kB Swap: 2012 kB | 17:08 |
DocScrutinizer05 | grep -A 9 heap /proc/`pidof osso-abook-home-applet`/smaps|tr -d '\n' | 17:10 |
freemangordon | yeah, 2568 kB | 17:13 |
DocScrutinizer05 | grep -A 9 heap /proc/`pidof osso-abook-home-applet`/smaps|tr '\n' '!' | 17:19 |
DocScrutinizer05 | 00016000-00298000 rw-p 00016000 00:00 0 [heap]!Size: 2568 kB!Rss: 516 kB!Pss: 512 kB!Shared_Clean: 4 kB!Shared_Dirty: 0 kB!Private_Clean: 148 kB!Private_Dirty: 364 kB!Referenced: 296 kB!Swap: 2020 kB! | 17:19 |
DocScrutinizer05 | 2568 is not heap size | 17:20 |
freemangordon | 00016000-00223000 rw-p 00016000 00:00 0 [heap]!Size: 2100 kB!Rss: 1824 kB!Pss: 1808 kB!Shared_Clean: 16 kB!Shared_Dirty: 4 kB!Private_Clean: 336 kB!Private_Dirty: 1468 kB!Referenced: 1616 kB!Swap: 272 kB! | 17:20 |
freemangordon | DocScrutinizer05: but? | 17:20 |
DocScrutinizer05 | just "Size" | 17:20 |
freemangordon | what?!? | 17:20 |
freemangordon | the size: in [hep] section souns like heap size to me :P | 17:21 |
freemangordon | *[heap] | 17:21 |
DocScrutinizer05 | 00016000-00298000 rw-p 00016000 00:00 0 [heap] | 17:21 |
DocScrutinizer05 | heap section | 17:21 |
DocScrutinizer05 | Size: 2568 kB | 17:22 |
DocScrutinizer05 | size section? | 17:22 |
freemangordon | DocScrutinizer05: you are trying to say this is not the total of malloc()-ed memory? | 17:23 |
DocScrutinizer05 | I'm not trying to say anything, probably | 17:24 |
DocScrutinizer05 | nm | 17:24 |
freemangordon | ok :) | 17:24 |
freemangordon | well, we can easily test that: int main(){ void * p = malloc(2048*1024); while(1) usleep(10000000);} | 17:26 |
DocScrutinizer05 | sorry, short on milk, thus no coffe yet here | 17:27 |
*** NIN101 has quit IRC | 17:27 | |
DocScrutinizer05 | I can easily figure how some #include will pull in a shitload of buffers and stuff to every process using it | 17:30 |
*** NIN101 has joined #maemo-ssu | 17:30 | |
DocScrutinizer05 | instantiate a object my-Abook | 17:31 |
DocScrutinizer05 | damage done | 17:31 |
DocScrutinizer05 | watch insane roaster shit | 17:31 |
DocScrutinizer05 | docs about abook are disgusting | 17:31 |
Lava_Croft | http://img.gawkerassets.com/img/185owo0236jdvjpg/original.jpg | 17:33 |
DocScrutinizer05 | http://maemo.org/api_refs/5.0/5.0-final/libosso-abook/OssoABookAggregator.html#osso-abook-aggregator-find-contacts-for-phone-number etc | 17:33 |
DocScrutinizer05 | see http://talk.maemo.org/showthread.php?t=60526&page=3 | 17:34 |
freemangordon | will do | 17:35 |
DocScrutinizer05 | actually http://talk.maemo.org/showpost.php?p=990571&postcount=15 | 17:35 |
DocScrutinizer05 | Lava_Croft: epic fail | 17:38 |
Lava_Croft | not exactly epic, but very much fail | 17:39 |
DocScrutinizer05 | http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Using_Generic_Platform_Components/Using_Address_Book_API | 17:41 |
DocScrutinizer05 | ( freemangordon ^^^) | 17:41 |
DocScrutinizer05 | for sure you don't want to use any of that bloated cruft to just get your own avatar picture | 17:45 |
DocScrutinizer05 | or sth silly as that | 17:45 |
*** M4rtinK has joined #maemo-ssu | 18:23 | |
freemangordon | DocScrutinizer05: why should I read the API docs? | 18:36 |
DocScrutinizer05 | not complete API docs, I just linked to it for giving an idea how much cruft there might come with touching any bit of libabook | 18:40 |
DocScrutinizer05 | freemangordon: actually I'd not recommend to anybody to read these API docs, since as I mentioned I think they're not exactly bearable | 18:42 |
freemangordon | yeah | 18:42 |
kerio | Lava_Croft: haha | 18:42 |
kerio | by the way, should i install nitdroid? | 18:43 |
*** int_ua has quit IRC | 18:46 | |
* DocScrutinizer05 hands kerio a gun to shoot his own foot, for the better alternative to installing nitdroid | 18:50 | |
kerio | DocScrutinizer05: why? what's so bad about it? | 18:51 |
Lava_Croft | there's not really a reason to install android on a device which has an OS like Maemo | 18:54 |
Lava_Croft | unless you like game X orso | 18:54 |
kerio | but... dual booting! | 18:55 |
kerio | it's fun! | 18:56 |
DocScrutinizer05 | ~maemo-multiboot | 18:56 |
infobot | maemo-multiboot is probably deprecated, and a horrible hack. PROBLEMS WITH NITDROID/MULTIBOOT? reflash rootfs&kernel aka COMBINED | 18:56 |
kerio | >implying i'd use multiboot | 18:56 |
DocScrutinizer05 | kerio: your trolling today is extremely weak | 18:56 |
kerio | seriously though, i feel somewhat insulted :< | 18:57 |
DocScrutinizer05 | my general notion that never changed: if you want andridiot, get a device that ships with this abomination. Those are cheap and modern and way more powerful than N900 | 18:58 |
DocScrutinizer05 | nobody would want to run android on N900, why would you? | 18:59 |
kerio | i wonder how to grab a partition out of an image of a block device that has a partition table | 19:27 |
kerio | also, why does the nemo image have an 8mb swap partition? | 19:30 |
Lava_Croft | I like grown up people turning names of operating systems into 'hidden' insults | 19:33 |
DocScrutinizer05 | kerio: that's an illegal configuration. Partition table has to be in MBR aka block0 | 19:34 |
DocScrutinizer05 | of the physical device | 19:34 |
kerio | DocScrutinizer05: i know, but doing dd if=/dev/sdb of=rawimg is convenient | 19:35 |
kerio | and common | 19:35 |
DocScrutinizer05 | I love users delivering their critics/concerns wrapped into a loosely related statement about their moods, containing another wrapper of sarcasm, containing a 3rd wrapper of hard to even detect irony | 19:39 |
Lava_Croft | I was being pretty serious | 19:40 |
*** FIQ|n900 has joined #maemo-ssu | 19:40 | |
DocScrutinizer05 | so I'm pleased you enjoy my special humour | 19:40 |
Lava_Croft | short bus special, | 19:40 |
* kerio grabs some popcorn | 19:42 | |
*** iDont has joined #maemo-ssu | 19:43 | |
DocScrutinizer05 | kerio: sorry, i won't continue this futile "coversation" | 19:43 |
DocScrutinizer05 | kerio: If you wanna take over, utter something negative and use the letters "M$" | 19:45 |
DocScrutinizer05 | or the term windoze | 19:45 |
ShadowJK | kerio; heh, I usually fdisk -lu when I image drives, so I can pick out partitions with offsets and loop device later if needed | 19:45 |
Lava_Croft | m$ is a term that is not insulting at all | 19:46 |
Lava_Croft | since MS is a company and companies are all about $$$$ | 19:46 |
Lava_Croft | Windoze does not contain an insult either, its just bad spelling/bad slag | 19:46 |
Lava_Croft | slang* | 19:46 |
DocScrutinizer05 | kerio: sorry, then. You see you have to come up with something better to make Lava_Croft like you better than me | 19:49 |
Lava_Croft | Q_Q some more | 19:50 |
kerio | Windows Visyou fucking cuntta | 19:50 |
Lava_Croft | And people wonder why niches stay niches | 19:50 |
*** Skry has quit IRC | 19:58 | |
*** FIQ|n900 has quit IRC | 20:23 | |
*** FIQ|n900 has joined #maemo-ssu | 20:44 | |
*** NIN101 has quit IRC | 20:55 | |
*** NIN101 has joined #maemo-ssu | 21:02 | |
*** FIQ has joined #maemo-ssu | 21:06 | |
*** NIN101 has quit IRC | 21:12 | |
*** NIN101 has joined #maemo-ssu | 21:16 | |
*** MrPingu has quit IRC | 21:20 | |
*** dhbiker has quit IRC | 21:38 | |
*** arcean has quit IRC | 21:50 | |
*** MrPingu has joined #maemo-ssu | 21:50 | |
*** arcean has joined #maemo-ssu | 22:00 | |
*** arcean has quit IRC | 22:15 | |
*** arcean has joined #maemo-ssu | 22:20 | |
*** arcean has quit IRC | 22:23 | |
*** arcean has joined #maemo-ssu | 22:24 | |
freemangordon | ~seen luf | 22:30 |
infobot | luf <luf@nat/ibm/x-eeonivbxbcxtjtwl> was last seen on IRC in channel #maemo-ssu, 3d 6h 45m 59s ago, saying: 'DocScrutinizer05: do you mean some alu plactic?'. | 22:30 |
freemangordon | :( | 22:30 |
kerio | :( | 22:38 |
*** iDont has quit IRC | 22:41 | |
*** arcean has quit IRC | 22:47 | |
*** FIQ|n900 has quit IRC | 22:47 | |
*** arcean has joined #maemo-ssu | 22:48 | |
*** arcean has quit IRC | 23:05 | |
*** trumee has quit IRC | 23:36 | |
*** trumee has joined #maemo-ssu | 23:37 | |
*** Jade has quit IRC | 23:49 | |
*** Jade has joined #maemo-ssu | 23:52 | |
*** Jade has joined #maemo-ssu | 23:52 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!