随笔分类 -  os

摘要:https://www.cnblogs.com/blastbao/p/8290332.html 大概差3倍 阅读全文
posted @ 2024-03-06 21:36 stupidstan2019 阅读(17) 评论(0) 推荐(0)
摘要:https://man7.org/linux/man-pages/man2/futex.2.html 阅读全文
posted @ 2024-01-23 13:07 stupidstan2019 阅读(14) 评论(0) 推荐(0)
摘要:参考 https://blog.csdn.net/weixin_47108251/article/details/124971201 本地路径 E:\jch\2024_sync\BaiduSyncdisk 阅读全文
posted @ 2024-01-21 18:50 stupidstan2019 阅读(28) 评论(0) 推荐(0)
摘要:1)流程 https://developer.aliyun.com/article/1275341 2)相关代码函数 https://blog.csdn.net/WANGYONGZIXUE/article/details/125953758 3)tlb所在代码目录 内存管理mm模块11w行代码 阅读全文
posted @ 2023-10-11 20:48 stupidstan2019 阅读(23) 评论(0) 推荐(0)
摘要:【地址】 参考https://zhuanlan.zhihu.com/p/615920216 git clone https://mirrors.tuna.tsinghua.edu.cn/git/linux-stable.git 【遇到本地失败问题】 git config core.protectNT 阅读全文
posted @ 2023-10-02 00:58 stupidstan2019 阅读(57) 评论(0) 推荐(0)
摘要:【安装】 用github的文档安装,基本没坑,手动装依赖的三个包 【使用】 阅读全文
posted @ 2023-10-02 00:35 stupidstan2019 阅读(40) 评论(0) 推荐(0)
摘要:【转载】 https://www.openeuler.org/zh/blog/wangshuo/Linux_Futex_Principle_Analysis/Linux_Futex_Principle_Analysis.html https://zhuanlan.zhihu.com/p/402374 阅读全文
posted @ 2023-06-10 11:35 stupidstan2019 阅读(77) 评论(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)
摘要:【原文】 https://www.usenix.org/legacy/events/expcs07/papers/2-li.pdf 1)介绍 上下文切换的代价 直接代价:进程寄存器的保存和恢复,os的线程调度,tlb的加载,processor的pipline刷新 cache影响代价:不同的负载下,不 阅读全文
posted @ 2022-05-04 12:20 stupidstan2019 阅读(110) 评论(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)
摘要:【压测模型】 参考这篇,noop结果最优 https://www.cnblogs.com/gjc592/p/13550596.html 【流程】 1)业务流程 https://www.cnblogs.com/linhaostudy/p/15868785.html 2)内部细节 【cfq思想】 CFQ 阅读全文
posted @ 2022-04-10 22:02 stupidstan2019 阅读(159) 评论(0) 推荐(0)
摘要:1)转自https://zhuanlan.zhihu.com/p/36348722 2)ceph文件存储也是写日志 https://www.cnblogs.com/varden/p/13924154.html 默认情况下, Ceph 觉得你会把 OSD 日志存储于下列路径: /var/lib/cep 阅读全文
posted @ 2022-04-01 23:57 stupidstan2019 阅读(317) 评论(0) 推荐(0)