自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 资源 (38)
  • 收藏
  • 关注

转载 zz: linux中断处理

http://linux.chinaitlab.com/administer/824246.html一:引言  在Intel的文档中,把中断分为两种.一种是异常,也叫同步同断.一种称之为中断,也叫异常中断.  同步中断指的是由CPU控制单元产生,之所以称之为同步,是因为只有一条指令执行完毕后才会发出中断.例如除法运算中,除数为零的时候,就会产生一个异常

2011-12-30 15:11:39 727

转载 zz : Linux中对中断的支持

Linux内核中使用的门是在i386平台的门的基础上做了更进一步的细化后形成的,如下所示:  1、中断门:处理器中DPL被设置为0的中断门,不能用户态下对其进行访问。Linux下所有的(硬)中断处理程序都是在核心态下通过中断门来激活的。   2、系统门:处理器中DPL被设置为3的陷阱门,可以在用户态下对其进行访问。Linux的三种异常处理函数(中断号为4、5、128)都是通过系统门

2011-12-30 14:33:48 815

转载 zz : Linux 内核中断内幕

http://www.ibm.com/developerworks/cn/linux/l-cn-linuxkernelint/什么是中断Linux 内核需要对连接到计算机上的所有硬件设备进行管理,毫无疑问这是它的份内事。如果要管理这些设备,首先得和它们互相通信才行,一般有两种方案可实现这种功能:轮询(polling) 让内核定期对设备的状态进

2011-12-30 14:00:26 552

转载 zz : memcached源码学习-内存管理机制slab allocator

zz : http://blog.csdn.net/tankles/article/details/7027645前端时间大致浏览了一下memcached的源码,但是并没有对相关的知识点进行总结和记录,所以很快就忘了,这次打算将memcached的源码再学习一遍,并进行总结归纳。    memcached模块化设计比较好,每个模块除了对外接口定义在头文件外,其它函数定义及实现都

2011-12-30 12:43:38 790

转载 zz: Linux SLAB 分配器详解

林 昊翔 (linhaoxiang@hotmail.com), Linux 内核爱好者林昊翔,计算机科学硕士,毕业于清华大学计算机系,Linux 内核爱好者秦 君 (qinjun@cn.ibm.com), 软件工程师, IBM秦君,现在 IBM 中国软件开发实验室 Lotus 开发中心工作,目前从事 Lotus Quickr 的开发工作。简介: 多年以来,L

2011-12-30 12:25:23 790

转载 zz: Linux slab 分配器剖析

http://www.ibm.com/developerworks/cn/linux/l-linux-slab-allocator/动态内存管理内存管理的目标是提供一种方法,为实现各种目的而在各个用户之间实现内存共享。内存管理方法应该实现以下两个功能:最小化管理内存所需的时间最大化用于一般应用的可用内存(最小化管理开销)内存管理实际上是一种关

2011-12-30 11:45:06 457

转载 zz : 基于80x86的Linux分段机制

zz : http://blog.csdn.net/yunsongice/article/details/52207241 基于80x86的Linux分段机制80386的两种工作模式:80386的工作模式包括实地址模式和虚地址模式(保护模式)。Linux主要工作在保护模式下。在保护模式下,80386虚地址空间可达16K个段,每段大小可变,最大达4GB。逻辑地址到线性地址的转

2011-12-30 11:05:00 837

reliable rabbitmq c++ client

reliable reconnect rabbitmq-c client. basic get and publish. reconnect when fail

2018-07-16

trade server use evpp test

use callprogram sys to call other system. modify vlogger

2018-07-04

evpp so load system

load so and run. server listen, subprocess connect .

2018-07-02

trade middle ware

trade system. load so and run it. max qps 20000. server listen and send. subprocess connect and recv. should be placed on one machine. linux gcc 4.8

2018-06-29

packet parser

fast k_c_x_p client , fast k_c_b_p parser just for test

2018-06-12

nonblocking server

use murmurhash3 and http status print out delete logs

2018-06-11

nonblocking switch server

fix bugs when packets are too large. improve performance too

2018-06-07

simple exchange platform client

a simple exchange platform client, not used. experimental product

2018-06-01

nonblocking async transfer server

nonblocking using lock_free queue , evpp framework

2018-05-30

event_server

event server with high performance logger ,async write

2018-05-09

evpp based echo server

simple net framework , echo server use qihoo360 open source code evpp

2018-05-03

libevent echo server

libevent example. echo server. use c++11 gcc 4.8.5 thread_pool singleton , io thread , servant thread layer

2018-04-24

lua and acl example

lua call c++, c++ call lua, c++ call lua with lua call c++ so

2018-02-06

thrift with memfunc and uid generator

thrift with uid generator , 28bits wide uuid , 100 year does not be same

2018-01-30

pddl thrift AccessServer

p distributed database framework AccessServer is the wrapper

2018-01-23

thrift server support db operation and rest protocol

modified thrift server , support rest , http protocol with json content . support multi oracle db

2018-01-18

20180111 ieap

use TNonblockingServer framework. getsnap to see which func servant is running

2018-01-11

AnalyzeServer 20180109 with DBConnPool

thrift with DBConnPool using Pro*C ThriftClientPool mem_func logger

2018-01-09

thrift example

thrift server. use client connection pool. singleton conf , async logger and utility classes

2018-01-04

quick fix tester

use quick fix framework to test step protocol. an example for fun

2017-11-21

log file tailer

like linux tail -f command. tail file and format to another line

2017-11-21

exchange processor

middle ware for soft . exchange processer just a queue

2017-11-21

tdx market quotes getter

tdx market quotes caller, test which quote is faster

2017-11-21

Logic business module Tester

lbm caller exapmle use kcbpapi dll just for an test.

2017-11-21

BinaryRecorder

Binary protocol implemented。 just an example. async logger

2017-11-21

prpc_20181112

adding multi server and echo function to prpc framework

2018-11-12

prpc_20181109

using multi event loop in client api. using one channel all client stub share it.

2018-11-09

coroutine using phxrpc

coroutine example, using phxrpc coroutine framework, receive data from upstream and set redis, qps 12w

2018-11-01

transparent proxy

transparent proxy like haproxy. auto testing broken conn tps 300000

2018-09-29

soft like haproxy

hello world program just for test. using evpp for transparent proxy

2018-09-19

prpc rpc framework

modify memory leak bugs. and multithread client press case. 40 w qps

2018-08-28

remote procedure call using protobuffer

protobuffer server remote procedure call framework. using evpp and brpc library

2018-08-21

get class name c++

get class's name. include namespace. use abi damangle

2018-08-08

modp_base64

chrome's base64 encode and decode cpp classes. high performancy

2018-08-08

brpc doubly_buffered_data test

modify brpc library doubly_buffered_data class. test performancy. 100000000 test Get total : 16557607309 ns, avg 165 ns Set total : 21681584661 ns, avg 216 ns

2018-08-07

beanstalkd test client

beanstalkd test client. press test producer and consumer

2018-08-01

snappy library

libsnappy.so C++ library examples. it can work on cmake 2.8.12

2018-07-25

rabbitmq-c client publish get example

rabbitmq exapmles。 declare exchange and queue. the articles in baidu do not help, I have to write examples that can work. basic_publish and basic_tet

2018-07-13

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除