article thumbnail

Faster remainders when the divisor is a constant: beating compilers and libdivide

Daniel Lemire

I believe that all optimizing C/C++ compilers know how to pull this trick and it is generally beneficial irrespective of the processor’s architecture. We also published our benchmarks for research purposes. I make my benchmarking code available. The idea is not novel and goes back to at least 1973 (Jacobsohn).

C++ 279
article thumbnail

The Surprising Effectiveness of Non-Overlapping, Sensitivity-Based Performance Models

John McCalpin

The presentation discusses a family of simple performance models that I developed over the last 20 years — originally in support of processor and system design at SGI (1996-1999), IBM (1999-2005), and AMD (2006-2008), but more recently in support of system procurements at The Texas Advanced Computing Center (TACC) (2009-present).

Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

Web Performance Bookshelf

Rigor

Information Architecture. In her book, Lara Hogan helps you approach projects with page speed in mind, showing you how to test and benchmark which design choices are most critical. This book from 2002 is a brilliant must read: site architecture, security, reliability, and their impact on performance. Designing for Performance.

article thumbnail

Data Mining Problems in Retail

Highly Scalable

Besides that, the numbers can vary greatly depending on many factors, so our goal here is just to provide a few benchmarks that give some sense of the magnitude of potential improvements. Jain, 2005. RE94] Grouplens: an open architecture for collaborative filtering of netnews, P. van Ryzin, 2005. Jannach, M. Felfernig, G.

Retail 152