Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 2443

General discussion • System Stress Tests

$
0
0
System Stress Tests
All these tests were run for 30 minutes, exercising the CPU, graphics and data input/output and

included my environment and VMSTAT performance monitors, the, latter to validate the program

MBytes per second measurements and confirm that CPU utilisation was at the expected near 100% level. A script file was used to to ensure that the programs started in at the same time. In most cases, performance was measured or sampled every 60 seconds.

An example script file is below, also the commands to run the OpenGL program from a separate terminal, with VSYNC turned off to produce maximum frames per second (FPS).

Code:

Script Filelxterminal -e ./RPiHeatMHzVolts64 Passes 31 Seconds 60 Log 7 &lxterminal -e ./INTitHOT64g12 threads 2, kBStress 64, Minutes 30, passCount 4000000, logNumber 7 &lxterminal -e ./MP-FPUStress64g12 threads 2, kb 512, ops 32, Minutes 30, log 7 &lxterminal -e sudo ./burnindrive264g12 Repeats 16, Minutes 27, Log 8, Seconds 1, F /media/raspberrypi/public/ray &lxterminal -e sudo ./burnindrive264g12 Repeats 16, Minutes 27, Log 9, Seconds 1, F /media/raspberrypi/EXT3 &lxterminal -e vmstat 60 30 . vmstat7.txtSeparate Terminalexport vblank_mode=0./videogl64C12 Test 6 Minutes 30  
Of particular note, the first set of tests identifies increases in CPU temperature up to 91.7°C, with no fan running.

A questionable more significant problem, during the second set of tests, was the disk program indicating errors and the drive temporarily dropping off line during a test with the fan operational. The errors were the same as on earlier runs using a 3 amps power supply, the present PoE connection supposedly providing 4 amps.

Monitoring the input power used and that supplied for the USB drive, indicated that consumption was fairly constant between 2 and 15 minutes testing time, providing the following typical meter readings. These suggest that the disk drive might be more vulnerable to failure when the CPU is fully loaded and CPU MHz throttling might be useful if danger can be predicted.

Code:

     No Fan Poor CPU Performance   With Fan Good CPU Performance         Power          USB             Power          USB           Volts   Amps  Volts   Amps     Volts   Amps  Volts   Amps             5.26   1.75   5.06   0.53      5.20   2.60   4.94   0.53    
Light System Stress Test

The first sessions involved INTitHOT64g12, using 4 threads accessing 512 KB data, with a pass count to control minimum running time. Then, with this test, total running time was specified as 30 minutes, leading to fewer results when the CPU MHz was throttled. These MB/second results were allocated at two minute intervals. Other inclusions were burnindrive264g12 to a USB3 disk drive, plus videogl64C12 accessing the most demanding display test, producing FPS results every 30 seconds, with results provided at 60 second intervals, as shown in the detailed tables below.

Following are two sets of results for one run with the fan in use and one without the fan. On the bright side, these and a number of other tests, using the same parameters, ran without any issues. But CPU MHz throttling occurred in all cases.

Summaries

Minimum values are often isolated examples and can often be ignored. Best scores shown at the head of the table are from standalone runs. Maximum benchmark performance measurements suffer from being noted a minute after start time. Averages indicate significant reductions for the integer and OpenGL tests but little difference on disk drive data transfer speeds.

Of particular note is the CPU temperature measurement of 91.7°C with the fan out of use.

Code:

                                                   VMSTAT                                           Integer   Disk    OpenGL              MHz   Volts  CPU °C PMIC °C  MB/sec  KB/sec     FPS    Best                                   145000   63000     102 512 KB FAN Average     2128  0.8878    82.8    61.8   97568   60368    65.3     Min     1500  0.7200    42.2    39.7   95281   59159    61.0     Max     2400  0.9058    85.1    63.2  106457   61815    69.0 512 KB NO FAN Average     1174  0.7260    88.7    77.0   55898   56081    40.0     Min     1000  0.7200    56.0    53.7   45528   19941    33.0     Max     2400  0.9058    91.7    79.5   79094   58095    58.0  Average No Fan  %Reduction    45      18       7      20      43       7      39   
Light Test With Fan

