Click here to Skip to main content
15,887,083 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Wordle 960 Pin
OriginalGriff3-Feb-24 19:39
mveOriginalGriff3-Feb-24 19:39 
GeneralRe: Wordle 960 - 4 4 me Pin
pkfox3-Feb-24 20:53
professionalpkfox3-Feb-24 20:53 
GeneralRe: Wordle 960 Pin
GKP19923-Feb-24 21:52
professionalGKP19923-Feb-24 21:52 
GeneralRe: Wordle 960 Pin
Jeremy Falcon3-Feb-24 22:19
professionalJeremy Falcon3-Feb-24 22:19 
GeneralRe: Wordle 960 (3/6) Pin
Jeremy Falcon3-Feb-24 22:15
professionalJeremy Falcon3-Feb-24 22:15 
GeneralRe: Wordle 960 Pin
Sander Rossel4-Feb-24 4:22
professionalSander Rossel4-Feb-24 4:22 
GeneralRe: Wordle 960 Pin
Cp-Coder4-Feb-24 8:35
Cp-Coder4-Feb-24 8:35 
General.Net 8 Poor performance on AMD cpu Pin
Behzad Sedighzadeh3-Feb-24 9:31
Behzad Sedighzadeh3-Feb-24 9:31 
On paper AMD Ryzen 5900x has twice horsepower than Intel i5-12400, though in single thread applications, 12400 is lightly better. So we checked this fact by a very simple winform application ( Net 8 - VS 2022 ver. 17.8.4 ):

List<ListViewItem> lv = new List<ListViewItem>();
listView1.Items.Clear();

for (int i = 0; i < numericUpDown1.Value; i++)
{
    ListViewItem item = new ListViewItem(i.ToString("D8"));
    TestClass t = new TestClass(i);
    item.Tag = t;
    item.SubItems.Add(t.ID.ToString("D8"));
    item.SubItems.Add(t.ID2.ToString("D8"));
    item.SubItems.Add(t.ID3.ToString("D8"));
    item.SubItems.Add(t.ID4.ToString("D8"));
    lv.Add(item);
}

listView1.BeginUpdate();
listView1.Items.AddRange(lv.ToArray());
listView1.EndUpdate();

With
numericUpDown1.Value= 1_000_000


10 times benchmark, Intel cpu completed the task on average in 18 seconds.
AMD cpu never completed the task below 60 seconds.

Intel cpu setup:
Win11 in VirtualBox with 6 cores
16 GB RAM
ADATA NVME 2.0 disk

AMD cpu setup:
bare metal Win11
48 GB RAM
SAMSUNG NVME 2.0 disk.

What's wrong with AMD cpu? Who should we blame on issue: MS or AMD?
Any idea?

P.S.: I'm a hardcore fan of AMD.
Behzad

GeneralRe: .Net 8 Poor performance on AMD cpu Pin
Mike Hankey3-Feb-24 9:45
mveMike Hankey3-Feb-24 9:45 
GeneralRe: .Net 8 Poor performance on AMD cpu Pin
honey the codewitch3-Feb-24 12:08
mvahoney the codewitch3-Feb-24 12:08 
GeneralRe: .Net 8 Poor performance on AMD cpu Pin
Graeme_Grant3-Feb-24 14:16
mvaGraeme_Grant3-Feb-24 14:16 
GeneralRe: .Net 8 Poor performance on AMD cpu Pin
jmaida3-Feb-24 14:45
jmaida3-Feb-24 14:45 
GeneralRe: .Net 8 Poor performance on AMD cpu Pin
Gerry Schmitz3-Feb-24 15:36
mveGerry Schmitz3-Feb-24 15:36 
GeneralRe: .Net 8 Poor performance on AMD cpu Pin
jmaida3-Feb-24 17:29
jmaida3-Feb-24 17:29 
GeneralRe: .Net 8 Poor performance on AMD cpu Pin
jochance5-Feb-24 8:44
jochance5-Feb-24 8:44 
GeneralSerendipity! Pin
honey the codewitch3-Feb-24 5:33
mvahoney the codewitch3-Feb-24 5:33 
GeneralRe: Serendipity! Pin
PIEBALDconsult3-Feb-24 5:43
mvePIEBALDconsult3-Feb-24 5:43 
GeneralRe: Serendipity! Pin
Marc Clifton4-Feb-24 3:45
mvaMarc Clifton4-Feb-24 3:45 
GeneralRe: Serendipity! Pin
Gerry Schmitz3-Feb-24 15:47
mveGerry Schmitz3-Feb-24 15:47 
GeneralRe: Serendipity! Pin
jochance5-Feb-24 8:52
jochance5-Feb-24 8:52 
GeneralRe: Serendipity! Pin
honey the codewitch5-Feb-24 9:03
mvahoney the codewitch5-Feb-24 9:03 
GeneralStrange questions from a nitpicker ... ;p Pin
0x01AA3-Feb-24 4:58
mve0x01AA3-Feb-24 4:58 
GeneralRe: Strange questions from a nitpicker ... ;p Pin
PIEBALDconsult3-Feb-24 5:24
mvePIEBALDconsult3-Feb-24 5:24 
GeneralRe: Strange questions from a nitpicker ... ;p Pin
0x01AA3-Feb-24 5:59
mve0x01AA3-Feb-24 5:59 
GeneralRe: Strange questions from a nitpicker ... ;p Pin
PIEBALDconsult3-Feb-24 6:05
mvePIEBALDconsult3-Feb-24 6:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.