Measure mobiles CPU

Hello
I would like some help with how i can measure the CPU speed of a mobile phone. I know that the "clock cycle" is relative with the CPU speed and i am also very interesting to know how can i measure the clock cycle with help of J2ME? Is there a "clock cyckle" at all mobile phones, and if not, how can i mesure the CPU speed at that phones without clock cycle?
Thank you very much for your help
Nick - Sweden

You can't really measure overrall performance. Some phones might be good at number crunching but terrible at drawing graphics. Others might be lightning fast when it comes to drawing, but have a horrible performance when accessing the RMS. Etc.
You have to look at what your application is going to do, and figure out which areas might affect it the most, and then you can assess the performance requirements for that specific case. The site I linked to has statistics for many different areas all broken down nicely, so it's a lot more useful than just saying "this phone has a performance of 6 and this other one has a performance of 8.5".
shmoove

Similar Messages

  • Measure mobiles processor speed

    Hello
    I am trying to find out how i can measure mobile phones processor speed with help of J2ME. Is there any algorithm that can be used to measure the computational speed? Is there any way to measure Java's virtual machine speed? I found source code from www.tastephone.com where the author measures the processor speed, but i am nor really understand why he is doing like he does:
    private int getMHz(int maxi)
    1783 {
    1784 int i= 2;
    1785 long duration, start= System.currentTimeMillis();
    1786 while (--maxi != 0)
    1787 {
    1788 if ((maxi & 1) == 0)
    1789 i += 2;
    1790 // if maxi is even, add 2 to i, we don't add if it's odd.
    1791 }
    1792 duration= System.currentTimeMillis() - start;
    1793 int mhz= 0;
    1794 if (duration != 0)
    1795 {
    1796 // mhz = number of CPU cycles for the loop : 6
    1797 // * number of loops : i
    1798 // / (number of cycles per second in 1MHz / number of ms in 1s / 100)
    1799 // = 1000000 / 1000 /100
    1800 // = 10 so we divide by 10
    1801 // / duration in ms
    1802 // so now mhz holds a value in MHz multiplied by 100 to have 2 decimal figures
    1803 mhz= 6 * i / 10 / (int)duration;
    1804 // rounding the decimal figure
    1805 if ((mhz - (mhz / 10) * 10) >= 5)
    1806 mhz= mhz + 10;
    1807 mhz /= 10;
    1808 // keeps one decimal figure instead of two
    1809 // always return a non zero value (test successful)
    1810 if (mhz == 0)
    1811 mhz= 1;
    1812 }
    1813 return mhz;
    1814 }
    He wirtes at line 1796 that mhz = number of CPU cycles for the loop : 6
    Why is number of CPU cycles for the loop 6? Where did he found that?
    Thanks

    He wirtes at line 1796 that mhz = number of CPU
    cycles for the loop : 6
    Why is number of CPU cycles for the loop 6? Where did
    he found that?Well, I guess, he checked how many byte code instruction this loop takes. He forgets that this figure does not say anything about the amount of real CPU cycles it takes to make one loop. In consequence, the outcome of the computation is mosty setainly wrong.

  • K8T Neo-FIS2R with Athlon 64 4000+ mobile CPU

    Doing some research on the net, I found out recently that the older mobile CPUs differ from desktop ones just by the lack of a heat spreader on top of the core. And I read up about many successful updates from ppl using the mobile CPU on the desktop socket 754 boards. This is for my 2nd system listed in my sig below - the  K8T Neo-FIS2R. I found a pretty good deal on the Newark CPU AMN4000BKX5BU recently (4000+). I took my existing 3000+ CPU out and I separated the heat-spreader from it. Underneath it's almost identical, except the core is a few mm larger than the mobile CPU. I mounted the heat spreader on the 4000+ CPU and made sure the core has good contact with the heat-spreader (checked the thermal paste imprint). Mounted the CPU in and the board powers on but doesn't POST. I then put my 3000+ in and works just fine. I repeated this 3 times, and just couldn't get the 4000+ to be recognized by the mobo. I thought the CPU may be bad, but it comes from a good source, so even though it's still a possibility, I started doing more research. And then I realized that I forgot to change the core voltage in BIOS from 1.5 to AUTO. The mobile CPU is rated for 1.35v. Do you think this is what affected it? Or is it because I'm on BIOS v.1.9 ? Latest BIOS is 7.1, but all versions passed 1.9 only introduced compatibility with Sempron CPUs (which I'm not using) and it limited DDR recognition to 333 only. I'm using DDR400 which is running well at 200MHz. All higher BIOS levels don't allow to run it in stock speed at higher than 166MHz. So that's why I wanted to keep the v.1.9.
    Any ideas why the 4000+ CPU wouldn't be recognized by this board?
    Thanks in advance!

    I'm making some headway, but in effect, I temporarily hindered this system more than it was I got the CPU to finally work, but it only recognizes 1/4 of the memory I used to have... here are the details:
    I upgraded BIOS to the latest 7.1 and the installed 4000+ CPU didn't allow the system to POST neither. I then cleared the CMOS and just for good measure removed 1 of my memory sticks (I had 2x1GB, as listed in my sig for the lower system). Then the old faithful came to life again After making more test I noticed that no matter what I do, whether I use DDR400 or DDR333 sticks (I also have those in 2x1GB), the only way it works is with a single stick in DIMM1. In manual, the configurations show that that memory can be inserted in different DIMM sockets, not necessarily the 1st one, but in my case, no other setup works than a single stick in DIMM1. As I mentioned earlier, BIOS versions above 1.9 (I checked them all in the past) don't allow DDR400 to run at 200MHz, but only at 166. Also, ver.7.1 reports CPU temperature incorrectly, about 10 degrees Celcius lower than it actually is. I actually noticed that in the past with my other CPU, too. Since nothing else could be accomplished here, I decided to go back to BIOS v.1.9. But the situation relating to RAM didn't change. It still only functions fine with a single stick in DIMM1.
    I also tried resetting CMOS several times at different occasions, and when reset in ver.7.1 it would POST with 2 sticks of RAM in, but after loading BIOS settings, it would work fine (only as far as POSTs, because I never booted to OS during these tests) and would restart fine as long as it wasn't completely shut down. Once it was shut down, it wouldn't POST again.
    In ver.7.1, the CPU was recognized by BIOS correctly as 4000+, however back at ver.1.9 BIOS recognizes it as 4200+ (something that doesn't exist for socket 754, AFAIK). However, the DDR400 is again working at 200MHz and the CPU core temp is reported correctly.
    In ver.1.9 the CPU voltage when set to AUTO would run at about 0.9v, which might've been causing no POSTs until CMOS was reset. I manually lowered it to the minimal setting possible of 1.4v. It is rated at 1.35v and now is reported to run at 1.38v and still much cooler than my older desktop CPU 3000+. From what I read, AMD was doing binning on the mobile athlons, so I'm sure all of them can work fine even at 1.5v or higher, if needed.
    Anyway, I temporarily gave up and decided to wait for some golden thoughts from you guys (or MSI Support, whom I also contacted about this, but it'll be a miracle if they respond with some help). Then I booted up into Windows, and even though CPU-Z recognizes the single stick of 1GB RAM I left there, Windows only reports it as 512MB. Also, CPU-Z reports the CPU in one spot as 4000+ and then in another (a little below) as 4200+. I guess the multiplier of x13 causes the confusion? Could that also be the reason for not recognizing more memory? I also tried lowering the HT Link in BIOS to 200 and 600MHz and that didn't help as far as allowing to use the 2nd stick of RAM. Please check the below screenshots for more details.
    Thanks

  • Measuring the cpu and ram consumption of a given query in sql server

    hello there how you doing and am new to this sql server forum and i suddenly popped to ask questions related to sql server
    and my question goes like this
    in sql server i have table called testt and it have more thna10000000 records
    and i have written a query select * from testt limit 9000000; and what i want is to measure the
    CPU consumption of this given query=???????????????
    and
    RAM consumption of this given query=???????????????
    Time consumption of this given query=?????????????? this i will get it from the result bar but i don't know whether it is correct or not
    any help on this it may be query, tool or configurations all are acceptable and appreciated
    10Q for letting me ask questions and feeling freely.

    Please check these queries and this may helps you to get whats happening on with CPU currently..
    SELECT getdate() as "RunTime", st.text, qp.query_plan, a.* FROM sys.dm_exec_requests a CROSS APPLY sys.dm_exec_sql_text(a.sql_handle) as st CROSS APPLY sys.dm_exec_query_plan(a.plan_handle) as qp order by CPU_time desc
    Top 50 CPU usage :
    SELECT TOP 50 st.text
                   ,st.dbid
                   ,st.objectid
                   ,qs.total_worker_time
                   ,qs.last_worker_time
                   ,qp.query_plan
    FROM sys.dm_exec_query_stats qs
    CROSS APPLY sys.dm_exec_sql_text(qs.sql_handle) st
    CROSS APPLY sys.dm_exec_query_plan(qs.plan_handle) qp
    ORDER BY qs.total_worker_time DESC
    SP_Whoisactive --- download from : http://www.brentozar.com/responder/log-sp_whoisactive-to-a-table/
    Activity Monitor and sp_who2 active also will give some idea...
    Reference links...
    http://channel9.msdn.com/posts/SQL-server-High-CPU--Part-1
    http://channel9.msdn.com/posts/Troubleshooting-SQL-server-High-CPU--Part-2
    http://jeffstevenson.karamazovgroup.com/2008/09/identifying-high-cpu-sql-processes.html
    http://searchsqlserver.techtarget.com/tutorial/Step-1-CPU-usage
    ================
    Execute this script and and start doing your analysis in your server so that you will get more idea how its working and all the details...
    Sample CPU Test : Dont try this in production and try this in your test or Dev server..
    -- Query to Keep CPU Busy for 2 0 Seconds
    DECLARE    @T DATETIME, @F BIGINT;
    SET @T = GETDATE();
    WHILE DATEADD(SECOND,20,@T)>GETDATE()
    SET    @F=POWER(2,30);
    You can easily change the parameter in the DATEADD and can make it run for 50 seconds.
    -- Query to Keep CPU Busy for 50 Seconds
    DECLARE    @T DATETIME, @F BIGINT;
    SET @T = GETDATE();
    WHILE DATEADD(SECOND,50,@T)>GETDATE()
    SET    @F=POWER(2,30);
    Raju Rasagounder MSSQL DBA

  • Measure mobiles computational performance

    The source code here measures mobile phones computational performance. Is there anybody who can explain for me what is the thougt behind the pi? What does pi?
    computationPerformance= pi(10);
    1617 //allows the JIT compiler to optimize the function pi(long)
    1618 computationPerformance= 400000 / pi(500000);
    1823 private int pi(long max)
    1824 {
    1825 int p= 0;
    1826 long m= 100000000l;
    1827 long start= System.currentTimeMillis();
    1828 while (max > 0)
    1829 {
    1830 p += (int) (m / (max * max--));
    1831 }
    1832 long duration= System.currentTimeMillis() - start;
    1833 if (p - 4 == 0)
    1834 {
    1835 // Stupid test (never true) to fool the optimizer, which would think p is useful.
    1836 duration= 0;
    1837 } /* we could compute PI this way :
    1838 double pi;
    1839 pi=Math.sqrt(6.0d*p/(double)m);
    1840 */
    1841 return (int)duration;
    1842 }

    Well, it id often used in benchmarks... but there is no relationship. Any other algorithm would do just as well.

  • Measure Java CPU usage

    Hi,
    I'm not sure whether this is the right forum to post this message.
    I have a java application and basically it takes lots of CPU time and memory. What my concern right now is the CPU usage. Basically I reduced the number of CPUs from 8 to 4 (Solaris v1280 box) and the CPU usage got increased from 30% to 90% :(
    My requirement: Is there anyway that I can measure the CPU usage using Java code itself, so that I can insert those "set of APIs" (for measuring CPU usage), between APIs to collect the CPU usage data?
    Thanks,
    Siva

    The comparison would be unfair (by your definition of unfair) in Java, too, since the JVMs for both platforms are different.
    If you are dealing with time, though, 500 milliseconds is 500 milliseconds, no matter what language you write it on or what platform you run it on. If you use VC++ for the Windows stuff, make sure you disable Microsoft extensions so you have some ANSI standard code that will compile with gcc.
    Since you are trying to compare operating systems, make sure both machines are using the same processors (and motherboards with the same PCI bus architecture), too. And have the same amount of memory, which is the same speed and architecture on both. Their hard drives should be roughly the same speed, too. The PCI bus usage could vary with network cards, so having the same network cards will be a plus. What it seems to come down to is that you are going to end up measuring the performance of the socket library implementations on both machines.
    As far as JNI goes, all it is is a way to write native code and use it in your Java application. I don't know much about it, search around for some examples. There's a tutorial, somewhere, too. Some dude on here, tpritchet, seems to know a lot about it.
    Jason

  • How to measure Java CPU & memory usage

    Hi,
    I'm not sure whether this is the right forum to post this message.
    I have a java application and basically it takes lots of CPU time and memory. What my concern right now is the CPU usage. Basically I reduced the number of CPUs from 8 to 4 (Solaris v1280 box) and the CPU usage got increased from 30% to 90% :(
    My requirement: Is there anyway that I can measure the CPU usage using Java code itself, so that I can insert those "set of APIs" (for measuring CPU usage), between APIs to collect the CPU usage data?
    Thanks,
    Siva

    Take a look at this.
    http://articles.techrepublic.com.com/5100-10878_11-6067049.html

  • How to measure true CPU usage?

    Hello,
    I have a program that runs on a Windows XP 32 bits machine with JRE 6u16 (8 [email protected], 16gig ram). This program gets 100,000 messages per minute, does something with it and republishes the data.
    We recently moved the same program to a Linux box, same spec, 64 bits however.
    When running Visual VM via JMX on both in //, we can notice huge CPU utilization on the Linux box, vs. the Windows one.
    I expected the Linux version to kick arse.
    My question is, how to effectively measure raw performance on a multiple-CPU machine, Windows and Linux?
    Also, how does the CPU graph works in jConsole or VisualVM? Average of all CPUs?
    Thx v much

    Take a look at this.
    http://articles.techrepublic.com.com/5100-10878_11-6067049.html

  • How do I measure the CPU/GPU split of load/usage in Java3D?

    Hello,
    Is it possible to measure the split between graphics and CPU usage to find out how much work each is doing, what work is done, and which is doing the most work, for example? If so, how can this be implemented in the Java3D code?
    For example, on a particular system, measure whether the GPU is doing the most work, or the CPU.
    Thanks for your help :)

    In Linux, you can read /proc/uptime. It does NOT give you the load averages that the command uptime gives. It gives you numerically the amount of time the CPU was idle vs how much time it was spent doing something. You need to read these two floating point numbers one every second, or once every 5 or 10 seconds then do the delta on the change: The maths are as follows:
    Read the file in twice in 5 seconds, parse into two floats/doubles:
    double[] last;  // the first read of the file
    double[] rect;  // the latest read of the file
    double ld = last[1] - last[0];
    double rd = rect[1] - rect[0];
    double cpu = (1.0d-(rd/ld)) * 100.0d;This should print the CPU percentage in Linux for that given time frame (5 second updates).

  • How Can I Measure the CPU Power My Flash Movie Uses?

    Hi All,
    I'm working on a complex job that is intended to play on low-end PCs so I'm looking at ways to reduce the processor load the movie needs to play. Obviously large screen size, high frame rate, intensive ActionScript, and complex graphics all add greatly to how much CPU power is needed to run a Flash movie, but is there a way of getting an accurate reading of the CPU power it is using? I am modifying a job that was running badly on low-spec PCs so now want to adjust it to run faster and smoother so would like to somehow be able to compare the modified job with the original. Any Idea how I could do this?
    Any help would be greatly appreciated.

    Hi. I tried your suggestion and I could not get it to work well. In
    fact it worked better without the running average (which suprised me).
    I also played with the number of data points but still could not get it
    to work well.
    Do you have any other suggestions on how I could sort this problem out?
    I
    have attached a screen shot of the signal. To recap, I'm trying to
    measure the'y' position of the flat regions of the signal. The signal
    does not have a constant level, so this 'y' position varies with time
    in a non-unform manner.
    I am currently differentiating
    the signal and selecting the y position when the differential is equal
    to zero (within a tolerance band).
    In the screenshot, the
    signal has been zeroed using the method I have described above.
    However, it occasionally has glitches which may be caused when the code
    picks up a zero gradient at a peak or valley in the signal.
    I therefore need some kind of algorithm that only measures the position of the flat regions.
    Many thanks
     John
    Attachments:
    screenshot.gif ‏121 KB

  • 915GM speedster motherboard for Pentium M mobile CPU's confusion

    Hi,
        I wonder if anyone could advise me, the motherboard has a jumper J6 to alter the cpu voltage between 1.5 volts and 1.8. But none of the pentium M processors use these voltages (they are between 1volt and 1.48).
    What do people set this too. Also regarding this jumper which is the number one pin? there are no markings at all on the motherboard. Do I assume that the drawing showing the settings in the manual is orientated correctly, in relation to the motherboard layout drawing. I am unable to get the motherboard to boot properly, the most I can get is a logo page for a few seconds before the board shuts down. This is with a 1.8Ghz pentium M dothan. With other cpu's the board is dead.
    I have tried the following without success.
    two different power supplys (both known good ones of more than adequate wattage)
    4 different CPU's 1.8, 1.6, 1.5Ghz, pentium M's  all 400Mhz FSB .nd a Celeron M 1.4.
    both ddr 2 and ddr 1 memory (I know you can only use one type at once)
    Could anyone having this board please let me know the settings they have used for jumpers J4,J5 and J6
    and which CPU they are using.
    I am waiting delivery of some 533 FSB pentium M,s so hopefully I will have more luck. I have always had good results with MSI boards and want to be sure before I return it.
    Thanks.
     

    I believe I have resolved the problem. The board was doing a thermal shutdown. I must admit to not being familiar with Intel Pentium P4 boards, When they were current I always bought AMD Athlons for cost and performance reasons.
    The board has what I believe to be a standard P4 heatsink mount, so I used a what I believe was a standard p4 heatsink and fan. But the heatsink was not contacting the cpu, I have now used another heatsink with a raised "Platform" on the base. I am certain this is contacting the CPU as I can feel it rocking on the the CPU itself before I fit the retaining clamps. The other heatsink had a totally flat bottom so was sitting on the mounting frame not the CPU. I am very lucky that the thermal cutout worked, I sincerely hope this has prevented any damage to the CPU. If it had been an Athlon I would have been in the market for a new CPU as I don't think they had a thermal cutout. The board has been displaying the BIOS PC health status all the time I have been writing this and it has settled to a steady 36 degree CPU temperature. I feel foolish that I did not work this out sooner, I do not want to break things. Although the chip was cheap enough (I got a batch of 4 for £7.71 in total including postage) I pride myself in taking care and doing a good job. I can only say in my defence that the heatsink mounting frame prevented me from seeing if the heatsink was seated correctly. I will be building this board up as a media center, the low noise and power consumption will be ideal. I may look to add a basic passively cooled graphics card so that I can have an HDMI output to connect to my TFT telly.
    I very much appreciate your help and I will try to support this forum in the future.
                                                                                                                              Cheers Wilfy

  • MOVED: 915GM speedster motherboard for Pentium M mobile CPU's confusion

    This topic has been moved to Server/workstation boards.
    https://forum-en.msi.com/index.php?topic=132687.0

    I believe I have resolved the problem. The board was doing a thermal shutdown. I must admit to not being familiar with Intel Pentium P4 boards, When they were current I always bought AMD Athlons for cost and performance reasons.
    The board has what I believe to be a standard P4 heatsink mount, so I used a what I believe was a standard p4 heatsink and fan. But the heatsink was not contacting the cpu, I have now used another heatsink with a raised "Platform" on the base. I am certain this is contacting the CPU as I can feel it rocking on the the CPU itself before I fit the retaining clamps. The other heatsink had a totally flat bottom so was sitting on the mounting frame not the CPU. I am very lucky that the thermal cutout worked, I sincerely hope this has prevented any damage to the CPU. If it had been an Athlon I would have been in the market for a new CPU as I don't think they had a thermal cutout. The board has been displaying the BIOS PC health status all the time I have been writing this and it has settled to a steady 36 degree CPU temperature. I feel foolish that I did not work this out sooner, I do not want to break things. Although the chip was cheap enough (I got a batch of 4 for £7.71 in total including postage) I pride myself in taking care and doing a good job. I can only say in my defence that the heatsink mounting frame prevented me from seeing if the heatsink was seated correctly. I will be building this board up as a media center, the low noise and power consumption will be ideal. I may look to add a basic passively cooled graphics card so that I can have an HDMI output to connect to my TFT telly.
    I very much appreciate your help and I will try to support this forum in the future.
                                                                                                                              Cheers Wilfy

  • Compatible heatsinsks for a mobile CPU?

    What heatsinks are people using with mobile cpus?
    And are there any bios issues besides flashing with this command (and using 1.48 or newer?):
    awfl833d w7030nms.xxx /py/sn/wb/cc/cd/cp/r
    Thanks much!!

    Hi,
    The NVIDIA 7xx series cards will most likey not work in your PC.
    Try the NVIDIA 460, 550 or 660.
    Review this posted article.
    HP DV9700, t9300, Nvidia 8600, 4GB, Crucial C300 128GB SSD
    HP Photosmart Premium C309G, HP Photosmart 6520
    HP Touchpad, HP Chromebook 11
    Custom i7-4770k,Z-87, 8GB, Vertex 3 SSD, Samsung EVO SSD, Corsair HX650,GTX 760
    Custom i7-4790k,Z-97, 16GB, Vertex 3 SSD, Plextor M.2 SSD, Samsung EVO SSD, Corsair HX650, GTX 660TI
    Windows 7/8 UEFI/Legacy mode, MBR/GPT

  • Itunes high apple mobile cpu usage solved

    HI IAFTER READING THROUGH SOME ARCHIVES I FOUND THE WAY TO STOP YOUR CPU RUNNNING HIGH WITH WINDOWS 7 64 BIT IS
    START
    ACCESSORIES
    COMMAND PROMPT
    RUN AS ADMIN
    TYPE netsh winsock reset
    RESTATR YOUR COMPUTER
    REGARDS

    Thank You. It worked for a HP Touchsmart 600 running Win 7 64 bit. What an interesting solution to the problem. How did you figure this out?
    PantherPB

  • Who has a MOBILE CPU like me!?

    I wanna know what problems you faced with your mobo and how you solved them...and if you got a new bios??? thx.

    damn  

Maybe you are looking for

  • Mighty Mouse no longer working properly

    The Mighty Mouse has been irritating me quite a bit because the scrollbar frequently stops working. Usually, the cleaning method provides a temporary solution (very temporary considering I've lost count of the number of times this has happened) but n

  • HP 620 Delphi malfunctioning

    My laptop powers but does not display and after powering the processor fun runs but for about i minute it switches off

  • Pass by reference?  I think not!

    As I understand it, Java code automatically passes everything by reference. The code that I've written seems not to do this though.      String benefitID = new String();      String allBenID = new String();           try                benefitInfoDAO

  • External site linkage

    okay I am super new to Flex, so please forgive my slowness and ignorance. I am trying to design a site that will allow users to access external websites (like on a link page). The HTML syntax for this is <a href="www.googl.com">Google Search</a> In m

  • Zenworks server migration already started error

    We are attempting a server migration from Windows Server 2003 to Windows Server 2008 R2, using the Zenworks 11 SP3a ISO. Migrating the First Primary Server (ZCM 11.2.4, Windows 2003) failed at the end -- network move failed. The new server was delete