ABXZone Computer  Forums



Welcome to the ABXZone Computer Forums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Reply
 
LinkBack Thread Tools Display Modes
Old 10-30-2007, 05:19 PM   #1
Registered User
 
Join Date: Dec 2006
Posts: 106
Memory bandwidth tests... any real differences (PC5300 vs. PC8888)


Common sense tell you that higher memory bandwidth should mean faster results, right? I set out to put this thought to the test looking at just two different memory dividers on my o/c'ed Q6600 system. At a FSB of 333 MHz, the slowest and fastest dividers I could run are:

1:1 a.k.a. PC5300 (667 MHz)
3:5 a.k.a. PC8888 (1,111 MHz)



Just for reference, as they relate to DDR2 memory:
Code:
PC4300=533 MHz PC5300=667 MHz PC6400=800 MHz PC7100=900 MHz PC8000=1,000 MHz PC8500=1,066 MHz PC8888=1,111 MHz PC10600=1,333 MHz
The highest divider is 1:2 aka PC10600 (1,333 MHz) and it just wasn't stable with my hardware @ 333 MHz.

All other BIOS settings were held constant:
FSB = 333.34 MHz and multiplier = 9.0 which gives an overall core rate of 3.0 GHz.
DRAM voltage was 2.25V and timings were 5-5-5-15-4-30-10-10-10-11.

You can think of memory bandwidth as the diameter (size) of your memory's pipe. Quite often, the pipe's diameter isn't the bottle neck for a modern Intel-based system; it is usually much larger than the information flow to/from the processor. Think of it this way, if you can only flush your toilet twice per minute, it doesn't matter if the drain pipe connecting your home to the sewer is 3 inches around, or 8 inches around, or 18 inches around: the rate limiting step in removing water from your home is the toilet flushing/recycling and the pull of gravity, not the size of your drain line. The same is true for memory bandwidth.

After seeing the data I generated on a quad core @ 3.0 GHz, I concluded that this toilet analogy is pretty true: the higher memory bandwidth gave more or less no appreciable difference for real world applications. Shocked? I was.

Further, I should point out that in order for my system to run stable in PC8888 mode @ a FSB of 333, I had to boost my NB vcore two notches and raise my ICH to the max (both of which the BIOS colored red meaning "high risk.") The increased voltage means more heat production, and greater power consumption -- not worth it for small gains realized in my opinion. Anyway, the test details and results are below if you want to read on.



Relevant test hardware:

Motherboard: Asus P5B-Deluxe (BIOS 1215)
CPU: Intel C2Q - Q6600 (B3 revision)
Memory: Ballistix DDR2-1066 (PC2-8500)

"Real-World" Application Based Tests

I chose the following apps: lameenc, x264, winrar, and the trial version of Photohop CS3. I ran these tests on a freshly installed Windows XP Pro SP2 machine.

Lame version 3.97 – Encoded the same test file (about 60 MB wav) with these commandline options:
Code:
lame -V 2 --vbr-new test.wav
(which is equivalent to the old –-alt-preset fast standard) a total of 8 times and averaged play/CPU data as the benchmark.

x264 version 0.55.663 – Ran a 2-pass encode on the same MPEG-2 (720x480 DVD source) file 5 times totally and averaged the results. Without getting into too much detail, the benchmark is 1,749 frames @ 23 fps. Based on these numbers, I reported the time it would take to encode 215,784 frames (which is your average 2.5 h of video @ 23 fps). Why did I do this? The differences of just 1,749 frames were too insignificant.

Shameless promotion --> you can read more about the x264 Benchmark at this URL which contains results for hundreds of systems. You can also download the benchmark and test your own machine.

RAR version 3.62 – rar.exe ran my standard backup batch file which generated about 1.09 G of rars (1,654 files totally). Here is the commandline used:
Code:
rar a -u -m0 -md2048 -v51200 -rv5 -msjpg;mp3;tif;avi;zip;rar;gpg;jpg "E:\Backups\Backup.rar" @list.txt
where list.txt a list of all the dirs I want it to back up. Benchmark results are an average of two runs timed with a stopwatch.

