- 博客(15)
- 资源 (5)
- 收藏
- 关注
原创 struct的申明,声明为指针与变量的区别
#include "stdio.h"#include "stdlib.h"struct ssd_ch_lun_alloc{int start_lun;int end_lun;};int main(void){struct ssd_ch_lun_alloc alloc[12];//数组变量,已经赋值的情况下, 在栈中struct ssd_ch_
2017-09-12 11:28:04 1070
原创 libfuse install error: fusermount.c:295:44: error: ‘CLONE_NEWNS’ undeclared (first use in this funct
Add #define _GNU_SOURCE at the beginning of the file util/fusermount.c, and then run make
2017-07-06 14:30:22 3044
转载 LevelDB学习
郑重声明:本篇博客是自己学习 Leveldb 实现原理时参考了郎格科技系列博客整理的,原文地址:http://www.samecity.com/blog/Index.asp?SortID=12,只是为了加深印象,本文的配图是自己重新绘制的,大部分内容与原文相似,大家可以浏览原始页面 :-),感兴趣的话可以一起讨论 Leveldb 的实现原理!LevelDb日知录之一:LevelDb
2017-05-09 19:32:15 294 1
转载 磁盘IOPS计算与测量。
IOPS (Input/Output Per Second)即每秒的输入输出量(或读写次数),是衡量磁盘性能的主要指标之一。IOPS是指单位时间内系统能处理的I/O请求数量,一般以每秒处理的I/O请求数量为单位,I/O请求通常为读或写数据操作请求。随机读写频繁的应用,如OLTP(Online Transaction Processing),IOPS是关键衡量指标。另一个重要指标是数据吞吐量(T
2017-05-02 17:14:32 336
原创 Ubuntu Setup YCSB & MapKeeper to benchmark LevelDB
First install Java and maven:1. Java:sudo apt-get install default-jresudo apt-get install default-jdksudo add-apt-repository ppa:webupd8team/javasudo apt-get updatesudo apt-get install oracle-java7-...
2017-04-07 15:48:27 1582 1
原创 How to compile the graph computing platfrom x-stream
First, you need to install boost. X-stream depend on boost library;Install boost library with the following commandsudo aptitude install libboost-all-devAfter this, you can use the heads of the
2017-03-30 16:25:59 421
原创 Latex编译参考文献出现问号解决方法
1.先用Latex编译2.再用XeLatex编译3.用Texify然后就出现了在专用Latex编译就可以了
2016-12-19 15:47:26 20552 1
原创 BlueMix cf push error
When I was trying to upload a project to blueMix, I got the following error message:FAILED Error uploading application. open C:\Boot\BCD: The process cannot access the file because it is being used
2016-09-21 00:18:35 352
原创 Latex不能编译eps文件
在使用latex是软件不能识别eps文件,报错 unknown eps file;解决方式1: 选取latex的编译方式,引进图像包\usepackage{graphicx},编译之后,点击dvipdf生成pdf文件解决方式2:选取pdflatex编译方式, 引进包\usepackage{graphicx}, \usepackage{epstopdf},而后点击dvipdf生成pdf文件,
2016-09-19 09:30:09 8936 1
转载 Ubuntu 14.04 安装 JDK 8,ubuntu14.04
http://my.oschina.net/1462469/blog/374623第一步,下载Linux版JDKhttp://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html第二步,解压安装lxh@ubuntu:~$ mkdir -p /usr/lib
2016-09-01 15:58:52 291
原创 zlib.h, libaio, stxxl.h not found, clang not found
首先需要运行build-essential然后安装zlib-dev库
2016-08-18 10:34:15 759 1
转载 How to install install gcc 4.8 under ubuntu operating system
gcc 4.8.1 是第一个完全支持C++11 的编译器,Windows上可以安装mingw版的,在sourceforge 上有下载,安装也比较方便。在Linux上安装的话需要首先安装一些依赖库。在Ubuntu12.04 lts默认安装的是gcc4.6.3,其实该版本也支持一些c++11的特性,可以通过增加“-std=c++0x" 编译选项来使用这些特性,但是对多线程库的支持较差,gcc 4.8.
2016-08-01 15:40:12 398
原创 How to use btt with blktrace to analysis the trace file
blktrace -a 'write' -d /dev/memdiska1 blkrawverify memdiska1blkparse -i memdiska1 -d memdiska1.binbtt -i memdiska1.bin -l D2Cmemdiska1.txtHere we only analysis write operations.
2016-08-01 15:38:41 359
原创 An example for accessing remote mysql server
/*******************************************************************compile the file cpp with the following command**g++ -I/usr/include/mysql lib_access.cpp -L/usr/local/mysql/lib -lmysqlclient -l
2016-08-01 15:37:58 261
转载 Install mysql and 允许ubuntu下mysql远程连接
Install mysql:sudo apt-get install mysql-serversudo apt-get isntall mysql-clientsudo apt-get install libmysqlclient-devUse the following commands to compile your program:
2016-08-01 15:34:25 225
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人