大约有 1,600 项符合查询结果(耗时:0.0069秒) [XML]

https://www.tsingfun.com/it/os... 

内存优化总结:ptmalloc、tcmalloc和jemalloc - 操作系统(内核) - 清泛网 - ...

...lloc和jemallocmemory-optimize需求系统的物理内存是有限的,而内存的需求是变化的, 程序的动态性越强,内存管理就越重要,选择合适的内存管理算法会带来明显的性能提升。比如nginx, 它在每个连接accept后 需求 系统的物理内...
https://www.tsingfun.com/it/os... 

bpftrace教程【官方】 - 操作系统(内核) - 清泛网 - 专注C/C++及内核技术

...也支持布尔运算如("&&", "||")。 ret: 表示函数的返回值。于sys_read(),-1表示错误,其它则表示成功读取的字节数。 @: 类似于上节的map,但是这里没有[],使用"bytes"修饰输出。 hist(): 一个map函数,用来描述直方图的参数。输出...
https://www.tsingfun.com/it/te... 

nginx启用gzip压缩,大大降低网站流量 - 更多技术 - 清泛网 - 专注C/C++及内核技术

...的缓存区大小, 可以理解为工作车间的大小 gzip_static on: 静态文件进行gzip压缩, 是用来配合gzip 1、建立一个 gzip.conf ,配置内容如下: #gzip_buffers 4 16k: 压缩时的缓存区大小, 可以理解为工作车间的大小 #gzip_static on: 静态文...
https://www.tsingfun.com/it/tech/969.html 

淘宝网采用什么技术架构来实现网站高负载的 - 更多技术 - 清泛网 - 专注C/C...

...ailover,比如tomcat采 用的集群节点广播复制,jboss采 用的配复制等session状 态复制策略,但是集群中的状态恢复也有其缺点,那就是严重影响了系统的伸缩性,系统不能通过增加更多的机器来达到良好的水平伸缩,因为集群节点...
https://www.tsingfun.com/it/bigdata_ai/957.html 

TokuMX vs. MongoDB 性能比 - 大数据 & AI - 清泛网 - 专注C/C++及内核技术

TokuMX vs. MongoDB 性能比TokuDB 的ft tree 用在MongoDB产品TokuMX已经发布。MongoDB 在大量数据(比如1亿条记录)后,插入性能急剧下降。Tokutek数据带索引插入...TokuDB 的ft tree 用在MongoDB产品TokuMX已经发布。MongoDB 在大量数据(比如1亿条...
https://www.tsingfun.com/it/tech/1215.html 

构建高并发高可用的电商平台架构实践 - 更多技术 - 清泛网 - 专注C/C++及内核技术

...,进行选择不同的备份策略。 2) 读写分离 读写分离是数据库来讲的,随着系统并发量的增大,提高数据访问可用性的一个重要手段就是写数据和读数据进行分离;当然在读写分离的同时,需要关注数据的一致性问题;于...
https://stackoverflow.com/ques... 

C/C++ maximum stack size of program

... On embedded systems, you might have 4k or less. In which case you do have to ask even when it's reasonable to be using the stack. The answer is usually a Gallic shrug. – Steve Jessop Dec 1 '09 at 14:43 ...
https://stackoverflow.com/ques... 

How can I find out the total physical memory (RAM) of my linux box suitable to be parsed by a shell

... Dummy00001 14.4k55 gold badges3131 silver badges5555 bronze badges answered Dec 5 '13 at 12:09 user3070163user30701...
https://stackoverflow.com/ques... 

How do you determine the ideal buffer size when using FileInputStream?

...4288 lengths. Well, you may win 10-20ms if you switch between small buffer 4Kb and big buffer 524Kb depending on the file size but it's not worth it. So 524 Kb was the best option in my case. – Kirill Karmazin Oct 25 '18 at 12:39 ...
https://stackoverflow.com/ques... 

Virtual Memory Usage from Java under Linux, too much memory used

...[ anon ] 000000072aab0000 2097152K rwx-- [ anon ] 00000007aaab0000 349504K rwx-- [ anon ] 00000007c0000000 1048576K rwx-- [ anon ] ... 00007fa1ed00d000 1652K r-xs- /usr/local/java/jdk-1.6-x64/jre/lib/rt.jar ... 00007fa1ed1d3000 1024K rwx-- [ anon ] 00007fa1ed2d3000 4K ----- ...