Trial of Photoshop CS3 – The batch function in PSCS3 was used to do three things to a total of twenty-nine, 10.1 MP jpeg files:

1) bicubic resize 10.1 MP to 2.2 MP (3872x2592 --> 1800x1200) which is the perfect size for a 4x6 print @ 300 dpi.
2) unsharpen mask filter (60 %, 0.8 px radius, threshold 12)
3) saved the resulting files as a quality 8 jpg.

Benchmark results are an average of two runs timed with a stopwatch.

"Synthetic" Application Based Tests

Just two of these were chosen to illustrate a point about theoretical gains vs. real world gains. Actually, I did SuperPI for the hell of it. WinRAR served to illustrate that point.

SuperPI / mod1.5 XS – The 16M test was run twice, and the average of the two are the benchmark.

WinRAR version 3.62 – If you hit alt-B in WinRAR, it'll run a synthetic benchmark. This was run twice (stopped after 100 MB) and is the average of two runs.

Raw Data - "Real-World" Apps
Lameenc play/cpu (average 8 runs) @ PC5300: 30.7935
Lameenc play/cpu (average 8 runs) @ PC8888: 30.8045
Result: PC8888 is 0.5 % faster

x264 time to encode 2.5 h DVD @ PC5300: 01:48:54
x264 time to encode 2.5 h DVD @ PC8888: 01:46:14
Result: PC8888 is 2.5 % faster

rar.exe back-up (average 2 runs) @ PC5300: 45 sec
rar.exe back-up (average 2 runs) @ PC8888: 44 sec
Result: PC8888 is 2.2 % faster

Photoshop CS3 Trial batch (average 2 runs) @ PC5300: 33 sec
Photoshop CS3 Trial batch (average 2 runs) @ PC8888: 33 sec
Result: PC8888 is 0.0 % faster

So stop right here and ask yourself if a 2-3 % gain is worth the higher voltage and heat.

Raw Data - "Synthetic" Apps

SuperPI/16M test (average 2 runs) @ PC5300: 8 m 8.546 s
SuperPI/16M test (average 2 runs) @ PC8888: 7 m 33.328 s
Result: PC8888 is 7.8 % faster

Winrar internal benchmark (average 2 runs) @ PC5300: 1,515 KB/s
Winrar internal benchmark (average 2 runs) @ PC8888: 2,079 KB/s
Result: PC8888 is 37.2 % faster

...but who uses their system exclusively running internal and synthetic benchmarks? Recall that for my 1.09 gig back up, I only gained about 2 % doing "real work" by using the higher divider. Hardrives are notorious bottle-necks in systems that serve to nullify any memory bandwidth increases. In this case the 37 % theoretical increase was translated into only a 2 % "real world" increase likely due to the hardrive/rar's ability to read/write the data. Again, this seems kinda wasteful to me.

I will admit that there might be special cases where running at high memory dividers may produce more substantial gains: apps such as folding@home or seti@home, etc. may benefit from the higher memory bandwidth since they tend to make exclusive use of the system memory bandwidth and rely much less on the hardrive. I have no data to back-up this though. Also lacking in my experiments are any game data. I'd be interested in knowing if the higher bandwidth can be leveraged by game engines such as UT3, Crysis, etc. but I also didn't look at these here.

Finally, since I held everything else constant, I didn't look at the tighter timings in 1:1 mode that people can often use which may give additional gains. For example, I can get away with 3-3-3-9 @ 1:1 vs. the slower 5-5-5-15 @ 3:5 with this memory.

