论文地址:implementing Lock-Free Queue 论文大体讲的意思是:Lock-Base的程序的performance不好,并且a process inside the critical section can delay all operations indenitely;所以 ...
分类:
其他好文 时间:
2019-04-14 15:53:19
阅读次数:
131
Polycarp likes to play with numbers. He takes some integer number xx, writes it down on the board, and then performs with it n?1n?1 operations of the ...
分类:
编程语言 时间:
2019-04-07 12:41:23
阅读次数:
156
Given two words word1 and word2, find the minimum number of operations required to convert word1 to word2. You have the following 3 operations permitt ...
分类:
其他好文 时间:
2019-04-06 15:34:06
阅读次数:
117
题目描述 There are two sequences a1,a2,...,an , b1,b2,...,bn . Let . There are m operations within three kinds as following:? 1 x y: change value ax to y. ...
分类:
其他好文 时间:
2019-04-06 11:08:08
阅读次数:
130
C. Meaningless Operations time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output C. Meaningless ...
分类:
其他好文 时间:
2019-03-31 10:00:23
阅读次数:
189
* 本篇随笔为《涂抹MySQL》一书的阅读摘抄,详细请查看正版书籍 关键性指标 IOPS(Input/Output operations Per Second) 每秒处理的I/O请求次数 需要说明的一点,通常提到磁盘读写能力,比如形容它每秒读300M写200M这个说的是数据吞吐量(I/O能力的另一个 ...
分类:
数据库 时间:
2019-03-29 14:48:25
阅读次数:
176
性能指标 衡量块存储产品的性能指标主要包括:IOPS、吞吐量和访问时延。 IOPS IOPS是Input/Output Operations per Second,即每秒能处理的I/O个数,用于表示块存储处理读写(输出/输入)的能力。如果要部署事务密集型应用,典型场景比如数据库类业务应用,需要关注I ...
分类:
其他好文 时间:
2019-03-27 11:17:29
阅读次数:
239
关于如何编写linux设备驱动1)首先确定硬件接口使用的总线,2)然后确定要实现的功能,是网卡、sensor还是什么?再确定对上层应用暴露的接口,从而选择子系统,例如iio、input子系统等。由于linux只有字符设备、块设备、网络设备三种设备,其实iio、input子系统都是字符设备,只是它们帮你封装好了字符设备的file_operations和Major设备号了,另外提供统一的sysfs接口
分类:
系统相关 时间:
2019-03-24 00:27:56
阅读次数:
237
题目描述 有一个r行c列的全0矩阵,有以下三种操作。 1 X1 Y1 X2 Y2 v 子矩阵(X1,Y1,X2,Y2)的元素加v 2 X1 Y1 X2 Y2 v 子矩阵(X1,Y1,X2,Y2)的元素变为v 3 X1 Y1 X2 Y2 查询子矩阵(X1,Y1,X2,Y2)的和,最大值,最小值 子矩阵 ...
分类:
其他好文 时间:
2019-03-23 00:53:17
阅读次数:
117
Hive经常使用命令https://cwiki.apache.org/confluence/display/Hive/GettingStartedhttp://richardxu.com/hiveql-common-operations/http://www.cnblogs.com/ggjuchen ...
分类:
其他好文 时间:
2019-03-17 18:28:18
阅读次数:
154