Sign In
Forgot Password?
Sign In | | Create Account

Reduce your embedded design compile times with Sourcery CodeBench

The latest 2013.05 release of Sourcery CodeBench has several new enhancements, one of which is the availability of the compile cache feature (currently available on Linux hosts).

Some of you may already be familiar with the “ccache” utility that is available in the open-source community and can be used along with gcc. The Mentor Embedded team has made improvements upon this utility also making it available to all users of Sourcery CodeBench.

In our benchmarks, compile times have reduced by as much as half (speed-up factor of 2)! Of course, performance gains are dependent on factors such as design type, machine configurations etc. The table below is an example of one of the benchmarks, compiling the binutils (GNU binary utilities) source. With default gcc, the compile time is 454 secs but with Sourcery CodeBench and the new caching feature, this drops to 207 secs!

After enabling the compile cache feature, the very first time a design is compiled, the run time is slightly longer than usual as caching is performed and information is stored. However, during the second compile, runtimes fall dramatically as the cached data is now reused. Compile speed-ups of up to 2.187x were achieved in this benchmark.

Another new capability in this release is the Customer Experience Improvement Program. Through this program, you can help make Sourcery CodeBench better by sharing selective information about your compile runs with us. No source code is ever shared. Only profile-type information such as project options, hashes of source, configuration info etc. are collected. We would appreciate as many users to participate in this program as possible. There are multiple ways to opt-in and opt-in/opt-out can be done anytime.

Have you tried out this new compile cache feature in Sourcery CodeBench? We would love to hear about your experience. Interested in trying this feature but do not have a license? Download a free 30-day trial of Sourcery CodeBench.

ccache, CEIP, binutils, GCC, compile cache, compiler

More Blog Posts

About Anil Khanna Follow on Twitter

Anil KhannaI am part of the marketing organization in the Embedded Software Division here at Mentor. Before this I spent 10 years marketing Mentor's hardware design products, specifically in the RTL and high-level synthesis domains. Moving from addressing the requirements of hardware designers to those of software designers has been quite the change. Throw in open-source and you have a heady mix - which keeps me on my toes! Outside of work, I enjoy spending time with my family, reading a good book or the occasional round of golf (in the few hours of sunshine we get in Portland!). I hope you find my thoughts interesting and look forward to your comments. Visit Embedded Blog

More Posts by Anil Khanna

Comments

No one has commented yet on this post. Be the first to comment below.

Add Your Comment

Please complete the following information to comment or sign in.

(Your email will not be published)

Archives

 
Online Chat