大约有 1,100 项符合查询结果(耗时:0.0482秒) [XML]
tcp加速技术解决方案 - 操作系统(内核) - 清泛网 - 专注C/C++及内核技术
...,减小cpu的负载,让网卡计算校验和,利用网卡来执行tcp分段, 将小包组装成大包再交给内核协议栈等。可以使用ethtool工具来开启相应特性。
网卡驱动调优
默认的ixgbe配置是在是在高吞吐和低延时之际的权衡, 可以更改相应...
内存调试技巧:C 语言最大难点揭秘 - C/C++ - 清泛网 - 专注C/C++及内核技术
...我们先列出所有可能存在的实际问题:
内存泄漏
错误分配,包括大量增加 free() 释放的内存和未初始化的引用
悬空指针
数组边界违规
这是所有类型。即使迁移到 C++ 面向对象的语言,这些类型也不会有明显变化;无论数...
Linux进程与线程总结 [推荐] - C/C++ - 清泛网 - 专注C/C++及内核技术
...息所打断。
不难看出,上例子中根据不同的业务功能划分为独立的模块均作为独立的进程启动,模块内业务由于有并发处理的需求采用多线程编程,而各模块之间的信息交流则采用IPC通信的方式,后续会进行详细的介绍。
1.3...
Big-O for Eight Year Olds? [duplicate]
...ind it useful to visualize it:
Also, on LogY/LogX scale the functions n1/2, n, n2 all look like straight lines, while on LogY/X scale 2n, en, 10n are straight lines and n! is linearithmic (looks like n log n).
share
...
How efficient is locking an unlocked mutex? What is the cost of a mutex?
...hl $32, %%rdx\n\tor %%rdx, %0" : "=a" (end) : : "%rdx");
asm volatile ("\n1:\n\tdecl %%ecx\n\tjnz 1b" : "=c" (__d0) : "c" (loop_count - thread) : "cc");
return end - start;
}
The two rdtsc calls measure the number of clocks that it takes to lock and unlock `mutex' (with an overhead of 39 clock...
Difference between CouchDB and Couchbase
...' REST endpoints compared to CouchDB, CouchBase has sql like language i.e. N1QL ( sometimes pronounced a Nickel). This is one of the reason why I don't really like / recommend using the term 'NoSQL'. I personally like term 'Non-relational'.
...
将Linux代码移植到Windows的简单方法 - 操作系统(内核) - 清泛网 - 专注C/C++及内核技术
...方法一.前言 Linux拥有丰富各种源代码资源,但是大部分代码在Windows平台情况是无法正常编译的。Windows平台根本无法直接利用这些源代码资源...一.前言
Linux拥有丰富各种源代码资源,但是大部分代码在Windows平台情况是无法...
搭建高可用mongodb集群(二)—— 副本集 - 大数据 & AI - 清泛网 - 专注C/...
...的数量的怪物,这一个复制的场景就是一个副本,不管有多少个玩家各自在各自的副本里玩不会互相影响。 mongoDB的副本也是这个,主从模式其实就是一个单副本的应用,没有很好的扩展性和容错性。而副本集具有多个副本保证...
一文了解大数据领域创业的机会与方向 - 大数据 & AI - 清泛网 - 专注C/C++及内核技术
...统计模型,用以帮助企业评估到底每笔数据泄露,要损失多少钱。如果泄露1000条记录时,有95%的可能会损失5.2万-8.7万。泄露1千万数据记录的花费介于210万到520万之间,但最多可能到7390万。
让我们来回顾一下近年来数据泄漏的...
Verifying signed git commits?
...x form instead.
Tested with git -C shallow log --graph --show-signature -n1 plain-shallow after a git clone --depth 1 --no-local . shallow
With Git 2.27 (Q2 2020), the code to interface with GnuPG has been refactored.
See commit 6794898, commit f1e3df3 (04 Mar 2020) by Hans Jerry Illikainen (...