原创 SEGY數據分析,打印輸出4字節32bit位每一個bit的值,數據一致性分析,物探類分析

#include <stdio.h> #include <stdlib.h> int bit_return(int a, int loc) { int buf = a & 1<<loc; if (buf == 0) r

原创 打印vdbench數據,分析數據一致性問題

  將字符串轉爲16進制ascii碼並輸入到另一個字符串中   #include<stdio.h> #include<stdlib.h> #include<memory.h> char src[256] = "/home/inspur

原创 vdbench數據一致性校驗原理 ===&amp;gt; Data Validation Key miscompare. Expecting key .

vdbench 數據一致性校驗問題彙總:校驗參數點擊打開鏈接含義請自查:data_errors=1 sd=sd1,lun=/root/redlicha/vdbench/testfile.bin,threads=4,size=3g wd=w

原创 多進程寫ceph-fuse單文件性能瓶頸

https://www.jianshu.com/p/ebc5fe79a68d

原创 ceph與linux系統配置優化

性能測試時經常會發現性能數據不穩定的現象,尤其是服務器使用的是帶有cache的raid卡。比如在使用30個7.2K SATA盤搭建的ONEStor ceph集羣 (使用HP Smart Array P840raid卡,cache緩存大小4

原创 vsftpd關於cmds_allowd,權限,中文亂碼的支持

##If you set the "write_enable=YES",but don't want to allow "rename or delete ..." ##You can open "cmds_allowed",and re

原创 nfs-ganesha cache代碼分析,轉mdcache readdir

一,nfs-ganesha版本2.3.3 ,2.4.5cache分析https://github.com/zanglinjie/nfs-ganesha點擊打開鏈接mdcache在2.4.0之後放在了FSAL層,對應的目錄爲src\FSAL

原创 The process of authenticating an HTTP request by Apache2.4/HTTPD

http的認證請求過程梳理,英文描述,後續慢慢補充修改。流程圖用UML簡單畫的: 【The process of authenticating an HTTP request by Apache2.4/HTTPD.】While some

原创 玩轉vdbench數據-----字符串文件指針

文件操作,字符串指針的一些函數用法:1,sprintf#include <stdio.h>int sprintf( char *buffer, const char *format [, argument,...] );可以控制精度cha

原创 vdbench數據一致性校驗原理 ===&amp;amp;gt; Data Validation Key miscompare. Expecting key .

vdbench 數據一致性校驗問題彙總:校驗參數點擊打開鏈接含義請自查:data_errors=1 sd=sd1,lun=/root/redlicha/vdbench/testfile.bin,threads=4,size=3g wd=w

原创 nfs-ganesha-V4主函數代碼流程簡單分析----持續更新

nfs-ganesha V4 代碼----持續更新main                ReadExports                load_config_from_parse                proc_bloc

原创 vdbench數據

將字符串轉爲16進制ascii碼並輸入到另一個字符串中#include<stdio.h> #include<stdlib.h> #include<memory.h> char src[256] = "/home/inspur"; vo

原创 Unix 系統級I/O

Unix I/O打開文件-描述符#define STDIN_FILENO 0 //標準輸入 #define STOUT_FILENO 1 //標準輸出 #define STDERR_FILENO 2改變當前的文件位置對於每個打開的文件,內

原创 nfs-ganesha and CephFS

一, CephFS 與nfs-ganesh 框架nfs-ganesha模塊化的體系結構,實現複雜,維護簡單:● RPC layer:– uses libntirpc● Filesystem Abstraction layer (FSAL)