Robotics StackExchange | Archived questions

Does the load average of a computer has effect on a robot's response?

Our lab. has two robots and two computers.

I am running the same code for the human following using deep learning with OpenCV, turtlebot is very very nice but Rabbot is very very slow.

I don't know what is the reason.

The first computer with a turtlebot (Ubuntu 14.04, desktop), this is its load average :

$ top

the output:

top - 21:33:31 up  1:12,  4 users,  load average: 0.06, 0.03, 0.05
    Tasks: 184 total,   2 running, 181 sleeping,   0 stopped,   1 zombie
    %Cpu(s):  1.0 us,  1.5 sy,  0.0 ni, 97.5 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
    KiB Mem:   3932276 total,  1286988 used,  2645288 free,    96044 buffers
    KiB Swap:  4077564 total,        0 used,  4077564 free.   616332 cached Mem

      PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND    
     1006 mongodb   20   0  382076  48296  11000 S   1.6  1.2   1:06.28 mongod     
     4637 turtleb+  20   0   30380   3476   2972 R   1.3  0.1   0:01.34 top        
     1068 redis     20   0   37012   8720   2340 S   0.3  0.2   0:03.90 redis-ser+ 
     1479 root      20   0  205288  15304   8976 S   0.3  0.4   0:09.94 teamviewe+ 
     1695 turtleb+  20   0 2674480  48700  18308 S   0.3  1.2   0:21.91 TeamViewe+ 
     1889 turtleb+  20   0    5868   3108   1852 S   0.3  0.1   0:14.63 wineserver 
     1957 turtleb+  20   0   20248   2188   2020 S   0.3  0.1   0:05.07 syndaemon  
     2047 turtleb+  20   0 2659324  13216  11692 S   0.3  0.3   0:03.13 explorer.

+ 
 2054 turtleb+  20   0  384944  11824   8584 S   0.3  0.3   0:02.81 TVGuiSlav+ 
 2733 turtleb+  20   0  300612  24012   7348 S   0.3  0.6   0:16.87 roscore    
 2745 turtleb+  20   0  435688  24904   6968 S   0.3  0.6   0:16.19 rosmaster  
 3262 turtleb+  20   0  107744   4728   3444 S   0.3  0.1   0:03.62 sshd       
 4634 root      20   0       0      0      0 S   0.3  0.0   0:00.65 kworker/u+ 
    1 root      20   0   33912   4432   2668 S   0.0  0.1   0:02.34 init       
    2 root      20   0       0      0      0 S   0.0  0.0   0:00.00 kthreadd   
    3 root      20   0       0      0      0 S   0.0  0.0   0:00.32 ksoftirqd+ 
    5 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kworker/0+

uptime

$ uptime

the output:

 21:35:34 up  1:15,  4 users,  load average: 0.08, 0.05, 0.05

model name:

$  grep 'model name' /proc/cpuinfo | wc -l

the outpot:

2

the second computer with Rabbot (Ubuntu 16.04, not laptop):

$ top

output:

top - 21:41:31 up  6:09,  2 users,  load average: 1.10, 1.12, 1.09
Tasks: 209 total,   2 running, 151 sleeping,   0 stopped,   0 zombie
%Cpu(s):   0.0/16.0   16[                                                     ]
KiB Mem :  8033860 total,  6300548 free,   559156 used,  1174156 buff/cache
KiB Swap:  8248316 total,  8248316 free,        0 used.  6902360 avail Mem 

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND     
  216 root      20   0       0      0      0 R  85.0  0.0 313:13.74 kworker/3:2 
   28 root      20   0       0      0      0 S  15.0  0.0  55:42.73 ksoftirqd/3 
    1 root      20   0  185208   5844   4020 S   0.0  0.1   0:01.61 systemd     
    2 root      20   0       0      0      0 S   0.0  0.0   0:00.00 kthreadd    
    4 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 kworker/0:+ 
    6 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 mm_percpu_+ 
    7 root      20   0       0      0      0 S   0.0  0.0   0:00.03 ksoftirqd/0 
    8 root      20   0       0      0      0 I   0.0  0.0   0:00.44 rcu_sched   
    9 root      20   0       0      0      0 I   0.0  0.0   0:00.00 rcu_bh      
   10 root      rt   0       0      0      0 S   0.0  0.0   0:00.00 migration/0 
   11 root      rt   0       0      0      0 S   0.0  0.0   0:00.01 watchdog/0  
   12 root      20   0       0      0      0 S   0.0  0.0   0:00.00 cpuhp/0     
   13 root      20   0       0      0      0 S   0.0  0.0   0:00.00 cpuhp/1     
   14 root      rt   0       0      0      0 S   0.0  0.0   0:00.01 watchdog/1  
   15 root      rt   0       0      0      0 S   0.0  0.0   0:00.00 migration/1 
   16 root      20   0       0      0      0 S   0.0  0.0   0:00.13 ksoftirqd/1 

uptime

$ uptime

the output:

  21:50:52 up  6:18,  2 users,  load average: 1.07, 1.10, 1.09

model name:

$  grep 'model name' /proc/cpuinfo | wc -l

output:

6

please, if anyone knows the reason help me.

Asked by Redhwan on 2019-09-01 08:01:40 UTC

Comments

Answers