Hans Wennborg
2013-Jun-06 16:04 UTC
[LLVMdev] [cfe-dev] [3.3 Release] 3.3rc3 Now Available
It's probably PR12517. Looking at the clang binary, it's got a /home/ dir in RPATH: $ objdump -p clang+llvm-3.3rc3-Ubuntu-12.04.2-x86_64/bin/clang | grep RPATH RPATH $ORIGIN/../lib:/home/aadgrand/tmp/LLVM-3.3rc3/rc3/Phase3/Release+Asserts/llvmCore-3.3-rc3.obj/Release+Asserts/bin This will slow things down if the system tries to automount /home/aadgrand. Maybe we should merge r182559 to the release branch? Or at least we should take care not to build it in a /home directory. - Hans On Thu, Jun 6, 2013 at 4:19 PM, Timur Iskhodzhanov <timurrrr at google.com> wrote:> Hi Bill, > > I was running some benchmarks and was surprised that the startup > performance of your binaries is much worse than the stable binaries > for 3.2 > > I've used: > http://llvm.org/releases/3.2/clang+llvm-3.2-x86_64-linux-ubuntu-12.04.tar.gz > vs > http://llvm.org/pre-releases/3.3/rc3/clang+llvm-3.3rc3-Ubuntu-12.04.2-x86_64.tar.gz > > On a simple hello.c file: > /ssd/bench$ TIMEFORMAT="%E" > /ssd/bench$ for I in `seq 1 5`; do \ > time /ssd/llvm3.2/bin/clang -c hello.c; \ > done > 0.015 > 0.014 > 0.013 > 0.013 > 0.013 > > /ssd/bench$ for I in `seq 1 5`; do \ > time /ssd/llvm3.3rc/bin/clang -c hello.c; \ > done > 0.992 > 0.978 > 0.982 > 0.981 > 0.976 > > Is this an expected behaviour (e.g. +Asserts or Debug build) > or a real regression? > > P.s. > I'm not very familiar with the Clang release process, so I might be > missing something obvious... > > -- > Thanks, > Timur Iskhodzhanov > > 2013/6/5 Bill Wendling <wendling at apple.com>: >> Hi LLVM-ites! >> >> We are doing a quick test of 3.3rc3. Our testers did a quick turn around and created binaries which you can test. Please give them a go and let us know how they work for you. They are here: >> >> http://llvm.org/pre-releases/3.3/rc3 >> >> We don't have a lot of time remaining in the release cycle, so please do whatever you can to make sure they are solid. In particular, make sure that they solve the PRs that were reported during the release (http://llvm.org/bugs/show_bug.cgi?id=15999). >> >> Share and enjoy! >> -bw
Arnaud A. de Grandmaison
2013-Jun-06 19:39 UTC
[LLVMdev] [cfe-dev] [3.3 Release] 3.3rc3 Now Available
On Thursday 06 June 2013 17:04:30 Hans Wennborg wrote:> It's probably PR12517. > > Looking at the clang binary, it's got a /home/ dir in RPATH: > > $ objdump -p clang+llvm-3.3rc3-Ubuntu-12.04.2-x86_64/bin/clang | grep RPATH > RPATH > $ORIGIN/../lib:/home/aadgrand/tmp/LLVM-3.3rc3/rc3/Phase3/Release+Asserts/llv > mCore-3.3-rc3.obj/Release+Asserts/bin > > This will slow things down if the system tries to automount /home/aadgrand. > > Maybe we should merge r182559 to the release branch? Or at least we > should take care not to build it in a /home directory.Interesting. I was not aware of this --- I will build the release somewhere else, in the hope it is not an automount point, which is very likely for /home. Cheers, -- Arnaud> > - Hans > > On Thu, Jun 6, 2013 at 4:19 PM, Timur Iskhodzhanov <timurrrr at google.com>wrote:> > Hi Bill, > > > > I was running some benchmarks and was surprised that the startup > > performance of your binaries is much worse than the stable binaries > > for 3.2 > > > > I've used: > > http://llvm.org/releases/3.2/clang+llvm-3.2-x86_64-linux-ubuntu-12.04.tar. > > gz vs > > http://llvm.org/pre-releases/3.3/rc3/clang+llvm-3.3rc3-Ubuntu-12.04.2-x86_ > > 64.tar.gz > > > > On a simple hello.c file: > > /ssd/bench$ TIMEFORMAT="%E" > > /ssd/bench$ for I in `seq 1 5`; do \ > > > > time /ssd/llvm3.2/bin/clang -c hello.c; \ > > done > > > > 0.015 > > 0.014 > > 0.013 > > 0.013 > > 0.013 > > > > /ssd/bench$ for I in `seq 1 5`; do \ > > > > time /ssd/llvm3.3rc/bin/clang -c hello.c; \ > > done > > > > 0.992 > > 0.978 > > 0.982 > > 0.981 > > 0.976 > > > > Is this an expected behaviour (e.g. +Asserts or Debug build) > > or a real regression? > > > > P.s. > > I'm not very familiar with the Clang release process, so I might be > > missing something obvious... > > > > -- > > Thanks, > > Timur Iskhodzhanov > > > > 2013/6/5 Bill Wendling <wendling at apple.com>: > >> Hi LLVM-ites! > >> > >> We are doing a quick test of 3.3rc3. Our testers did a quick turn aroundand created binaries which you can test. Please give them a go and let us know how they work for you. They are here:> >> http://llvm.org/pre-releases/3.3/rc3 > >> > >> We don't have a lot of time remaining in the release cycle, so please do > >> whatever you can to make sure they are solid. In particular, make sure > >> that they solve the PRs that were reported during the release > >> (http://llvm.org/bugs/show_bug.cgi?id=15999). > >> > >> Share and enjoy! > >> -bw > > _______________________________________________ > cfe-dev mailing list > cfe-dev at cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev-- Arnaud A. de Grandmaison
Bill Wendling
2013-Jun-07 10:51 UTC
[LLVMdev] [cfe-dev] [3.3 Release] 3.3rc3 Now Available
On Jun 6, 2013, at 9:04 AM, Hans Wennborg <hans at chromium.org> wrote:> It's probably PR12517. > > Looking at the clang binary, it's got a /home/ dir in RPATH: > > $ objdump -p clang+llvm-3.3rc3-Ubuntu-12.04.2-x86_64/bin/clang | grep RPATH > RPATH > $ORIGIN/../lib:/home/aadgrand/tmp/LLVM-3.3rc3/rc3/Phase3/Release+Asserts/llvmCore-3.3-rc3.obj/Release+Asserts/bin > > This will slow things down if the system tries to automount /home/aadgrand. > > Maybe we should merge r182559 to the release branch? Or at least we > should take care not to build it in a /home directory. >We won't be merging any more patches into the branch. We're basically done with it now. We just need to create the final binaries. The regression isn't expected, of course. I hope it's what Hans described... :) -bw> - Hans > > On Thu, Jun 6, 2013 at 4:19 PM, Timur Iskhodzhanov <timurrrr at google.com> wrote: >> Hi Bill, >> >> I was running some benchmarks and was surprised that the startup >> performance of your binaries is much worse than the stable binaries >> for 3.2 >> >> I've used: >> http://llvm.org/releases/3.2/clang+llvm-3.2-x86_64-linux-ubuntu-12.04.tar.gz >> vs >> http://llvm.org/pre-releases/3.3/rc3/clang+llvm-3.3rc3-Ubuntu-12.04.2-x86_64.tar.gz >> >> On a simple hello.c file: >> /ssd/bench$ TIMEFORMAT="%E" >> /ssd/bench$ for I in `seq 1 5`; do \ >> time /ssd/llvm3.2/bin/clang -c hello.c; \ >> done >> 0.015 >> 0.014 >> 0.013 >> 0.013 >> 0.013 >> >> /ssd/bench$ for I in `seq 1 5`; do \ >> time /ssd/llvm3.3rc/bin/clang -c hello.c; \ >> done >> 0.992 >> 0.978 >> 0.982 >> 0.981 >> 0.976 >> >> Is this an expected behaviour (e.g. +Asserts or Debug build) >> or a real regression? >> >> P.s. >> I'm not very familiar with the Clang release process, so I might be >> missing something obvious... >> >> -- >> Thanks, >> Timur Iskhodzhanov >> >> 2013/6/5 Bill Wendling <wendling at apple.com>: >>> Hi LLVM-ites! >>> >>> We are doing a quick test of 3.3rc3. Our testers did a quick turn around and created binaries which you can test. Please give them a go and let us know how they work for you. They are here: >>> >>> http://llvm.org/pre-releases/3.3/rc3 >>> >>> We don't have a lot of time remaining in the release cycle, so please do whatever you can to make sure they are solid. In particular, make sure that they solve the PRs that were reported during the release (http://llvm.org/bugs/show_bug.cgi?id=15999). >>> >>> Share and enjoy! >>> -bw
Reid Kleckner
2013-Jun-07 12:17 UTC
[LLVMdev] [cfe-dev] [3.3 Release] 3.3rc3 Now Available
I'm not sure I follow. Will the final binaries have a bad RPATH or not? A 1sec startup pause on some (admittedly crazy) systems seems like a big deal to me. On Fri, Jun 7, 2013 at 6:51 AM, Bill Wendling <wendling at apple.com> wrote:> On Jun 6, 2013, at 9:04 AM, Hans Wennborg <hans at chromium.org> wrote: > > > It's probably PR12517. > > > > Looking at the clang binary, it's got a /home/ dir in RPATH: > > > > $ objdump -p clang+llvm-3.3rc3-Ubuntu-12.04.2-x86_64/bin/clang | grep > RPATH > > RPATH > > > $ORIGIN/../lib:/home/aadgrand/tmp/LLVM-3.3rc3/rc3/Phase3/Release+Asserts/llvmCore-3.3-rc3.obj/Release+Asserts/bin > > > > This will slow things down if the system tries to automount > /home/aadgrand. > > > > Maybe we should merge r182559 to the release branch? Or at least we > > should take care not to build it in a /home directory. > > > We won't be merging any more patches into the branch. We're basically done > with it now. We just need to create the final binaries. > > The regression isn't expected, of course. I hope it's what Hans > described... :) > > -bw > > > > - Hans > > > > On Thu, Jun 6, 2013 at 4:19 PM, Timur Iskhodzhanov <timurrrr at google.com> > wrote: > >> Hi Bill, > >> > >> I was running some benchmarks and was surprised that the startup > >> performance of your binaries is much worse than the stable binaries > >> for 3.2 > >> > >> I've used: > >> > http://llvm.org/releases/3.2/clang+llvm-3.2-x86_64-linux-ubuntu-12.04.tar.gz > >> vs > >> > http://llvm.org/pre-releases/3.3/rc3/clang+llvm-3.3rc3-Ubuntu-12.04.2-x86_64.tar.gz > >> > >> On a simple hello.c file: > >> /ssd/bench$ TIMEFORMAT="%E" > >> /ssd/bench$ for I in `seq 1 5`; do \ > >> time /ssd/llvm3.2/bin/clang -c hello.c; \ > >> done > >> 0.015 > >> 0.014 > >> 0.013 > >> 0.013 > >> 0.013 > >> > >> /ssd/bench$ for I in `seq 1 5`; do \ > >> time /ssd/llvm3.3rc/bin/clang -c hello.c; \ > >> done > >> 0.992 > >> 0.978 > >> 0.982 > >> 0.981 > >> 0.976 > >> > >> Is this an expected behaviour (e.g. +Asserts or Debug build) > >> or a real regression? > >> > >> P.s. > >> I'm not very familiar with the Clang release process, so I might be > >> missing something obvious... > >> > >> -- > >> Thanks, > >> Timur Iskhodzhanov > >> > >> 2013/6/5 Bill Wendling <wendling at apple.com>: > >>> Hi LLVM-ites! > >>> > >>> We are doing a quick test of 3.3rc3. Our testers did a quick turn > around and created binaries which you can test. Please give them a go and > let us know how they work for you. They are here: > >>> > >>> http://llvm.org/pre-releases/3.3/rc3 > >>> > >>> We don't have a lot of time remaining in the release cycle, so please > do whatever you can to make sure they are solid. In particular, make sure > that they solve the PRs that were reported during the release ( > http://llvm.org/bugs/show_bug.cgi?id=15999). > >>> > >>> Share and enjoy! > >>> -bw > > _______________________________________________ > cfe-dev mailing list > cfe-dev at cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130607/737faab7/attachment.html>
Sylvestre Ledru
2013-Jun-07 12:58 UTC
[LLVMdev] [cfe-dev] [3.3 Release] 3.3rc3 Now Available
On 06/06/2013 18:04, Hans Wennborg wrote:> It's probably PR12517.> > Looking at the clang binary, it's got a /home/ dir in RPATH: > > $ objdump -p clang+llvm-3.3rc3-Ubuntu-12.04.2-x86_64/bin/clang | grepRPATH> RPATH >$ORIGIN/../lib:/home/aadgrand/tmp/LLVM-3.3rc3/rc3/Phase3/Release+Asserts/llvmCore-3.3-rc3.obj/Release+Asserts/bin To avoid such behavior [1] , in Debian and Ubuntu packages, I am doing: chrpath -d $(TARGET_BUILD)/Release/bin/clang chrpath -d `find $(CURDIR)/debian/tmp/usr/lib/llvm-$(LLVM_VERSION)/bin/ -type f -executable` Sylvestre [1] http://wiki.debian.org/RpathIssue
Reid Kleckner
2013-Jun-07 13:10 UTC
[LLVMdev] [cfe-dev] [3.3 Release] 3.3rc3 Now Available
Scrubbing it after the fact from the binary also works. On Fri, Jun 7, 2013 at 8:58 AM, Sylvestre Ledru <sylvestre at debian.org>wrote:> On 06/06/2013 18:04, Hans Wennborg wrote:> It's probably PR12517. > > > > Looking at the clang binary, it's got a /home/ dir in RPATH: > > > > $ objdump -p clang+llvm-3.3rc3-Ubuntu-12.04.2-x86_64/bin/clang | grep > RPATH > > RPATH > > > > $ORIGIN/../lib:/home/aadgrand/tmp/LLVM-3.3rc3/rc3/Phase3/Release+Asserts/llvmCore-3.3-rc3.obj/Release+Asserts/bin > To avoid such behavior [1] , in Debian and Ubuntu packages, I am doing: > > chrpath -d $(TARGET_BUILD)/Release/bin/clang > chrpath -d `find $(CURDIR)/debian/tmp/usr/lib/llvm-$(LLVM_VERSION)/bin/ > -type f -executable` > > Sylvestre > [1] http://wiki.debian.org/RpathIssue > > _______________________________________________ > cfe-dev mailing list > cfe-dev at cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130607/273375eb/attachment.html>
Apparently Analagous Threads
- [LLVMdev] [cfe-dev] [3.3 Release] 3.3rc3 Now Available
- [LLVMdev] [cfe-dev] [3.3 Release] 3.3rc3 Now Available
- [LLVMdev] [cfe-dev] [3.3 Release] 3.3rc3 Now Available
- [LLVMdev] [3.3 Release] 3.3rc3 Now Available
- [LLVMdev] [cfe-dev] [3.3 Release] 3.3rc3 Now Available