Note that CPU temperature is shown to be more than 84°C for most of the time.

Code:

 512 KB FAN                                                  VMSTAT                                          Integer   Disk    OpenGL  Seconds    MHz   Volts  CPU °C PMIC °C  MB/sec  KB/sec     FPS        0    2400  0.9058    42.2    39.7      60    2146  0.9058    84.5    59.5  106457   61815      69     120    2146  0.9058    84.0    62.2           60132      68     181    2201  0.9058    84.5    62.1           61054      66     241    2366  0.9058    84.0    62.5   97930   60130      65     301    2201  0.9058    85.1    62.4           60235      67     362    2256  0.9058    84.0    62.8           60548      64     422    2146  0.9058    84.0    62.5   96799   59701      65     482    2146  0.9058    84.0    63.1           60461      67     542    2201  0.9058    85.1    62.0           60175      66     603    2146  0.7200    84.0    63.0   96761   60006      65     663    2146  0.9058    85.1    61.9           61348      64     723    2311  0.9058    84.5    62.8           59479      67     784    2146  0.9058    84.5    62.9   97231   61585      64     844    2146  0.7200    82.9    62.8           59742      64     904    2146  0.9058    82.3    62.8           60262      66     965    1500  0.9058    84.5    62.8   96604   61429      67    1025    2366  0.9058    84.0    62.9           59341      65    1086    1500  0.9058    84.0    62.3           60804      64    1146    2201  0.9058    83.4    62.8   96213   59546      65    1206    2256  0.9058    84.0    62.8           59360      64    1267    2366  0.9058    84.5    63.2           61687      68    1327    1500  0.9058    84.5    63.0   96053              64    1387    2146  0.9058    84.5    62.8           59159      66    1447    2146  0.9058    85.1    61.9           60655      65    1508    1500  0.9058    84.5    62.9   96349              67    1568    2400  0.7200    81.8    62.7           60491      66    1629    2146  0.9058    85.1    62.1           59962      64    1689    2400  0.9058    85.1    62.1   95281              63    1749    2146  0.9058    84.0    62.3           60429      61    1809    2146  0.9058    84.5    62.9           60390      64Average     2128  0.8878    82.8    61.8   97568   60368    65.3    Min     1500  0.7200    42.2    39.7   95281   59159    61.0    Max     2400  0.9058    85.1    63.2  106457   61815    69.0  Seconds     MHz   Volts  CPU °C PMIC °C  MB/sec  KB/sec     FPS       0    2400  0.9058    56.0    53.7      60    1500  0.7200    86.2    69.5   79094   19941      58     120    1500  0.7200    85.6    72.5           58012      52     181    1500  0.7200    87.8    73.9           57754      50     241    1500  0.7200    88.9    75.8   70129   56880      50     301    1500  0.7200    89.5    76.9           57616      48     362    1500  0.7200    89.5    77.0   64348   57313      45     422    1000  0.7200    90.6    77.1           57850      44     482    1500  0.7200    88.9    77.6   57341   57980      42     543    1000  0.7200    89.5    78.2           57245      44     603    1000  0.7200    90.0    78.1           57311      41     663    1000  0.7200    90.0    78.2   53759   57391      39     724    1000  0.7200    88.9    78.6           57486      37     784    1000  0.7200    89.5    78.1           57786      38     844    1000  0.7200    90.0    78.3   50933   57456      36     905    1000  0.7200    90.0    78.5           57914      37     965    1000  0.7200    90.6    78.7           56861      38    1025    1000  0.7200    90.0    78.6   49921   57428      37    1086    1500  0.7200    89.5    78.9           57705      36    1146    1000  0.7200    90.6    78.9           57445      38    1206    1000  0.7200    90.0    78.6   48803   57803      39    1267    1000  0.7200    90.0    78.9           57618      36    1327    1000  0.7200    90.0    79.1                      36    1387    1000  0.7200    90.6    78.9   47790   57545      37    1448    1000  0.7200    90.0    78.5           58095      36    1508    1000  0.7200    90.6    79.4                      34    1568    1000  0.7200    90.0    79.0   47234   57055      35    1629    1000  0.7200    91.7    79.1           57110      35    1689    1000  0.7200    91.1    79.5                      34    1750    1000  0.7200    91.7    79.3   45528   56708      35    1810    1000  0.7200    91.7    79.4           56874      33Average     1174  0.7260    88.7    77.0   55898   56081    40.0    Min     1000  0.7200    56.0    53.7   45528   19941    33.0    Max     2400  0.9058    91.7    79.5   79094   58095    58.0  
