April 20th, 2010

Welcome to my new Blog Home

Category: Personal
Fallback Featured Image

Welcome to my new Blog Home!

And for those of you who made it, this quick tidbit.
Everybody in the JVM business optimizes for long arraycopys/memcpy.
You can get peak bandwidth on machines with a decently long memcpy.
It’s easy enough to do and arraycopy and memcpy are called a lot.
But what about short arraycopies?  How often do we call System.arraycopy with small numbers?
In a run of JBB2000 (yah, the old one – I happen to have numbers handy for it), how many times a second is System.arraycopy called?  Yes, the answer obviously depends on your score.  Lets assume your score is middlin’-high – say 1,000,000 BOPs/sec.
Did you guess 30million times/sec?  That’s 30 calls to System.arraycopy per BOP on average.
Now, how many bytes are moved on average?   – 42.5
That’s less than an x86 cache-line.
Getting a good score on JBB (and on many many benchmarks) depends on getting the overhead of short arraycopies reduced as much as possible.  Yes, in the end you need to do well on the rare 1Megabyte array copy… but it’s more important to copy those first few bytes with as little overhead as possible.
Cliff
PS – We’re working on the RSS feed

Leave a Reply

H2O.ai Automatic Machine Learning on Red Hat OpenShift Container Platform Delivers Data Science Ease and Flexibility at Scale

Last week at Red Hat Summit in Boston, Sri Ambati, CEO and Founder, demonstrated how

May 14, 2019 - by Vinod Iyengar
6 Tips to Having it All

I posted this blog on Medium two years ago, thought I'd share a slight rework

May 12, 2019 - by Ingrid Burton
AI/ML Projects — Don’t get stymied in the last mile

Data Scientists build AI/ML models from data, and then deploy it to production – in

May 3, 2019 - by Karthik Guruswamy
Hortifrut uses AI to Determine the Freshness of Blueberries

Who doesn’t love sweet, delicious blueberries? Providing a steady supply of beautiful, tasty berries to the

May 2, 2019 - by Ingrid Burton
Fallback Featured Image
Can Your Machine Learning Model Be Hacked?!

I recently published a longer piece on security vulnerabilities and potential defenses for machine learning

May 2, 2019 - by Patrick Hall
Fallback Featured Image
H2O Driverless AI Updates

We are excited to announce the new release of H2O Driverless AI with lots of improved

April 25, 2019 - by Venkatesh Yadav, VP Customer Success

Join the AI Revolution

Subscribe, read the documentation, download or contact us.

Subscribe to the Newsletter

Start Your 21-Day Free Trial Today

Get It Now
Desktop img