日前,米尔电子震撼发布myd-jx8mpqc开发板,一经发布就备受瞩目。米尔这款开发板采用nxp第一款集成 npu的高性能处理器i.mx 8m plus芯片,面向ai场景,强大的边缘计算能力,nxp官方给这颗处理器的定位是“能够在工业和物联网等领域实现边缘端高级机器学习推理”。且看试用者详细介绍【米尔myc-jx8mpq评测】+ 运行 tensorflow lite(cpu和npu对比),小编在此分享给大家。
【米尔myc-jx8mpq评测】+ 运行 tensorflow lite(cpu和npu对比)—bloong
tensorflowlite是一个开源软件库,专注于在移动设备和嵌入式设备上运行机器学习模型(可在http://www.tensorflow.org/lite上获得)。它支持具有低延迟和小二进制大小的设备上的机器学习推断。张量流lite还支持使用安卓操作系统神经网络api(nnapi)进行硬件加速。
我们试用一下tensorflowlite,试用之前我们先介绍一位老前辈,当然也是bug的出处。
bug一词指在电脑系统或程序中,隐藏着的一些未被发现的缺陷或问题。但是bug一词是如何由来的呢?这一切起源于1947年,从一只不小飞入mark ii计算机的飞虫说起。
扩展阅读:1947年9月9日,当人们测试mark ii计算机时,它突然发生了故障。经过几个小时的检查后,工作人员发现了一只飞蛾被打死在面板f的第70号继电器中。当把这个飞蛾取出后,机器便恢复了正常。
当时为mark ii计算机工作的著名女科学家grace hopper将这只飞蛾粘帖到当天的工作手册中,并在上面加了一行注释,
“first actual case of bug being found”
当时的时间是15:45.随着这个故事的广为流传,越来越多的人开始使用bug一词来指代计算机中的设计错误,并把grace hopper上登记的那只飞蛾看作是计算机里上第一个被记录在文档中的bug.
这一称呼后来演变成表达缺陷漏洞的计算机专业术语,人们习惯地把排除程序故障叫做“debug”(除虫)。
今天我们测试tensorflow的 image classification 的主角就是老前辈grace_hopper的相片。
1、在cpu上使用移动网络模型运行此示例,请使用以下命令:
root@myd-jx8mp:/usr/bin/tensorflow-lite-2.4.0/examples# ./label_image -m mobilenet_v1_1.0_224_quant.tflite -i grace_hopper.bmp -l labels.txt
运行结果如下
info: loaded model mobilenet_v1_1.0_224_quant.tflite
info: resolved reporter
info: invoked
info: average time: 44.477 ms
info: 0.780392: 653 military uniform
info: 0.105882: 907 windsor tie
info: 0.0156863: 458 bow tie
info: 0.0117647: 466 bulletproof vest
info: 0.00784314: 835 suit
2、要使用xnnpack委托在cpu上运行示例应用程序,请使用-x1开关
./label_image -m mobilenet_v1_1.0_224_quant.tflite -i grace_hopper.bmp -l labels.txt -x 1
运行结果如下
info: loaded model mobilenet_v1_1.0_224_quant.tflite
info: resolved reporter
info: created tensorflow lite xnnpack delegate for cpu.
info: applied xnnpack delegate.
info: invoked
info: average time: 44.514 ms
info: 0.780392: 653 military uniform
info: 0.105882: 907 windsor tie
info: 0.0156863: 458 bow tie
info: 0.0117647: 466 bulletproof vest
info: 0.00784314: 835 suit
3、若要在gpu/npu硬件加速器上使用相同的模型运行该示例,请添加-a1命令行参数。要区分3dgpu和npu,请使用use_gpu_inference开关。例如,对于npu硬件加速器,请使用以下命令:
use_gpu_inference=0 ./label_image -m mobilenet_v1_1.0_224_quant.tflite -i grace_hopper.bmp -l labels.txt -a 1
运行结果如下
info: loaded model mobilenet_v1_1.0_224_quant.tflite
info: resolved reporter
info: created tensorflow lite delegate for nnapi.
info: applied nnapi delegate.
info: invoked
info: average time: 2.773 ms
info: 0.768627: 653 military uniform
info: 0.105882: 907 windsor tie
info: 0.0196078: 458 bow tie
info: 0.0117647: 466 bulletproof vest
info: 0.00784314: 835 suit
3、使用python3运行
root@myd-jx8mp:/usr/bin/tensorflow-lite-2.4.0/examples# python3 label_image.py
运行结果
info: created tensorflow lite delegate for nnapi.
applied nnapi delegate.
warm-up time: 6612.9 ms
inference time: 3.0 ms
0.870588: military uniform
0.031373: windsor tie
0.011765: mortarboard
0.007843: bow tie
0.007843: bulletproof vest
从运行结果来看同样的图片,npu运行要比cpu快很多, npu和cpu运算结果相差不大,nnapi运行结果相似度更高。
【米尔myc-jx8mpq评测】运行tdengine—bloong
因为之前的项目上有用到涛思数据库,后面项目上可能也会用到数据库,所以在这个板子上运行试试看
tdengine 社区版是一开源版本,采用的是agpl许可证,是一个处理中小规模的物联网数据平台。它具备高效处理物联网数据所需要的所有功能,包括:
类sql查询语言来插入或查询数据
支持c/c++, java(jdbc), python, go, restful, and node.js 等开发接口
通过tdengine shell或python/r/matlab可做各种ad hoc查询分析
通过连续查询,支持基于滑动窗口的流式计算
引入超级表,让设备之间的数据聚合通过标签变得简单、灵活
内嵌消息队列,应用可订阅最新的数据
内嵌缓存机制,每台设备的最新状态或记录都可快速获得
无历史数据与实时数据之分,对应用而言,透明且完全一样
分布式架构,支持线性扩展,以保证任何规模的数据量都可以处理
支持多副本,无单点故障,以保证系统的高可用与高可靠
1 解压tdengine软件(tdengine的软件包我已经编译好了这里直接使用,如果哪位同学也想用的话私信邮箱给我)
root@myd-jx8mp:~/tdengine# ls -a
. .. bin cfg lib
2将lib目录下的所有文件拷贝到/usr/lib/目录下面
root@myd-jx8mp:~/tdengine# cp lib/* /usr/lib/
3运行taosd涛思服务端
root@myd-jx8mp:~/tdengine/bin# ./taosd
config file:/etc/taos/taos.cfg not found, all variables are set to default
09/20 11:11:18.975189 00002231 dnd start to initialize tdengine
09/20 11:11:18.975378 00002231 dnd step:dnode-tfile is initialized
09/20 11:11:18.975415 00002231 dnd step:dnode-rpc is initialized
09/20 11:11:18.976140 00002231 utl localep is: myd-jx8mp:6030
09/20 11:11:18.976973 00002231 utl warn timezone not configured, set to system default:universal (utc, +0000)
09/20 11:11:18.977024 00002231 utl warn locale not configured, set to system default:c
09/20 11:11:18.977050 00002231 utl warn can't get locale and charset from system, set it to utf-8
09/20 1118.983835 00002231 utl check global cfg completed
09/20 1118.983888 00002231 utl ==================================
09/20 1118.983909 00002231 utl taos config & system info:
09/20 1118.983925 00002231 utl ==================================
09/20 1118.983943 00002231 utl firstep: myd-jx8mp:6030
09/20 1118.983959 00002231 utl secondep: myd-jx8mp:6030
09/20 1118.983976 00002231 utl fqdn: myd-jx8mp
09/20 1118.983993 00002231 utl serverport: 6030
09/20 1118.984011 00002231 utl configdir: /etc/taos
09/20 1118.984027 00002231 utl logdir: /var/volatile/log/taos
09/20 1118.984044 00002231 utl scriptdir: /etc/taos
09/20 1118.984060 00002231 utl arbitrator:
09/20 1118.984078 00002231 utl numofthreadspercore: 1.000000
09/20 1118.984101 00002231 utl numofcommitthreads: 4
09/20 1118.984118 00002231 utl ratioofquerycores: 1.000000
09/20 1118.984136 00002231 utl maxnumofdistinctres: 10000000
09/20 1118.984153 00002231 utl numofmnodes: 1
09/20 1118.984169 00002231 utl vnodebak: 1
09/20 1118.984192 00002231 utl telemetryreporting: 1
09/20 1118.984218 00002231 utl dnodenoploop: 0
09/20 1118.984235 00002231 utl balance: 1
09/20 1118.984251 00002231 utl balanceinterval: 300
09/20 1118.984267 00002231 utl offlineinterval: 3
09/20 1118.984284 00002231 utl role: 0
09/20 1118.984300 00002231 utl maxtmrctrl: 512
09/20 1118.984321 00002231 utl monitorinterval: 30(s)
09/20 1118.984342 00002231 utl monitorreplica: 1
09/20 1118.984362 00002231 utl offlinethreshold: 864000(s)
09/20 1118.984382 00002231 utl rpctimer: 300(ms)
09/20 1118.984402 00002231 utl rpcmaxtime: 600(s)
09/20 1118.984423 00002231 utl rpcforcetcp: 0
09/20 1118.984443 00002231 utl statusinterval: 1(s)
09/20 1118.984476 00002231 utl shellactivitytimer: 3(s)
09/20 1118.984505 00002231 utl minslidingtime: 10(ms)
09/20 1118.984538 00002231 utl minintervaltime: 1(ms)
09/20 1118.984558 00002231 utl maxstreamcompdelay: 20000(ms)
09/20 1118.984579 00002231 utl maxfirststreamcompdelay:10000(ms)
09/20 1118.984617 00002231 utl retrystreamcompdelay: 1800000(ms)
09/20 1118.984643 00002231 utl streamcompdelayratio: 0.100000
09/20 1118.984670 00002231 utl maxvgroupsperdb: 0
09/20 1118.984691 00002231 utl maxtablespervnode: 1000000
09/20 1118.984712 00002231 utl mintablespervnode: 1000
09/20 1118.984732 00002231 utl tableincsteppervnode: 1000
09/20 1118.984752 00002231 utl cache: 16(mb)
09/20 1118.984772 00002231 utl blocks: 6
09/20 1118.984793 00002231 utl days: 10
09/20 1118.984813 00002231 utl keep: 3650
09/20 1118.984833 00002231 utl minrows: 100
09/20 1118.984853 00002231 utl maxrows: 4096
09/20 1118.984874 00002231 utl precision: 0
09/20 1118.984898 00002231 utl comp: 2
09/20 1118.984924 00002231 utl wallevel: 1
09/20 1118.984939 00002231 utl fsync: 3000
09/20 1118.984964 00002231 utl replica: 1
09/20 1118.984979 00002231 utl partitions: 4
09/20 1118.984996 00002231 utl quorum: 1
09/20 1118.985011 00002231 utl update: 0
09/20 1118.985025 00002231 utl cachelast: 0
09/20 1118.985041 00002231 utl compressmsgsize: 524288
09/20 1118.985056 00002231 utl compresscoldata: -1
09/20 1118.985071 00002231 utl maxsqllength: 1048576(byte)
09/20 1118.985088 00002231 utl maxwildcardslength: 100(byte)
09/20 1118.985103 00002231 utl maxregexstringlen: 128(byte)
09/20 1118.985118 00002231 utl maxnumoforderedres: 1000000
09/20 1118.985133 00002231 utl querybuffersize: -1(byte)
09/20 1118.985148 00002231 utl retrieveblockingmodel: 0
09/20 1118.985163 00002231 utl keepcolumnname: 0
09/20 1118.985178 00002231 utl timezone: universal (utc, +0000)
09/20 1118.985194 00002231 utl locale: c
09/20 1118.985209 00002231 utl charset: utf-8
09/20 1118.985224 00002231 utl maxshellconns: 50000
09/20 1118.985237 00002231 utl maxconnections: 5000
09/20 1118.985255 00002231 utl minimallogdirgb: 1.000000(gb)
09/20 1118.985273 00002231 utl minimaltmpdirgb: 1.000000(gb)
09/20 1118.985290 00002231 utl minimaldatadirgb: 2.000000(gb)
09/20 1118.985307 00002231 utl mnodeequalvnodenum: 4
09/20 1118.985322 00002231 utl flowctrl: 1
09/20 1118.985335 00002231 utl slavequery: 1
09/20 1118.985351 00002231 utl adjustmaster: 1
09/20 1118.985366 00002231 utl http: 1
09/20 1118.985381 00002231 utl mqtt: 0
09/20 1118.985396 00002231 utl monitor: 1
09/20 1118.985411 00002231 utl stream: 1
09/20 1118.985426 00002231 utl topicbinarylen: 16000
09/20 1118.985441 00002231 utl httpenablerecordsql: 0
09/20 1118.985456 00002231 utl telegrafusefieldnum: 0
09/20 1118.985471 00002231 utl httpmaxthreads: 2
09/20 1118.985486 00002231 utl restfulrowlimit: 10240
09/20 1118.985538 00002231 utl httpdbnamemandatory: 0
09/20 1118.985555 00002231 utl httpkeepalive: 30000
09/20 1118.985571 00002231 utl numofloglines: 10000000
09/20 1118.985584 00002231 utl logkeepdays: 0
09/20 1118.985596 00002231 utl asynclog: 1
09/20 1118.985609 00002231 utl debugflag: 0
09/20 1118.985621 00002231 utl mdebugflag: 131
09/20 1118.985634 00002231 utl ddebugflag: 135
09/20 1118.985648 00002231 utl sdebugflag: 135
09/20 1118.985660 00002231 utl wdebugflag: 135
09/20 1118.985672 00002231 utl sdbdebugflag: 131
09/20 1118.985696 00002231 utl rpcdebugflag: 131
09/20 1118.985710 00002231 utl tmrdebugflag: 131
09/20 1118.985723 00002231 utl cdebugflag: 131
09/20 1118.985736 00002231 utl jnidebugflag: 131
09/20 1118.985749 00002231 utl odbcdebugflag: 131
09/20 1118.985761 00002231 utl udebugflag: 131
09/20 1118.985773 00002231 utl httpdebugflag: 131
09/20 1118.985787 00002231 utl mqttdebugflag: 131
09/20 1118.985799 00002231 utl mondebugflag: 131
09/20 1118.985811 00002231 utl qdebugflag: 131
09/20 1118.985825 00002231 utl vdebugflag: 135
09/20 1118.985837 00002231 utl tsdbdebugflag: 131
09/20 1118.985850 00002231 utl cqdebugflag: 131
09/20 1118.985862 00002231 utl enablerecordsql: 0
09/20 1118.985876 00002231 utl enablecorefile: 0
09/20 1118.985892 00002231 utl gitinfo: ac6c719aef7e9a9ae791b1dde0002ff7c7c3cd28
09/20 1118.985911 00002231 utl gitinfoofinternal: ac6c719aef7e9a9ae791b1dde0002ff7c7c3cd28
09/20 1118.985924 00002231 utl buildinfo: built at 2022-02-14 1008
09/20 1118.985937 00002231 utl version: 2.4.0.0
09/20 1118.985968 00002231 utl maxbinarydisplaywidth: 30
09/20 1118.985980 00002231 utl tempdir: /tmp/
09/20 1118.985993 00002231 utl tsdbmetacompactratio: 0
09/20 1118.986005 00002231 utl deadlockkillquery: 1
09/20 1118.986018 00002231 utl clientmerge: 0
09/20 1118.986030 00002231 utl defaultjsonstrtype: nchar
09/20 1118.986042 00002231 utl smlchildtablename:
09/20 1118.986055 00002231 utl smltagnullname: _tag_null
09/20 1118.986068 00002231 utl walflushsize: 1024(mb)
09/20 1118.986081 00002231 utl shortcutflag: 0
09/20 1118.986098 00002231 utl os pagesize: 4096(kb)
09/20 1118.986110 00002231 utl os openmax: 1024
09/20 1118.986122 00002231 utl os streammax: 16
09/20 1118.986133 00002231 utl os numofcores: 4
09/20 1118.986145 00002231 utl os totalmemory: 2921(mb)
09/20 1118.986164 00002231 utl os sysname: linux
09/20 1118.986177 00002231 utl os nodename: myd-jx8mp
09/20 1118.986189 00002231 utl os release: 5.10.9-1.0.0+g68232600d8b7
09/20 1118.986205 00002231 utl os version: #1 smp preempt tue nov 23 0844 utc 2021
09/20 1118.986221 00002231 utl os machine: aarch64
09/20 1118.986238 00002231 utl datadir: /var/lib/taos
09/20 1118.986255 00002231 utl ==================================
09/20 1118.986268 00002231 dnd step:dnode-globalcfg is initialized
09/20 1118.986407 00002231 tfs disk /var/lib/taos is mounted to tier level 0 id 0
09/20 1118.986761 00002231 utl ==================================
09/20 1118.986792 00002231 utl os totaldisk: 6.668533(gb)
09/20 1118.986812 00002231 utl os useddisk: 3.161125(gb)
09/20 1118.986826 00002231 utl os availdisk: 3.133099(gb)
09/20 1118.986839 00002231 utl ==================================
09/20 1118.986851 00002231 dnd dnode storage is initialized at /var/lib/taos/dnode
09/20 1118.986864 00002231 dnd step:dnode-storage is initialized
09/20 1118.987011 00002231 dnd read file /var/lib/taos/dnode/dnodecfg.json successed
09/20 1118.987037 00002231 dnd dnodeid is set to 1, clusterid is set to 7ebdeb06-4043-4b4f-b20e-44c8043bdcd6
09/20 1118.990881 00002231 dnd successed to write /var/lib/taos/dnode/dnodecfg.json
09/20 1118.990939 00002231 dnd dnode cfg is initialized
09/20 1118.990952 00002231 dnd step:dnode-cfg is initialized
09/20 1118.991075 00002231 dnd read file /var/lib/taos/dnode/dnodeeps.json successed
09/20 1118.991138 00002231 dnd dnode eps is initialized
09/20 1118.991161 00002231 dnd step:dnode-eps is initialized
09/20 1118.991225 00002231 dnd read file /var/lib/taos/dnode/mnodeepset.json successed
09/20 1118.991243 00002231 dnd print minfos, mnodenum:1 inuse:0
09/20 1118.991257 00002231 dnd mnode index:1, myd-jx8mp:6030
09/20 1118.991283 00002231 dnd print minfos, mnodenum:1 inuse:0
09/20 1118.991299 00002231 dnd mnode index:1, myd-jx8mp:6030
09/20 1118.991314 00002231 dnd dnode minfos is initialized
09/20 1118.991331 00002231 dnd step:dnode-minfos is initialized
09/20 1118.991518 00002231 wal wal module is initialized, rsetid:3
09/20 1118.991538 00002231 dnd step:dnode-wal is initialized
09/20 1118.991773 00002231 dnd step:dnode-sync is initialized
09/20 1118.991911 00002231 dnd dnode check is initialized
09/20 1118.991931 00002231 dnd step:dnode-check is initialized
09/20 1118.991948 00002231 utl worker:vquery is initialized, min:4 max:4
09/20 1118.991962 00002231 utl worker:vfetch is initialized, min:4 max:4
09/20 1118.991975 00002231 dnd step:dnode-vread is initialized
09/20 1118.991990 00002231 dnd dnode vwrite is initialized, max worker 4
09/20 1118.992002 00002231 dnd step:dnode-vwrite is initialized
09/20 1118.992141 00002231 dnd step:vnode-backup is initialized
09/20 1118.992232 00002231 dnd step:vnode-worker is initialized
09/20 1118.992250 00002231 dnd step:vnode-write is initialized
09/20 1118.992263 00002231 dnd step:vnode-read is initialized
09/20 1118.992283 00002231 dnd step:vnode-hash is initialized
09/20 1118.992537 00002231 dnd step:tsdb-queue is initialized
09/20 1118.992566 00002231 utl worker:vmgmt is initialized, min:1 max:1
09/20 1118.992648 00002231 dnd dnode vmgmt is initialized
09/20 1118.992667 00002231 dnd step:dnode-vmgmt is initialized
09/20 1118.992700 00002231 dnd step:dnode-mread is initialized
09/20 1118.992727 00002231 dnd step:dnode-mwrite is initialized
09/20 1118.992753 00002231 dnd step:dnode-mpeer is initialized
09/20 1118.997630 00002231 dnd dnode inter-dnodes rpc client is initialized
09/20 1118.997692 00002231 dnd step:dnode-client is initialized
09/20 1118.999606 00002231 dnd dnode inter-dnodes rpc server is initialized
09/20 1118.999672 00002231 dnd step:dnode-server is initialized
09/20 1118.999797 00002231 dnd start 4 threads to open 1 vnodes
09/20 1119.000450 00002249 vnd vgid:2, load vnode cfg successfully, replcia:1
09/20 1119.000482 00002249 vnd vgid:2, dnode:1, myd-jx8mp:6040
09/20 1119.000560 00002249 vnd vgid:2, read /var/lib/taos/vnode/vnode2/version.json successfully, fver:59
09/20 1119.003539 00002249 vnd vgid:2, sync role changed from offline to master
09/20 1119.003672 00002231 dnd there are total vnodes:1, opened:1
09/20 1119.003702 00002231 dnd step:dnode-vnodes is initialized
09/20 1119.003781 00002231 mnd starting to initialize mnode ...
09/20 1119.004116 00002231 dnd step:sdbref is initialized
09/20 1119.004317 00002231 dnd step:profile is initialized
09/20 1119.004341 00002231 dnd step:cluster is initialized
09/20 1119.004359 00002231 dnd step:accts is initialized
09/20 1119.004379 00002231 dnd step:users is initialized
09/20 1119.004406 00002231 dnd step:funcs is initialized
09/20 1119.004425 00002231 dnd step:dnodes is initialized
09/20 1119.004451 00002231 dnd step:dbs is initialized
09/20 1119.004474 00002231 dnd step:vgroups is initialized
09/20 1119.005423 00002231 dnd step:tables is initialized
09/20 1119.005465 00002231 dnd step:mnodes is initialized
09/20 1119.005708 00002231 mnd vgid:1, sdb write is opened
09/20 1119.005781 00002231 sdb vgid:1, open sdb wal for restore
09/20 1119.005887 00002231 wal vgid:1, file:/var/lib/taos/mnode/wal/wal0, will be restored
09/20 1119.006093 00002231 mnd dnode:1, fqdn:myd-jx8mp ep6030 port:6030 is created
09/20 1119.006138 00002231 mnd mnode:1, fqdn:myd-jx8mp ep6030 port:6030 is created
09/20 1119.006997 00002231 wal vgid:1, file:/var/lib/taos/mnode/wal/wal0, restore success, wver:28
09/20 1119.007141 00002231 sdb vgid:1, sdb wal load success
09/20 1119.007165 00002231 sdb vgid:1, sdb start to check for integrity
09/20 1119.007192 00002231 sdb vgid:1, sdb:cluster is checked, rows:1
09/20 1119.007220 00002231 sdb vgid:1, sdb:dnodes is checked, rows:1
09/20 1119.007243 00002231 mnd vgid:1, update mnodes epset, numofmnodes:1
09/20 1119.007270 00002231 mnd vgid:1, mnodes epset is set, num:1 inuse:0
09/20 1119.007294 00002231 mnd vgid:1, mnode:1, fqdn:myd-jx8mp shell:6030 peer:6035
09/20 1119.007318 00002231 sdb vgid:1, sdb:mnodes is checked, rows:1
09/20 1119.007339 00002231 sdb vgid:1, sdb:accounts is checked, rows:1
09/20 1119.007359 00002231 sdb vgid:1, sdb:users is checked, rows:3
09/20 1119.007379 00002231 sdb vgid:1, sdb:dbs is checked, rows:1
09/20 1119.007399 00002231 sdb vgid:1, sdb:vgroups is checked, rows:1
09/20 1119.007419 00002231 sdb vgid:1, sdb:stables is checked, rows:7
09/20 1119.007439 00002231 sdb vgid:1, sdb:ctables is checked, rows:11
09/20 1119.007460 00002231 mnd dnode first deploy, func restored.
09/20 1119.007479 00002231 sdb vgid:1, sdb:funcs is checked, rows:0
09/20 1119.007499 00002231 sdb vgid:1, sdb is restored, mver:28 rows:27 tables:10
09/20 1119.007529 00002231 dnd step:sdb is initialized
09/20 1119.007690 00002231 mnd dnode:1 set access:0 to 0
09/20 1119.007719 00002231 dnd step:balance is initialized
09/20 1119.007933 00002231 dnd step:show is initialized
09/20 1119.007958 00002231 mnd mnode is initialized successfully
09/20 1119.007986 00002231 sdb vgid:1, work as mnode, replica:1
09/20 1119.008007 00002231 sdb vgid:1, mnode:1, myd-jx8mp:6040
09/20 1119.008146 00002231 sdb vgid:1, mnode role changed from master to master
09/20 1119.008173 00002231 sdb vgid:1, update mnodes role, replica:1
09/20 1119.008197 00002231 sdb vgid:1, mnode:1, role:master
09/20 1119.008221 00002231 mnd vgid:1, update mnodes epset, numofmnodes:1
09/20 1119.008247 00002231 mnd vgid:1, mnodes epset is set, num:1 inuse:0
09/20 1119.008270 00002231 mnd vgid:1, mnode:1, fqdn:myd-jx8mp shell:6030 peer:6035
09/20 1119.008609 00002231 dnd dnode modules is initialized
09/20 1119.008635 00002231 htp start http server ...
09/20 1119.008807 00002231 htp http result queue is opened
09/20 1119.009519 00002271 htp http server init success at 6041
09/20 1119.010276 00002231 mon monitor module start
09/20 1119.010315 00002231 dnd step:dnode-modules is initialized
09/20 1119.013049 00002231 dnd dnode shell rpc server is initialized
09/20 1119.013112 00002231 dnd step:dnode-shell is initialized
09/20 1119.013145 00002231 dnd dnode status timer is initialized
09/20 1119.013166 00002231 dnd step:dnode-statustmr is initialized
09/20 1119.013286 00002231 dnd dnode telemetry is initialized
09/20 1119.013316 00002231 dnd step:dnode-telemetry is initialized
09/20 1119.018904 00002231 dnd step:dnode-script is initialized
09/20 1119.018979 00002231 dnd step:dnode-grant is initialized
09/20 1119.018999 00002231 dnd tdengine is initialized successfully
09/20 1119.517104 00002263 mnd dnode:1, from offline to online
09/20 1120.012162 00002262 mnd user:monitor login from 127.0.0.1, result:success
4 另起一个终端运行taos涛思客户端
root@myd-jx8mp:~/tdengine/bin# ./taos
welcome to the tdengine shell from linux, client version:2.4.0.0
copyright (c) 2020 by taos data, inc. all rights reserved.
config file:/etc/taos/taos.cfg not found, all variables are set to default
taos>
5 查看数据库
taos> show databases;
name | created_time | ntables | vgroups | replica | quorum | days | keep | cache(mb) | blocks | minrows | maxrows | wallevel | fsync | comp | cachelast | precision | update | status |
====================================================================================================================================================================================================================================================================================
log | 2020-09-20 11:02:24.386 | 11 | 1 | 1 | 1 | 10 | 30 | 1 | 3 | 100 | 4096 | 1 | 3000 | 2 | 0 | us | 0 | ready |
query ok, 1 row(s) in set (0.003743s)
taos>
至此涛思数据库在myc-jx8mp上运行起来了
我说用count(*)统计行数,面试官让我回去等消息...
防水连接器的电气性能
人工智能语音加速布局
你对人工智能的信任度有多少
华润微电子开启网下路演 多个“第一”备受关注
【米尔MYC-JX8MPQ评测】+ 运行 TensorFlow Lite(CPU和NPU对比)
一加7 Pro真机曝光搭载骁龙855处理器或将支持5G上网
纬湃科技开发出创新型功率模块,将采用传递模塑工艺制造
显示器性能的各种参数介绍
我国工控自动化领域的市场发展前景十分广阔
苗圩:5G从今年以来加快了建设速度
乐金电子计划冲刺OLED电视 电视机终将成为人工智能枢纽
宝安区人大领导莅临镭神智能指导工作,送来关怀与温暖
Freenome利用AI的深度学习技术提前防范癌症
虹科动态 | 虹科诚邀您于3月1日-3月3日参加SIAF广州工业自动化展
Meta表示,美国贸易关税正在损害AR/VR投资
Intel重磅推出多款独立控制芯片
聊聊上位机与组态软件之间的那些事儿
海为N60S2T系列PLC在焊锡机中自动控制设计
德赛西威开启昇龙计划变革转型之路正式开始