[R] help.start() caused high CPU loading

Abby Spurdle @purd|e@@ @end|ng |rom gm@||@com
Mon Apr 27 21:40:39 CEST 2020


> > (3) If (2) true, how much CPU is R using?
> 0%.

> > (4) If (3) is zero, what processes are using the CPU the most?
> In such case, almost every processes is using the CPU in a very low
> percentage, i.e., 1% or below. I don't recognized those processes.
> Now, I invoke help.start(), about 25% of CPU loading is used by R. Quit
> from R, the CPU loading go back to idle.

Is R using 0% or 25%?

Again, if R was using 25% while showing the prompt and waiting for
user input, that would be a bug in R.

Or do you mean R is using 0% and total CPU usage *temporarily*
increases 25% *while* R is running?
If so, this could be the result of some security feature...? not sure
because this is outside my area...

I just found the following feature.
If you open powershell, one can run: ps | sort -desc cpu

This could be used if you want to show people what's happening.

PS C:\Users\spurdle> ps | sort -desc cpu

Handles  NPM(K)    PM(K)      WS(K)     CPU(s)     Id  SI ProcessName
-------  ------    -----      -----     ------     --  -- -----------
    625      28   108940     111644   4,900.52   8176   0 audiodg
    794      38   234888     177924      62.13   8652  19 chrome
   1673      71    84372     147628      61.97  10304  19 chrome
    330      25   100096     146968      55.80   1052  19 chrome
    391      26   141928     181264      35.27   6884  19 chrome
    291      20    46676      80472      15.25   5352  19 chrome
   2351      79    58404     107276      13.33   6940  19 explorer
    443      22    17916      34764      12.17   7196  19 chrome
   1331      90   107628      87596      10.86   9432  19 SearchUI
    671      41    56184      70320       9.94  10420  19 powershell
    362      24    51984      91568       9.06   4360  19 chrome
   1129     107   206988      31852       7.17   6740  19 SkypeApp
    696      40    26764      45620       5.33   4348  19
Lenovo.Modern.ImController.PluginHost.Device
    256      20    56860      84372       5.17   1660  19 chrome
    284      18    34532      62112       5.13   1212  19 chrome
    291      19     7048      16360       4.30   1476  19 chrome

Diverging, I can't figure out how to permanently stop Lenovo and Skype
processes, or why chrome (and edge) need so many copies of
themselves...
Anyway, the plan is to shift to Debian or OpenIndianna, and run
ReactOS via virtualization...



More information about the R-help mailing list