- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Performance comparison between Core i7-6900k and @Core i9-9900x using the following C ++ code.
Source code:
void Function (BYTE * pdst, BYTE * psrc, BYTE dbit, BYTE sbit, int width, int height)
{
INT_PTR i;
INT_PTR size;
size = (INT_PTR) width * height;
for (i = 0; i <size; i)
{
if (* (psrc i) & sbit)
* (pdst i) | = dbit;
}
}
Compiler: VisualStudio 2010 64bit
result:
PC1: i7-6900k Measurement value: 125ms
PC2: i9-9900x Measurement value: 225ms
Although PC2 has higher CPU specifications, it takes longer than PC1 and I am wondering. Why does it look like this?
Thank you.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Was this test done using the same motherboard, with the same memory and peripherals for both processors?
Doc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your reply.
It is also different from motherboard, GPU and memory.
PC1: X99-E / WS NVIDIA1080 DDR4-2400 16GBx8
PC2: WS X299 PRO SAGE NVIDIA2080s DDR4-2666 16GBx8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Well, I would not support such a comparison, unless on identical platforms.
You can compare the two processors here:
https://ark.intel.com/content/www/us/en/ark/compare.html?productIds=189124,94196
Doc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The memory and the supported chipset are different between i7-6900k and i9-9900x, so the motherboard and memory are different, right? The same environment is impossible in the first place.
I guess that the two CPUs handle the code differently, but I want to know the clear difference.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
if the chipsets and memory and motherboard are different, you are comparing apples and oranges.
That is the clear difference at this point.
Find a motherboard that supports both prcessors and test.
Doc
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page