CoCoNutNut's NoteBook
  • HOME
  • ARCHIVES
  • CATEGORIES
  • TAGS
  • HOME
  • ARCHIVES
  • CATEGORIES
  • TAGS
  • Switch policy design

    Current swilock components & implementation status Lock & Unlock APIs✅ Switch between CAS, qspinlock, TCLock (queue...
     2023-11-21  
    • Note 
     
    • lock 
    Read more 
  • Delegation design

    Per-CPU structureFor storing request info: 12345678910struct shadow_stack { struct qspinlock *lock; # indicate there is...
     2023-11-06  
    • Note 
     
    • lock 
    Read more 
  • Switch lock design

    Lock structureCAS, qspinlock and kmob can share the same lock structure: 12345678910111213struct qspinlock { union {...
     2023-10-10  
    • Note 
     
    • lock 
    Read more 
  • Switch lock debug

    I’m using 2 locks: TAS & TCLock, I want to maintain a counter of how many times the locks are called, and switch lock whe...
     2023-10-02  
    • Note 
     
    • lock 
    Read more 
  • TCLocks Note

    paper repo Repo structure123456789101112131415161718192021222324.├── LICENSE├── README.md├── scripts ...
     2023-09-14  
    • Note 
     
    • lock 
    Read more 
  • TCP/IP复习

    每一年前3题套路基本是一样的,重点: IP地址&路由(问请求的souce/dest、配置network box为NAT/proxy/VLAN switch后的变化) BGP(E-BGP和I-BGP,OSPF) 拥塞控制3种分配流量的方法 ...
     2023-01-08  
    • Note 
    Read more 
  • Obsidian使用感受2

    半年前的Obsidian使用感受 今天的Obsidian: 开始尝试更多使用方法,各种tag、各种布局,文件夹组织方式也换了好几次,现在各种各样的笔记和想法都可以在其中找到容身之地,搜索和筛选功能也很好用。太爱了❤
     2022-07-30  
    • Memo 
     
    • tool 
    Read more 
  • 记录vue项目deploy到github page

    记录一下Data Visualization课程project 初版skeleton部署过程 创建vue工程参考Vue系列入门教程(6)——vue-cli脚手架 1234vue create datavizcd dataviznpm installn...
     2022-05-03  
    • Note 
     
    • vue 
    Read more 
  • Unity一些杂七杂八的笔记

    简单Player移动 主摄像头放到Player下 加script 123456789101112131415161718192021222324using System.Collections;using System.Collections.Ge...
     2022-05-01  
    • Note 
     
    • unity 
    Read more 
  • 处理time series笔记

    目标Merge the CO2_sensor_measurements.csv, temperature_humidity.csv, and sensors_metadata_updated.csv, into a single dataframe....
     2022-03-11  
    • Note 
     
    • data_science 
    Read more 
  • Snapshot总结

    重点:关于实现Wait-free Atomic Snapshot时,为什么要判断2次/n次更新 相关slides: The Power of Registers, Computing with anonymous processes 实现Snapsh...
     2022-01-14  
    • Note 
     
    • concurrent_algorithm 
    Read more 
  • Snapshot的timestamp

    CS-453 Concurrent algorithms,slide: The Power of Registers Atomic Snapshot实现的基本思路: 两次扫描,得到相同的结果 加timestamp避免ABA情况 不加timesta...
     2022-01-12  
    • Note 
     
    • concurrent_algorithm 
    Read more 
  • Obsidian使用感受

    想要试试带关系图的双链笔记,10月开始尝试Obsidian,到现在差不多三个月,没想到已经这么多了。 一开始只是记了些课程笔记,蓝色是Machine Learning,粉色是Sublinear Algorithms,紫色和黄色是Distribut...
     2022-01-12  
    • Memo 
     
    • tool 
    Read more 
  • CA project 状态分析&debug

    上次CA project 思路笔记分析一个位置是否可以读写的状态: 但是在project测试过程中发现有问题。 问题按照Atomic control的逻辑写了read_align()和write_align()。 read_align中判断Wri...
     2021-12-16  
    • Debug 
     
    • concurrent_algorithm 
    Read more 
  • CA project Atomic control

    Project中为了标识transactional memory中每一个align的状态,需要一个control structure,这里用了一个64bit的atomic interger来存这些信息。 通过一次CAS完成对状态的判断和修改,避免加锁...
     2021-12-15  
    • Note 
     
    • concurrent_algorithm 
    Read more 
  • CA project 常用操作

    很久没用C了,还有一些同步相关的操作,记录一下。 内存分配 1234struct region* region = (struct region*) malloc(sizeof(struct region));if (unlikely(!region...
     2021-12-12  
    • Note 
     
    • concurrent_algorithm 
    Read more 
  • 关于Localized Causal Broadcast

    DA project submission #2 要求实现Localized Causal Broadcast,具体的定义在project repo的README中 You must implement this on top of unifor...
     2021-12-09  
    • Note 
     
    • distributed_algorithm 
    Read more 
  • CA project debug记录

    惨痛经验Start easy第一步,加锁,把Transactional Memory的功能写对。 测试报错Transactional library takes too long to process the transactions,是功能就不对...
     2021-12-06  
    • Debug 
     
    • concurrent_algorithm 
    Read more 
  • DA project 总结

    目标基于UDP Socket,实现Perfect Links -> Uniform Reliable Broadcast -> FIFO Broadcast application和Localized Causal Broadcast P...
     2021-12-01  
    • Note 
     
    • distributed_algorithm 
    Read more 
  • DA project 2 validation tool

    Update‼️ Dependency bug fixed. (10/12) ‼️ 不测试FIFO ‼️ 最多9个线程(若要测10+可修改拼接文件名代码) 为了测试submission2(Localized Causal Broadcast)的输出...
     2021-11-30  
    • Note 
     
    • distributed_algorithm 
    Read more 
Next
© 2020 -  2023  coconutnut
Visitor Count   Totalview 
Powered by Hexo | Theme Keep v3.4.3