随笔分类 -  os

1 2 3 4 5 ··· 23 下一页

Skipping invalid relocation target,
摘要:[ 55.732900] module: x86/modules: Skipping invalid relocation target, existing value is nonzero for type 1, loc 0000000095d22a08, val ffffffffc07aa525 阅读全文

posted @ 2024-05-20 11:09 tycoon3 阅读(216) 评论(0) 推荐(0) 编辑

bind(): Address already in use
摘要:添加 if(setsockopt(sock_fd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(int))<0) { perror("setsockopt() reuse"); goto err1; } 添加SO_REUSEADDR之后 connect(): Can 阅读全文

posted @ 2023-11-23 09:53 tycoon3 阅读(30) 评论(0) 推荐(0) 编辑

ipv6
摘要:sysctl -a | grep ipv6 | grep disable net.ipv6.conf.enahisic2i0.disable_ipv6 = 0net.ipv6.conf.enahisic2i0.disable_policy = 0net.ipv6.conf.enahisic2i1.d 阅读全文

posted @ 2023-11-14 09:53 tycoon3 阅读(17) 评论(0) 推荐(0) 编辑

nvme
摘要:interrupt cpu个数: 254 ``` lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian Address sizes: 43 bits physical, 48 bits 阅读全文

posted @ 2023-10-08 19:51 tycoon3 阅读(73) 评论(0) 推荐(0) 编辑

网卡 超时处理watchdog
摘要:超时处理dev_watchdog 当watchdog发现网卡处于up状态并且发送队列处于停止时间大于5秒时将触发看门狗机制, dev_watchdog先找到停止的队列,然后调用igb_tx_timeout整个网卡队列做超时处理,igb_tx_timeout中对网卡做了DOWN、UP的操作。 stat 阅读全文

posted @ 2023-03-16 14:39 tycoon3 阅读(564) 评论(0) 推荐(0) 编辑

libc 内存管理原理探究
摘要:libc 内存管理原理探究 Linux 内存管理有三个层面,第一层是我们的用户管理层,比如我们自己程序的内存池,mysql 的 bufferpool,第二层是 C 的运行时库,这部分代码是对内核的一个包装,方便上层应用更方便的开发,再下一层就是我们的内核层了。 我们今天要重点介绍的就是中间那一层,这 阅读全文

posted @ 2023-02-01 09:58 tycoon3 阅读(743) 评论(0) 推荐(0) 编辑

1 2 3 4 5 ··· 23 下一页

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示