Comments (5)
Do you have core clock boosting disabled (eg., "maximum CPU frequency" set to 99 instead of 100 in the Windows power settings)? Because if you don't, then these results aren't really real. If you do, though, holy cow - Ryzen eats i7/i9 for breakfast. There's no Intel core chip that I've ever seen that can hit 16b/c on Meow 0.5.
But sadly I would suspect this is just speed boosting at work.
Either way, though, great to see that AMD chips run Meow very fast!
- Casey
from meow_hash.
Do you have core clock boosting disabled (eg., "maximum CPU frequency" set to 99 instead of 100 in the Windows power settings)? Because if you don't, then these results aren't really real.
I had the windows power settings on best performance.
So I re-ran the benchmark with the 99% power, and i use the MSI mboard utility to monitor the CPU clocks while it was running. The clocks stayed at 3.2Ghz. The windows task manager was quoting values around 3.04 Ghz most of the time.
AMD say the base clock of the chip is 3.0 Ghz, and that it can turbo up to 3.7Ghz but i've never seen that. I am not doing any fancy overclock and am using the stock cooler that came with the processor. The MSI App says all the CPU cores are 3.2Ghz, so somehow that slightly above the base clock?
Either way, the result turned out pretty much the same.
from meow_hash.
This is really fascinating... I will have to get a Ryzen one of these days and investigate. Naively, this means that the AMDs scheduler (or port config?) doesn't have the limitation the i7/9 does that prevents them from hitting the theoretical maximum of 16 b/c. That's awesome. Actually I should go look and see if anyone has determined what the layout is for the Ryzens in terms of execution pipelines... maybe AES is a completely separate unit for them, or something.
(That said, I suppose if RDTSC was running at 3.0gHz and the core was at 3.2, that would still account for the inflated score...)
- Casey
from meow_hash.
(That said, I suppose if RDTSC was running at 3.0gHz and the core was at 3.2, that would still account for the inflated score...)
- Casey
So i was wondering about this 3.2Ghz thing and why i've never seen this CPU boost.
I downloaded CPU-Z https://www.cpuid.com/softwares/cpu-z.html and (under tools -> clocks), it was showing that some of the cores were turboing to the 3.7Ghz as described in the specs (even when the windows power was set to 99 as i did before). Neither Window10 or the motherboards own software was showing that this was happening.
So the internet says i disable "Core Performance Boost" in the bios to get rid of the turbo, so i did that and low and behold - all the cores are now showing as 3.0Ghz (the correct clock for the CPU), and CPU-Z was not showing any turbo while moew was running (this is with the windows max CPU power on 100% instead of 99% as it didnt seem to do anything).
So to sum up:
- Setting windows power to "best performce" stops the throttling
- Setting the bios to "Core Performance Disabled" stops the boosting
So i ran meow again with the new "no throttle/ no boost" settings, and these are the new results, a little different this time.
So looks like CPU-Z is the only way to reliably detect that turbo is happening, and all this explains why i never saw the CPU boost, and why i have a magic extra 0.2Ghz when the CPU is not overclocked.
I can now exit the rabbit hole.
from meow_hash.
OK that is actually what I was expecting :)
- Casey
from meow_hash.
Related Issues (20)
- Example program does not work on Windows HOT 9
- Use streaming construction to hash files HOT 2
- A Sun port i did on a whim, using the system compiler... HOT 3
- dotnet (c#) bindings HOT 1
- How deterministic is Meow hash? HOT 4
- 256-bit variants HOT 13
- Consider using -mavx rather than -mavx2 in build.sh's build of meow_bench HOT 1
- Inlining Failed HOT 4
- Errors in contributors links
- MeowU64From only returns the first 64 bytes of the hash HOT 4
- .NET Core 3.1 port. HOT 2
- _ReadWriteBarrier() deprecated HOT 2
- Make input parameters const?
- Buffer overflow when size is not a multiple of 16 (ASan). HOT 2
- Full 128-bit collision between two files HOT 15
- 0.6 candidate patterns HOT 4
- Meow 0.6 candidate functions HOT 4
- Compare against xxHash HOT 2
- Suggestion: API for runtime AES instruction check
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meow_hash.