https://www.cnblogs.com/yi-mu-xi/p/12923523.html vhost_user_backend_init() ........ vhost_setup_slave_channel(dev) ......... qemu_set_fd_handler(u->sl ...
分类:
其他好文 时间:
2020-10-26 10:31:53
阅读次数:
20
第一步:换清华源(.condarc),需要注意是http不是https channels: - http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/ - http://mirrors.tuna.tsinghua.edu.cn/anaconda ...
分类:
其他好文 时间:
2020-10-22 22:37:06
阅读次数:
25
Prometheus监控思科交换机整体思路采用Prometheus+snmp_exporter+alertmanager+Granfana进行监控思科交换机(其他品牌交换机同理)报警,snmp_exporter通过snmp协议进行交换机的流量,接口关系(VLAN,port_channel等等),以及常用的cpu和内存进行信息收集,prometheus通过配置文件收集snmp_exporter收集的
分类:
其他好文 时间:
2020-10-16 11:06:30
阅读次数:
28
[root@jinkang-e2elog rabbitmq]# cat topic-send.py #!/usr/bin/env python # -*- coding: UTF-8 -*- import pika import sys connection = pika.BlockingConne ...
分类:
其他好文 时间:
2020-10-09 21:38:16
阅读次数:
40
Introduction The CQI reporting performance test defined in TS36.101 Section 9.3.2.1.1. The performance requirements of the test are as follows: a CQI ...
分类:
其他好文 时间:
2020-08-20 18:21:03
阅读次数:
85
This example shows how to implement the HARQ Indicator (HI) and physical HI channel (PHICH). You create the processing chain of coding hybrid indicato ...
分类:
其他好文 时间:
2020-08-13 12:11:36
阅读次数:
61
HashMap jdk1.7版本,底层是数组+链表,元素的插入使用头插法,可能形成数据丢失或环形链表。 jdk1.8版本,底层是数组+链表+红黑树,元素的插入使用尾插法,数据覆盖的情况。 扩容机制:LoadFactory默认0.75,创建空数组重新Hash。 resize线程不安全:多线程之间put ...
分类:
编程语言 时间:
2020-08-09 09:22:43
阅读次数:
88
简介 channel 是 Go 语言中的一个核心类型,可以把它看成管道。并发核心单元通过它就可以发送或者接收数据进行通讯,这在一定程度上又进一步降低了编程的难度。 channel 是一个数据类型,主要用来解决 go 程的同步问题以及 go 程之间数据共享(数据传递)的问题。 goroutine 运行 ...
分类:
其他好文 时间:
2020-08-04 09:50:41
阅读次数:
51
Go语言中除了可以使用通道(channel)和互斥锁进行两个并发程序间的同步外,还可以使用等待组进行多个任务的同步,等待组可以保证在并发环境中完成指定数量的任务 在 sync.WaitGroup(等待组)类型中,每个 sync.WaitGroup 值在内部维护着一个计数,此计数的初始默认值为零。 等 ...
分类:
其他好文 时间:
2020-08-04 09:48:34
阅读次数:
65
select的作用 Go里面提供了一个关键字 select, 通过 select 可以监听channel上的数据流动. select 的用法与 switch 语言非常类似, 由 select 开始一个新的选择块, 每个选择条件由 case 语句来描述. 与 switch 语句相比, select 有 ...
分类:
其他好文 时间:
2020-08-04 09:47:11
阅读次数:
67