/srv/irclogs.ubuntu.com/2011/11/16/#ubuntu-kernel.txt

oratedHello! Are ubuntu kernels released every 2-3 months? Can I give a request of a change here?07:04
oratedWhen will there be support for Sandy bridge processors?08:07
broderorated: Ubuntu has had basic support for sandy bridge processors since Ubuntu 10.10, and supported 3D acceleration since 11.0408:13
oratedbroder: Apart from graphic, are there any performance issues? Like system running in performance mode than normal mode 08:18
broderorated: That's not something I pay attention to, so I don't really know08:20
oratedbroder: Well, that really drains life out of laptops with it..08:21
oratedThe processor fan running at performance mode even when idle08:23
RAOFNo.  There's the PCIE PM power thingy, but that's not related to the cpu.08:51
RAOForated: Sandy Bridge processors are well supported in 11.10 (and slightly less well supported in 11.04)08:51
smbRAOF, Hm, actually makes me wonder (since I got no hw to look at): is the graphics card you see on those somehow presented as being connected via pcie?08:54
RAOFIt does show up in lspci.08:55
smbIts hard to say for sure but that still may leave a little opportunity of someone twiddling pcie pm and having some magic impact back on the cpu doing gpu'y things. (totally unrelated to any knowledge here, just thinking)...08:57
smbcking, Hey how are you feeling today?08:57
oratedRAOF: I didn't get the reason for that. What is PCIE PM?09:07
RAOFPCI Express power management; there's ambiguity between what the spec says and what Windows does.09:09
apwRAOF, isn't there also some rc6 related power drain on sb ?09:09
RAOFYeah, there's that too.09:10
oratedWell, I n Windows it works absolutely fine. In Ubuntu it starts the fan in performance fan09:10
RAOFThat could just be your BIOS being stupid.09:10
orateder09:11
RAOFWhich we *should* obviously deal with, but might not.09:11
apwRAOF, is that the 'performance MSR' thing?09:11
apwsb is a bit of a mess, and thats an upstream issue in the main09:11
RAOFapw: EAMBIGOUSTHAT09:12
apwand its going to take a while to perculate out into release09:12
oratedRAOF: I have the BIOS updated09:12
apwRAOF, stupid BIOS> wondering if thats the 'CPU in performance by default' thingy thats controlled by a CPU msr or something more general09:12
RAOFOh, no.  I was thinking "fan speed need not have any relationship to CPU performance mode"09:13
apwahh, more possibilities.  i hate bios vendoes09:14
oratedRAOF: But isn't that proportional?09:14
RAOForated: Not necessarily; the fan control isn't wired up directly to a thermal sensor or anything like that.  At least, not all the time :)09:14
RAOFIn other words: CPU state and fan state can be totally independent.09:15
oratedI'm not aware of the different states but I think the CPU fan rpm will increase/decrease as per CPU/GPU load09:16
oratedas far as I'm aware09:16
RAOFNo, that's by no means guaranteed.09:16
RAOFSame with gpus, which is why the nouveau guys are paranoid about enabling fan control.  It *is* entirely possible to turn off the fan and have the GPU cook itself.09:17
oratedSo my system to run cpu fan in performance mode can be only due to power management?09:18
RAOFWhat should happen is that the kernel should see that ACPI thermal zone $X has hit $TRIP_POINT and turn the fan on to $POWER_LEVEL.  At least on most hardware.09:18
RAOForated: You CPU fan may be running at 100% simply because the BIOS starts it up at 100% and doesn't hand control off to the kernel correctly.09:19
oratedOn what does it depend to hand over control to kernel?09:19
RAOFIt needs to say that the fan should be controlled by the OS.09:20
* RAOF → dinner.09:20
oratedWell, I'm not that aware of proper technicalities but I only presented my observation here of system performance in Windows and Ubuntu. But if its BIOS issue, how can I fix it? Its updated ...09:21
oratedah-ok. Catch up with you later then ...09:22
dupondjeThe thing thats really missing atm is Optimus support. That drains the battery :)09:40
apwthat one will be a while coming09:40
dupondjeare things getting in kernel for that ?09:41
broderapw: yeah, but we *should* be able to stopgap that some by being sure to power down the unused chip, at least in theory09:42
apwbroder, in some cases for some hardware with a machine specific quirk in every case09:49
apwbroder, its not going to be pretty until the proper support comes and no mistake09:50
ckingas it is, the fans are normally controlled by System Management Mode, so it's normally totally out of our control and up to the firmware to get it right.10:10
smbcking, btw just found a funny state of brokenness: while everything else seemed ok, the discharge rate was reported as 0. Wonder whether its worth bailing out of powerstat and tell users to try to connect and disconnect ac (that was how I "fixed" it).10:12
ckingsmb, yep, I can add that logic to cater for broken machines like yours ;-)10:14
ckingdid you tinker with the other powerstat options? I'm interested to see if it looks useful or if we need to add more goodness to it10:15
smbcking, I am pretty sure there are many more. :) Not yet, just had a quick run. Oh and it will actually run without complaining but with 0W power consumption on a desktop without any battery at all. ;)10:17
ckinggah, I didn't think of that, I'll fix that too :-)10:18
smbcking, I feel a bit like the devil's advocate here, though. :)10:20
ckingsmb, I appreciate you checking for things that I overlooked10:20
smbcking, It is quite cool and I am sure apw will love it10:22
* smb already does10:22
ckingdid you try the funky -r and -s options?10:22
smbcking, will look at those next. they sound pretty interesting10:23
ckingnetlink was fun to figure out, but there was plenty of good documentation lying around10:23
tjaaltoni sent an email to kernel-team@, but seems it didn't get through10:24
smbtjaalton, Are you normally subscribed?10:24
apwtjaalton, may be in the moderation queue, we get a _lot_ of spam10:24
tjaaltoni'm subscribed yes, checking which address i have there10:25
smbcking, Another completely unimportant note: -r is missing in the usage summary...10:26
apwtjaalton, it was in the mod queue, i've poked it10:26
oratedsmb: Can I ask which command you are using?10:26
ckingsmb, err, try updating10:27
cking./powerstat -h10:27
ckingusage: ./powerstat [-s] [-h] [-d N] [delay [count]]10:27
cking-s show process fork/exec/exit activity log10:27
cking-d specify delay before stating, default is 15 seconds10:27
cking-r redo a sample if we see process fork/exec/exit activity10:27
cking-h show help10:27
ckingdelay: delay between each sample, default is 10 seconds10:27
ckingcount: number of samples to take, default is 1010:27
ckingoh, yeah, I see now.10:27
tjaaltonapw: thanks10:27
smborated, Something cking is currently whipping together10:27
oratedgot it10:27
ckingorated, technically know as "work in progress"10:28
ckingsmb, suppose I should write a man page too10:30
tjaaltonok, I had the wrong email address on the list, changed it now10:30
smbcking, When things settle down, I guess that is a good idea, and in the end probably have it in a ppa10:31
smbcking, Just an idea, you think it would be useful to have -r also redo the sample if idle is below a threshold (like 99)?10:32
ckingsmb, yes, but how about making that another option, like -i, so we have more fine tuning?10:33
oratedcking: Regarding the fan rpm related to firmware you said above, I checked with dmidecode and the BIOS is updated and current A06 ...10:34
smbcking, sounds good. probably could become -rf and -ri 10:34
ckingsmb, good suggestion, will do10:35
smbcking, maybe not that simple with getopt (without making those --)...10:37
ckingsmb, it's OK, getopt long is easy to use10:38
* ppisati -> post office11:19
smbherton, Quick question: is there currently a lucid-ec2 tracking bug open that I missed? Seeing the other uploads...12:46
hertonsmb: yes, let me find the bug here12:47
hertonsmb: bug 88870012:47
ubot2Launchpad bug 888700 in linux-ec2 "linux-ec2: <version to be filled> -proposed tracker" [Medium,In progress] https://launchpad.net/bugs/88870012:47
smbherton, Thanks, that one I totally missed somehow...12:48
* ppisati wonders how much does it take to setup a local ubuntu repository...12:48
ppisatispace-wise i mean12:49
smbppisati, A lot probably does not help, but the sync would also take long. That is why I went for apt-cacher-ng12:51
ogra_do you really need a full archive copy ?12:52
ogra_i woudl go with something like approx instead12:52
ppisatii was just wondering since this morning i read an article about "how to setup your own builder" or stuff like that, and one of the prerequisites was a local repostiory13:00
ogra_well, approx, apt-cacher and friends work in a way that they pull from the archive *if* there is a newer package, else they use the local version13:02
ogra_that has the advantage that you only use the diskpace for packages you actually need and that it only pulls updates if there actually are updates13:02
smbProbably more of a recommendation to avoid you pulling packages over and over for each build. But as ogra_ said, you can use the proxy cachers as servers13:02
ogra_indeed its slower than having a full local mirror ... on the first run13:03
ppisatiyep13:03
ppisatibut i still need a new 2tb disk, and latest flooding didn't help... :)13:03
ogra_subsequent builds of the same package are fast though13:03
ogra_oh, you only want to justify buying a new disk 13:03
ogra_go for a full mirror them :P13:03
ogra_*then13:04
ppisatiasd :)13:04
ppisatido you think 2tb is big enough?13:04
ppisatidon't think so13:04
ogra_one arch one release ?13:04
ppisatipretty much13:04
ogra_shoudl be ok ... i guess13:04
ogra_but better ask someone who actually has a full mirror at home13:04
ogra_GrueMaster has one for example13:05
smbppisati, Oh you really want to buy three to have it raid5'd :-P13:05
ogra_infinity too13:05
ppisatiah13:05
ogra_smb, 3 ? you need 5 for a 5.1 :P13:05
ppisatismb: better to raid 0 then13:05
ppisatii mean13:05
ppisatiraid 1, mirror13:05
smbppisati, yep13:05
smbppisati, But I thought you wanted more arguments for yourself to buy many disks... :)13:06
ppisatiah :)13:06
smbCause in reality with caching (I use it a lot and currently got 4G used) you do not really need a new one and any raid is not really needed because you can always start over from the archive13:08
ppisatismb: thgat13:09
ppisatismb: that's true13:09
ppisatibut with a big enough disk i can offload not only the archives, but even the OS and all the rest13:10
ppisatione raid to rule them all13:10
mdeslaurhi herton, any ETA on a regression fix for lucid? (LP #875300)14:45
ubot2Launchpad bug 875300 in linux "[Realtek ALC268] ALSA test tone not correctly played back (regression in lucid from 2.6.32-33.72)" [Medium,Triaged] https://launchpad.net/bugs/87530014:45
hertonmdeslaur: I can revert the patch causing it, the problem is reverting should bring the previous regression the "fix" is handling. I plan to see if I find a solution until the end of the week.14:47
mdeslaurherton: but, have you actually seen the regression? AFAIK lucid sound on mini 9's has always worked...14:48
hertonmdeslaur: it's just a problem with quirks, machines with same id but codec differences, so one quirk was applied to one model, but the same id make the quirk brake other models. Newer kernels have a better hda auto-config, and I suppose will handle this better. It's not so bad, you still can use model=dell (options snd-hda-intel model=dell), to avoid the breakage for now14:51
mdeslaurherton: oh, hrm...I wonder if breaking people to fix others who's sound never worked in the first place is an acceptable trade-off14:53
hertonmdeslaur: yeah, may be we'll just revert the fix, I'm going to take a look at it if there is some we can do on lucid to have both cases fixed, if not revert it14:54
mdeslaurherton: cool, thanks :P14:54
mdeslaurherton: if you need any testing, let me know14:55
hertonok, once I have something I'll let you know14:55
* herton -> lunch15:03
=== ericm|ubuntu is now known as ericm-Zzz
* ogasawara back in 2015:29
GrueMasterppisati: My mirror is currently at 325G, but it is only arch armel/armhf/all binaries.  I do not currently mirror source.  Initial mirror setup and pull can take a weekend, depending on your bandwidth and the bottlenecks between you and the original source (I would assume ports).15:53
GrueMasterMy mirror is a 1U rack system w/ 4-1T sata drives in a soft raid (apparently, most SATA raid controllers are software raid, with software raid drivers for Windows - hence the raid marketing).15:55
* ogra_ guesses armhf doesnt actually take much space yet :P16:09
mpoirierogasawara: good day16:16
ogasawarampoirier: hi16:17
mpoirierogasawara: I have a brain bug this morning16:17
mpoirierogasawara: ages ago you have me a make command to upgrade a target config .16:17
mpoiriersomething like make updateconfig16:17
mpoirierbut I can't remember...16:17
ogasawarampoirier: fdr updateconfigs16:18
mpoirierha !16:18
mpoirierfantastic thanks.16:18
ogasawarafdr == fakeroot debian/rules 16:18
mpoirieryep.16:18
sforsheecking, didn't you have something to execute an AML method and get the result from the command line?16:35
ppisatimpoirier: any chance you give me an update on that patch i asked you?16:52
ckingsforshee, yep, lemme find it for you16:52
ppisatiGrueMaster: just 325GB???16:53
ppisatiGrueMaster: entire armel repository?16:53
GrueMasterppisati: Armel, armhf (which I expect to almost double the sixe), and arch-all.16:53
mpoirierppisati: you asked me for a patch ?16:54
ppisatimpoirier: i think i did... wait a sec...16:54
ppisatiGrueMaster: i expected to take much more space... uhmm...16:54
ckingsforshee, git://kernel.ubuntu.com/cking/systemtap-scripts.git16:54
GrueMasterppisati: As I said earlier, no source (yet).16:55
ppisatimpoirier: subject "Patch review/comment (from O to P)"16:55
sforsheecking, thanks16:55
ckingsforshee, in acpi-eval, you can hack that script 16:55
ppisatimpoirier: i think the patch is not needed anymore, but i wanted you to give it a look16:55
mpoirierppisati: that was in an email ?16:55
ppisatimpoirier: yep16:55
ckingsforshee, you may like to also use the amltrace script too, perhaps a combo of both16:56
=== hcfd__ is now known as hcfd

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