Right now for a cs program assignment, I have to write up a report regarding different ADTs. While running the time tests, I noticed that linkedlists are VERY VERY VERY slow on AMD cpus.
The dataset is 125000 integer inserts, and 125000 integer deletes in same order.
School's P4 or P3(not sure of speed): 87s.
My Athlon XP Barton(2.2ghz): 247s.
My friend's Athlon 64 (2ghz): 112s. <- Improvment, yay!
My Pentium M laptop(1.6ghz): 68s.
125000 integer inserts and 125000 random deletions.
School's P4(not sure of speed): 76s.
My Athlon XP Barton(2.2ghz): 169s
My Pentium M laptop(1.6ghz): 37s.
The difference here is huge. I remember this also greatly affects cursor lists, but each run is quite long so don't want to test it right now.
The compiled program that does the testing is not optimized in any way. Optimizing with /O2 /G7 /arch:SSE offers no real benefit to the AMDs at 240s and 165s, while drastically cutting runtime on the Pentium M 1.6 ghz down to 41s & 25s respectively.
I suppose this could probably have to do with the chipset and not necessarily the cpu since the laptop is using an Intel chipset and the school computers probably are as well.
The dataset is 125000 integer inserts, and 125000 integer deletes in same order.
School's P4 or P3(not sure of speed): 87s.
My Athlon XP Barton(2.2ghz): 247s.
My friend's Athlon 64 (2ghz): 112s. <- Improvment, yay!
My Pentium M laptop(1.6ghz): 68s.
125000 integer inserts and 125000 random deletions.
School's P4(not sure of speed): 76s.
My Athlon XP Barton(2.2ghz): 169s
My Pentium M laptop(1.6ghz): 37s.
The difference here is huge. I remember this also greatly affects cursor lists, but each run is quite long so don't want to test it right now.
The compiled program that does the testing is not optimized in any way. Optimizing with /O2 /G7 /arch:SSE offers no real benefit to the AMDs at 240s and 165s, while drastically cutting runtime on the Pentium M 1.6 ghz down to 41s & 25s respectively.
I suppose this could probably have to do with the chipset and not necessarily the cpu since the laptop is using an Intel chipset and the school computers probably are as well.