http://blog.packagecloud.io/eng/2016/06/22/monitoring-tuning-linux-networking-stack-receiving-data/ Jun 22, 2016 • packagecloud Tags: packagecloud linux kernel networking optimization tuning monitoring TL;DR This blog post explains how computers runn…
Overview 从宏观的角度来看,一个packet从网卡到socket接收缓冲区的路径如下所示: 驱动加载并初始化 packet到达网卡 packet通过DMA被拷贝到内核中的一个ring buffer 产生一个硬件中断,让系统知道已经有个packet到达内存 驱动会调用NAPI启动一个poll loop,如果它还没启动的话 系统的每个CPU上都有一个ksoftirqd进程,它们都是在系统启动的时候就已经注册了的.ksoftirqd进程会调用NAPI的poll函数从ring buffer中将p…
https://www.coverfire.com/articles/queueing-in-the-linux-network-stack/ Queueing in the Linux Network Stack http://blog.jobbole.com/62917/ [A slightly shorter and edited version of this article appeared in the July 2013 issue of Linux Journal. Thanks…
5 TOOLS FOR MONITORING DISK ACTIVITY IN LINUX Here is a quick overview of 5 command-line tools that come in incredibly handy when troubleshooting or monitoring real-time disk activity in Linux. These tools are available in all major Linux distros. IO…
这是一个描述非常好的存储栈,版本为:Linux Storage Stack Diagram v4.10,我在这里转载下图片,可以提升大家对存储栈的理解. https://www.thomas-krenn.com/en/wiki/Linux_Storage_Stack_Diagram https://www.thomas-krenn.com/de/wikiDE/images/7/72/Linux-storage-stack-diagram_v4.10.svg blk-mq(mq就是多队列的意思),…
copy centos 报错 Device eth0 does not seem to be present, delaying initialization: Linux Networking # rm /etc/udev/rules.d/70-persistent-net.rules #nano /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth1TYPE=Ethernet#UUID=10e89f5c-6068-4386-b102-46b…
通过本地yum源安装软件报错 http://192.168.3.85/centos/6/os/x86_64/Packages/php-pdo-5.3.3-47.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 56 - "Failure when receiving data from the peer" Trying other mirror. 发现是/etc/yum.conf的proxy打开了,关闭即可…
系统:Centos6.9 操作:yum install -y *.rpm 报错信息: Transaction Summary ========================================== Install 28 Package(s) Upgrade 7 Package(s) Total size: 1.4 G Downloading Packages: warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key…
I.MX6 linux tslib Corrupt calibration data 一.tslib出错 Corrupt calibration data 二.解决方法: ...... if [ -f /etc/pointercal ];then echo "I.MX6 touchscreen have calibrate!" else /usr/bin/ts_calibrate # 一定要注意添加这个同步,否则校正完,快速关机, # 容易报 Corrupt calibration d…
公司一SQL Server镜像发生了故障转移(主备切换),检查SQL Server镜像发生主备切换的原因,在错误日志中发现下面错误: Date        2019/8/31 14:09:17   Log     SQL Server (Archive #4 - 2019/9/1 0:00:00)       Source      spid35s       Message   Database mirroring connection error 4 'An error occurred…