IRC log of #maemo for Tuesday, 2013-11-26

*** amizraa has quit IRC00:00
*** amizraa has joined #maemo00:00
*** Hurrian has joined #maemo00:02
*** eyea has joined #maemo00:07
*** eyea has quit IRC00:09
DocScrutinizer05end?00:14
DocScrutinizer05release is when you finish a call, reject is when you don't start a call00:15
DocScrutinizer05I don't see a third command "end"00:15
DocScrutinizer05actually I see only one command "release" that serves for all puposes of "press red button"00:17
DocScrutinizer05aah, now I see what you refer to. No idea00:18
SysaxedDocScrutinizer05: thanks00:20
DocScrutinizer05yw00:20
*** konelix has quit IRC00:40
*** Pali has quit IRC00:42
*** Herbstbert has quit IRC00:44
*** Herbstbert has joined #maemo00:47
*** eyea has joined #maemo00:52
*** eyea has quit IRC00:54
*** eyea has joined #maemo00:59
*** zammy has quit IRC01:01
*** eyea has quit IRC01:01
*** eyea has joined #maemo01:02
*** eyea has quit IRC01:05
*** mvp_ has quit IRC01:07
*** goldkatze has quit IRC01:08
*** goldkatze has joined #maemo01:08
*** sledges has joined #maemo01:10
*** mkaindl has joined #maemo01:16
*** mkaindl has left #maemo01:16
*** robotanarchy has quit IRC01:24
*** robotanarchy has joined #maemo01:25
*** ArGGu^^ has quit IRC01:39
*** Malinux has quit IRC01:41
*** Malinux has joined #maemo01:41
*** goldkatze has quit IRC01:43
*** SmilyOrg is now known as Smily01:45
*** M4rtinK has quit IRC01:48
*** triggerhappy has joined #maemo01:53
*** ab has quit IRC01:58
*** eijk_ has quit IRC02:02
*** ab has joined #maemo02:02
*** jabis has quit IRC02:10
*** jabis has joined #maemo02:10
*** StyXman has quit IRC02:13
*** StyXman has joined #maemo02:14
*** Milhouse has quit IRC02:18
*** sledges has quit IRC02:18
*** M4rtinK has joined #maemo02:23
*** kolp_ has quit IRC02:23
*** Aggese has joined #maemo02:25
*** dangergrrl has joined #maemo02:26
*** pcfe has quit IRC02:27
*** Agge has quit IRC02:28
*** M4rtinK has quit IRC02:29
*** Milhouse has joined #maemo02:31
*** Sysaxed has quit IRC02:34
*** beford has joined #maemo02:38
*** beford has quit IRC02:38
*** eMHa has joined #maemo02:39
*** zummy has quit IRC02:39
*** Agge has joined #maemo02:41
*** Aggese has quit IRC02:43
*** Hurrian has quit IRC02:46
*** Hurrian_ has joined #maemo02:46
*** sledges has joined #maemo02:52
*** sledges has joined #maemo02:52
*** xes has joined #maemo02:53
*** Agge has quit IRC02:58
*** Aggese has joined #maemo02:58
*** OkropNick has quit IRC03:01
*** xes has quit IRC03:03
*** HylianSavior has quit IRC03:17
*** nox- has quit IRC03:25
*** HylianSavior has joined #maemo03:28
*** dos1 has quit IRC03:30
*** LauRoman has quit IRC03:33
*** robbiethe1st has joined #maemo03:33
*** Agge has joined #maemo04:02
*** Aggese has quit IRC04:05
*** Aggese has joined #maemo04:06
*** Agge has quit IRC04:08
*** mschlens_ has joined #maemo04:15
*** mschlens has quit IRC04:19
*** Humpelstilzchen has joined #maemo04:26
*** Defiant has quit IRC04:29
*** Agge has joined #maemo04:36
*** Aggese has quit IRC04:37
*** croppa has joined #maemo04:52
*** inz has quit IRC04:58
*** Aggese has joined #maemo04:59
*** Agge has quit IRC05:03
*** RST38h has joined #maemo05:03
*** inz has joined #maemo05:03
*** Milhouse has quit IRC05:13
*** retro|cz has joined #maemo05:16
*** Milhouse has joined #maemo05:17
*** Agge has joined #maemo05:24
*** Aggese has quit IRC05:26
*** Elleo has quit IRC05:50
*** Aggese has joined #maemo05:52
*** Agge has quit IRC05:52
*** lxp1 has joined #maemo06:02
*** uen| has joined #maemo06:02
*** lxp has quit IRC06:04
*** freemangordon_ has joined #maemo06:06
*** freemangordon has quit IRC06:06
*** uen has quit IRC06:06
*** uen| is now known as uen06:06
*** Agge has joined #maemo06:10
*** Aggese has quit IRC06:10
*** valerius has joined #maemo06:28
*** valeriusL has joined #maemo06:29
*** maybeArgh has quit IRC06:32
*** maybeArgh has joined #maemo06:33
*** valerius has quit IRC06:37
*** zap_ has joined #maemo06:37
*** Herbstb3rt has joined #maemo06:49
*** valeriusL has quit IRC06:49
*** Herbstbert has quit IRC06:51
*** valeriusL has joined #maemo07:01
*** valerius has joined #maemo07:02
*** Kabouik_ has joined #maemo07:12
*** Aggese has joined #maemo07:12
*** Kabouik has quit IRC07:15
*** Kabouik has joined #maemo07:15
*** Agge has quit IRC07:16
*** Agge has joined #maemo07:17
*** Aggese has quit IRC07:17
*** Kabouik_ has quit IRC07:17
*** robbiethe1st has quit IRC07:17
*** freemangordon has joined #maemo07:30
*** freemangordon_ has quit IRC07:30
*** r00t|eeepc has quit IRC07:32
*** dafox has joined #maemo07:44
*** MikaT has quit IRC07:58
*** MikaT has joined #maemo07:59
*** Luke-Jr has quit IRC08:01
*** Luke-Jr has joined #maemo08:02
*** dafox has quit IRC08:09
*** Aggese has joined #maemo08:27
*** Agge has quit IRC08:31
*** sixwheeledbeast has quit IRC08:34
*** sixwheeledbeast has joined #maemo08:35
*** Luke-Jr has quit IRC08:43
*** Luke-Jr has joined #maemo08:43
*** dafox has joined #maemo08:54
*** HylianSavior has quit IRC09:16
*** dafox has quit IRC09:18
*** Wulfe has quit IRC09:22
*** robotanarchy_ has joined #maemo09:24
*** robotanarchy has quit IRC09:26
*** robotanarchy_ is now known as robotanarchy09:26
*** r00t|eeepc has joined #maemo09:28
*** croppa has quit IRC09:29
*** Wulfe has joined #maemo09:36
*** Wulfe has joined #maemo09:36
*** LaoLang_cool has joined #maemo09:45
*** croppa has joined #maemo09:47
*** bef0rd has quit IRC09:47
*** bef0rd has joined #maemo09:48
*** Agge has joined #maemo09:50
*** eijk_ has joined #maemo09:51
*** Aggese has quit IRC09:52
*** bef0rd has quit IRC09:52
*** SmilyOrg has joined #maemo09:56
*** Smily has quit IRC10:00
*** LaoLang_cool has quit IRC10:01
*** croppa has quit IRC10:03
*** OkropNick has joined #maemo10:03
*** Kabouik has quit IRC10:05
*** croppa has joined #maemo10:09
*** sledges_ has joined #maemo10:09
*** pcfe has joined #maemo10:10
*** pcfe has quit IRC10:10
*** pcfe has joined #maemo10:10
*** sledges_ has quit IRC10:10
*** Herbstb3rt has quit IRC10:14
*** zammy has joined #maemo10:17
*** florian_kc has joined #maemo10:23
*** florian_kc has quit IRC10:23
*** florian_kc has joined #maemo10:23
*** LauRoman has joined #maemo10:24
*** vi__ has joined #maemo10:24
vi__freemangordon: I would not worry about misterc.  He is a well known idiot.10:24
*** florian_kc is now known as florian10:25
*** Herbstbert has joined #maemo10:27
*** utanapischti has quit IRC10:29
*** utanapischti has joined #maemo10:30
*** KhertanAtwork has joined #maemo10:42
*** retro|cz has quit IRC10:49
*** AD-N770 has joined #maemo11:11
*** M4rtinK has joined #maemo11:26
*** zap_ has quit IRC11:28
*** retro|cz has joined #maemo11:30
*** valerius has quit IRC11:32
*** valeriusL has quit IRC11:32
*** LauRoman has quit IRC11:33
*** retro|cz has quit IRC11:35
*** valeriusL has joined #maemo11:44
*** M4rtinK has quit IRC11:45
*** valerius has joined #maemo11:46
*** MartinK_N9 has joined #maemo11:52
*** Pali has joined #maemo11:54
*** AD-N770 has quit IRC12:04
*** eijk has joined #maemo12:05
*** LauRoman|Alt has joined #maemo12:05
*** LauRoman|Alt has quit IRC12:08
*** eijk_ has quit IRC12:09
*** Sysaxed has joined #maemo12:11
*** zemmy has joined #maemo12:12
*** MartinK_N9_ has joined #maemo12:12
*** MartinK_N9 has quit IRC12:14
*** sledges has quit IRC12:17
*** eMHa has quit IRC12:17
*** LauRoman|Alt has joined #maemo12:18
*** ArGGu^^ has joined #maemo12:22
*** MartinK_N9_ has quit IRC12:28
*** MartinK_N9_ has joined #maemo12:28
*** MartinK_N9__ has joined #maemo12:29
*** MartinK_N9_ has quit IRC12:32
*** lizardo has joined #maemo12:35
*** sledges has joined #maemo12:40
*** MartinK_N9__ has quit IRC12:51
*** cityLights has joined #maemo12:52
*** otep_ is now known as otep12:52
*** croppa has quit IRC12:53
*** eMHa has joined #maemo12:54
cityLightsI guess its not #wine12:54
vi__what?12:56
*** Pali has quit IRC12:57
cityLightsvi__: I seek help in running a windows program in linux under the emulator named wine13:00
cityLightswhich channel should I ask in?13:00
vi__wine==wine is not an emulator!13:01
vi__I do not know13:02
vi__#winehq13:02
vi__a simple google search would have answered your question in ~ 3seconds.13:02
cityLightssorry vi13:04
cityLightsdo you use wine and can help me?13:04
*** croppa has joined #maemo13:04
cityLightshow can I tell the session is using the "native" rasapi32 ?13:05
cityLightsI mean I changed it in the winecfg13:05
vi__I have no idea.  I have no used wine since I tried to play half life 2.13:05
vi__try #winehq13:06
*** croppa has quit IRC13:06
cityLightsthnaks13:06
*** LauRoman|Alt has quit IRC13:11
*** Ex-Opesa has quit IRC13:14
*** Ex-Opesa has joined #maemo13:27
*** Sysaxed has quit IRC13:32
*** retro|cz has joined #maemo13:35
*** LauRoman has joined #maemo13:37
*** LauRoman has quit IRC13:38
*** andre__ has joined #maemo13:38
*** jep_ has joined #maemo13:39
*** kolp has joined #maemo13:44
*** ArGGu^^ has quit IRC13:48
*** Pali has joined #maemo13:50
*** jmlich has joined #maemo14:01
*** gambitrex has joined #maemo14:01
gambitrexjust turned on my N900 after two and a half years14:02
gambitrexafter ~ 1 hour battery charge, of course14:02
gambitrexand everything seems to be still working14:02
gambitrex:)14:02
anYcbuilt for eternity (except usb slot)14:06
SpeedEvil:)14:07
jon_yhttp://tvtropes.org/pmwiki/pmwiki.php/Main/RagnarokProofing14:07
*** sulx has left #maemo14:08
gambitrexyeah, just remembered that. I had to leave my N900 in a weird position, just to charge it. :(14:10
gambitrexupdating packages right now. Long time I don't follow updates for n900. I still have a modified linux kernel -- not sure if it's being supported yet.14:11
*** ArGGu^^ has joined #maemo14:15
*** retro|cz has quit IRC14:20
*** kraft has quit IRC14:26
*** kraft has joined #maemo14:28
*** Venusaur has quit IRC14:28
*** RP_ has quit IRC14:31
*** RP_ has joined #maemo14:31
*** Venusaur has joined #maemo14:32
*** eijk has quit IRC14:42
*** Wulfe has quit IRC14:57
*** xes has joined #maemo14:59
*** ZogG_laptop has quit IRC15:00
*** ZogG_laptop has joined #maemo15:02
*** ZogG_laptop has quit IRC15:02
*** ZogG_laptop has joined #maemo15:02
*** Pali has quit IRC15:06
*** andre__ has quit IRC15:09
*** Pali has joined #maemo15:21
*** jmlich has quit IRC15:41
*** jmlich has joined #maemo15:42
*** user__ has joined #maemo16:11
*** user__ has quit IRC16:17
*** Aggese has joined #maemo16:17
*** Agge has quit IRC16:21
*** Agge has joined #maemo16:28
*** Aggese has quit IRC16:30
*** Aggese has joined #maemo16:45
*** Agge has quit IRC16:49
*** NIN101 has joined #maemo16:52
*** Elleo has joined #maemo17:07
*** shentey has joined #maemo17:07
*** bef0rd has joined #maemo17:10
*** robotanarchy has quit IRC17:12
*** eijk has joined #maemo17:14
*** andre__ has joined #maemo17:27
*** robotanarchy has joined #maemo17:34
*** Aggese has quit IRC17:38
*** shentey has quit IRC17:42
*** Wulfe has joined #maemo17:47
*** Wulfe has joined #maemo17:47
*** VDVsx has quit IRC18:03
*** triggerhappy has quit IRC18:04
*** VDVsx has joined #maemo18:15
*** florian has quit IRC18:17
*** valerius has quit IRC18:29
*** valeriusL has quit IRC18:29
*** goldkatze has joined #maemo18:29
*** arcean has joined #maemo18:32
*** Pilke has joined #maemo18:33
*** SmilyOrg is now known as Smily18:36
freemangordonvi__: well, I tend to always try to help people, idiots included :)18:39
*** jmlich has quit IRC18:41
*** valeriusL has joined #maemo18:41
*** valerius has joined #maemo18:44
*** HylianSavior has joined #maemo18:51
vi__freemangordon: I did not choose the thumb2 life, the thumb2 life chose me.18:57
*** b-r-a-i-n has joined #maemo19:03
*** b0unc3 has joined #maemo19:03
*** dafox has joined #maemo19:14
*** M4rtinK has joined #maemo19:14
*** Pilke has quit IRC19:15
*** dos1 has joined #maemo19:21
*** tanty has quit IRC19:24
*** dafox has quit IRC19:26
*** cityLights has quit IRC19:26
*** Agge has joined #maemo19:48
*** dafox has joined #maemo19:48
*** shanttu has joined #maemo19:50
*** florian has joined #maemo19:50
*** florian has joined #maemo19:50
*** b0unc3 has quit IRC19:58
*** b0unc3 has joined #maemo20:00
*** wotan147 has joined #maemo20:00
*** Ex-Opesa has quit IRC20:00
*** Ex-Opesa has joined #maemo20:01
*** mavhc has quit IRC20:01
*** Aggese has joined #maemo20:02
*** Cor-Ai_ has joined #maemo20:03
*** mavhc has joined #maemo20:03
*** Cor-Ai has quit IRC20:05
*** HylianSavior has quit IRC20:05
*** Agge has quit IRC20:06
*** jep_ has quit IRC20:06
*** mavhc has quit IRC20:07
*** mavhc has joined #maemo20:08
*** dafox has quit IRC20:09
*** Agge has joined #maemo20:15
*** Aggese has quit IRC20:17
*** BCMM has joined #maemo20:19
*** BCMM has quit IRC20:19
*** BCMM has joined #maemo20:19
kerioDocScrutinizer05: they're trying to get you! run! run for the hills!20:30
*** Sysaxed has joined #maemo20:32
*** bef0rd has quit IRC20:35
*** bef0rd has joined #maemo20:35
*** LauRoman has joined #maemo20:37
*** LauRoman has quit IRC20:38
*** wotan147 has quit IRC20:39
*** bef0rd has quit IRC20:39
*** Kabouik has joined #maemo20:42
*** Aggese has joined #maemo20:44
*** Agge has quit IRC20:47
*** dafox has joined #maemo20:51
*** andre__ has quit IRC20:53
*** dos11 has joined #maemo20:53
*** dos1 has quit IRC20:54
*** dos11 is now known as dos120:54
*** LauRoman has joined #maemo20:57
*** piggz has joined #maemo20:58
*** Agge has joined #maemo21:08
mashinarun for your liveesssss21:09
freemangordonhttp://www.youtube.com/watch?v=geHLdg_VNww21:10
*** Aggese has quit IRC21:11
mashinaso predictable!21:16
*** Aggese has joined #maemo21:17
*** Agge has quit IRC21:20
freemangordonhehe21:24
*** Cor-Ai_ is now known as Cor-Ai21:29
*** speps has joined #maemo21:33
*** nox- has joined #maemo21:33
xeshello there! After a few strace sessions to investigate about the modest performace, i think i have found a trick that could increase the maemo performace systewide... SO ... i would ask for testers and ideas to understand this behavior (if it's the same also for you). The trick is:  ln -s /usr/share/icons /home/user/.icons      Strange? Stupid? maybe... but try it21:46
keriou wot21:47
*** sq-one has joined #maemo21:59
*** Agge has joined #maemo22:02
*** e-yes has joined #maemo22:02
*** Aggese has quit IRC22:05
DocScrutinizer05o.O22:06
freemangordonkerio: what is strange is that modest interaction really seems faster22:06
kerio>implying anyone uses modest22:06
freemangordonwut?22:07
freemangordonI use it22:07
DocScrutinizer05aah, only modest (the modest modest mail app)?22:07
freemangordonguys, wait, the point is that it could have a system-wide speedup. If true22:07
DocScrutinizer05>>that could increase the maemo performace systewide<<22:08
*** LauRoman has quit IRC22:08
freemangordonbecause I doubt modest is using /usr/share/icons without help from some lib. gtk?22:08
freemangordonbut we need a confirmation/not22:09
freemangordonand a testcase22:09
DocScrutinizer05well, I know xes and his experience and very understatement way to post things. But that... needs a *tad* more rationale before I invest any time into it. Since without proper understand on how it's meant to work, I can't check if it actually does22:09
*** valeriusL has quit IRC22:14
*** valerius has quit IRC22:14
DocScrutinizer05also I wonder if a ln -s /opt/usr/share/icons /home/user/.icons  wasn't even more effective, if that whole thing is any effective at all22:16
freemangordon:nod:22:16
kerioi doubt it's the actual path resolution22:16
DocScrutinizer05and then, why not already ln /opt/usr/share/icons /home/user/.icons22:16
keriolinux's VFS is good enough22:16
freemangordonkerio: but what could be then?22:17
kerioDocScrutinizer05: because you can't hardlink directories :s22:17
DocScrutinizer05oh, I can't?22:17
kerionot even root can22:17
keriodo you think you're better than root?22:17
DocScrutinizer05do you think you can beat me at trolling ;-P22:18
keriomount --bind /opt/usr/share/icons /home/user/.icons22:18
*** kolp has quit IRC22:18
freemangordonkerio: DocScrutinizer05: the reason could be that someone tries access() or open() or whatever for /home/user/.icons first22:18
*** kolp_ has joined #maemo22:18
kerioindeed!22:18
keriobut why does that cause a performance hit?22:19
freemangordonhmm, gtk rc?22:19
DocScrutinizer05freemangordon: thought as much22:19
DocScrutinizer05also I fail to see the mega performance impact22:20
freemangordontrying to preload the whole theme?22:20
DocScrutinizer05a stat() is utterly fast, particularly when done often in sequence (and otherwise it wouldn't matter anyway) since then all relevant disk blocks are in biffers already22:21
kerioindeed22:21
freemangordonxes: according to your strace, what modests looks for in /home/user/.icons?22:21
DocScrutinizer05buffers even22:21
freemangordon:nod:22:21
xesfreemangordon: all the icons of the gtk theme22:22
kerio...ok, that could cause a performance hit22:22
DocScrutinizer05how so?22:23
DocScrutinizer05it's still only a few hundred stat()22:23
DocScrutinizer05to a non-existing dir22:23
DocScrutinizer05always same dir22:23
xesmodest searches for icons also in /usr/local/share/icons22:23
DocScrutinizer05( /home/user/.icons )22:23
freemangordonxes: what finction it executes?22:24
*** sono is now known as einrad22:24
freemangordon*function22:24
xesDocScrutinizer05: open()22:24
DocScrutinizer05doesn't change much22:24
freemangordonhmm there are hundreds of icons22:24
DocScrutinizer05I think a failing open() is as fast as a failing stat()22:24
freemangordonyep, but calling that hundreds of times takes time22:25
xesyou are free to try:  strace -e open -p _modest_pid_22:25
DocScrutinizer05did you use profiling/timestamping in strace?22:25
*** mvp_ has joined #maemo22:25
freemangordonxes: does that happen only when starting modest?22:26
xesDocScrutinizer05: no22:26
xesfreemangordon: i have straced only modest but i'm almost sure the behavior is valid also for other apps22:26
DocScrutinizer05I bet N900 can execute 1000s of failing open() to same pathname per second22:26
xesi have also add a few other symlinks.... i have to check, i can't remember, it seems that it' s searching for many things in the wrong places22:27
*** valeriusL has joined #maemo22:27
DocScrutinizer05freemangordon: for (i=0; i<1000000; i++); open("/home/user/foobar");22:28
DocScrutinizer05time a.out22:28
xesDocScrutinizer05: sure. This is what i was expecting.... but this is now what i think i have obtained22:29
*** valerius has joined #maemo22:29
DocScrutinizer05xes: it definitely does, since you can override virtually every file by a similar file in your home dir22:29
freemangordonDocScrutinizer51: going to try it22:29
DocScrutinizer05freemangordon: stop!22:31
freemangordonDocScrutinizer05: thoug, it is not exactly correct, it should be foobar%d IMO22:31
DocScrutinizer05freemangordon: for (i=0; i<1000000; i++); open("/home/user/$i");22:31
DocScrutinizer05sorry for wrong syntax22:31
xessorry.... *this is not what i think i have obtained22:32
freemangordonxes: hmm?22:32
xesi mean ...i wasn't expecting a speedup. But this is what i'm experiencing22:33
DocScrutinizer05aah22:33
*** shanttu has quit IRC22:33
*** nilspin has joined #maemo22:33
freemangordonxes: do you remember open() flags?22:33
freemangordonO_RDONLY?22:34
DocScrutinizer05so you see a speedup where you only expected a theoretical improvement that you wouldn't expect to have any noticeable effect?22:34
DocScrutinizer05freemangordon: yep22:34
xesfreemangordon: sorry i should test it again, it's been a few days since first test22:35
DocScrutinizer05well, who knows22:35
xesDocScrutinizer05: yep22:35
DocScrutinizer05xes: we already are about to test it ;-D22:35
DocScrutinizer05though strace with timestamps/profiling would be highly appreciated too, of course22:36
DocScrutinizer05was that strace that even prints statistics of average/min/max duration for each function called?22:37
freemangordoniterating 1000000 times takes ages22:37
freemangordonNokia-N900:~# time ./opentest22:37
freemangordonreal    0m 33.67s22:37
freemangordonuser    0m 5.02s22:37
DocScrutinizer05hehe22:37
freemangordonsys     0m 26.62s22:37
DocScrutinizer05ages?22:37
freemangordonwill try 10000 times22:38
DocScrutinizer05that's 26us per open()22:38
freemangordonyep22:38
DocScrutinizer05about what I expected22:38
freemangordoncombine that with /usr/share/local22:38
freemangordonso 50us per open22:39
DocScrutinizer05you mean the symlink dereference?22:39
freemangordonI mean that it searches /home/user first, then /usr/share/local and then /usr/share22:39
DocScrutinizer05aah22:40
DocScrutinizer05:nod:22:40
*** nilspin has left #maemo22:40
freemangordonkeep in mind my device is OC to 80522:40
DocScrutinizer05though, correctly:twice the number of open() calls22:40
freemangordon:nod:22:41
DocScrutinizer05but then, how many icons can a arbitrary app open()?22:41
DocScrutinizer051000?22:41
DocScrutinizer055000?22:41
freemangordonDocScrutinizer05: not sure how many of them are in the gtk theme22:41
freemangordonbut there are lots of them22:42
freemangordonI'd say thousands22:42
DocScrutinizer05an app will not open all existing icons, only the ones it needs22:42
freemangordoniirc gtk builds a list22:42
DocScrutinizer05:EEEEK:22:42
freemangordonnot sure about that one though22:42
DocScrutinizer05list processing is DA SHITE, the killer for every program22:43
DocScrutinizer05HAM is slow mainly for list processing I guess22:43
freemangordonbut iirc everytime you create a new GtkStyle (or whatever it was called) you got a copy of the default style22:43
DocScrutinizer05use strace, and time22:44
DocScrutinizer05will tell22:44
*** lbt_away has quit IRC22:44
freemangordonxes: when those open()calls happe? only on modest startup or all over the place22:44
*** lbt_away has joined #maemo22:44
*** lbt_away has quit IRC22:44
*** lbt_away has joined #maemo22:44
PaliDocScrutinizer05: HAM is slow, because libapt (c++ library) is slow in iterating all of packages22:45
xesps aux | grep modest      and  strace -e open -p   the second one.   Then open modest app22:45
PaliI already found hot code (for loop), but there is no way how to speed up it22:45
freemangordonxes: op22:45
freemangordon*ok22:46
*** gambitrex has quit IRC22:47
xesfreemangordon: then start opening mails from your inbox...22:49
DocScrutinizer05sorry, can't do since no modest configured here22:50
freemangordonxes: about 5 open() call per mail22:50
freemangordonnot much of a win22:50
DocScrutinizer05kerio: you might be right (re dir hardlinks)22:50
DocScrutinizer05       -d, -F, --directory22:51
DocScrutinizer05              allow the superuser to attempt to hard link directories (note: will probably fail due to system restrictions, even for the superuser)22:51
xesfreemangordon: yep. Not enough to explain the difference22:51
freemangordonxes: this has no visible effect22:51
DocScrutinizer05pretty verbose explanation22:51
kerioi'm not "probably" right22:51
kerioi'm right22:51
DocScrutinizer05no, you're *probably* right, since >>note: will *probably* fail <<22:52
DocScrutinizer05I guess it depends on filesystem22:52
DocScrutinizer05and on build options22:52
freemangordonxes: it'd be good if you can do some real measurement, like DocScrutinizer05 proposed ^^^, with strace timing22:52
DocScrutinizer05 -c          Count time, calls, and errors for each system call and report a summary on program exit.  On Linux, this attempts to show system time (CPU time  spent  running22:53
DocScrutinizer05                   in the kernel) independent of wall clock time.  If -c is used with -f or -F (below), only aggregate totals for all traced processes are kept.22:53
PaliDocScrutinizer05: ext* FS does not allow you to create hard link on directories22:53
Paliext* kernel drivers reject it22:53
Paliand I think that in recent kernel versions also VFS reject it22:54
DocScrutinizer05Pali: that's what I suspected22:54
Palibut I read that somebody successfully edited ext4 kernel driver (removed restriction) and it worked :-)22:54
DocScrutinizer05funny enough on NTFS it works22:55
freemangordonPali: seems like you and fbalbi will become friends at the end :D22:55
Palibut there was problem with find utility22:55
DocScrutinizer05though only with a special tool22:55
Palibut after next fsck.ext4 call, it removed that duplicate directory hard-link22:55
keriothe filesystem tree should be a directed acyclic graph22:55
kerioif you allow directory hardlinks, you add the possibility for cycles22:56
*** lizardo has quit IRC22:56
kerioand that would confuse the hell out of everyone22:56
Palikerio: right, DAG is very good for FS :-)22:56
keriobindmounts don't have bindmounts in them22:56
keriothat's why they're allowed22:56
DocScrutinizer05Pali: LOL22:56
DocScrutinizer05@ fsck22:56
PaliDocScrutinizer05: so if you create somehow direcory hardlink (hexedit /dev/sda), then every FS code/part will remove it :D22:57
Palikernel driver, fsck, ...22:57
keriodoes fsck do "garbage collection"?22:57
keriolike, if you forcibly remove a directory entry22:57
DocScrutinizer05kerio: indeed I thnk that's what I did in kernel 1.x22:57
keriobut the files inside are still there22:57
DocScrutinizer05and I laughed my ass off22:57
kerioyeah, such fun22:57
DocScrutinizer05thanks for reminding me on that episode22:58
kerioalso, kernel 1?22:58
kerioholy shit you're old22:58
Palikerio: fsck will connect disconnected directories/files to /lost+found22:58
kerioPali: ooh right22:58
keriothat's what it's for22:58
Palihere is that post but is in czech: https://www.abclinuxu.cz/blog/urandom/2011/11/hardlink-na-adresare (but maybe there are other sk/cz people)23:03
Palimost important is: directory hardlink to / is really bad idea, it is not possible to unlink it!23:04
kerioLOL23:04
Paliand it make sense, that unlink is not possible23:04
Palithis is totally damaged FS, if you have two inodes which are /23:04
keriois / a particular inode?23:08
keriolike, is it always 0 or 123:08
Palihm... yes, / is some magic inode... but what fsck can do if it finds more / inodes?23:13
keriostop, drop and roll23:13
keriook23:14
kerioto be fair23:14
kerioany entry for / inside a directory is wrong23:14
kerioobviously23:14
Paliyes23:14
Palihttps://www.xkcd.com/981/23:16
*** Aggese has joined #maemo23:25
*** Agge has quit IRC23:28
*** sq-one has quit IRC23:29
xesfreemangordon: i have tried a few test with strace -Tttt and -c ... nothing gives a result that could justify a better performance23:38
freemangordonxes: well, the it is a placebo :)23:38
freemangordon*then23:38
*** retro|cz has joined #maemo23:39
xesfreemangordon: yes, could be a placebo.. Did you observed some difference?23:41
freemangordonyes, but it might be because of some background activity23:41
*** tanty has joined #maemo23:43
*** LauRoman|Alt has joined #maemo23:45
xesfreemangordon:  background activity?23:46
freemangordonyep, someone else yeating CPU cycles and slowing a bit modes23:46
freemangordon*eating23:46
xesbtw, other apps are searching for /usr/share/icons/hicolor/icon-theme.cache (for example hildon-status-menu)  but that file does not exist. Do you have it?23:55
*** kjhkjhi has joined #maemo23:55
freemangordonxes: no23:56
*** sdkfjsdkjfh has joined #maemo23:57

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!