Heavy System Stress Test

This session comprised INTitHOT64g12, with 2 threads at 64 KB, MP-FPUStress64g12 with 2 threads at 512 KB, burnindrive264g12 to a PC via Ethernet, burnindrive264g12 to a USB 3 disk drive and videogl64C12 as before. Detailed important results are provided for fan and no fan scenarios, with two for the former as the first one failed. Note that, compared with 4 thread results, those for 2 threads can be slower than expected as the main data source can be from L2 cache instead of L1.

On running these tests the main issue was that the second test failed due to data comparison failures on reading. The first indication was a system warning that the disk drive was no longer available but it was remounted.

Following are examples of reported errors, similar to the earlier ones described earlier in Disk Drive Errors and Crashes. These were thought to have been caused by the inadequate 3 amps power supply. Also, see the comments in the initial System Stress Testing summary.

Code:

 Read passes    74 x 4 Files x  164.00 MB in    14.03 minutes Error reading file 1 Wrong File Read szzztestz-3 instead of szzztestz1 Error reading file 2 Pass  76 file szzztestz1 word  1, data error was FFFFFFFD expected FFFFFFFB Pass  76 file szzztestz1 word  2, data error was FFFFFFFD expected FFFFFFFB 
A summary of the three tests sessions follow. As indicated earlier, power consumption was higher during the tests run with the fan operational, which reduced temperatures, enabling faster performance. Without the fan, MHz throttling, involving higher temperatures,reduced current demands with slower performance. It seems that power consumption was more important than system temperature when considering stability.

Code:

                                         Integer Floating OpenGL  & VMSTAT Program             MHz   Volts  CPU °C PMIC °C  MB/sec  MFLOPS     FPS Disk MB/s LAN MB/s   Best     2400                          114000   32000     102       63      36Test 9 NO FANAverage     1239  0.7312    88.7    77.5   38696   12361      39   Mainly      27    Min     1000  0.7200    70.8    64.7   30093    9836      31    58-59    Max     2400  0.9118    90.6    79.4   76652   22873      51Test 10 FANAverage     2288  0.9118    81.2    60.2   71940   24046      66    Error      27    Min     2146  0.9118    42.8    40.5   64379   22518      61     Max     2400  0.9118    84.0    61.7   78453   27388      70Test 11 FANAverage     2276  0.9080    80.8    59.7   71794   24003      66   Mainly      27    Min     1500  0.7950    41.7    38.8   59602   20594      60    57-58    Max     2400  0.9118    84.0    61.4   82481   26551      72Average No Fan%Reductions   46      19       9      23      46      49      41      -2        0
Heavy Test No Fan

At 100% CPU utilisation, the following measurements were similar to those during the No Fan Light System Test, with the CPU running at 1000 MHz for much of the time, temperatures around 90°C and that for the Power Management Integrated Circuit more than 78°C.

