Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. The Lounge
  3. is there a tool that will measure my processor's CPU speed?

is there a tool that will measure my processor's CPU speed?

Scheduled Pinned Locked Moved The Lounge
comperformancequestion
26 Posts 10 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Konstantin Vasserman

    Just to clarify something. I am sorry if you already know all of this: Dual processors don't actually double "the speed". It sound like you expect for 2 frequencies to add up to something higher. It is not the way it works. All you get is an advantage of being able to process things in parallel, because now your PC has 2 "brains". It will also ONLY be noticeable on the applications that can take advantage of multiple processors. For example, if your app is single-threaded it can only be executed on one CPU at the time. At the same time your other CPU can process some other app or be idle. So, if your CPUs are 500MHz they both will run at 500MHz and will not ever give you 1GHz frequency in any shape, way or form. Good luck.

    R Offline
    R Offline
    Rick York
    wrote on last edited by
    #9

    However, there are some applications and circumstances where SMP can give a doubling or more of the system's performance. One example is a test that was run on an early Athlon dual-CPU machine where the Linux kernel was compiled and it gave a 2.2X speed up. This is a case where the application was not processor-bound but was I/O-bound. In most multithreaded apps that are processor-bound the speed improvement will be less than 2X or 100%. http://www.aceshardware.com has an interesting workstation guide that tested performance of dual CPU systems on a variety of 3D rendering apps. The performance improvements ranged from around 30% to 80% if I recall correctly.

    K 1 Reply Last reply
    0
    • T Todd Smith

      You do get a nifty addition to the task manager. Isn't that worth it :) If you're not running Win2k or XP then OMG! Seriously though, the OS is multithreaded. So depending on what you're doing you will get benefits doing normal OS related tasks. Unfortunately VC++ is NOT multithreaded when compiling :( That's what pissed me off the most. Happy dual'n.

      Todd Smith

      N Offline
      N Offline
      Nish Nishant
      wrote on last edited by
      #10

      Well, I just tried out some benchmark stuff and am feeling better. My double-CPU system both 550 is faster than a single P-III 800. That's fine with me. :-) In fact it's as fast as a single P-III 1 GHz I lost 100 Mhz [I thought I'd get 1100 MHz] somewhere... Nish p.s. Try sisSoftSandra next time any of you have similar CPU related headaches Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

      1 Reply Last reply
      0
      • R Rick York

        However, there are some applications and circumstances where SMP can give a doubling or more of the system's performance. One example is a test that was run on an early Athlon dual-CPU machine where the Linux kernel was compiled and it gave a 2.2X speed up. This is a case where the application was not processor-bound but was I/O-bound. In most multithreaded apps that are processor-bound the speed improvement will be less than 2X or 100%. http://www.aceshardware.com has an interesting workstation guide that tested performance of dual CPU systems on a variety of 3D rendering apps. The performance improvements ranged from around 30% to 80% if I recall correctly.

        K Offline
        K Offline
        Konstantin Vasserman
        wrote on last edited by
        #11

        I agree. It just sounded like Nish was looking for his CPU frequency to double and I want to make sure that he knows that it won't.

        N 1 Reply Last reply
        0
        • N Nish Nishant

          Noooooooooooooooooooo!!!!!!!!!!!!!!!! My worst fears have been realized. A nightmare come true. The depression set in so fast I didn't realize I was doomed till too late to stop the stampede of sorrow. Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

          K Offline
          K Offline
          Konstantin Vasserman
          wrote on last edited by
          #12

          Nish, I am sorry I brought you so much disappointment. :( But it's like Todd and Rick said - you will see performance improvements, unfortunately not as much and probably not where you were expecting them.

          N 1 Reply Last reply
          0
          • K Konstantin Vasserman

            Nish, I am sorry I brought you so much disappointment. :( But it's like Todd and Rick said - you will see performance improvements, unfortunately not as much and probably not where you were expecting them.

            N Offline
            N Offline
            Nish Nishant
            wrote on last edited by
            #13

            :-) It's not you Konstantin. Not at all. It's just that the harsh realities of double-CPUs hit me so hard in the face, that for a few uncertain moments of sorrow, I could have died of mental suffocation, that's all. Thanks for revealing the truth to me, even if the truth that was revealed was of a dark and foul nature. The evil that men do lives after them and so be it with Intel :-( Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

            P 1 Reply Last reply
            0
            • K Konstantin Vasserman

              I agree. It just sounded like Nish was looking for his CPU frequency to double and I want to make sure that he knows that it won't.

              N Offline
              N Offline
              Nish Nishant
              wrote on last edited by
              #14

              Konstantin Vasserman wrote: It just sounded like Nish was looking for his CPU frequency to double and I want to make sure that he knows that it won't. Yes. My ideas regarding multiple processors were quite wrong, till you explained it to me. Thanks Konstantin :-) Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

              1 Reply Last reply
              0
              • C Chris Maunder

                You're killing me here Nish! A quick search brings up: System Information Utility - Naveen K Kohli Utility to extract system information CPUTest - Pavlos Touboulidis Simple class to calculate the frequency of the CPU in MHz cheers, Chris Maunder

                N Offline
                N Offline
                Nish Nishant
                wrote on last edited by
                #15

                I checked Naveen's utility :- -[snip from article]- CPU’s approximate speed can be obtained from registry key ~MHz under HKLM\\Hardware\\Description\\System\\CentralProcessor\\0 registry entry. -[/end of snip]- Fat lot of good that's gonna do me! Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

                T 1 Reply Last reply
                0
                • N Nish Nishant

                  I checked Naveen's utility :- -[snip from article]- CPU’s approximate speed can be obtained from registry key ~MHz under HKLM\\Hardware\\Description\\System\\CentralProcessor\\0 registry entry. -[/end of snip]- Fat lot of good that's gonna do me! Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

                  T Offline
                  T Offline
                  Todd Smith
                  wrote on last edited by
                  #16

                  Yup. And my system at work is off by about 75mhz.

                  Todd Smith

                  1 Reply Last reply
                  0
                  • N Nish Nishant

                    :-) It's not you Konstantin. Not at all. It's just that the harsh realities of double-CPUs hit me so hard in the face, that for a few uncertain moments of sorrow, I could have died of mental suffocation, that's all. Thanks for revealing the truth to me, even if the truth that was revealed was of a dark and foul nature. The evil that men do lives after them and so be it with Intel :-( Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

                    P Offline
                    P Offline
                    Paul Watson
                    wrote on last edited by
                    #17

                    Nish [BusterBoy] wrote: The evil that men do lives after them and so be it with Intel Do not confuse your ignorance as the evil of others, young man. :) regards, Paul Watson Bluegrass Cape Town, South Africa Do you Sonork? I do! 100.9903 Stormfront "The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge

                    N 1 Reply Last reply
                    0
                    • P Paul Watson

                      Nish [BusterBoy] wrote: The evil that men do lives after them and so be it with Intel Do not confuse your ignorance as the evil of others, young man. :) regards, Paul Watson Bluegrass Cape Town, South Africa Do you Sonork? I do! 100.9903 Stormfront "The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge

                      N Offline
                      N Offline
                      Nish Nishant
                      wrote on last edited by
                      #18

                      Aaaaaaaaaahhhhhhhhhh Driving sharp thorns into my bleeding wounds :-) Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

                      P 1 Reply Last reply
                      0
                      • N Nish Nishant

                        Aaaaaaaaaahhhhhhhhhh Driving sharp thorns into my bleeding wounds :-) Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

                        P Offline
                        P Offline
                        Paul Watson
                        wrote on last edited by
                        #19

                        Nish [BusterBoy] wrote: Driving sharp thorns into my bleeding wounds Hey that reminds me of Shaka Zulu who made his troops run over fields of thorns to toughen their feet. Any soldier who fell or refused was tortured by impaling them on long 8inch wide spikes, left hanging for days on end, kept barely alive. Sounds nuts but his "armies" ruled Southern Africa because they were the toughest, meanest and best used troops around. You do know who Shaka Zulu is, right? And Nish, cheer up! Please! You sound so depressed about something. Either let it out and maybe we can help or buckle up and put on a brave face. regards, Paul Watson Bluegrass Cape Town, South Africa Do you Sonork? I do! 100.9903 Stormfront "The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge

                        N 1 Reply Last reply
                        0
                        • P Paul Watson

                          Nish [BusterBoy] wrote: Driving sharp thorns into my bleeding wounds Hey that reminds me of Shaka Zulu who made his troops run over fields of thorns to toughen their feet. Any soldier who fell or refused was tortured by impaling them on long 8inch wide spikes, left hanging for days on end, kept barely alive. Sounds nuts but his "armies" ruled Southern Africa because they were the toughest, meanest and best used troops around. You do know who Shaka Zulu is, right? And Nish, cheer up! Please! You sound so depressed about something. Either let it out and maybe we can help or buckle up and put on a brave face. regards, Paul Watson Bluegrass Cape Town, South Africa Do you Sonork? I do! 100.9903 Stormfront "The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge

                          N Offline
                          N Offline
                          Nish Nishant
                          wrote on last edited by
                          #20

                          Paul Watson wrote: And Nish, cheer up! Please! You sound so depressed about something. Either let it out and maybe we can help or buckle up and put on a brave face. Well I was using a P-III 650 MHz with 128 MB Ram and it wasnt really fast for me [at office] Now they've brought back some of our machines from the US office and I was alloted a Dual-P-III-Xeon-550/100 with 128 MB ram. I was under the impression that this will double up as 1.1 GHz and now people tell me I was wrong. Two processors wont double the speed. Now I am worried whether I have gone for a slower box than my old one. Anyway I am gonna push for more ram - maybe add another 128 so I'll have 256 which should be okay. Plus my monitor is 14" [imagine that] I want a 17" monitor but I am not sure it will be approved :-( That's why I am trying to get a desktop panning software which will extend my 800x600 screen to a 1024x768 virtua;l desktop All my searches on the net give me software that allows us to use multiple desktops which is not what I want at all. Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

                          P 1 Reply Last reply
                          0
                          • N Nish Nishant

                            Paul Watson wrote: And Nish, cheer up! Please! You sound so depressed about something. Either let it out and maybe we can help or buckle up and put on a brave face. Well I was using a P-III 650 MHz with 128 MB Ram and it wasnt really fast for me [at office] Now they've brought back some of our machines from the US office and I was alloted a Dual-P-III-Xeon-550/100 with 128 MB ram. I was under the impression that this will double up as 1.1 GHz and now people tell me I was wrong. Two processors wont double the speed. Now I am worried whether I have gone for a slower box than my old one. Anyway I am gonna push for more ram - maybe add another 128 so I'll have 256 which should be okay. Plus my monitor is 14" [imagine that] I want a 17" monitor but I am not sure it will be approved :-( That's why I am trying to get a desktop panning software which will extend my 800x600 screen to a 1024x768 virtua;l desktop All my searches on the net give me software that allows us to use multiple desktops which is not what I want at all. Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

                            P Offline
                            P Offline
                            Paul Watson
                            wrote on last edited by
                            #21

                            Nish [BusterBoy] wrote: Anyway I am gonna push for more ram - maybe add another 128 so I'll have 256 which should be okay. I have to repeat what we all know: Extra memory makes a far greater difference than a few hundred extra megahertz. 128 is really not enough IMHO, I have 256 and want to go up to 512 soon. Nish [BusterBoy] wrote: Plus my monitor is 14" [imagine that] I want a 17" monitor but I am not sure it will be approved When I moved from 14" to 17" I could not believe how much it improved my working style. Really push your boss for that upgrade Nish, it helps a lot. Hey Nish, to cheer you up I will admit that the way SA are playing cricket right now makes me think India could beat us as well! :) regards, Paul Watson Bluegrass Cape Town, South Africa Do you Sonork? I do! 100.9903 Stormfront "The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge

                            N 1 Reply Last reply
                            0
                            • P Paul Watson

                              Nish [BusterBoy] wrote: Anyway I am gonna push for more ram - maybe add another 128 so I'll have 256 which should be okay. I have to repeat what we all know: Extra memory makes a far greater difference than a few hundred extra megahertz. 128 is really not enough IMHO, I have 256 and want to go up to 512 soon. Nish [BusterBoy] wrote: Plus my monitor is 14" [imagine that] I want a 17" monitor but I am not sure it will be approved When I moved from 14" to 17" I could not believe how much it improved my working style. Really push your boss for that upgrade Nish, it helps a lot. Hey Nish, to cheer you up I will admit that the way SA are playing cricket right now makes me think India could beat us as well! :) regards, Paul Watson Bluegrass Cape Town, South Africa Do you Sonork? I do! 100.9903 Stormfront "The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge

                              N Offline
                              N Offline
                              Nish Nishant
                              wrote on last edited by
                              #22

                              Paul Watson wrote: I will admit that the way SA are playing cricket right now makes me think India could beat us as well! :-) Even when you are losing, you still know how to wag your tongues, you south africans :-) Right I want to see how Australia will fare against sri-lanka, with Murali looking like he'll get a wicket every three overs. Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

                              P 1 Reply Last reply
                              0
                              • N Nish Nishant

                                Paul Watson wrote: I will admit that the way SA are playing cricket right now makes me think India could beat us as well! :-) Even when you are losing, you still know how to wag your tongues, you south africans :-) Right I want to see how Australia will fare against sri-lanka, with Murali looking like he'll get a wicket every three overs. Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

                                P Offline
                                P Offline
                                Paul Watson
                                wrote on last edited by
                                #23

                                Nish [BusterBoy] wrote: Even when you are losing, you still know how to wag your tongues, you south africans Being down just means we shout louder :-D Though we did learn from the best of toungue waggers, the Aussies. regards, Paul Watson Bluegrass Cape Town, South Africa Do you Sonork? I do! 100.9903 Stormfront "The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge

                                1 Reply Last reply
                                0
                                • N Nish Nishant

                                  Is there a tool that will measure my processor's CPU speed? I am now on a dual-processor machine. I want to know whether I am actually getting that speed. The BIOS simply says P-III/550/100 Now does that mean the combined speed which means each processor is only 275 MHz or does that mean I actually have 1.1 GHz of CPU? I need a proper measuring tool. And I need it to be freeware too :-( Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

                                  D Offline
                                  D Offline
                                  Daniel Turini
                                  wrote on last edited by
                                  #24

                                  I develop applications that run tipically in 4-way or 8-way SMP. One of the biggest challenges is keeping all processors working. When you start programming in SMP you'll find yourself quickly using the Interlocked* API functions. In simple terms, the name says all, you start (at least, conceptualy) locking memory locations, so only one processor can use that memory location. So, your performance drops very fast. Look for "scalability" in MSDN and you'll find tons of articles dealing with this. Chris probably is reading these articles now :) Careless SMP programming can lead to problems like "processor afinity", when one processor is at 90% of CPU and the others are at 5%. Try using ASP accessing Access databases or programmers that put ADO connection objects in Session("") and see what I mean. Other common problem is excessive CPU usage because of lots of threads waiting on some mutex or critical section. Sometimes you choose non-optimal algorithms just to avoid concurrency. There's an ad for a malloc replacement on DDJ that says [something like] this: "If a malloc takes 2ms in a monoproc system, how much time it will take on a 4way SMP ? 200 times longer" Crivo Automated Credit Assessment

                                  S 1 Reply Last reply
                                  0
                                  • D Daniel Turini

                                    I develop applications that run tipically in 4-way or 8-way SMP. One of the biggest challenges is keeping all processors working. When you start programming in SMP you'll find yourself quickly using the Interlocked* API functions. In simple terms, the name says all, you start (at least, conceptualy) locking memory locations, so only one processor can use that memory location. So, your performance drops very fast. Look for "scalability" in MSDN and you'll find tons of articles dealing with this. Chris probably is reading these articles now :) Careless SMP programming can lead to problems like "processor afinity", when one processor is at 90% of CPU and the others are at 5%. Try using ASP accessing Access databases or programmers that put ADO connection objects in Session("") and see what I mean. Other common problem is excessive CPU usage because of lots of threads waiting on some mutex or critical section. Sometimes you choose non-optimal algorithms just to avoid concurrency. There's an ad for a malloc replacement on DDJ that says [something like] this: "If a malloc takes 2ms in a monoproc system, how much time it will take on a 4way SMP ? 200 times longer" Crivo Automated Credit Assessment

                                    S Offline
                                    S Offline
                                    Steffen Opel
                                    wrote on last edited by
                                    #25

                                    Daniel Turini wrote: I develop applications that run tipically in 4-way or 8-way SMP. One of the biggest challenges is keeping all processors working. Ah, the right guy at the right moment, eventually :-) I've been googling quite some time looking for a tool to do just the opposite, i.e. forcing an application to use one and only one cpu on W2K pro. Keywords seem to be a bit challenging here, the only thing I came up with is an apparently complicated and W2K server only procedure for tuning the entire working set. Task manager allows one to set afinity alongside priorities, but only manually. One can start 'cmd.exe' with a priority flag, but unfortunately not with a similar afinity flag. I even tried applying the application compatibility toolkit W98 layer, hoping and asuming this would imply single cpu usage, but to no avail. Any idea/hint would be great! You know, it's pretty annoying to always go the manual route when trying to run a otherwise deadlocking game for a few spare minutes between workload ;-) Thanks and Ciao, Steffen

                                    D 1 Reply Last reply
                                    0
                                    • S Steffen Opel

                                      Daniel Turini wrote: I develop applications that run tipically in 4-way or 8-way SMP. One of the biggest challenges is keeping all processors working. Ah, the right guy at the right moment, eventually :-) I've been googling quite some time looking for a tool to do just the opposite, i.e. forcing an application to use one and only one cpu on W2K pro. Keywords seem to be a bit challenging here, the only thing I came up with is an apparently complicated and W2K server only procedure for tuning the entire working set. Task manager allows one to set afinity alongside priorities, but only manually. One can start 'cmd.exe' with a priority flag, but unfortunately not with a similar afinity flag. I even tried applying the application compatibility toolkit W98 layer, hoping and asuming this would imply single cpu usage, but to no avail. Any idea/hint would be great! You know, it's pretty annoying to always go the manual route when trying to run a otherwise deadlocking game for a few spare minutes between workload ;-) Thanks and Ciao, Steffen

                                      D Offline
                                      D Offline
                                      Daniel Turini
                                      wrote on last edited by
                                      #26

                                      Steffen Opel wrote: I've been googling quite some time looking for a tool to do just the opposite Hehehe, never needed that, maybe you'd find something in the Resource Kit, but I would try a little utility that calls Get/SetProcessAffinityMask with the PID and keeps only one bit set. Crivo Automated Credit Assessment

                                      1 Reply Last reply
                                      0
                                      Reply
                                      • Reply as topic
                                      Log in to reply
                                      • Oldest to Newest
                                      • Newest to Oldest
                                      • Most Votes


                                      • Login

                                      • Don't have an account? Register

                                      • Login or register to search.
                                      • First post
                                        Last post
                                      0
                                      • Categories
                                      • Recent
                                      • Tags
                                      • Popular
                                      • World
                                      • Users
                                      • Groups