=== henrix_ is now known as henrix [09:53] rtg, i am pushing bits for the i386 cloud tools, so expect unreleased changes in -meta for you next upload [09:53] apw, ack === ming is now known as Guest82927 [12:56] jsalisbury: apw remember our discussion from http://irclogs.ubuntu.com/2014/06/10/%23ubuntu-kernel.html#t16:51 [12:56] jsalisbury: apw we were wondering if we can change to CFQ in 14.04 as well [12:56] https://bugs.launchpad.net/ubuntu/utopic/+source/kubuntu-settings/+bug/1378789 [12:56] Ubuntu bug 1378789 in kubuntu-settings (Ubuntu Trusty) "[SRU] Set the default IO scheduler to CFQ in Kubuntu Trusty" [Undecided,New] [12:56] jsalisbury: apw would be awesome if you could comment there about your thoughts [12:57] there is little chance of us changing default IO scheduler in a released OS [12:58] apw: this would be for Kubuntu [12:58] shadeslayer, iirc you are changing it via udev rules right ? [12:58] and more specifically, it'd be a udev rule, which is loaded post boot ( I think ) [12:58] apw: yes [12:58] ok, so what i am i commenting on :) [12:59] apw: ScottK wanted to know if this was alright with the kernel team [12:59] apw: let me get him in here :p [13:00] ScottK: so if I understood it correctly, you just wanted to ask the kernel team if this was alright for 14.04? [13:00] I'd like to get an appreciation of the potential risks associated with the change to assess if it's SRU worthy. [13:00] apw: fwiw we've already changed in 14.10, so far no issues for the last month that we know of [13:01] Right, but the level of risk we generally accept in the development series is different than for an SRU. [13:02] ScottK: right, just bringing apw up to speed with the current situation in Kubuntu :) [13:02] * apw concurs on that [13:02] we moved away from cfq because it was creating performance instabilities on interactive workloads [13:02] but you are relying on a cfq specific feature, so you are somewhat hosed [13:03] ..I guess what ever choice is made there is always a particular usecase that can show up performance issues with specific usecases [13:04] apw: How long ago did we switch from cfq? [13:04] * shadeslayer thinks that we're circling back to the original conclusion of : Benchmarks are outdated [13:04] * ScottK wonders if it might be better now. [13:05] ScottK, it was somewhere arond precise i think, a long time ago [13:05] ScottK: something that was bought up in the original discussion, no one has up-to-date benchmarks ( this was 3 months ago ) [13:05] * cking has a peek at the latest data to remind himself of the current position [13:05] ScottK, yeah it might be better, i cann't recall if we have done anything since [13:05] cking, is stats master [13:05] also, benchmarking depends highly on the kind of workload [13:07] * ScottK starts to imagine a trip to the tech board on this one (which is not terribly unusual for "we think we should SRU, but it has risks." [13:07] shadeslayer, exactly, and it is kind of tricky to select a set of tests that cover every application's useage patterns. it's like 10 pin bowling, you kind of aim for the best all round choice, but you know there may be some pins on the side that you may miss [13:07] ScottK: *groan* [13:07] cking: right [13:08] shadeslayer: You weren't around when we released an X update for Dapper that broke X ~everywhere. [13:08] It kind of sucked. We have the rules in place for a reason. [13:08] http://kernel.ubuntu.com/~cking/fs-tests/sept/test/kernel-trends/iometer-emu-light/index.html [13:09] this is only changing a setting back to the upstream default is it not? [13:09] shadeslayer: My alternate thought was wait for a month after 12.10 is released to see if issues come up. [13:09] oops, I mean: http://kernel.ubuntu.com/~cking/fs-tests/sept/test/kernel-trends/ [13:09] Riddell: yes [13:09] ScottK: right, but IO Schedulers are supposed to be drop in replacement ... [13:09] unless there are very intrusive patches [13:09] that screw up things [13:09] which I would imagin there are not [13:09] but then, not a kernel dev [13:09] If IO schedulers are drop in for each other, then logically there's no need to change. [13:10] Not the flaw in that logic. [13:10] you should be OK to drop in the change to cfq, but like all things, there may be issues with that which cause other performance drops compared to deadline [13:10] yeah [13:10] Not/Note [13:10] that logic is so flawed it hurts [13:10] Actually the logic is correct, it's the premise that's broken. [13:10] deadline does not implement a priority system because by design deadline deadlines, regardless of the priority [13:10] it's kinda the point of deadline [13:11] Right. By definition these things are not just drop in replacements for each other. [13:11] of course addressing requests as they deadline instead of as they make sense hdd-sector-wise or as they are prioritized as it were is kind of bad in spinning media world [13:13] it seems fairly obvious that the major io user in kubuntu is baloo, baloo just needs upstream defaults, it does seem like a bug that ubuntu changes those and the whole kde desktop suffers [13:15] ScottK: they are drop in replacements in that they both will schedule your IO and your IO is going to happen at some point $soon, the meaning of soon is divergent [13:15] Right. It would have been much easier to address pre-release. [13:15] which is also why one shouldn't make assumptions about the soonyness of things === sr105|aw` is now known as sr105 [13:17] it would also be interesting to see what kind of i/o patterns baloo is doing as well [13:18] Is there something like bootchart for capturing data like that? [13:19] blktrace perhaps, http://smackerelofopinion.blogspot.co.uk/2009/10/block-io-layer-tracing-using-blktrace.html [13:19] we know baloo needs cfq and suffers with deadline, vishesh has done lots of tests of that [13:20] Riddell, any references on that analysis? [13:21] ScottK, http://smackerelofopinion.blogspot.co.uk/2009/10/blktrace-baded-tools-seekwatcher.html [13:21] btw, I think that argument was made primarily because Baloo uses ioniceness [13:21] which was provided only by CFQ [13:21] yep [13:21] we know baloo won't suck with CFQ because CFQ takes ioniceness into account ^^ [13:21] ah, so it's kinda niche i/o tuning [13:22] so baloo itself doesn't suffer performance degradation when using deadline, other apps on the desktop do [13:23] well, technically everything suffers [13:23] as the problem is that since baloo does loads of read requests it will constantly have requests hitting the deadline once it reached the upper ceiling of the HDD's capabilities [13:24] after that point deadline will basically be performing in the worst case scenario where it constantly addresses deadlined requests + one batch of queued requests [13:25] and that in turn causes pointless HDD seeking as it does no longer access things in a way that makes sense sector-wise, so more stuff is going to deadline and the entire system is slowing down [13:33] with this in mind, it's worth revisiting this for U+1 for sure [13:36] * cking wonders what baloo did before ioniceness was added to the kernel [13:37] cking: didn't exist then I think [13:37] and the previous thing was broken by design and implementation, so most people didn't actually use it ^^ [13:37] I think that feature landed in 2.6.26 ish [13:38] yeah, baloo only got invented like 2 years ago [13:39] ah, it's interesting that one is now kind of locked into just using cfq because of the behaviour required by baloo. I wonder if that is totally acceptable [13:46] whether its totally reasonable, indeed [13:47] it is somewhat peculiar, but I for one lack the knowledge to argue any better approach to the problem [13:48] * apw idly wonders how the other indexers we use on the desktop work without hammering the machine to death [13:53] * ScottK thinks "not very well" === amitk_ is now known as amitk [14:09] apw: someone reported that in 3.15 overlayfs switched from 'upperdir=' to 'workdir='. that doesn't seem to e the case in utopic though. d oyou know anything about it? [14:09] in particular an easy way for lxc to tell which it needs to use? (or whether it'll be reverted upstream) [14:09] i don't see how chnaging that could possible meet the 'don't mess with userspace' mandate [14:10] (https://git.kernel.org/cgit/linux/kernel/git/mszeredi/vfs.git/tree/Documentation/filesystems/overlayfs.txt?h=overlayfs.v24) [14:10] hallyn, well its outside the kernel so ... it doesn't get held to any kind of compatibility standard [14:10] oh. right [14:10] it'd be nice if either upperdir was always supported or there was a clean way to tell which to use from a script though :) [14:10] hallyn, we haven't switched to the latest version because it has another incompatible change, which i need to think about before we could [14:10] ok [14:11] hallyn, indeed .. sigh ... [14:11] for now i'll just say "tough noogies" :) [14:11] * apw will look into it [14:12] hallyn, that doc says you need a new option workdir which would need to point to a private space, lost+found stylee for use with the new atomic rename swap stuff they are using [14:13] oh so they still take upperdir? [14:19] hallyn, that is my reading of it yes [14:19] mount -t overlayfs overlayfs -olowerdir=/lower,upperdir=/upper,\ [14:19] workdir=/work /merged [14:19] has all three in it [14:26] apw: ok, thanks [14:26] * hallyn checks whether tha tis optional [14:26] doesn't look so [14:27] hallyn, well we won't be taking that version for a bit yet, don't know if it is for us you are worrying of course [14:28] apw: well that too, but also whoever reported it, who presumably has a bug as a result :) [14:28] i'll ask neal about it [14:28] you might be able to always supply it ... [14:28] even though it is ignored [14:31] nope [14:32] so attempt ot mount with, fail and attempt to mount without, and hope [14:32] classy [14:33] i know, very kernel [14:33] thx apw [14:34] * apw feels dirty [14:34] i'm having a very scatterbrained week [14:35] apw: stop plating on windows then [17:32] cking: hi, so I replied to your mail because I didn't understand your response [17:32] maybe we can discuss here [17:36] apw: "other indexers on the desktop" - don't you remember? they were all horrible and we either got rid of them, or stopped noticing the impact at the same time we all switched to SSDs [17:37] ok, caught up on the discussion here wrt baloo [17:37] that's some useful context [17:37] slangasek, sorry, I was having some food [17:37] CFQ is the only one that handles ioniceness [17:37] cking, apw: what I would like to understand is, do we actually have benchmarks measuring cfq vs. deadline for rotational vs. ssd? Because it seems there's quite a relevant difference in behavior; are we sure deadline is actually the right default on rotational? [17:38] (i.e., is there a reason that we shouldn't consider the udev rule that kubuntu-settings has implemented to be correct across the board?) [17:38] maybe we still wouldn't want to SRU such a change into the kernel even if we thought it was correct [17:38] slangasek, I need to look up my historical data on this, which may take me a while to do [17:38] but I'd like to have a clearer understanding of what we do think is correct [17:38] cking: ok; no hurry for my part, but I'd appreciate having that info [17:39] slangasek, all choices are correct and also wrong depending on the use case :-/ [17:39] i'd have to defer to cking's numbers, i know we thought not previously === bjf[afk] is now known as bjf