From ingvar at redpill-linpro.com Mon Nov 9 11:23:41 2009 From: ingvar at redpill-linpro.com (Ingvar Hagelund) Date: Mon, 09 Nov 2009 12:23:41 +0100 Subject: patching jemalloc for linux Message-ID: <4AF7FBBD.7060701@redpill-linpro.com> Hello, Jason. I sent a similar mail 2009-06-05. I guess you are busy on other projects, but I dare bothering you anyway :-) You may know the varnish project, where Poul-Henning Kamp is the main developer. I maintain varnish in Fedora. Some time ago, I asked you about some strangeness on RHEL5/ppc64. Now for another case of strange architectures. I got a Fedora bug because varnish does not compile on s390x, which is a secondary supported arch in Fedora. The problem is that the version of jemalloc that we use is missing the necessary ifdefs to work on s390x. So I made the patch attached, and phk pointed at you. I don't know much about the s390* platform family, but I got from one of the Fedora s390x maintainers that the pointer size is 8 bytes, and that 'getconf PAGESIZE' returns 4096. So, does the patch make sense? And by the way, is there an upstream project of jemalloc? Update: Added a similar patch for sparc. Same question. Regards, Ingvar Hagelund -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: varnish.s390x_pagesize.patch URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: varnish.sparc_pagesize.patch URL: From des at des.no Mon Nov 9 12:19:10 2009 From: des at des.no (=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=) Date: Mon, 09 Nov 2009 13:19:10 +0100 Subject: patching jemalloc for linux In-Reply-To: <4AF7FBBD.7060701@redpill-linpro.com> (Ingvar Hagelund's message of "Mon, 09 Nov 2009 12:23:41 +0100") References: <4AF7FBBD.7060701@redpill-linpro.com> Message-ID: <864op3ki0x.fsf@ds4.des.no> Ingvar Hagelund writes: > [jemalloc portability] You should start by taking a look at Mozilla's version of jemalloc; they might already have fixed these issues. DES -- Dag-Erling Sm?rgrav - des at des.no From ingvar at redpill-linpro.com Tue Nov 10 10:12:10 2009 From: ingvar at redpill-linpro.com (Ingvar Hagelund) Date: Tue, 10 Nov 2009 11:12:10 +0100 Subject: RPM-packages of varnish-2.0.5 for RHEL and Fedora available Message-ID: <4AF93C7A.2000300@redpill-linpro.com> I have submitted varnish-2.0.5 for Fedora and Fedora EPEL, and updates to the stable releases will be requested, so they will trickle down to the stable repos in a few weeks. For RHEL, both el4 and el5 packages are now in the EPEL testing repo. For those who are too impatient to wait for stable, or want to participate in testing, you can download the package with yum: rhel5# yum --enablerepo=epel-testing update varnish ... or download the package from RedHat: http://download.fedora.redhat.com/pub/epel/testing/ Fedora packages are still pending for testing, but will be visible in a few days, I guess. If you need packages for Fedora now, try http://kojipkgs.fedoraproject.org/packages/varnish/ Bugs in the package can be reported in Red Hat's Bugzilla: http://bugzilla.redhat.com/ or to varnish-dist at projects.linpro.no. Ingvar From ingvar at redpill-linpro.com Tue Nov 10 10:28:04 2009 From: ingvar at redpill-linpro.com (Ingvar Hagelund) Date: Tue, 10 Nov 2009 11:28:04 +0100 Subject: RPM-packages of varnish-2.0.5 for RHEL and Fedora available Message-ID: <4AF94034.4050900@redpill-linpro.com> I have submitted varnish-2.0.5 for Fedora and Fedora EPEL, and updates to the stable releases will be requested, so they will trickle down to the stable repos in a few weeks. For RHEL, both el4 and el5 packages are now in the EPEL testing repo. For those who are too impatient to wait for stable, or want to participate in testing, you can download the package with yum: rhel5# yum --enablerepo=epel-testing update varnish ... or download the package from RedHat: http://download.fedora.redhat.com/pub/epel/testing/ Fedora packages are still pending for testing, but will be visible in a few days, I guess. If you need packages for Fedora now, try http://kojipkgs.fedoraproject.org/packages/varnish/ Bugs in the package can be reported in Red Hat's Bugzilla: http://bugzilla.redhat.com/ or to varnish-dist at projects.linpro.no. Ingvar From ssm at debian.org Tue Nov 10 11:33:34 2009 From: ssm at debian.org (Stig Sandbeck Mathisen) Date: Tue, 10 Nov 2009 12:33:34 +0100 Subject: deb packages of varnish 2.0.5 available Message-ID: <7xd43qpqb5.fsf@fsck.linpro.no> Varnish 2.0.5 is now available in Debian "unstable". Barring any further uploads, the package is expected to be available in the "testing" repository in 10 days. To check the status of the package, visit http://packages.qa.debian.org/v/varnish.html -- Stig Sandbeck Mathisen From ingvar at redpill-linpro.com Thu Nov 19 11:57:01 2009 From: ingvar at redpill-linpro.com (Ingvar Hagelund) Date: Thu, 19 Nov 2009 12:57:01 +0100 Subject: RPM-packages of varnish-2.0.5 for RHEL and Fedora available In-Reply-To: <4AF94034.4050900@redpill-linpro.com> References: <4AF94034.4050900@redpill-linpro.com> Message-ID: <4B05328D.9070909@redpill-linpro.com> * Ingvar Hagelund > I have submitted varnish-2.0.5 for Fedora and Fedora EPEL, and updates > to the stable releases will be requested, so they will trickle down to > the stable repos in a few weeks. > varnish-2.0.5-1 is now available in all the stable releases of fedora (10, 11, 12). Ingvar From jasone at canonware.com Mon Nov 9 23:35:07 2009 From: jasone at canonware.com (Jason Evans) Date: Mon, 09 Nov 2009 23:35:07 -0000 Subject: patching jemalloc for linux In-Reply-To: <4AF7FBBD.7060701@redpill-linpro.com> References: <4AF7FBBD.7060701@redpill-linpro.com> Message-ID: <4AF8A71D.3040608@canonware.com> Ingvar Hagelund wrote: > I sent a similar mail 2009-06-05. I guess you are busy on other > projects, but I dare bothering you anyway :-) Yeah, I was finishing up school, so I was ignoring pretty much everything else at the time. Thanks for your patience. > [patches] > > And by the way, is there an upstream project of jemalloc? The patches look fine, and I integrated the relevant portions to the stand-alone jemalloc repository I've started maintaining: http://canonware.com/cgi-bin/hg_jemalloc The code is currently specific to Linux, but I may integrate support for other platforms over time. Thanks, Jason