/srv/irclogs.ubuntu.com/2012/05/26/#ubuntustudio-devel.txt

ailoGot my internet working. And I'm halway at putting together some machines for testing.11:52
ailolen-dt: Have a look https://plus.google.com/u/0/112189543347229003538/postsv11:52
ailoI'm also going to add a notebook and a netbook to the mix11:53
len-dtailo, What kinds of test cases do you have in mind?13:12
len-dtI am looking at testing ulatencyd. It should be able to allow putting the audio programs in a low/no swappiness group while leaving other things normal.13:17
ailolen-dt: I was thinking we do something systematic with testing later. There are some things that you need to have several test cases for, in order to determine what they do in general13:49
ailoNot only for one machine13:49
len-dtailo, yup.13:49
ailolen-dt: I can offer you ssh access later. Trying to get the thtpd server working, but my gateway isn't very configurable when it comes to dhcp, so when I try to boot with network, I get the gateways dhcp, but when I get to the desktop, I get the dhcp from my server13:51
len-dtMy thoughts have been about defining what an audio program is.13:51
ailoSounds deep13:51
ailolen-dt: What for?13:52
len-dtI am thinking that I use more than one workspace/desktop when I do audio work.13:52
len-dtso it seems that the workspace switcher is now audio software13:52
len-dtWhat other non-audio SW becomes important in the audio workflow?13:53
ailoI think it's impossible to determine, and we should not determine what software the user should or will combine13:53
ailoFor whatever purpose13:53
ailoBut let's say the user is asked during install what they will be using the OS for..13:54
len-dtailo,  So swappiness needs to be zero for audio work.13:54
ailoChoosing audio implies you won't be using it to edit movies 13:54
ailoI'm more in the line that the OS should be configured to work for everyone13:55
len-dtDoes someone who is editting movies what their work to swap out?13:55
ailoRight now, it's very fast for audio, in general. There are some machines that have problems. Some machines that have problems, we don't know why even13:56
ailoI'm pretty far away from forming any opinions on swap right now though13:56
ailoAnd there's no hurry13:56
ailoWe should put up a plan, document, test, and find out what the data says13:57
len-dtailo, Yes, even my old machines don't run out of CPU cycles. They run out of memory though.13:57
len-dtailo, why are people trying to install US 11.04?14:00
* len-dt was just checking backlog on #ubuntustudio.14:01
ailoProbably a misprint14:02
ailo.04 sounds right. 11.10 would make more sense than 11.04, if someone hadn't realized a new one was out14:02
len-dtCould be. I thought I had tried install without net without that problem.14:03
ailoJust realized I need to set up port forwarding for my tftp. Maybe I got it now..14:03
len-dtailo, I get the sense that in general people expect the odd glitch while doing audio work.14:10
len-dtThat the odd xrun may show up that seems not to be explained.14:11
ailoDon't know. I don't read a lot about random xruns though14:14
ailoMaybe people don't admit it, or figure it was something explainable14:15
len-dtailo, I think I am going to break my tweak mode stuff out of the workflow stuff and make it separate.14:18
len-dtI think it is worthwhile being able to make a quiet machine while recording/performing14:19
len-dtI think no matter what machine a person has, they are likely to to push it's limits at some time.14:22
len-dtI would like those limits to be as broad as possible.14:24
len-dtailo, I think there are a number of people who may have kernel module issues.14:33
len-dtSome people just go and buy another machine, but I think that is not always the best answer.14:34
astraljavaIt is if they give me the old one.14:39
* astraljava hasn't bought a new computer since '97.14:39
* len-dt has many donated machines too.14:40
ailoMy standpoint on tweaks is that only those should be made default that absolutely will improve something for someone, and will absolutely not make things worse for someone else. Any tweaks other than those should be considered trouble shooting configs14:53
ailoSince most machines works OOTB as it is, most tweaks are either not that important, or good for troubleshooting14:53
ailoFor those that have real issues, any help is gold14:54
ailoSo, troubleshooting configs are great, if they do solve problems for people14:55
ailoIf adjusting swap is best for everyone, by default, then add that to default settings. If it would make things worse for someone, while solve someone else problems, add it as an option14:56
ailoAnd just make sure it is clear what the options do, so that people don't think they will benefit from all of them14:57
ailoBut this is still far from where we are at now14:58
len-dtI would like to find some memory for my old machine.14:58
ailoFirst, test. Then, on basis of the data, figure out how to implement it, if needed14:58
len-dtI do think that swappiness set to 10 instead of 60 would probably bo good for everyone.14:58
ailolen-dt: You could write something up about that on the wiki. I still need to go through that myself, in order to know why14:59
len-dtcheck out shnatsel's site. It has some good thoughts and a link that explains it really well.15:02
shnatselwho summons me?15:02
ailolen-dt: We will still need to document everything we do, and explain why something is good/bad, if we are to suggest changes15:03
len-dtYou were just mentioned... I was pointing to your site.15:03
ailoI wouldn't want to do the same work twice, if sufficient testing already has been made15:03
shnatselhttps://help.ubuntu.com/community/SwapFaq - this is the current state15:03
shnatselI think you should contact the kernel team and ask them why they set swappiness to 60 by default15:04
len-dtswappiness 60 is great for most servers or for a development machine. but low swappiness makes for a much nicer desktop experience.15:04
shnatselthey've got different kernel packages for desktop and server anyway, so that's not an excuse15:05
len-dtbut swappiness still defaults to 60.15:05
shnatselso let's go ahead and ask why it's still that way15:06
shnatselalso, Ubiquity enables swap to zram when no swap partition is created or found on the system15:06
len-dtFrom the page you listed "The default setting in Ubuntu is swappiness=60. Reducing the default value of swappiness will probably improve overall performance for a typical Ubuntu desktop installation. A value of swappiness=10 is recommended"15:06
shnatseland I've just discovered a "zram-config" package very similar to my "zramswap-enabler", gotta merge the implementations15:07
shnatselmy "site", in case you're wondering: http://shnatsel.blogspot.com/ But you'd better read the "Improving OOTB performance" thread on Ubuntu Studio mailing list, it has more real experimental data15:09
len-dtshnatsel, if I have both zram and a swap partition, is it possible to have some applications use the zram and others default to disk?15:09
shnatsellen-dt: no idea. Check cgroups swap documentation on TLDP15:10
shnatselor elsewhere15:10
len-dtailo, Interesting, if I connect a USB audio IF, I can only set latency as low as the internal audio IF.16:00
len-dtBut, if I turn the internal IF off in PA, I can now set the USB IF lower.16:00
ailolen-dt: Wonder if the latency is really set lower then16:02
len-dtUnfortunately I can not turn the internal audio IF off in  my bios16:02
ailoI'm not sure I understand what you mean by that though16:03
len-dtailo, I suspect PA tries to keep the latency of all its ports the saem.16:03
ailo"set latency as low as the internal audio IF". What did you mean by that?16:03
len-dtailo, I can set my internal IF with jack to run at -p 128 at the lowest.16:03
len-dtif I plug in a USB IF and use it with jack I can only set -p 128 as well.16:04
ailoYou mean jack won't run at lower latencies than 128 with the USB IF while the internal card is used for PA?16:04
len-dtbut if I configure PA to turn the internal IF off then I can get the USB IF in jack to run at -p 6416:05
len-dtailo, yes.16:05
ailoSo, how's the performance at 64?16:05
len-dtSo far seems about the same as at 12816:05
len-dtThe wireless is loaded so the same xrun/minute shows up.16:06
ailoOk, so you get that with the USB too16:06
len-dtYes. I think it is a wireless HW thing.16:06
len-dtAcer cheaped out on something to get the unit to be cheaper than everyone else's16:07
ailoToo big interrupt messages for the network card?16:07
len-dtNo idea. There was already a bug in for this problem and someone else on this irc has mentioned it too.16:08
len-dtSo there are at least 3 people who have seen this.16:09
ailoI changed my tactics. Instead of booting from network when installing (which I can't do as long as I have all the machines in the same network, since my gateway can't disable its' dhcp), I'll try booting from usb hard disk. I think all of my machines support that.16:11
len-dtailo, personally, I would be quite happy to do without wireless to have good audio16:11
ailolen-dt: I think it's a crude way to fix a problem, but I would be happy to have that option, if I had that problem16:11
ailoI wouldn't mind adding that as an option to a configuration application, such as Ubuntu Studio Controls. Only, I'd make sure to put it in a trouble-shooting category16:12
astraljavaailo: Which reminds me, when you wanna talk about that app?16:13
astraljavaCan we set up a work meeting for that?16:13
len-dtI have changed the bug report. I have added that if I use netmanager to disable wireless the module should reset instead of do constant scan mode.16:13
ailoastraljava: For now, I have no ideas about it, since we haven't even begun forming docs on testing, which would serve as a blueprint for a good part of it. I only know of one feature I would like to include for sure, and that is administering user realtime privilege16:14
astraljavaailo: Fair enough. Let's talk more later when we have further plans in place.16:14
len-dtailo, did you want to have the config of any "tweak mode" set by the saem app or separate?16:15
len-dts/saem/same16:16
ailolen-dt: It would seem logical to me to have all tweakable options in the same application16:16
len-dtok16:17
ailoIf a user would like to set many options at the same time, but only temporarily, I can see the need for a "mode button"16:18
ailoA "normal mode", and a "tweaked mode"16:19
ailoFor most people a "normal mode" should already be good enough16:19
len-dtailo, I had thought of having more than one extra mode, but I am thinking one will be enough.16:19
ailoIf you can tailor the mode, and maybe even save profiles for it, you just need to toggle between two modes16:20
ailoSomeone will like to enable/disable rtirq. Someone will want to disable NM, and so on16:20
ailolen-dt: I never tried stopping rtirq. Would you like to try it? "/etc/init.d/rtirq stop"16:21
ailoI don't have it enabled at all right now, since I've booted without threadirqs16:21
ailoYou can monitor the change with : "pd -eo comm,rtprio"16:22
ailo"ps -eo comm,rtprio"16:22
len-dtailo, I haven't got to that yet. Memory and swappiness (and ath9k) seem to have a far greater impact in any of my tests so far.16:22
ailolen-dt: I was just wondering if that is one option you can change during login16:23
ailoI guess it should be, since it can be started/stopped16:23
len-dtMy feeling is different from your's on good enough. I think both ideas are correct though.16:24
len-dtailo, I don't think at login is the best time to change these things.16:24
len-dtIt keeps the session from being multi-use.16:24
ailoI don't see why that is a problem16:25
len-dtSome people want a "normal" computer that they sometimes do audio stuff on. And they should get a good audio experience while having all the rest of their desktop function properly.16:26
ailoOk, so there are some possibilies for the mode toggle. Either during the same login, or in worst case, you need to reboot16:26
ailolen-dt: I don't think the mode is for everyone. Maybe less than 10%16:26
ailoThat has been my standpoint all along16:26
len-dtOthers want a hot audio machine. I have yet to find a change that needs a reboot.16:26
len-dtAs speciality distro I think it is important to cover thet 10%16:27
len-dtAgain I am talking opinion, I am not necessarily correct.16:28
ailoBecause of the small amount of people it will cover, even among pro audio enthusiasts, is why I suggest these are primarily for troubleshooting on machines that behave abnormally16:28
len-dtBut that is also why I like the mode idea as it means the 90% can do nothing and be fine.16:29
ailoAnd those who have problems will of course want to fix them16:29
ailoI only see one reason to have a mode at all. It's when you want to toggle many settings at once16:29
len-dtYup.16:29
ailoRight now, I don't see why someone would want to do that, but I would like to find out16:30
len-dtI use my laptop/netbook as a normal netbook, I also use it for recording. I have to have a mode change for that to be possible.16:30
len-dtI do use wireless all the time, but I can't when doing anyhting audio.16:31
ailoI think a mode toggle might be easier to control, than going through a list of tweakable options each time though, so even if you only change one option with the mode shift, it might still serve a purpose16:31
len-dtIt seems to be easy to do. I am doing it with one click on or off.16:32
ailoI just want to make sure that the user realizes he shouldn't need it at all, and it's only for those who absolutely need it. The user shouldn't have to do anything. Just plug and play16:32
len-dtOk by me.16:33
ailoI would change my mind, if we find a system tweak that absolutely helps audio operation for most machines, and which at the same time is bad for other things, like video or graphics. If we end up in a situation like that, I would propose to recommend the user to use a mode change to help improve his audio performance16:35
ailoI wonder if it would have been quicker to copy 50 GB from my usb drive to my internal, and then back, rather than copy from one partitiom to another on the same drive16:36
len-dtailo, the problem for me is I do not know how to test video/graphics uses. So while I know that swappiness 0 will help audio, I do not have a clue what it would do for other things. or how to test it.16:36
ailolen-dt: I guess we will need to find that out :P16:37
len-dtailo, we really need someone who does those things to help. It is the big thing missing for me.16:37
astraljavaFor so many years I remember there's only been a handful of people who were into graphics/video. I hung out on #cinelerra for a little while, but since that's in a very bad state ATM, I couldn't attract any interest in any of the regulars there.16:39
len-dtastraljava, are there any webpages that have setup tips for these things?16:39
astraljavaI haven't stumbled upon any, but then I haven't exactly been looking, either.16:40
len-dtastraljava, so perhaps start with a good strong desktop setup then.16:42
ailoAnother user asked for help on the us channel, but only waited for 4 min16:42
len-dtailo, even funnier is they came up under a name and changed it to guest before asking.16:43
ailopro graphics and video at least requires a decent graphic card, and also a monitor16:43
ailolen-dt: Yeah? Why do they do that?16:43
len-dtYes, but how does that chaneg any setting we would do?16:43
astraljavalen-dt: Let's talk about that sometimes, I have to go now, though.16:44
ailoI think both cpu and memory is used extensively, but more so, cpu16:44
ailoI mean, processing16:44
len-dtYa I figured.16:45
ailoI forget the word, when you for instance make a 3d scene into a movie, what do you call it?16:45
len-dtrendering?16:46
ailoThat kind of stuff can take a days to process16:46
ailoYeah, rendering16:46
len-dtsound like lots of swap.16:46
ailoFor graphics I think you want a fast cpu, and fast loading16:47
ailoWhen you're editing, you want things to move in the same pace as your thoughts16:47
ailoSame for video editing16:47
ailoDon't know if you require a lot of RAM16:48
ailoBut, people who do that a lot I'm sure know what hardware they need16:48
ailoEven though, like for audio, some do it low budget16:48
len-dtailo, I think it may be best to see what is needed in the windows world, what the problems are and how we can improve on that.16:49
len-dtThere may be more information around that way.16:49
ailoOne thing I've read is that people want to use linux for video and graphics, but feel they can't because they lack the software for it16:50
ailoI just recently read about lightworks having a linux version on the way, which would change things on the video side16:50
len-dtSo looking at a win/mac workflow and making sure we have that available and documented is worth while.16:51
len-dtIt is funny, I worked in the TV industry and have a good idea how mauch of this was done (80 to 85 ish) in analogue terms, but not a clue what people do these days.16:52
ailoMy dad said the same thing about cars. He grew up in his fathers shop16:53
ailoI'm going to install a minimal system on my usb drive and try use that to boot a netinstaller. Just wish I can disconnect it once the installation has started, so I don't need to install one machine at the time16:56
ailoGoing to install them over ssh. Should speed things up when you do 4 at the time16:56
ailolaterz16:56
len-dtailo, I realize you may not see this for a while, but wanted to say it before I forget...17:00
len-dtJust looking at the other machine that normally gives xrun/minute. and since I turned the internal audio IF off, that problem has gone.17:01
len-dtI mean turned the internal IF off in PA. 17:02
len-dtSo the PA-jack bridge allows PA to affect jack.17:02
ailolen-dt: That does make sense, even though one would not want the pa bridge to do anything if not activated19:54
ailoFinally got all my computers hooked up into the network. Now, I just need to get them installed19:55
ailoGoing to install basic debian servers on each computers, so I can easily install anything from local hard disk on each computer. Will transfer the images through ssh. This way, each new install won't be as painful. Would be great to automate the install even19:57
shnatselailo: there are tools for that in Debian for ages19:57
ailoshnatsel: Never tried it before19:58
ailoNever had to install on multiple computers19:58
shnatselailo: from basic "dpkg --get-selections > somefile" on one machine and restoring the same software configurations on others to fully automated installation of the system19:59
shnatselailo: google it then19:59
shnatselailo: image transfer is a very ugly way which is common because it's the only way to transfer Windows. It also works only between identical hardware configurations and only sometimes.20:00
ailoI'm talking about the installation media20:00
shnatseloh yes, there are tools for that too.20:01
shnatselseveral, in fact.20:01
shnatselpreseed is probably one of them20:01
ailoI was going to use tftp, but my gateway can't shut off dphcp, so I can never boot into the right one20:01
ailoI just looked up preseed20:01
ailoSounds like that might work for me20:02
shnatselpreseed is designed for such use cases AFAIR, though I've never used it20:02
ailoI was first thinking about installing through ssh, but even that is more work then needed20:02
shnatselI make Ubuntu LiveCD remasters for mass distribution and installation. Doesn't work quite well, installing on 15 machines was tedious.20:03
shnatselailo: try asking in some Debian channel, or googling. Google surely knows a lot of solutions.20:03
ailohttp://www.debian.org/releases/squeeze/i386/apb.html.enhttp://www.debian.org/releases/squeeze/i386/apb.html.en20:03
ailoThat was a strange paste20:04
shnatselyou mean http://www.debian.org/releases/squeeze/i386/apb.html.en20:04
ailoWell, there's a few options to go through, which means I have more work to do tomorrow20:11
ailoThat's all for me today. gn US20:11

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