/srv/irclogs.ubuntu.com/2012/06/01/#ubuntu-nz.txt

ojwbmorning?01:28
ajmitchin australia, it is01:28
ojwbi just noticed nobody else seems to have said it yet today01:28
ajmitchyou joined too late this morning01:28
ojwbhmm01:28
* ojwb should be on permanently01:28
ajmitchby 10:37 we'd already bitched about redhat01:29
ojwbperhaps there were network issues01:29
ajmitchlooks like you disappeared at 2:52 this morning01:29
ajmitcholly came back though01:29
* ajmitch wishes the ubuntu software centre wasn't so slow01:31
ollyso i did01:31
ajmitchbetween it & update-apt-xapian-index that it spawns, it's using 700MB of RAM01:31
ojwbwhile it's nice to see xapian's world domination advancing, having apt-xapian-index there by default can be problematic01:32
ajmitchit's used heavily by the software centre, and it's not lightweight01:33
ojwbi don't think it tries to tune itself for small systems01:33
ojwbit would benefit from a tunable max memory usage threshold, which xapian doesn't currently have01:34
kcjMorning.01:34
ojwbbut it probably could tune the document flush threshold01:34
ajmitchright, it's still climbing in memory usage01:35
ojwbone of the many things on my "would be nice to poke at" list01:35
* ajmitch decided to get the new humble indie bundle, though it'd be a good test of installing via the software centre01:35
ajmitchlittle things to fix, like still having to click 'buy' after having bought it :)01:36
ojwbajmitch: what do you get if you install xapian-tools and run: delve /var/cache/software-center/xapian01:36
ojwbon debian testing, I only have 2135 entries01:36
ojwbi guess ubuntu's must be larger01:37
ajmitchprobably a lot larger on my system, I've got a number of apt sources01:37
ojwbactually, I can check the old laptop01:37
ojwb238001:38
ojwbthe apt-xapian-index is larger though - 3363701:38
ojwbon 36421 on debian testing01:39
ojwbor01:39
ojwbare you just measuring in top?01:41
ajmitchwas just looking at resident size in top01:41
ajmitch& swearing as I waited for firefox to swap back in at times01:42
ajmitchnumber of documents = 258301:42
ajmitch/usr/share/software-center/update-software-center-channels is still running & making my laptop fans spin :)01:42
ojwb/usr/sbin/update-apt-xapian-index -f seems to peak at about 228M resident for me01:46
ajmitchhighest I saw was about 530MB before I got distracted by a phone call01:46
ojwband at 152M if I patch it to do:01:48
ojwbimport os01:48
ojwbos.environ['XAPIAN_FLUSH_THRESHOLD'] = '1000'01:48
lifeless'morning'01:48
ojwbthat's not the software centre one, which may contain more per entry01:48
ojwbbut i don't have /usr/share/software-center/update-software-center-channels on either machine01:48
ajmitchboth debian?01:49
ojwbdebian and oneiric I think01:49
ajmitchmight be new in precise then01:49
ojwboh natty01:49
ajmitchold01:49
ojwbi didn't claim it wasn't...01:50
ajmitchprecise has software-center 5.2, sid has 5.1.2debian201:50
ojwbi'll update the ubuntu one at some point, but life's too busy to have to fix it if it doesn't go cleanly, so  I'm holding off for now01:50
ajmitchyeah it took me quite some time to bother upgrading my desktop at home01:51
ojwbthe issues should be similar in character though01:54
ojwblowering the flush threshold seems to reliably reduce the peak from 228 to 152 and makes it take about twice as long (33 secs to 1m15 with a warm cache)01:55
ojwbwhich for a low memory system is a good trade-off, especially if it'll get swappy at the higher value01:55
ajmitchthe majority of the bugs on apt-xapian-index in LP look to be automated crash bugs01:55
* ojwb wonders who decided launchpad wasn't getting enough bugs01:56
ajmitchhttps://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/655831 looks to cover it being slow01:56
ojwband like all the bugs I've seen, it degenerates into a meta discussion01:58
ajmitchof course01:58
ojwbi mean all the bugs about this01:58
mwhudsonthere needs to be a "you must be smarter than this stick -> | to post on this bug" feature01:59
ojwbthough it's a bit of a feature of bug trackers01:59
mwhudsonwell, not smarter i guess01:59
ojwband launchpad suffers particularly01:59
mwhudson"have more insight than"01:59
mwhudsonojwb: the downside of targeting human beings as users!01:59
ojwbyeah01:59
ojwbthough the computer reported bugs don't seem much better01:59
* ojwb likes spending most of his time on a project where the users are almost all developers02:00
ojwband even then they fail to tell you minor details like the version of the software half the time02:00
ajmitchproblem is, developers can have opinions02:01
ojwbhow dare they02:01
* ajmitch should unsubscribe from ubuntu-devel-discuss02:02
mwhudsoni presume debian-legal is still a thing?02:02
ajmitchit still exists02:03
ajmitchmwhudson: you mentioned figlet yesterday02:04
ajmitchhttp://lists.debian.org/debian-legal/2012/05/msg00022.html02:04
ajmitchnow relicensed to BSD02:04
* ojwb will file a debian bug against apt-xapian-index - enrico's likely to respond sanely and addressing it for wheezy is probably the priority right now02:04
mwhudsonajmitch: hee hee02:05
alberto#channels11:14
ojwbmorning21:43
=== ojwb is now known as Guest82050
=== Guest82050 is now known as ojwb
kcjMorning.22:42

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