=== LordOfTime is now known as TheLordOfTime
=== slank is now known as slank_away
=== cpg|away is now known as cpg
=== rsalveti_ is now known as rsalveti
=== cpg is now known as cpg|away
=== cpg|away is now known as cpg
=== cpg is now known as cpg|away
=== cpg|away is now known as cpg
=== cpg is now known as cpg|away
=== superbot is now known as nerd
=== nerd is now known as superbot
=== cpg|away is now known as cpg
=== benonsoftware is now known as Benny
=== Benny is now known as Guest43293
=== tkamppeter__ is now known as tkamppeter
=== cpg is now known as cpg|away
Bluefoxicyecho "always" | sudo tee /sys/kernel/mm/transparent_hugepage/enabled15:00
Bluefoxicy^^^ anyone experimented with this?15:01
Bluefoxicyalso transparent_hugepage=always on the kernel command line does the same thing15:01
penguin42I've read of it but not tried - what are your experiences - I'm guessing somethings work well and some things go nuts?15:05
Bluefoxicyit's called 'transparent' for a reason.15:07
BluefoxicyRedhat says their worst-case benchmark is 2.5% faster with THP enabled15:07
Bluefoxicypenguin42: this is from 2.6.28 btw15:08
Bluefoxicyit's had time to mature.  :)  There were bugs in 2.6.28-rc1 that needed ironing out before release15:08
Bluefoxicyhaha what15:09
BluefoxicyTHP makes KVM 2.6x faster15:10
Bluefoxicyoh no, 20% faster ... it's 25% slower without THP in guest or host, but with EPT on (which is a different thing entirely) ... typical of RH, these graphs are deceptive and they are benching unrelated things.  (Embedded pagetables are AMD-V and VT-x)15:11
blamiwhich package contains keyboard layout indicator?15:19
melodieblami, several packages do contain it : http://packages.ubuntu.com/search?keywords=keyboard+layout+indicator&searchon=all&suite=all&section=all15:24
melodiechoose your's ? :)15:24
melodiehow can I get zram to be loaded and zram-config started in a customized live cd ?15:28
penguin42Bluefoxicy: Well I guess to some level they are attacking a similar problem; I think EPT makes pagetable wrangling cheaper/free, and THP just ends up using less of them15:28
melodieknowing that /etc/init.d/zram-config is a symlink to /lib/init/upstart-job ?15:29
melodiebut that it is not managed in the jobs-admin program, nor is is taken in account with a "systemctl start zram-config" launched in the chroot ?15:29
Bluefoxicypenguin42: i may be confusing NPT with EPT16:43
Bluefoxicymelodie:  i'm still confused as to why zram isn't the swap device on ubuntu16:43
Bluefoxicymelodie: https://github.com/bluefoxicy/zram-init16:48
BluefoxicyI don't have/didn't know about zram-config D:16:48
melodieBluefoxicy, I thank you I look16:53
Bluefoxicywhere did you get zram-config?16:53
melodiein Synaptic16:54
melodieI have a few questions : would your's replace zram-config ?16:54
melodiewould it be possible here: https://github.com/bluefoxicy/zram-init/blob/master/debian/etc/default/zswap to have 1/4 instead of 1/2 of the ram available for the block device ?16:55
melodiethis is the value I used to have, and which is better16:55
Bluefoxicyi have good luck with fairly large values16:56
BluefoxicyKiB Mem:  15747100 total, 15238172 used,   508928 free,   155688 buffers16:56
BluefoxicyKiB Swap:  7873520 total,   122220 used,  7751300 free,  7294676 cached16:56
Bluefoxicygranted i wrote this when I had 4096MB real RAM16:56
melodiethen in Archlinux which I also use, the script provided by the distro creates more than one block device when there are more than on cpu : I think it is a good idea, what do you think ?16:56
Bluefoxicythat one multithrads16:56
Bluefoxicysee line 99-11616:57
Bluefoxicylinux will spread swapouts across devices; zram takes 1 thread per device, so you get parallel compression16:57
Bluefoxicywhere did you get zram-config, what package?16:57
BluefoxicyIt's probably upstart-capable (mine isn't) and a better basis to start from for Ubuntu, adding any features it doesn't have (like cpu multi-thread awareness)16:58
melodiezram-config is from Universe16:58
melodieit is version 0.116:58
Bluefoxicyah ok16:59
Bluefoxicythat was simple16:59
melodiewhat I don't understand yet is how come I can't have it working in the live : for it to work in live, when booting to live I first need to load the zram module (modprobe) then I need to start zram-config : either with service start or with initctl start zram-config17:00
Bluefoxicymelodie: do you have zswap running right now?17:00
melodiehowever I had changed the two scripts which I found and contained indications about it (I did a large grep to find out that) : the files are :17:01
Bluefoxicyhttps://github.com/bluefoxicy/zram-init/blob/master/tools/zram_stat.sh this will show you how big compressed RAM is versus original size17:01
melodiewait a sec, I explain at once17:01
Bluefoxicyexcept it's buggy somehow17:01
melodieI think in the installed version it is ok, just I can't get it to work in the live17:01
Bluefoxicystill.  Seems to get down to about 25%-30% of original size on average (I've seen as high as 40%)17:01
melodiethe files I modified are this ones:17:02
Bluefoxicywhich is why I use a swap value of half as default17:02
Bluefoxicy2G takes up like 500-800MB of RAM tops, so you wind up with a 4G system that has 5.5G available17:02
melodieI think zram being created for low resource machines and embedded systems, low should be better, in order perhaps not to take too much on the cpu for compressing and uncompressing. then it is possible to create up to 4 block devices according to the case : and a good idea would be to have a zram.conf file in /etc, where the people can adapt the size for the block device and number block devices17:04
Bluefoxicyit only takes CPU for what's being compressed17:04
melodieI wonder if there is not one working like that in a debian spin...17:04
Bluefoxicyi.e. you can't really make the situation worse :P17:04
melodieBluefoxicy, I said perhaps, I was not sure17:05
Bluefoxicylike high-resource systems benefit a lot more from zswap than low-resource systems17:05
melodieaccording to the experience I have had with it, both is equally true17:05
melodiein the paste times I had created a spin with openbox and a few light programs of another distro, with less programms in it, just minimal, and one guy decided to try install it on a machine with 128 MB ram:17:06
melodienext thing, when we added zram, he was able to install it to the low ram machine without creating a swap file prior (the installer is a gui) whereas before he couldn't go without creating a swap file17:07
BluefoxicyI've been arguing this should be a default configuration for a decade17:07
melodieI do agree17:09
melodieI have sent a mail to nitin gupta once, on his mailing list and one was why is it still in the staging directory of the kernel tree, when it has been used for many years now and didn't find any trouble with it ? he said that it was mainly due to... his lazyness and lack of time !17:11
melodiehe also said something about a fellow module related to memory which was going to be replaced by another one on which zram would rely, but after looking for it in the new kernel versions, I never found this new version of the memory cache module17:12
melodieBluefoxicy, the problem I met with the zram-config from the repos might well be that it is an upstart job17:19
melodiein antix I had used a classic init script, this one:17:19
melodiepresented and tested formerly here : http://antix.freeforums.org/post25708.html#p2570817:20
melodieand that one was ok in the Live Antix when booted.17:20
melodieI am interested to know what you think about it ?17:20
Bluefoxicyon ubuntu, upstart jobs are superior17:21
Bluefoxicyfedora/rhel7 systemd, debian undecided but currently seems to use a dependency-based sysvinit?17:21
Bluefoxicygentoo is still ahead of its time even over a decade later, with named runlevels and dependency-based init.17:22
melodiedebian I am not sure, I think it might depend on which debian version and latest antix use Debian testing as repos but their own made core with added scripts in /usr/local/bin17:23
melodiegentoo leaves it's users free to use either or systemd or sysvinit17:23
melodieand Ubuntu precise still has both if I understand things : I can see in the /etc/init.d some scripts, and also some symlinks to upstart-jobs17:25
Bluefoxicysystemd is honestly a fantastic piece of software, but Canonical is the second coming of Redhat and will never get over their NIH17:25
melodiewhat is NIH ?17:26
melodiemy mother tongue is not English. :)17:26
Bluefoxicy(granted, bzr is fantastic and the whole world rushed to git because the first iteration of bzr was crap and the impression stuck)17:26
BluefoxicyNot Invented Here17:26
melodieoh, ok17:26
Bluefoxicyit's when a person or team makes their own stuff despite all alternatives and regardless of any merit or demand patterns.17:27
melodiewell whatever method, as long as we can get things going the way we would like them to...17:27
melodieit seems to me that Upstart was implemented before systemd came out ? or did I miss something ?17:28
Bluefoxicythe most blatant example is Redhat, especially in the case of Ulrich Drepper and the PT_GNU_HASH feature of gcc and glibc17:28
Bluefoxicyin which case, unable to actually come up with something better or just-as-good, after a discussion on a public mailing list Drepper re-posted Michael Meeks' patch with a few bits moved around, and claimed he wrote it from scratch, and that there was some discussion with Meeks but nothing came of that17:29
Bluefoxicy(Meeks posted a completely working patch with benchmarks and test examples; the whole thing was his idea and he wrote all the gcc and glibc code)17:29
melodieso he robbed the guy idea, but that is a "person" problem, ego and such ?17:30
BluefoxicyYeah I don't like redhat or their developers.17:30
penguin42well, eglibc/glibc has merged and I assume solved that problem17:30
penguin42Bluefoxicy: Most of them are OK17:31
melodieBluefoxicy, I think in all communities some people are better than others, I would not blame a community in particular17:31
melodiebetter techs as well as better persons as human beings caring for others17:32
Bluefoxicypenguin42: http://sourceware.org/ml/libc-alpha/2006-06/msg00095.html this is 'that problem'17:33
ubottusourceware.org bug 2006 in kprobes "Incorrect nmissed count for multiprobes" [Normal,Resolved: fixed]17:33
melodieBluefoxicy, about zram-config, I am still interested to find how to start it in live. have u had the time to look at the  files I pointed to a bit earlier ?17:36
Bluefoxicynah I've never built a live cd17:36
melodieand who would have knowledge about the way Casper works, and could help me ?17:37
melodiehi gilir17:38
melodieI am struggling with a few things in the project...17:39
gilirhi melodie17:39
melodieare you very busy now ?17:40
melodieBluefoxicy, ?19:06
melodieI just found out what caused zram not to be started in the Live in spite of the configurations I had done : do you want to know ? :)19:06
melodiea file in the initramfs-tools : initrd/scripts/init-top/compcache19:07
melodieit contains an instruction TO NOT load zram in Live CD's if the machine has 512 MB and above19:08
Bluefoxicywell that's silly.19:08
melodiethe comment says:19:08
Bluefoxicyzram doesn't do anything until something's swapped onto it.  It's a no-op until performance would start lagging out.19:09
melodieyes, it's strange... the maintainer of this package is the Ubuntu Kernel Team19:09
melodiewhile original maintainer used to be Debian kernel team19:09
melodieBluefoxicy, I agree with you.19:10
melodieI think I will comment this part out for the next test version I will do. by any hazard, is it likely that you might be interested in a spin easy to use with Openbox as main "desktop" ?19:11
Bluefoxicydon't need a new livecd here.  The only thing interesting to me in practice is automated install and slipstreaming updates.19:11
melodiewhat is slipstreaming ?19:13
Bluefoxicybuilding a release with all the updates run19:17
Bluefoxicyso it's up to date on install19:17
Bluefoxicythe install-then-patch cycle is silly19:17
melodieare you saying that you would update versions and republish updated versions ? Or do you mean something else ?19:18
Bluefoxicyrather have a script that regenerates the current ubuntu-desktop release CD with all packages from updates19:26
Bluefoxicythat way I can just pop out a CD ISO at will all up-to-date19:26
Bluefoxicy(honestly, I'd rather just have *the* build system the developers use to produce the release CDs, complete with example release file that produces the original release CD, with a configuration that can be modified to change packages and install them from other repos--particularly updates for up-to-date install media.  Also, preseed)19:28
Bluefoxicywhich is probably in the repo somewhere19:28
Bluefoxicyi just haven't found it yet.19:28
melodieBluefoxicy, if it is just to have an up to date version, a build script fit to customize an iso should be enough ?20:32
=== cpg|away is now known as cpg
=== cpg is now known as cpg|away
micahgis python-config --includes an upstreamable way of fixing the various python can't find headers issues or is there a better way?21:46
=== cpg|away is now known as cpg
=== Zilvador_ is now known as Zilvador
=== jasoncwarner_ is now known as jasoncwarner

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