Code:

 Test 9 NO FAN                           Integer Floating OpenGL  VMSTAT  Second     MHz   Volts  CPU °C PMIC °C  MB/sec  MFLOPS     FPS Disk MB/s       0    2400  0.9118    70.8    64.7      60    1500  0.7200    85.6    72.5   76652   22873      51     0.3     120    1500  0.7200    86.2    74.1   50138   15511      50    41.9     180    1500  0.7200    88.4    75.8   44886   15027      48    58.8     240    1500  0.7200    89.5    76.6   49106   15012      46    58.1     300    1500  0.7200    88.9    77.2   44702   14215      45    59.6     360    1000  0.7200    90.0    77.5   41739   12596      43    58.5     420    1500  0.7200    89.5    77.6   41734   12524      43    59.3     480    1000  0.7200    90.0    77.7   40211   12041      42    58.1     540    1000  0.7200    90.0    78.0   39083   13329      41    58.4     600    1500  0.7200    89.5    78.2   37814   12529      38    58.3     660    1500  0.7200    90.0    78.2   36144   11875      38    58.5     720    1000  0.7200    89.5    78.3   35741   11720      36    58.2     780    1000  0.7200    90.6    78.5   37614   13467      38    58.5     840    1000  0.7200    89.5    78.7   33104   10712      35    57.6     900    1000  0.7200    90.0    78.6   39563   11029      38    58.6     960    1000  0.7200    90.0    78.4   37259   11448      38    58.2    1020    1000  0.7200    89.5    78.9   34469   11583      39    57.8    1080    1000  0.7200    90.0    78.3   35970   11306      38    57.4    1140    1500  0.7200    90.0    78.7   34045   12281      36    58.6    1200    1000  0.7200    90.0    78.4   35297   10928      38    59.1    1260    1500  0.7200    90.0    78.9   37365   12002      36    58.3    1320    1000  0.7200    90.0    78.5   34004   11252      36    58.2    1380    1000  0.7200    90.0    78.4   34892   11070      34    58.8    1440    1000  0.7200    90.0    78.7   36255   10274      37    58.8    1500    1000  0.7200    88.9    78.7   33912   11320      37    58.3    1560    1500  0.7200    89.5    79.0   33513   11426      35    58.7    1620    1000  0.7200    89.5    79.0   30093   10650      35    58.8    1680    1000  0.7200    89.5    79.4   32852    9836      32    58.7    1740    1000  0.7200    90.0    79.1   30465   10273      31   122.6    1800    1500  0.8769    85.1    77.1   32262   10709      32   146.5 Average    1239  0.7312    88.7    77.5   38696   12361      39     Min    1000  0.7200    70.8    64.7   30093    9836      31     Max    2400  0.9118    90.6    79.4   76652   22873      51   
Heavy Test With Fan - FAILED

As shown initially below, system behaviour did not appear to be much different to that, at the same point, during the later successful test. However, these are instantaneous measurements that can be different in the next picosecond. Also I did note USB power measurements of 4.8 volts at 0.53 amps, compared with 4.94 and 0.53 quoted earlier. But this might be due to infrequent manual sampling.

Code:

                  Tests 10 and 11 at 900 secondsT11   900   2366  0.9118    83.4    61.0   61490   24333      68    58.1T10   900   2256  0.9118    83.4    61.5   70134   22929      61    59.1  Test 10 FAN                             Integer Floating OpenGL  VMSTAT  Second     MHz   Volts  CPU °C PMIC °C  MB/sec  MFLOPS     FPS Disk MB/s       0    2400  0.9118    42.8    40.5      60    2400  0.9118    79.0    55.6   70918   25009      65     9.5     120    2201  0.9118    82.3    59.7   73729   23355      68    42.9     180    2366  0.9118    82.9    60.9   68151   24311      67    59.5     240    2311  0.9118    83.4    61.0   70410   23307      67    59.7     300    2146  0.9118    82.9    61.0   73093   23714      65    58.6     360    2311  0.9118    82.3    61.3   69355   22632      64    59.1     420    2311  0.9118    82.9    61.5   74376   23902      62    59.1     480    2311  0.9118    83.4    61.0   64379   23731      63    59.2     540    2201  0.9118    82.9    61.4   72430   22757      66    58.4     600    2201  0.9118    83.4    61.2   67268   25440      65    58.9     660    2256  0.9118    82.9    61.7   70452   22864      66    58.2     720    2311  0.9118    83.4    61.5   66588   22796      64    59.0     780    2256  0.9118    82.9    61.4   71766   22518      64    59.5     840    2146  0.9118    84.0    61.7   69162   23801      65    59.0     900    2256  0.9118    83.4    61.5   70134   22929      61    59.1     960    2201  0.9118    82.9    61.2   75122   24518      61    31.5    1020    2400  0.9118    82.9    61.4   74535   23855      64     0.1 FAILED    1080    2311  0.9118    82.9    61.0   74460   23832      62       0    1140    2256  0.9118    82.9    61.0   71397   23861      64       0    1200    2311  0.9118    83.4    61.0   75347   23264      64       0    1260    2311  0.9118    82.3    61.0   72384   24361      62       0    1320    2366  0.9118    83.4    61.5   74719   25401      70       2    1380    2400  0.9118    82.3    61.2   71234   24356      69       0    1440    2311  0.9118    83.4    61.4   73853   24652      67       0    1500    2366  0.9118    82.9    61.3   71402   24619      66       0    1560    2146  0.9118    84.0    61.4   78453   23417      70       0    1620    2256  0.9118    84.0    61.0   71631   24961      70       0    1680    2311  0.9118    82.9    61.0   74461   25101      69       0    1740    2201  0.9118    83.4    61.3   73486   24737      69       0    1800    2400  0.9118    70.3    57.1   73493   27388      68       0 Average    2288  0.9118    81.2    60.2   71940   24046      66     Min    2146  0.9118    42.8    40.5   64379   22518      61     Max    2400  0.9118    84.0    61.7   78453   27388      70
