=== 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 [13:58] hello [15:00] echo "always" | sudo tee /sys/kernel/mm/transparent_hugepage/enabled [15:01] ^^^ anyone experimented with this? [15:01] also transparent_hugepage=always on the kernel command line does the same thing [15:05] I've read of it but not tried - what are your experiences - I'm guessing somethings work well and some things go nuts? [15:07] it's called 'transparent' for a reason. [15:07] Redhat says their worst-case benchmark is 2.5% faster with THP enabled [15:07] http://www.linux-kvm.org/wiki/images/9/9e/2010-forum-thp.pdf [15:08] penguin42: this is from 2.6.28 btw [15:08] it's had time to mature. :) There were bugs in 2.6.28-rc1 that needed ironing out before release [15:09] haha what [15:10] THP makes KVM 2.6x faster [15:11] oh 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:19] which package contains keyboard layout indicator? [15:24] blami, several packages do contain it : http://packages.ubuntu.com/search?keywords=keyboard+layout+indicator&searchon=all&suite=all§ion=all [15:24] choose your's ? :) [15:28] how can I get zram to be loaded and zram-config started in a customized live cd ? [15:28] Bluefoxicy: 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 them [15:29] knowing that /etc/init.d/zram-config is a symlink to /lib/init/upstart-job ? [15:29] but 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 ? [16:43] penguin42: i may be confusing NPT with EPT [16:43] melodie: i'm still confused as to why zram isn't the swap device on ubuntu [16:48] melodie: https://github.com/bluefoxicy/zram-init [16:48] I don't have/didn't know about zram-config D: [16:53] Bluefoxicy, I thank you I look [16:53] where did you get zram-config? [16:54] in Synaptic [16:54] I have a few questions : would your's replace zram-config ? [16:55] would 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] this is the value I used to have, and which is better [16:55] yeah [16:56] https://github.com/bluefoxicy/zram-init/blob/master/debian/etc/init.d/zswap [16:56] i have good luck with fairly large values [16:56] KiB Mem: 15747100 total, 15238172 used, 508928 free, 155688 buffers [16:56] KiB Swap: 7873520 total, 122220 used, 7751300 free, 7294676 cached [16:56] granted i wrote this when I had 4096MB real RAM [16:56] then 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] that one multithrads [16:57] see line 99-116 [16:57] linux will spread swapouts across devices; zram takes 1 thread per device, so you get parallel compression [16:57] where did you get zram-config, what package? [16:58] It'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] zram-config is from Universe [16:58] it is version 0.1 [16:59] ah ok [16:59] that was simple [17:00] what 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-config [17:00] melodie: do you have zswap running right now? [17:01] however 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] https://github.com/bluefoxicy/zram-init/blob/master/tools/zram_stat.sh this will show you how big compressed RAM is versus original size [17:01] wait a sec, I explain at once [17:01] except it's buggy somehow [17:01] I think in the installed version it is ok, just I can't get it to work in the live [17:01] still. Seems to get down to about 25%-30% of original size on average (I've seen as high as 40%) [17:02] the files I modified are this ones: [17:02] which is why I use a swap value of half as default [17:02] http://meets.free.fr/debian/configurations/OBUbuntu-Zram-live.tar.xz [17:02] 2G takes up like 500-800MB of RAM tops, so you wind up with a 4G system that has 5.5G available [17:04] I 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 devices [17:04] it only takes CPU for what's being compressed [17:04] I wonder if there is not one working like that in a debian spin... [17:04] i.e. you can't really make the situation worse :P [17:05] Bluefoxicy, I said perhaps, I was not sure [17:05] like high-resource systems benefit a lot more from zswap than low-resource systems [17:05] according to the experience I have had with it, both is equally true [17:06] in 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:07] next 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 file [17:07] yeah [17:07] I've been arguing this should be a default configuration for a decade [17:09] I do agree [17:11] I 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:12] he 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 module [17:19] Bluefoxicy, the problem I met with the zram-config from the repos might well be that it is an upstart job [17:19] in antix I had used a classic init script, this one: [17:19] http://pastebin.com/FALaHEXU [17:20] presented and tested formerly here : http://antix.freeforums.org/post25708.html#p25708 [17:20] and that one was ok in the Live Antix when booted. [17:20] I am interested to know what you think about it ? [17:21] on ubuntu, upstart jobs are superior [17:21] fedora/rhel7 systemd, debian undecided but currently seems to use a dependency-based sysvinit? [17:22] gentoo is still ahead of its time even over a decade later, with named runlevels and dependency-based init. [17:23] debian 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/bin [17:23] gentoo leaves it's users free to use either or systemd or sysvinit [17:25] and 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-jobs [17:25] systemd is honestly a fantastic piece of software, but Canonical is the second coming of Redhat and will never get over their NIH [17:26] what is NIH ? [17:26] my mother tongue is not English. :) [17:26] (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] Not Invented Here [17:26] oh, ok [17:27] it's when a person or team makes their own stuff despite all alternatives and regardless of any merit or demand patterns. [17:27] well whatever method, as long as we can get things going the way we would like them to... [17:28] it seems to me that Upstart was implemented before systemd came out ? or did I miss something ? [17:28] the most blatant example is Redhat, especially in the case of Ulrich Drepper and the PT_GNU_HASH feature of gcc and glibc [17:29] ? [17:29] in 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 that [17:29] (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:30] so he robbed the guy idea, but that is a "person" problem, ego and such ? [17:30] Yeah I don't like redhat or their developers. [17:30] well, eglibc/glibc has merged and I assume solved that problem [17:31] Bluefoxicy: Most of them are OK [17:31] Bluefoxicy, I think in all communities some people are better than others, I would not blame a community in particular [17:32] better techs as well as better persons as human beings caring for others [17:33] penguin42: http://sourceware.org/ml/libc-alpha/2006-06/msg00095.html this is 'that problem' [17:33] sourceware.org bug 2006 in kprobes "Incorrect nmissed count for multiprobes" [Normal,Resolved: fixed] [17:34] lol [17:34] anyway [17:36] Bluefoxicy, 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] nah I've never built a live cd [17:37] and who would have knowledge about the way Casper works, and could help me ? [17:38] hi gilir [17:39] I am struggling with a few things in the project... [17:39] hi melodie [17:39] :) [17:40] are you very busy now ? [19:06] Bluefoxicy, ? [19:06] I 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:07] sure [19:07] a file in the initramfs-tools : initrd/scripts/init-top/compcache [19:08] it contains an instruction TO NOT load zram in Live CD's if the machine has 512 MB and above [19:08] well that's silly. [19:08] the comment says: [19:09] zram doesn't do anything until something's swapped onto it. It's a no-op until performance would start lagging out. [19:09] yes, it's strange... the maintainer of this package is the Ubuntu Kernel Team [19:09] while original maintainer used to be Debian kernel team [19:10] Bluefoxicy, I agree with you. [19:11] I 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] gnome-shell [19:11] ok [19:11] don't need a new livecd here. The only thing interesting to me in practice is automated install and slipstreaming updates. [19:13] what is slipstreaming ? [19:17] building a release with all the updates run [19:17] so it's up to date on install [19:17] the install-then-patch cycle is silly [19:18] are you saying that you would update versions and republish updated versions ? Or do you mean something else ? [19:26] rather have a script that regenerates the current ubuntu-desktop release CD with all packages from updates [19:26] that way I can just pop out a CD ISO at will all up-to-date [19:28] (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] which is probably in the repo somewhere [19:28] i just haven't found it yet. [20:32] Bluefoxicy, if it is just to have an up to date version, a build script fit to customize an iso should be enough ? === cpg|away is now known as cpg === cpg is now known as cpg|away [21:46] is python-config --includes an upstreamable way of fixing the various python can't find headers issues or is there a better way? === cpg|away is now known as cpg === Zilvador_ is now known as Zilvador === jasoncwarner_ is now known as jasoncwarner