Anyway, I hope you found this useful and maybe this will inspire someone else to look at the gaps pointed out above (and the gaps I haven't thought of too!)

__________________
http://encoding.n3.net <--- for all your DVD and audio CD backup needs!

333417.png[/img][/url]

Last edited by graysky : 10-31-2007 at 04:16 AM.
(Offline)   Reply With Quote
Old 10-30-2007, 05:46 PM   #2
Remembering TQ
 
k0NG0's Avatar
 
Join Date: Mar 2001
Location: Sweden
Posts: 13,627
Re: Memory bandwidth tests... any real differences (PC4300 vs. PC7100)

Use a RAM-disk and place any benchmark files on that if you want to isolate memory performance and remove some of the HDD noise.

If your process involves a lot of disk activity, it's patently obvious memory performance will matter little since disk accesses are at least an order of magnitude slower than raw memory accesses.

Games try to solve that problem by pre-loading stuff into memory, which is why loading a new level can take quite some time. It's not doing anything fancy calculation-wise, it's just the disk being dog slow.
__________________

Use Firefox - "the one that blocks all the schmutz"
Feeling multicore elation? Remember this correlation: Amdahl's Law.
(Offline)   Reply With Quote
Old 10-30-2007, 07:27 PM   #3
Registered User
 
Join Date: Dec 2006
Posts: 106
Re: Memory bandwidth tests... any real differences (PC4300 vs. PC7100)

I just tested the RAMdisk idea and the numbers are nearly identical (x264 and lameenc).
__________________
http://encoding.n3.net <--- for all your DVD and audio CD backup needs!

333417.png[/img][/url]
(Offline)   Reply With Quote
Old 10-30-2007, 08:04 PM   #4
Remembering TQ
 
k0NG0's Avatar
 
Join Date: Mar 2001
Location: Sweden
Posts: 13,627
Re: Memory bandwidth tests... any real differences (PC4300 vs. PC7100)

Makes sense. A 60MB .wav file is read from disk in a couple of seconds tops. Encode a file consisting of a full album (700MB) and I expect there will be a noticeable difference.
__________________

Use Firefox - "the one that blocks all the schmutz"
Feeling multicore elation? Remember this correlation: Amdahl's Law.
(Offline)   Reply With Quote
Old 10-30-2007, 08:21 PM   #5
TQ
You gonna throw that?
 
TQ's Avatar
 
Join Date: Mar 2001
Location: Austin, TX
Posts: 8,442
Re: Memory bandwidth tests... any real differences (PC4300 vs. PC7100)

Quote:
Originally Posted by k0NG0 View Post
dog slow.
Tell that to my German Short Hair Pointer "Halo"..that girl is anything but "dog slow".
Attached Images
File Type: jpg Halo_2.jpg (438.5 KB, 6 views)
__________________
Create in me a pure heart, O God, and renew a steadfast spirit within me - Psalm 51:10

My goal in life is to be as good of a person as my dogs already think I am...

Daywalker Studio:
Software: Adobe Audition 3.0/Pro Tools LE 7.4/Acid Pro 6.0/Multiple VST, DirectX and RTAS plugins/Kontakt 3 Sampler/Windows XP Professional
PC Hardware: D975XBX2-504/E6600/4x2GB Mushkin XP2-6400/eVGA 800GTX/HP f1905 19" flat panel/Echo Audio Gina24 Sound Card/2 Maxtor 6B300SO's/1 Maxtor STM500AS/1 Western Digital WD2500JD/PleXwriter Premium/Plextor 716A/Samsung LightScribe DVD burner/Logitech Revolution MX/Antec P-180b/PPC&C Silencer 610/Zalman CNPS9500 HSF
Recording Hardware: Mbox 2 Factory Pro/Mackie SR24.4VLZ Pro Console/M-Audio Axiom 25 MIDI Controller/Audio-Technica 4033a microphone/Symetrix 528E/PreSonus Eureka/Mackie MR8 active monitors

Game Machine: Gigabyte GA-X48-DQ6/E8400/4x2GB Mushkin XP2-8500/BFG GTX280/HP f2105 21" flat panel/Creative Labs X-Fi Elite Pro/Maxtor 6H500F0/Maxtor STM3320/Western Digital WD4000KD/Plextor 760A/Toshiba DVD-ROM/Zalman CNPS9700/Antec P-180/PPC&C Silencer 610/Ideazon Merc Stealth keyboard/Vista Business64 SP1
(Offline)   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Powered by vBulletin® Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.1
vBulletin Skin developed by: vBStyles.com