上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 24 下一页
摘要: 【参考】 http://senlinzhan.github.io/2015/04/20/%E8%B0%88%E8%B0%88C-%E7%9A%84%E6%99%BA%E8%83%BD%E6%8C%87%E9%92%88/ 【解决的问题】 【调用栈】 #unique_ptr.h 1000行代码 ~un 阅读全文
posted @ 2022-06-04 11:49 stupidstan2019 阅读(44) 评论(0) 推荐(0)
摘要: 【引用】 https://www.cnblogs.com/yangxunwu1992/p/5875254.html 【demo代码】 #include <stdio.h> #include <setjmp.h> void change(int r, int s, int a, int v); jmp 阅读全文
posted @ 2022-06-04 10:01 stupidstan2019 阅读(28) 评论(0) 推荐(0)
摘要: 【主要注意点】 1)pthread_cond_signal在多处理器上可能同时唤醒多个线程 2)notify丢失问题,处理完任务后要检查队列 https://blog.51cto.com/u_15310381/3228038 【笔记】 1)std::condition_variable是使用的pth 阅读全文
posted @ 2022-05-25 00:05 stupidstan2019 阅读(120) 评论(2) 推荐(0)
摘要: 1)参考书宁的博客 2)ext3和ext4的功能 3)性能调优 https://people.redhat.com/rpeterso/KB/ext3_tune.html 阅读全文
posted @ 2022-05-15 21:34 stupidstan2019 阅读(47) 评论(0) 推荐(0)
摘要: 1) cryptopp-CRYPTOPP_5_6_1.zip 解压 make libcryptopp.a libcryptopp.so cryptest.exe make install PREFIX=/usr/local 2) 手动编译protobuf 3)scons 阅读全文
posted @ 2022-05-13 00:07 stupidstan2019 阅读(63) 评论(1) 推荐(0)
摘要: 作者:godj链接:https://www.zhihu.com/question/328622742/answer/713388283 RocksDB Features that are not in LevelDB Performance Multithread compaction Multit 阅读全文
posted @ 2022-05-08 21:22 stupidstan2019 阅读(88) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-05-04 13:24 stupidstan2019 阅读(27) 评论(0) 推荐(0)
摘要: 1)涉及线程 2)刷clog 调用栈 3)write线程 4)flush线程 调用栈 5)刷完盘回调线程调用栈 【其他】 observer.log刷盘调用栈 阅读全文
posted @ 2022-05-04 12:54 stupidstan2019 阅读(98) 评论(0) 推荐(0)
摘要: 【原文】 https://www.usenix.org/legacy/events/expcs07/papers/2-li.pdf 1)介绍 上下文切换的代价 直接代价:进程寄存器的保存和恢复,os的线程调度,tlb的加载,processor的pipline刷新 cache影响代价:不同的负载下,不 阅读全文
posted @ 2022-05-04 12:20 stupidstan2019 阅读(111) 评论(0) 推荐(0)
摘要: 【背景】 innodb和oceanbase都使用aio 【相关笔记】 1) 使用代码 https://gist.github.com/larytet/87f90b08643ac3de934df2cadff4989c io_submit io_getevents阻塞等待事件 2)native aio原 阅读全文
posted @ 2022-05-04 11:30 stupidstan2019 阅读(46) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 24 下一页