View previous topic :: View next topic |
Author |
Message |
MickKi Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 08 Feb 2004 Posts: 1179
|
Posted: Fri Aug 05, 2005 5:30 pm Post subject: Optimum SDRAM memory timings in BIOS [SOLVED] |
|
|
Hi All,
I have an old PIII which runs a 256Mb 168Pin DIMM PC100 SDRAM Non-Parity CL2 stick in the first slot, along with a 64Mb stick in the second slot. The third memory slot is empty.
The BIOS has the following memory timing settings as a default:
Bank 0/1 DRAM Timing: SDRAM 10ns
Bank 2/3 DRAM Timing: SDRAM 10ns
Bank 3/4 DRAM Timing: SDRAM 10ns
All available settings are:
SDRAM 8ns
SDRAM 10ns
SDRAM NORMAL
SDRAM MEDIUM
SDRAM FAST
SDRAM TURBO
I have tried different settings but I can't say with any degree of confidence which one is the best setting in terms of speed and stability (it seems that I experience the occassional X crash irrespective of memory timing).
Would you know how I can determine the optimum memory timing setting? What are you running on your mobo?
PS. Mobo Jetway 993AN, with VT82C693A/694x [Apollo PRO133x] chipset and Pentium III (Coppermine) CPU. _________________ Regards,
Mick
Last edited by MickKi on Mon Aug 08, 2005 5:46 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
RiBBiT Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1571422394428b03ef9c15f.jpg)
Joined: 18 May 2005 Posts: 215 Location: Sweden
|
Posted: Fri Aug 05, 2005 9:50 pm Post subject: |
|
|
Well, one would presume that TURBO is the fastest?
Anyway, to test the stability of your RAM use memtest86+. I believe it comes with the Gentoo Universal Live CD as well. _________________ Comix - GTK Comic Book Viewer [ http://comix.sourceforge.net ] |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MickKi Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 08 Feb 2004 Posts: 1179
|
Posted: Fri Aug 05, 2005 10:15 pm Post subject: |
|
|
Of course memtest86. Forgot about it - it also shows time . . . _________________ Regards,
Mick |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MickKi Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 08 Feb 2004 Posts: 1179
|
Posted: Sat Aug 06, 2005 8:55 am Post subject: |
|
|
Hmm, tried memtest86+ for 10 minutes on each timing setting (upto test 3) but there is no difference between settings. They all take 09:15 to complete the first three tests.
Anything else I could try? _________________ Regards,
Mick |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Stolz Moderator
![Moderator Moderator](/images/ranks/rank-mod.gif)
![](images/avatars/526465974367e35259deb.jpg)
Joined: 19 Oct 2003 Posts: 3028 Location: Hong Kong
|
Posted: Sat Aug 06, 2005 10:52 am Post subject: |
|
|
The lowest timings you set, the better performance you get, but always maintaining save values.
and... How can you know what values are save? Using memtest86+ or mprime .
But 10 minutes is definitively too sort. You should run Memtest at least for 2 or 3 hours in order to check the memory stability. (mprime tests the stability of the wole system, not only the memory)
Also note memtest86+ is only for testing the stability, not the performance. If you want to see the difference between high and low memory timings, you can
- compile something or
- run Code: | # openssl speed rsa |
- or calculate the PI-number: ftp://pi.super-computing.org/Linux/
but runing such programs could be a PITA with such old computer
If your BIOS doesn't show you the memory timings, you can use Memtest to read them. I.E, see this pic: http://www.memtest.org/pics/i875-big.gif The timings are those wich are after the word CAS: (2.5-2-2-5)
Hope ir helps. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MickKi Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 08 Feb 2004 Posts: 1179
|
Posted: Sat Aug 06, 2005 5:22 pm Post subject: |
|
|
Thanks! I ran the openssl command you suggested and these are the results. They are relatively close to each other and not one of them is 'best' in all measurements.
10ns: Code: | Doing 512 bit private rsa's for 10s: 4078 512 bit private RSA's in 9.97s
Doing 512 bit public rsa's for 10s: 45761 512 bit public RSA's in 9.98s
Doing 1024 bit private rsa's for 10s: 850 1024 bit private RSA's in 9.98s
Doing 1024 bit public rsa's for 10s: 16079 1024 bit public RSA's in 9.97s
Doing 2048 bit private rsa's for 10s: 144 2048 bit private RSA's in 10.02s
Doing 2048 bit public rsa's for 10s: 4917 2048 bit public RSA's in 9.98s
Doing 4096 bit private rsa's for 10s: 22 4096 bit private RSA's in 10.20s
Doing 4096 bit public rsa's for 10s: 1420 4096 bit public RSA's in 9.98s
OpenSSL 0.9.7e 25 Oct 2004
built on: Mon May 2 11:35:43 GMT 2005
options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) aes(partial)
idea(int) blowfish(idx)
compiler: i686-pc-linux-gnu-gcc -fPIC -DOPENSSL_THREADS -D_REENTRANT
-DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -Wall -O2
-march=pentium3 -fomit-frame-pointer -pipe -Wa,--noexecstack -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM
available timing options: TIMES TIMEB HZ=100 [sysconf value]
timing function used: times
sign verify sign/s verify/s
rsa 512 bits 0.0024s 0.0002s 409.0 4585.3
rsa 1024 bits 0.0117s 0.0006s 85.2 1612.7
rsa 2048 bits 0.0696s 0.0020s 14.4 492.7
rsa 4096 bits 0.4636s 0.0070s 2.2 142.3[/b] |
8ns: Code: | Doing 512 bit private rsa's for 10s: 4170 512 bit private RSA's in 9.98s
Doing 512 bit public rsa's for 10s: 45769 512 bit public RSA's in 9.97s
Doing 1024 bit private rsa's for 10s: 850 1024 bit private RSA's in 9.98s
Doing 1024 bit public rsa's for 10s: 16172 1024 bit public RSA's in 9.98s
Doing 2048 bit private rsa's for 10s: 144 2048 bit private RSA's in 10.01s
Doing 2048 bit public rsa's for 10s: 4921 2048 bit public RSA's in 9.97s
Doing 4096 bit private rsa's for 10s: 22 4096 bit private RSA's in 10.20s
Doing 4096 bit public rsa's for 10s: 1419 4096 bit public RSA's in 9.98s
OpenSSL 0.9.7e 25 Oct 2004
built on: Mon May 2 11:35:43 GMT 2005
options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) aes(partial)
idea(int) blowfish(idx)
compiler: i686-pc-linux-gnu-gcc -fPIC -DOPENSSL_THREADS -D_REENTRANT
-DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -Wall -O2
-march=pentium3 -fomit-frame-pointer -pipe -Wa,--noexecstack -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM
available timing options: TIMES TIMEB HZ=100 [sysconf value]
timing function used: times
sign verify sign/s verify/s
rsa 512 bits 0.0024s 0.0002s 417.8 4590.7
rsa 1024 bits 0.0117s 0.0006s 85.2 1620.4
rsa 2048 bits 0.0695s 0.0020s 14.4 493.6
rsa 4096 bits 0.4636s 0.0070s 2.2 142.2 |
NORMAL: Code: | Doing 512 bit private rsa's for 10s: 4174 512 bit private RSA's in 9.98s
Doing 512 bit public rsa's for 10s: 46011 512 bit public RSA's in 9.98s
Doing 1024 bit private rsa's for 10s: 850 1024 bit private RSA's in 9.98s
Doing 1024 bit public rsa's for 10s: 16087 1024 bit public RSA's in 9.98s
Doing 2048 bit private rsa's for 10s: 144 2048 bit private RSA's in 10.01s
Doing 2048 bit public rsa's for 10s: 4931 2048 bit public RSA's in 9.98s
Doing 4096 bit private rsa's for 10s: 22 4096 bit private RSA's in 10.20s
Doing 4096 bit public rsa's for 10s: 1422 4096 bit public RSA's in 9.97s
OpenSSL 0.9.7e 25 Oct 2004
built on: Mon May 2 11:35:43 GMT 2005
options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) aes(partial)
idea(int) blowfish(idx)
compiler: i686-pc-linux-gnu-gcc -fPIC -DOPENSSL_THREADS -D_REENTRANT
-DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -Wall -O2
-march=pentium3 -fomit-frame-pointer -pipe -Wa,--noexecstack -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM
available timing options: TIMES TIMEB HZ=100 [sysconf value]
timing function used: times
sign verify sign/s verify/s
rsa 512 bits 0.0024s 0.0002s 418.2 4610.3
rsa 1024 bits 0.0117s 0.0006s 85.2 1611.9
rsa 2048 bits 0.0695s 0.0020s 14.4 494.1
rsa 4096 bits 0.4636s 0.0070s 2.2 142.6 |
MEDIUM: Code: | Doing 512 bit private rsa's for 10s: 4166 512 bit private RSA's in 9.98s
Doing 512 bit public rsa's for 10s: 45571 512 bit public RSA's in 9.97s
Doing 1024 bit private rsa's for 10s: 849 1024 bit private RSA's in 9.98s
Doing 1024 bit public rsa's for 10s: 16156 1024 bit public RSA's in 9.97s
Doing 2048 bit private rsa's for 10s: 144 2048 bit private RSA's in 10.04s
Doing 2048 bit public rsa's for 10s: 4911 2048 bit public RSA's in 9.97s
Doing 4096 bit private rsa's for 10s: 22 4096 bit private RSA's in 10.20s
Doing 4096 bit public rsa's for 10s: 1417 4096 bit public RSA's in 9.97s
OpenSSL 0.9.7e 25 Oct 2004
built on: Mon May 2 11:35:43 GMT 2005
options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) aes(partial)
idea(int) blowfish(idx)
compiler: i686-pc-linux-gnu-gcc -fPIC -DOPENSSL_THREADS -D_REENTRANT
-DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -Wall -O2
-march=pentium3 -fomit-frame-pointer -pipe -Wa,--noexecstack -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM
available timing options: TIMES TIMEB HZ=100 [sysconf value]
timing function used: times
sign verify sign/s verify/s
rsa 512 bits 0.0024s 0.0002s 417.4 4570.8
rsa 1024 bits 0.0118s 0.0006s 85.1 1620.5
rsa 2048 bits 0.0697s 0.0020s 14.3 492.6
rsa 4096 bits 0.4636s 0.0070s 2.2 142.1 |
FAST: Code: | Doing 512 bit private rsa's for 10s: 4162 512 bit private RSA's in 9.97s
Doing 512 bit public rsa's for 10s: 45894 512 bit public RSA's in 9.98s
Doing 1024 bit private rsa's for 10s: 850 1024 bit private RSA's in 9.98s
Doing 1024 bit public rsa's for 10s: 16110 1024 bit public RSA's in 9.98s
Doing 2048 bit private rsa's for 10s: 142 2048 bit private RSA's in 10.00s
Doing 2048 bit public rsa's for 10s: 4925 2048 bit public RSA's in 9.98s
Doing 4096 bit private rsa's for 10s: 22 4096 bit private RSA's in 10.20s
Doing 4096 bit public rsa's for 10s: 1420 4096 bit public RSA's in 9.98s
OpenSSL 0.9.7e 25 Oct 2004
built on: Mon May 2 11:35:43 GMT 2005
options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) aes(partial)
idea(int) blowfish(idx)
compiler: i686-pc-linux-gnu-gcc -fPIC -DOPENSSL_THREADS -D_REENTRANT
-DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -Wall -O2
-march=pentium3 -fomit-frame-pointer -pipe -Wa,--noexecstack -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM
available timing options: TIMES TIMEB HZ=100 [sysconf value]
timing function used: times
sign verify sign/s verify/s
rsa 512 bits 0.0024s 0.0002s 417.5 4598.6
rsa 1024 bits 0.0117s 0.0006s 85.2 1614.2
rsa 2048 bits 0.0704s 0.0020s 14.2 493.5
rsa 4096 bits 0.4636s 0.0070s 2.2 142.3 |
TURBO: Code: | Doing 512 bit private rsa's for 10s: 4116 512 bit private RSA's in 9.98s
Doing 512 bit public rsa's for 10s: 46233 512 bit public RSA's in 9.97s
Doing 1024 bit private rsa's for 10s: 850 1024 bit private RSA's in 9.98s
Doing 1024 bit public rsa's for 10s: 16083 1024 bit public RSA's in 9.98s
Doing 2048 bit private rsa's for 10s: 144 2048 bit private RSA's in 10.02s
Doing 2048 bit public rsa's for 10s: 4905 2048 bit public RSA's in 9.98s
Doing 4096 bit private rsa's for 10s: 22 4096 bit private RSA's in 10.27s
Doing 4096 bit public rsa's for 10s: 1419 4096 bit public RSA's in 9.98s
OpenSSL 0.9.7e 25 Oct 2004
built on: Mon May 2 11:35:43 GMT 2005
options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) aes(partial)
idea(int) blowfish(idx)
compiler: i686-pc-linux-gnu-gcc -fPIC -DOPENSSL_THREADS -D_REENTRANT
-DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -Wall -O2
-march=pentium3 -fomit-frame-pointer -pipe -Wa,--noexecstack -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM
available timing options: TIMES TIMEB HZ=100 [sysconf value]
timing function used: times
sign verify sign/s verify/s
rsa 512 bits 0.0024s 0.0002s 412.4 4637.2
rsa 1024 bits 0.0117s 0.0006s 85.2 1611.5
rsa 2048 bits 0.0696s 0.0020s 14.4 491.5
rsa 4096 bits 0.4668s 0.0070s 2.1 142.2 | Given the above figures which setting would you suggest I should use? _________________ Regards,
Mick |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Stolz Moderator
![Moderator Moderator](/images/ranks/rank-mod.gif)
![](images/avatars/526465974367e35259deb.jpg)
Joined: 19 Oct 2003 Posts: 3028 Location: Hong Kong
|
Posted: Sat Aug 06, 2005 5:42 pm Post subject: |
|
|
The best result is 142.6 verify/s wich is reached @ NORMAL timings. May be lower timings cause inestability and that could be the reason the best result is reached with normal timings.
Seems your memory modules are working at their top latency so decreasing it doesn't help at all. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MickKi Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 08 Feb 2004 Posts: 1179
|
Posted: Mon Aug 08, 2005 5:45 pm Post subject: |
|
|
Thank you again! My understanding leaves much to be desired on this topic. The 1024 bits are lower in normal setting (1611.9) than say in 8ns (1620.4). Are only the larger bit sizes important? _________________ Regards,
Mick |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|