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

asked 2019-09-01 08:01:40 -0600

Redhwan gravatar image

updated 2021-04-24 03:10:01 -0600

miura gravatar image

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 ...
(more)
edit retag flag offensive close merge delete