Show core counts graphs and properly update device's rack and dc on cache update

http://ralph.allegrogroup.com/buildbot/builders/unittest-ralph-deshipu/builds/127