[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: VIRT_ADDR_VARIES
From: |
Paul Eggert |
Subject: |
Re: VIRT_ADDR_VARIES |
Date: |
Tue, 08 Nov 2011 09:34:57 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0 |
On 11/08/11 00:56, Andreas Schwab wrote:
> Paul Eggert <address@hidden> writes:
>
>> Compiling without VIRT_ADDR_VARIES speeds up aset by 44% on my host
>
> I cannot reproduce that. The difference I get is lost in the noise.
This appears to be weirdness on my end -- my host gives reproducible
results when I use those executables, but when I build them again
I get results showing that VIRT_ADDR_VARIES speeds things up, which
can't be right. I'll try to get to the bottom of this but
for now please ignore my claim about measurable performance difference.
>> Sorry, I don't know the context. What's the bug here?
>
> $ valgrind src/temacs
> [...]
> Segmentation fault
Is that a segmentation fault in valgrind itself, or in temacs?
I don't see why running temacs under valgrind would affect
VIRT_ADDR_VARIES; surely valgrind doesn't change the pure array's
address.
But you're right: if setting VIRT_ADDR_VARIES has no measurable
performance difference and if it lets people debug better, that's
a pretty strong argument for having it always on.
- VIRT_ADDR_VARIES, Andreas Schwab, 2011/11/06
- Re: VIRT_ADDR_VARIES, Paul Eggert, 2011/11/06
- Re: VIRT_ADDR_VARIES, Andreas Schwab, 2011/11/07
- Re: VIRT_ADDR_VARIES, Paul Eggert, 2011/11/07
- Re: VIRT_ADDR_VARIES, Andreas Schwab, 2011/11/08
- Re: VIRT_ADDR_VARIES,
Paul Eggert <=
- Re: VIRT_ADDR_VARIES, Andreas Schwab, 2011/11/08
- Re: VIRT_ADDR_VARIES, Paul Eggert, 2011/11/08
- Re: VIRT_ADDR_VARIES, Andreas Schwab, 2011/11/08
- Re: VIRT_ADDR_VARIES, Paul Eggert, 2011/11/09
- Re: VIRT_ADDR_VARIES, Andreas Schwab, 2011/11/09
- Re: VIRT_ADDR_VARIES, Paul Eggert, 2011/11/10
- Re: VIRT_ADDR_VARIES, Andreas Schwab, 2011/11/10
- Re: VIRT_ADDR_VARIES, Paul Eggert, 2011/11/10
- Re: VIRT_ADDR_VARIES, Eli Zaretskii, 2011/11/10
- Re: VIRT_ADDR_VARIES, Andreas Schwab, 2011/11/10