José Fonseca
2011-Mar-24 14:23 UTC
[LLVMdev] Prevent unbounded memory consuption of long lived JIT processes
On 03/16/2011 03:39 PM, Jakob Stoklund Olesen wrote:> On Mar 16, 2011, at 6:19 AM, José Fonseca wrote: > > >> On Tue, 2011-03-15 at 20:29 -0700, Jakob Stoklund Olesen wrote: >> >>> On Mar 15, 2011, at 4:15 PM, jfonseca at vmware.com wrote: >>> >>> >>>> This series of patches address several issues causing memory usage to grow >>>> indefinetely on a long lived process. >>>> >>> Thanks for working on this. >>> >>> Did you measure the performance impact of these changes? >>> >> I tracked performance with this change with X86 JIT and there was no >> measurable difference, but the performance was governed more by the >> quality of the compiled code, and not so much the compilation time. >> >> If you can point me to a good compilation time benchmark I can get some >> figures. >> > I normally use 403.gcc, but if you don't have SPEC sources, these tests in the nightly test suite take a while to compile: > > MultiSource/Applications/ClamAV > MultiSource/Applications/JM/ldecod > MultiSource/Applications/JM/lencod > MultiSource/Applications/SPASS > MultiSource/Applications/kimwitu++/kc > MultiSource/Applications/sqlite3/sqlite3 > > If you run 'make TEST=nightly', both llc and opt compile times are interesting. The runtime of opt is cryptically reported in the GCCAS column. > > /jakob > >Jakob, Thanks for the detailed instructions. I've finally got around to build and run the nightly tests, with and without my changes, and times on the GCCAS column vary a few percent on both directions. That is, whatever effect my change has is lost in noise. I'm going to re-submit my patches to llvm-commits. Jose
Jakob Stoklund Olesen
2011-Mar-24 15:30 UTC
[LLVMdev] Prevent unbounded memory consuption of long lived JIT processes
On Mar 24, 2011, at 7:23 AM, José Fonseca wrote:>>> >> I normally use 403.gcc, but if you don't have SPEC sources, these tests in the nightly test suite take a while to compile: >> >> MultiSource/Applications/ClamAV >> MultiSource/Applications/JM/ldecod >> MultiSource/Applications/JM/lencod >> MultiSource/Applications/SPASS >> MultiSource/Applications/kimwitu++/kc >> MultiSource/Applications/sqlite3/sqlite3 >> >> If you run 'make TEST=nightly', both llc and opt compile times are interesting. The runtime of opt is cryptically reported in the GCCAS column.> I've finally got around to build and run the nightly tests, with and without my changes, and times on the GCCAS column vary a few percent on both directions. That is, whatever effect my change has is lost in noise.Sounds good. Thanks for doing this.> I'm going to re-submit my patches to llvm-commits.Please do. /jakob -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110324/1f2cc4db/attachment.html>
José Fonseca
2011-Mar-30 15:37 UTC
[LLVMdev] Prevent unbounded memory consuption of long lived JIT processes
On 03/24/2011 03:30 PM, Jakob Stoklund Olesen wrote:> > On Mar 24, 2011, at 7:23 AM, José Fonseca wrote: >>>> >>> I normally use 403.gcc, but if you don't have SPEC sources, these >>> tests in the nightly test suite take a while to compile: >>> >>> MultiSource/Applications/ClamAV >>> MultiSource/Applications/JM/ldecod >>> MultiSource/Applications/JM/lencod >>> MultiSource/Applications/SPASS >>> MultiSource/Applications/kimwitu++/kc >>> MultiSource/Applications/sqlite3/sqlite3 >>> >>> If you run 'make TEST=nightly', both llc and opt compile times are >>> interesting. The runtime of opt is cryptically reported in the GCCAS >>> column. > >> I've finally got around to build and run the nightly tests, with and >> without my changes, and times on the GCCAS column vary a few percent >> on both directions. That is, whatever effect my change has is lost in >> noise. > > Sounds good. Thanks for doing this. > >> I'm going to re-submit my patches to llvm-commits. > > Please do. >Done some time ago, but I don't think they got submitted yet. Is it better to fill in a bug report? Jose -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110330/7cccfa0c/attachment.html>
Seemingly Similar Threads
- [LLVMdev] Prevent unbounded memory consuption of long lived JIT processes
- [LLVMdev] Prevent unbounded memory consuption of long lived JIT processes
- [LLVMdev] Prevent unbounded memory consuption of long lived JIT processes
- [LLVMdev] Prevent unbounded memory consuption of long lived JIT processes
- [LLVMdev] Exception handling slowdown?