Re: GPS receiver problem after N800 flash (SOLVED)
Hi, ext Benjamí Villoslada wrote: metalayer-crawler is definately taking more memory than it should (FYI: AFAIK it's two threads, not two processes). On my device it takes after boot ~4MB of RSS. 10MB additional memory usage is huge... I use two 4GB SD cards with music, videos, ebooks and 600 MB Google Stret maps for Maemo Mapper: $ df -h [...] /dev/mmcblk0p13.7G 1.7G 2.0G 47% /media/mmc2 /dev/mmcblk1p13.7G 2.8G994.4M 74% /media/mmc1 Is the memory usage the same if you start the device without any memory card inserted? metalayer-crawl: 2.5% Programs list with memory = 1%: PID USER STATUS RSS PPID %CPU %MEM COMMAND 943 user S 11M 867 0.0 9.4 maemo-launcher 954 user S 6332 867 0.0 4.9 maemo-launcher 950 user S 6084 867 0.0 4.7 maemo-launcher 999 systemui S 5592 308 0.0 4.3 systemui 867 user S 3724 1 0.0 2.9 maemo-launcher 969 user S 3460 308 0.0 2.7 osso-media-serv 1052 user S 3296 308 0.0 2.5 mediaplayer-eng 1053 user S 3296 1052 0.0 2.5 mediaplayer-eng 1061 user S N 3292 308 0.0 2.5 metalayer-crawl 1067 user S N 3292 1061 0.0 2.5 metalayer-crawl Ok, so the problem is that some file(s) cause crawler to take more memory than it should. There's already some bug in Maemo Bugzilla that crawler takes too much CPU, maybe you could vote on that and add a new bug about it taking too much memory too? Could you run the attached script on the device for /media/mmc1 and /media/mmc2 directories? It lists how many files and of what type (with what filename extention) you have under given directory structure. - Eero filetype-counts.sh Description: application/shellscript ___ maemo-users mailing list maemo-users@maemo.org https://maemo.org/mailman/listinfo/maemo-users
Re: GPS receiver problem after N800 flash (SOLVED)
El Dimarts 03 Abril 2007 15:21, Eero Tamminen va escriure: Ok, so the problem is that some file(s) cause crawler to take more memory than it should. There's already some bug in Maemo Bugzilla that crawler takes too much CPU, maybe you could vote on that and add a new bug about it taking too much memory too? Yes, I'm glad to contribute to debug :) ... but at this moment Bugzilla fails when I search crawler :( https://maemo.org/bugzilla/buglist.cgi?bug_status=UNCONFIRMEDbug_status=NEWbug_status=ASSIGNEDbug_status=REOPENEDfield0-0-0=producttype0-0-0=substringvalue0-0-0=crawlerfield0-0-1=componenttype0-0-1=substringvalue0-0-1=crawlerfield0-0-2=short_desctype0-0-2=substringvalue0-0-2=crawlerfield0-0-3=status_whiteboardtype0-0-3=substringvalue0-0-3=crawler DBI connect('host=osso.db.dmz;database=maemobugs;port=3306','maemobugs',...) failed: Can't connect to MySQL server on 'osso.db.dmz' (113) at /usr/lib/perl5/DBI.pm line 603 (I try again later) Could you run the attached script on the device for /media/mmc1 and /media/mmc2 directories? It lists how many files and of what type (with what filename extention) you have under given directory structure. mmc1: 1 Ad 1 Autumn 1 I'll 1 Shadow 1 c 1 css 2 xbm 3 txt 4 xml 9 jpg 20 ogg 29 pdf 154 gif 242 html 388 mp3 2012 no-extension-in-file 3497 htm mmc2 (a lot of time counting files, probably due to 775.8 MB Google Maps jpg files): 1 31_armel 1 metadata 1 swap 5 avi 5 no-extension-in-file 7 zip 10 deb 178623 jpg -- Benjamí http://blog.bitassa.cat . ___ maemo-users mailing list maemo-users@maemo.org https://maemo.org/mailman/listinfo/maemo-users
Re: GPS receiver problem after N800 flash (SOLVED)
Hi, ext Benjamí Villoslada wrote: Could you run the attached script on the device for /media/mmc1 and /media/mmc2 directories? It lists how many files and of what type (with what filename extention) you have under given directory structure. mmc1: ... 9 jpg 20 ogg 29 pdf 154 gif 242 html 388 mp3 2012 no-extension-in-file 3497 htm mmc2 (a lot of time counting files, probably due to 775.8 MB Google Maps jpg files): ... 5 avi 5 no-extension-in-file 7 zip 10 deb 178623 jpg Could you try which one of the MMCs affects the crawler memory usage (and performance) more? And if it's the latter one, does removing the AVI files affect the memory usage? If the main problem is with the first MMC, then the issue is probably mp3s, does removing them (or everything else) change things significantly? If the memory effect comes from the second MMC and also without the AVIs, I think the problem could be that crawler reads the directories recursively. How deep the Google maps directory structure is and how many files there are in a given directory? (maybe you could send privately ls -lR output from the Google maps directory) - Eero ___ maemo-users mailing list maemo-users@maemo.org https://maemo.org/mailman/listinfo/maemo-users
Re: GPS receiver problem after N800 flash (SOLVED)
El Dilluns 02 Abril 2007 09:16, Eero Tamminen va escriure: One could also try just adding swap to the memory card from the control panel. I've added swap and the issue is solved! I'm confused because Maemo Mapper work fine without swap after the N800 flashing :? Marius, Jonathan have you swap? Thanks! :) Regards, -- Benjamí http://blog.bitassa.cat . ___ maemo-users mailing list maemo-users@maemo.org https://maemo.org/mailman/listinfo/maemo-users
Re: GPS receiver problem after N800 flash (SOLVED)
I'm running VM with 128MB... On 4/2/07, Benjamí Villoslada [EMAIL PROTECTED] wrote: El Dilluns 02 Abril 2007 09:16, Eero Tamminen va escriure: One could also try just adding swap to the memory card from the control panel. I've added swap and the issue is solved! I'm confused because Maemo Mapper work fine without swap after the N800 flashing :? Marius, Jonathan have you swap? Thanks! :) Regards, -- Benjamí http://blog.bitassa.cat . ___ maemo-users mailing list maemo-users@maemo.org https://maemo.org/mailman/listinfo/maemo-users -- Jonathan Greene m 917.560.3000 AIM / iChat - atmasphere gtalk / jabber - [EMAIL PROTECTED] Gizmo - JonathanGreene blogs - http://www.atmasphere.net/wp / http://www.maemoapps.com ___ maemo-users mailing list maemo-users@maemo.org https://maemo.org/mailman/listinfo/maemo-users
Re: GPS receiver problem after N800 flash (SOLVED)
On Mon, Apr 02, 2007 at 03:58:15PM +0200, Benjamí Villoslada wrote: El Dilluns 02 Abril 2007 09:16, Eero Tamminen va escriure: One could also try just adding swap to the memory card from the control panel. I've added swap and the issue is solved! Yay! I'm confused because Maemo Mapper work fine without swap after the N800 flashing :? Marius, Jonathan have you swap? I don't. I usually have FBreader and osso-xterm open. Often, media player as well. Maemo Mapper fits into my RAM. I also have load-applet that shows me memory usage. I start closing applications when it shows all four bars as being used. It would be interesting to know why Maemo Mapper wants so much memory on your tablet. Do you have other applications open? Maybe you have some applet that is leaking memory? Marius Gedminas -- The typewriter was invented by Hungarian immigrant Qwert Yuiop, who left his signature on the keyboard. -- Kim signature.asc Description: Digital signature ___ maemo-users mailing list maemo-users@maemo.org https://maemo.org/mailman/listinfo/maemo-users
Re: GPS receiver problem after N800 flash (SOLVED)
El Dilluns 02 Abril 2007 17:56, Marius Gedminas va escriure: Marius, Jonathan have you swap? I don't. Thanks :) It would be interesting to know why Maemo Mapper wants so much memory on your tablet. Do you have other applications open? Maybe you have some applet that is leaking memory? Only load-applet too :) A lot of times I've started Maemo Mapper after one reboot. Sometimes metalayer-crawl starts after one reboot, and I can see high CPU usage in load-applet (and verify what process are running with 'top' command). In this case I've waited for the metalayer-crawl stop and then started Maemo Mapper. A lot of times I've started Maemo Mapper with no memory and CPU consumption (seen in load-applet) but the program hangs --high CPU... but never load-applet memory leds go up, only CPU leds. After one reboot and metalayer-crawl session, here the free memory without any app running (metalayer have 11.7% mem, says 'top') # free total used free shared buffers Mem: 127252 124700 2552015004 Swap: 131064 120 130944 Total: 258316 124820 133496 Here one top sorted by mem % (M key) after metalayer-crawl stop (0% CPU) PID USER STATUS RSS PPID %CPU %MEM COMMAND 1121 user S N 14M 319 0.0 11.7 metalayer-crawl 1128 user S N 14M 1121 0.0 11.7 metalayer-crawl 1008 user S 11M 932 0.0 9.4 maemo-launcher 1019 user S 6332 932 0.0 4.9 maemo-launcher 1015 user S 6084 932 0.0 4.7 maemo-launcher 1059 systemui S 5628 319 0.0 4.4 systemui 932 user S 3724 1 0.0 2.9 maemo-launcher 1036 user S 3464 319 0.0 2.7 osso-media-serv 1112 user S 3296 319 0.0 2.5 mediaplayer-eng 1113 user S 3296 1112 0.0 2.5 mediaplayer-eng 618 root S 3032 319 0.0 2.3 Xomap 700 user S 2880 319 0.0 2.2 matchbox-window 684 user S 2504 319 0.0 1.9 sapwood-server 927 user S 1924 1 0.0 1.5 dbus-vfs-daemon 1082 user S 1740 319 0.0 1.3 alarmd 813 root S 1596 319 0.0 1.2 osso_hss 877 root S 1540 319 0.0 1.2 ke-recv 616 messageb S 1516 1 0.0 1.1 gconfd-2 900 root S 1488 319 0.0 1.1 icd 612 root S 1336 319 0.0 1.0 mce 897 root S 1304 319 0.0 1.0 wlancond 593 messageb S 1296 319 0.0 1.0 dbus-daemon 1039 root S 1280 319 0.0 1.0 ias -- Benjamí http://blog.bitassa.cat . ___ maemo-users mailing list maemo-users@maemo.org https://maemo.org/mailman/listinfo/maemo-users
Re: GPS receiver problem after N800 flash (SOLVED)
Hi, ext Benjamí Villoslada wrote: Here one top sorted by mem % (M key) after metalayer-crawl stop (0% CPU) PID USER STATUS RSS PPID %CPU %MEM COMMAND 1121 user S N 14M 319 0.0 11.7 metalayer-crawl 1128 user S N 14M 1121 0.0 11.7 metalayer-crawl 1008 user S 11M 932 0.0 9.4 maemo-launcher Are you using the latest N800 release? metalayer-crawler is definately taking more memory than it should (FYI: AFAIK it's two threads, not two processes). On my device it takes after boot ~4MB of RSS. 10MB additional memory usage is huge... Is the memory usage the same if you start the device without any memory card inserted? - Eero ___ maemo-users mailing list maemo-users@maemo.org https://maemo.org/mailman/listinfo/maemo-users