Second Heavy Test With Fan

Here, performance did not vary much but there was some CPU MHz throttling. Perhaps the official fan will avoid this and overcome observed undesirable power variations with the new 5 amps version.

Code:

 Test 11 FAN                             Integer Floating OpenGL  VMSTAT  Second     MHz   Volts  CPU °C PMIC °C  MB/sec  MFLOPS     FPS Disk MB/s       0    2400  0.9118    41.7    38.8      60    2400  0.9118    74.7    53.7   77484   26076      67     4.5     120    2400  0.9118    81.8    58.7   82481   25011      72    42.3     180    2400  0.9118    82.9    60.0   74579   26236      66    58.3     240    2366  0.9118    81.8    60.1   69930   23368      63    57.7     300    2311  0.9118    83.4    60.5   76266   22233      68    57.9     360    2311  0.9118    83.4    60.7   72493   25286      66    58.7     420    2311  0.9118    82.3    61.0   67909   23927      70    57.9     480    2311  0.9118    83.4    60.8   73526   25794      63    57.6     540    2256  0.9118    83.4    61.0   74888   26551      67    57.9     600    2366  0.9118    82.9    61.0   74110   23912      66    57.4     660    2256  0.9118    82.9    61.1   75024   25414      65    57.6     720    2256  0.9118    82.9    61.0   59602   25025      65    59.1     780    2256  0.9118    83.4    61.0   67930   22907      65    57.1     840    2256  0.9118    84.0    61.0   71962   24011      67    58.2     900    2366  0.9118    83.4    61.0   61490   24333      68    58.1     960    2311  0.9118    82.3    61.1   63462   22888      65    58.2    1020    2256  0.9118    83.4    61.0   67540   25537      68    57.3    1080    2256  0.9118    82.9    61.0   70804   23791      66    57.8    1140    2400  0.9118    83.4    61.0   71113   22011      64    57.5    1200    2256  0.9118    82.3    61.4   77050   23111      70    58.7    1260    2311  0.9118    83.4    61.0   73053   24148      63    57.7    1320    2256  0.9118    82.3    60.9   74469   23307      66    57.6    1380    2256  0.9118    83.4    61.2   72160   22726      66    58.2    1440    2256  0.9118    82.3    60.9   73994   24276      66    59.5    1500    2256  0.9118    83.4    61.0   72659   22260      67    56.9    1560    2256  0.9118    82.9    61.2   74870   21866      68    57.8    1620    2256  0.9118    83.4    61.0   76735   23945      66    57.5    1680    2201  0.9118    83.4    60.9   70727   20594      66    57.6    1740    2311  0.9118    83.4    61.2   65023   24760      63   123.7    1800    1500  0.7950    64.2    55.4   70479   24786      60   158.3 Average    2276  0.9080    80.8    59.7   71794   24003      66     Min    1500  0.7950    41.7    38.8   59602   20594      60     Max    2400  0.9118    84.0    61.4   82481   26551      72  

Statistics: Posted by RoyLongbottom — Wed Jan 17, 2024 4:06 pm



Viewing all articles
Browse latest Browse all 2443

Trending Articles