Re: use MALLOC_PERTURB_ ... or lose

2010-05-08 Thread Alexander Boström
ons 2010-05-05 klockan 17:30 +0200 skrev Jim Meyering: > I propose (seriously, now) to add this to /etc/profile, > or to some always-sourced file like /etc/profile.d/glibc.sh: > > # Enable glibc's malloc perturbing feature in Rawhide. > # http://udrepper.livejournal.com/11429.html > r

Re: use MALLOC_PERTURB_ ... or lose

2010-05-06 Thread Roberto Ragusa
Peter Jones wrote: > Obsoletes is an awfully blunt instrument for this - it'd be a lot better to > make change the debug.sh (and its .csh friend) have a conditional+config to > decide whether to import the sysconfig bits based on either a) is this > rawhide, > and b) has the admin overridden "a" i

Re: use MALLOC_PERTURB_ ... or lose

2010-05-06 Thread Peter Jones
On 05/06/2010 12:41 PM, Garrett Holmstrom wrote: > On 5/6/2010 4:16, Thomas Spura wrote: >> Am Mittwoch, den 05.05.2010, 21:34 -0500 schrieb Eric Sandeen: >>> Matt McCutchen wrote: On Wed, 2010-05-05 at 16:51 -0400, Bill Nottingham wrote: > See the 'debugmode' package. Neat, I wa

Re: use MALLOC_PERTURB_ ... or lose

2010-05-06 Thread Garrett Holmstrom
On 5/6/2010 4:16, Thomas Spura wrote: > Am Mittwoch, den 05.05.2010, 21:34 -0500 schrieb Eric Sandeen: >> Matt McCutchen wrote: >>> On Wed, 2010-05-05 at 16:51 -0400, Bill Nottingham wrote: See the 'debugmode' package. >>> >>> Neat, I wasn't aware of that package. >> >> which is why I still li

Re: use MALLOC_PERTURB_ ... or lose

2010-05-06 Thread Thomas Spura
Am Mittwoch, den 05.05.2010, 21:34 -0500 schrieb Eric Sandeen: > Matt McCutchen wrote: > > On Wed, 2010-05-05 at 16:51 -0400, Bill Nottingham wrote: > >> Jim Meyering (j...@meyering.net) said: > >>> This is useful enough that it is worth considering for inclusion > >>> in /etc/profile. > >> See th

Re: use MALLOC_PERTURB_ ... or lose

2010-05-06 Thread Andreas Schwab
Jim Meyering writes: > Michal Schmidt wrote: >> Would export MALLOC_CHECK_=3 be a useful addition too? > > Does that impose much of a performance impact? > I haven't used it or measured it enough to know off hand. openSUSE Factory is setting it by default since several years (it gets disabled ag

Re: use MALLOC_PERTURB_ ... or lose

2010-05-05 Thread Eric Sandeen
Matt McCutchen wrote: > On Wed, 2010-05-05 at 16:51 -0400, Bill Nottingham wrote: >> Jim Meyering (j...@meyering.net) said: >>> This is useful enough that it is worth considering for inclusion >>> in /etc/profile. >> See the 'debugmode' package. > > Neat, I wasn't aware of that package. which is

Re: use MALLOC_PERTURB_ ... or lose

2010-05-05 Thread Matt McCutchen
On Wed, 2010-05-05 at 16:51 -0400, Bill Nottingham wrote: > Jim Meyering (j...@meyering.net) said: > > This is useful enough that it is worth considering for inclusion > > in /etc/profile. > > See the 'debugmode' package. Neat, I wasn't aware of that package. Turns out it's broken because the e

Re: use MALLOC_PERTURB_ ... or lose

2010-05-05 Thread Bill Nottingham
Jim Meyering (j...@meyering.net) said: > This is useful enough that it is worth considering for inclusion > in /etc/profile. See the 'debugmode' package. Bill -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel

Re: use MALLOC_PERTURB_ ... or lose

2010-05-05 Thread Thomas Spura
Am Mittwoch, den 05.05.2010, 13:54 -0400 schrieb Frank Ch. Eigler: > Jeff Spaleta writes: > > > [...] > >> Stating something like this clearly on login & install would be nice, > >> not just for this MALLOC_PERTURB_ change but in general. > > > > Doesn't this whole discussion about debugging vers

Re: use MALLOC_PERTURB_ ... or lose

2010-05-05 Thread Jeff Spaleta
On Wed, May 5, 2010 at 9:54 AM, Frank Ch. Eigler wrote: > Good point.  Clearly though one can't delay the setting of the final > release behaviors too long, or else *those* won't get tested. I'm not arguing about what that point should be. I'm just saying that this glib debugging stuff should syn

