/srv/irclogs.ubuntu.com/2009/03/26/#ubuntu-kernel.txt

tannewtmaxb: ah, I see, is it because versions are compared alphabetically?00:14
johanbrtannewt: if you're doing this automatically, you may want to do it via git, since that'll carry all the version tags00:17
johanbrboth ubuntu + upstream00:17
JanCtannewt: basically alphabetically with some added quirks  ;)00:17
tannewtjohanbr: hmm, I just do it based on tarballs for the kernel.  I can't spend too much time on it because I'm tracking all packages not just the kernel00:19
johanbroh, I see00:19
tannewtjohanbr: probably not the smartest decision I've made :-)00:20
tannewtjohanbr: for 8 distributions at this point too, oswatershed.org00:20
johanbrwow :)00:21
johanbrsounds like a pretty ambitious project00:21
tannewtjohanbr: yeah, it is, its pretty cool data though00:21
johanbr"Parse error: syntax error, unexpected $end, expecting ')' in /var/www/oswatershed.org/htdocs/gen/data_2009032523.php on line 3"00:21
tannewtjohanbr: hmm, let me look00:22
tannewtjohanbr: I've been messing with things :-)00:23
johanbr:)00:23
tannewtjohanbr: not much to see, I'm redoing it anyway00:23
tannewtjohanbr: http://abstract.cs.washington.edu/~tannewt/ is another copy of it going00:23
johanbralright00:24
dtchenhow does it account for different distributions' stable/development release policies?00:25
tannewtdtchen: it compares stable releases versus different stable releases00:28
tannewtdtchen: in other words, it crawls multiple repos and classifies them as different branches of a single distro00:29
tannewtdtchen: past, lts, current, future and experimental are the current branch classifications00:29
tannewtdtchen: however, there is no independent notion of when a distro is stable00:31
domashi! I'm staring at 2.6.24-18-server being idiotic: http://p.defau.lt/?WB6QRUQKJK19nVoZNQlNCA ;-)10:55
domasit swapped out a working process for 2G of 'cache' that isn't really used in any way10:55
sorendomas: From here it looks like you're used all your RAM.11:11
soren47048k free is not much, and you have less than 1 MB cached?11:11
domassoren: thats 1G cached11:14
sorenIn swap.11:22
IntuitiveNippledomas: 2G (almost) cached :)  ... can you show the complete ps -efly - we can see mysqld is using almost all RAM already, so it wouldn't be surprising if it swaps, especially if the vm's 'optimistic' allocation has been caught out11:24
domasmysql is using 15G on 16G machine11:24
domassee, on most machines you'd say "1G for OS is enough"11:24
domasif I had _lots_ of processes eating 1G each, it wouldn't be an issue11:24
domasbut it seems to be an issue with single big process11:25
IntuitiveNipplehow big are the databases mysqld is handling?11:25
domas200G11:26
domas(thats why I prefer mysqld to handle the dataset, not OS :)11:26
IntuitiveNippleIs it using temporary tables during processing?11:27
domasnope, none at all11:27
domasjust writing few logs11:27
domasappend-only operation, but they seem to take a fair share in the cache :)11:27
domasI can probably flush any cache with fadvise(MDONTNEED) :)11:27
mdzapw: I just got a new false positive with the apport suspend check11:28
mdzapw: is there anything I can check to help diagnose?11:29
IntuitiveNipplemdz: Is it because the resume took slightly over 5 seconds?11:29
IntuitiveNipplemdz: grep 'PM: resume devices took' /var/log/kern.log usually identifies that11:30
sorendomas: "ps -efly" would still be convenient...11:31
domashttp://p.defau.lt/?J_3IkiT90__D6PXxReo_EA11:32
IntuitiveNippledomas: the xargs -P 16 spawning the simultaneous jobs would explain the cache usage because all those gzip jobs need memory11:36
domasfew megs each11:37
domaseach11:37
domasbut that would be not 'cached: 1G'11:37
IntuitiveNipplehow much data is being sent in as a result of those?11:38
domas~1MB packets11:38
IntuitiveNipplehow many threads is mysqld using?11:43
domas1611:43
IntuitiveNipplewhat does this report: SHOW STATUS LIKE '%key_read%';11:47
domasthis is innodb mostly11:47
domasall i/o is single file 11:47
domas10000 for key_read ;-)11:48
IntuitiveNippleok.11:48
IntuitiveNipplewhat does it show for mem usage then? SHOW INNODB STATUS;11:49
domasTotal memory allocated 15965703304; in additional pool allocated 705996811:50
domasthats 14.8G11:51
IntuitiveNippledomas: I saw a reference to that which said "...Note that the real usage is maybe 2 - 4 times bigger than what it reports..."11:53
domasprobably bad reference then11:53
IntuitiveNippledomas: in reference to the reported additional pool value11:53
IntuitiveNippleI doubt it, it was from one of the innodb dev's11:53
domasadditional pool doesn't matter much11:54
IntuitiveNippleIt will when the memory limit is hitting the RAM limit... if the additional pool is larger than that value it would explain the swap11:54
domasno, it is not11:55
domas:)11:55
domasmysql real rss should be ~15G11:55
sorenI'm still not completely sure what the problem is. free says you've used all your RAM, so naturally, there's some swapping going on.11:55
domasyup, but then there's lots of caching11:55
domaswhich isn't needed11:55
domasI don't want that to have any VM pressure :)11:55
sorenSwap caching.11:55
sorenIt's not caching files from the filesystem.11:56
domasCached:         637916 kB11:56
domasSwapCached:      76608 kB11:56
domaswell, I changed swapiness to 1 now11:56
sorendomas: I'm still looking at http://p.defau.lt/?WB6QRUQKJK19nVoZNQlNCA11:57
domasthats file cache11:57
sorenNo.11:57
sorenWell.. "that"?11:58
sorenWhich "that"?11:58
domasthe 2G number11:58
sorenI disagree.11:58
domasI checked meminfo, it was in 'cached:' line, not 'swapcached'11:58
sorenMind you, this is ancient knowledge, so it might have changed, but back in the good old days, what was reported as cached in swap was stuff that had been in swap recently, but was loaded back in to RAM, but hadn't been written to, so if it  were to be swapped back out, it wouldn't have to be rewritten to disk.11:58
domasmhm11:59
sorenI'm happy to be corrected if that's not the case anymore.11:59
IntuitiveNippleThat is my understanding of it too12:01
domasright now after the swapiness decreased it seems that swap usage has fallen down, so does kswapd weirdness12:02
domasit is max 33% cpu now12:02
domasthough the workload changed a bit12:03
domasghm, maybe I didn't set O_DIRECT :)12:04
IntuitiveNipplewhat does vmstat show? lots of active swapping?12:04
domasnah12:04
domasaround ~1MB/s swap-oin12:04
domasswap-in12:04
domasoccasional swapout12:05
IntuitiveNippleO_DIRECT would help12:06
IntuitiveNipplesoren: interesting overview: http://feedblog.org/2007/09/29/using-o_direct-on-linux-and-innodb-to-fix-swap-insanity/12:06
domasI'm usually using O_DIRECT, the problem is that filesystems are stupid a bit12:06
domasonly XFS allows parallel writing to O_DIRECT files, and even then it has limits (there have to be _no_ cached pages for that file at all)12:07
domasso you have to either flush oages with fadvise() or remount filesystems12:07
domasgotta patch mysql to do that for me12:08
domasbtw, when process really goes oom, linux panics nowaday12:09
domasinstead of killing the process 12:09
sorendomas: You can flush caches using /proc/sys/vm/drop_caches12:11
domasyep, not selective though12:11
domas(on the other hand, who cares about selectivity ;-)12:11
domasI have seen few more problems with kswapd behavior - especially with LVM. it seems that LVM marks some data required for snapshots as 'reclaimable', so kswapd goes crazy when gets some VM pressure and tries to free them up12:12
IntuitiveNippleI've just been looking at the Innodb tuning stuff, and the discussion of this particular issue. There it says, "...Make sure however the swapping is not happening ie your VMSTAT “si/so” columns are zero on Linux. Couple of swaps per minute would not hurt bad but if you’re doing 100+ pages per second of swap IO you’re in trouble."12:24
IntuitiveNippleSee: http://www.mysqlperformanceblog.com/2007/11/03/choosing-innodb_buffer_pool_size/12:24
domasIntuitiveNipple: I know that :) but I want OS not to swap my reasonably sized buffers12:29
domasI just want that 15G dataset would stay in memory :)12:30
domason 16GB machine12:30
domas(or 30GB dataset on 32GB machine)12:31
IntuitiveNippleThe recommendation suggests 14G for a 16G machine, so maybe your expectations aren't realistic12:34
domasthis is 13G btw12:34
Kanohi rtg , could you build a 2.6.29 server kernel?12:34
domasIntuitiveNipple: I have worked on InnoDB memory consumption more than actual InnoDB devs, or mysqlperformanceblog people, or nearly anyone in the industry 12:35
dandeldomas, read this... http://www.novell.com/coolsolutions/feature/18990.html12:35
domasdandel: that link has too simplistic information12:35
dandelwhat does cat /proc/sys/vm/swappiness reveal tho?12:36
domasfor now I solved it way easier, my process does not do any non O_DIRECT operation 12:36
domasdandel: right now it is at 112:36
domasour default is 1012:36
dandelcould always do a ramdisk swap instead of hd based swap.12:37
domasdandel: the problem is not actual swapping, but kswapd taking extra cycles to manage the buffers12:37
amitkrtg: is the -11.37 tag set correctly?12:41
rtgamitk: checking12:42
domasIntuitiveNipple: actually, if anyone would set 14G buffer pool, they'd definitely go OOM 12:42
apwKano, cna't you build that from the karmic tree?12:42
domasIntuitiveNipple: that setting made sense on earlier versions, which didn't have high per-page mutex overhead :)12:42
Kanoapw: i could only build the generic one12:42
rtgamitk:  it looks close, why?12:43
apwKano, why so?12:43
Kanoi always got errors with the server one, not finding some modules or so12:43
rtgKano: I'm running 2.6.29-1-server12:43
amitkrtg: 'close' ? I am tracking some regression in ARM flavours (versatile) due to AA being enabled.12:43
Kanortg: hmm, maybe i need more free space then, but i deleted already much...12:44
rtgamitk: AFAICT the tag is planted right on the commit message that I would expect.12:44
Kanowill test again.12:45
amitkrtg: but the commit after it (updateconfigs) was required12:45
rtgamitk: hmm, you might be right. I don't actually remember doing that, but I might have. (wouldn't be the first time)12:46
rtgamitk: I'm about to push some other stuff, so I'll fix the tag.12:46
amitkrtg: thanks.12:47
amitkrtg: any uploads planned?12:47
rtgamitk: yeah, I'd like to get one uploaded today.12:48
rtgamitk: ok, fixed the tag. the other commits I'm still testing.12:50
amitkrtg: could I push this trivial fix to linux-meta onto you then when you upload? https://bugs.edge.launchpad.net/ubuntu/+source/linux-meta/+bug/34599212:51
ubot3Malone bug 345992 in linux-meta "The one-line package description for the linux-image-imx51 and linux-image-versatile meta-packages appears wrong" [Undecided,Confirmed] 12:51
rtgsure12:51
domasright, once all I/O is O_DIRECT, no swapping/caching is done13:35
rtgamitk: were you wanting to get something in today's upload?14:55
=== popey_ is now known as popey
amitkrtg: I'm not done yet. Please go ahead. I'll commit tomorrow14:58
rtgamitk: I'm out tomorrow, so smb_tp will have to help if its something urgent. Otherwise, Monday14:58
amitksure14:58
smb_tpYessir :)14:58
rtgamitk: I'm doing a scorched earth Jaunty update on  my dev box, so perhaps Monday is optimistic :)14:59
amitkrtg: :)15:08
BUGabundoapw: so I don't keep confusing things15:23
BUGabundowhat's is different with backports kernel?15:23
apwbackports modules not kernel15:23
BUGabundoahh15:23
apwits a collection of updated drivers for things.  currently wireless things which are moving fast15:23
BUGabundoso that's it15:24
BUGabundoso just about any one needs to have it?15:24
BUGabundoor only ppl with modules not compiled into kernel?15:24
apwpeople only need it if they have trouble with the main kernel drivers, or there is none15:25
rtgBUGabundo: only ppl that want the features offered by 2.6.29 wireless drivers and protocols15:25
BUGabundoah so when I installe it my self without the need for it, am I doing it wrong?15:25
apwwrong is a relative term, you are putting together things which are less suited to each other15:26
apwthey may work better or worse, better than nothing clearly15:26
rtgapw: actually, I think 2.6.29 wireless is beginning to work pretty well.15:27
BUGabundosince I have and intel 496515:27
BUGabundoI guess the kernel support should be fine15:28
apwyeah i am more saying that your mixing things, that is likely to add risk, but is the only way for people who need it15:28
BUGabundono great changes recently15:28
rtgBUGabundo: if the 2.6.28 driver is working for you, then why change?15:28
BUGabundoehe15:28
BUGabundodon't fix what aint broken15:28
apwindeed15:29
* BUGabundo looks at installed stuff15:29
BUGabundo'cause I remember that change to kernel to fix kill_switch15:29
BUGabundocame on backports15:29
apwthat'd be the definition of not working for you15:29
lagajau15:30
lagaoops15:30
lagawrong window, sorry15:30
BUGabundoactually haven't tested the soft switch15:30
keesamitk: if you need help with AA, ask jjohansen on #apparmor on oftc, he's usually around and very helpful.15:49
amitkkees: we got it fixed for now. Thanks15:53
amitkkees: I did get in touch with him btw.15:53
keesamitk: ah, excellent16:30
=== cropalato_ is now known as cropalato
apwdtchen, those two alsa write pointer fixes ... do they fix up the issues with pa and glitch-free do you know?17:16
bradfbradf: test18:42
bradfbradf: another18:43
bradfbradf: another18:43
=== bradf_afk is now known as bradf
=== calc_ is now known as calc
=== tjaalton_ is now known as tjaalton
dtchenapw: yes22:18
apwdtchen, most excellent22:18
dtchenapw: note that jaunty's pulseaudio version is a bit dated, so performance will be less optimal than with 0.9.15ish (or whatever Fedora 11 will have)22:18
dtchenstill, users have been reporting markedly improved stability and performance22:19
TheMusoIt seems that Lennart aims his releases for Fedora's release schedule, which is always going to mean we're behind the 8 ball so to speak.22:20
TheMusoAs far as I understand things anyway.22:21
dtchenright, unless we obtain an exception for PA similar to what the GNOME desktop has22:22
dtchenof course that would mean updating the ALSA stack, too, which uh...22:22
dtchenanyhow, happy with what we're given22:23
TheMusodtchen: Yep totally agree.22:26
TheMusocd22:26
TheMusowoops wrong tab22:26

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