Re: use MALLOC_PERTURB_ ... or lose

2010-05-05 Thread Frank Ch. Eigler
Jeff Spaleta writes: > [...] >> Stating something like this clearly on login & install would be nice, >> not just for this MALLOC_PERTURB_ change but in general. > > Doesn't this whole discussion about debugging versus performance also > apply to F13 pre-release testing as well.. and not just raw

Re: use MALLOC_PERTURB_ ... or lose

2010-05-05 Thread Eric Sandeen
On 05/05/2010 12:42 PM, Jeff Spaleta wrote: > On Wed, May 5, 2010 at 9:28 AM, Eric Sandeen wrote: >> Agreed, I'm tired of (insert random benchmarking site) saying "OH NOES! >> Fedora got SLOWER AGAIN!" when it's really a lot of debug going on. >> >> Stating something like this clearly on login & i

Re: use MALLOC_PERTURB_ ... or lose

2010-05-05 Thread Jeff Spaleta
On Wed, May 5, 2010 at 9:28 AM, Eric Sandeen wrote: > Agreed, I'm tired of (insert random benchmarking site) saying "OH NOES! > Fedora got SLOWER AGAIN!" when it's really a lot of debug going on. > > Stating something like this clearly on login & install would be nice, > not just for this MALLOC_P

Re: use MALLOC_PERTURB_ ... or lose

2010-05-05 Thread Eric Sandeen
On 05/05/2010 12:21 PM, David Malcolm wrote: > On Wed, 2010-05-05 at 18:24 +0200, Michal Schmidt wrote: >> On Wed, 05 May 2010 17:30:29 +0200 Jim Meyering wrote: >>> I propose (seriously, now) to add this to /etc/profile, >>> or to some always-sourced file like /etc/profile.d/glibc.sh: >>> >>>

Re: use MALLOC_PERTURB_ ... or lose

2010-05-05 Thread David Malcolm
On Wed, 2010-05-05 at 18:24 +0200, Michal Schmidt wrote: > On Wed, 05 May 2010 17:30:29 +0200 Jim Meyering wrote: > > I propose (seriously, now) to add this to /etc/profile, > > or to some always-sourced file like /etc/profile.d/glibc.sh: > > > > # Enable glibc's malloc perturbing feature in R

Re: use MALLOC_PERTURB_ ... or lose

2010-05-05 Thread Jim Meyering
Michal Schmidt wrote: > On Wed, 05 May 2010 17:30:29 +0200 Jim Meyering wrote: >> I propose (seriously, now) to add this to /etc/profile, >> or to some always-sourced file like /etc/profile.d/glibc.sh: >> >> # Enable glibc's malloc perturbing feature in Rawhide. >> # http://udrepper.livejou

Re: use MALLOC_PERTURB_ ... or lose

2010-05-05 Thread Michal Schmidt
On Wed, 05 May 2010 17:30:29 +0200 Jim Meyering wrote: > I propose (seriously, now) to add this to /etc/profile, > or to some always-sourced file like /etc/profile.d/glibc.sh: > > # Enable glibc's malloc perturbing feature in Rawhide. > # http://udrepper.livejournal.com/11429.html > re

Re: use MALLOC_PERTURB_ ... or lose

2010-05-05 Thread Jim Meyering
H. Guémar wrote: >> This is useful enough that it is worth considering for inclusion > in /etc/profile. > > during development cycle: +1 > for stable/production release: not so much (users would hate us for that) It's definitely not suitable for everyone. My suggestion was intended to be provocati

Re: use MALLOC_PERTURB_ ... or lose

2010-05-05 Thread David Malcolm
On Wed, 2010-05-05 at 11:01 +0200, Jim Meyering wrote: > If you are into development on glibc-based systems > and do not set MALLOC_PERTURB_ to a nonzero value, then you > are missing an easy opportunity to detect subtle bugs early. > > Sure, you can use valgrind, and it will detect whatever a > M

Re: use MALLOC_PERTURB_ ... or lose

2010-05-05 Thread H . Guémar
> This is useful enough that it is worth considering for inclusion in /etc/profile. during development cycle: +1 for stable/production release: not so much (users would hate us for that) regards, H. -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/list

use MALLOC_PERTURB_ ... or lose

2010-05-05 Thread Jim Meyering
If you are into development on glibc-based systems and do not set MALLOC_PERTURB_ to a nonzero value, then you are missing an easy opportunity to detect subtle bugs early. Sure, you can use valgrind, and it will detect whatever a MALLOC_PERTURB_ setting would have caught, and more, but it's far mo