1.CPU Cache模型 + 从内存中把数据读到Cache + 在Cache中更新数据 + 把Cache中数据更新到内存 cpu缓存一致性问题 MESI() + 读操作:不做任何事情,把Cache中的数据读到寄存器 + 写操作:发出信号通知其他的CPU将该变量的Cache line置为无效,其他的 ...
分类:
其他好文 时间:
2019-09-12 21:30:38
阅读次数:
85
翻译 本地描述符的性能评估:综述 摘要 - ...
分类:
其他好文 时间:
2019-09-11 23:52:08
阅读次数:
106
(1)性能监控脚本 performance.sh (2) 进程监控脚本 process.sh (3) 流量监控脚本 network.sh (4) 流量分析统计脚本 tongji.sh ...
分类:
系统相关 时间:
2019-09-11 22:11:39
阅读次数:
130
进入redis-cli 客户端 1.Redis 服务器的各种信息和统计数值 >info [指定类型:keyspace] memory 内存使用量 Keyspace 每个表对应的key数量 2.查看当前key的占用空间 > debug object key名 返回值: Value at:0x7f088 ...
分类:
其他好文 时间:
2019-09-11 12:10:25
阅读次数:
96
Java中线程的状态定义在java.lang.Thread类中的一个枚举中。 1 public enum State { 2 /** 3 * Thread state for a thread which has not yet started. 4 */ 5 NEW, 6 7 /** 8 * Th ...
分类:
编程语言 时间:
2019-09-11 09:57:34
阅读次数:
67
The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [C:\Pro ...
分类:
编程语言 时间:
2019-09-10 14:48:52
阅读次数:
113
import paramiko class Monitor(object): def __init__(self, server_ip, user, pwd): """ 初始化ssh客户端 """ try: client = paramiko.SSHClient() client.set_missi... ...
分类:
编程语言 时间:
2019-09-10 13:18:14
阅读次数:
106
--脚本用法 sh performance_check.sh --脚本生成 vi performance_check.sh --添加如下 Ip=``sqlplus -S "/ as sysdba" << EOF -- | |-- | Copyright (c) 1991-2013 oracle. A ...
分类:
数据库 时间:
2019-09-07 01:20:13
阅读次数:
144
f5上的http和tcp_80 monitor是有区别的。假如使用http为monitor,即使80端口是通的,但是有的情况f5也会根据http的访问返回值情况判断站点不可用。 如, telnet IP+80端口是通的,直接http访问站点的现象如下。此时如果使用monitor为http的话,则会显 ...
分类:
Web程序 时间:
2019-09-03 12:02:03
阅读次数:
157
[SQL SERVER][Performance]小心使用With NoLock 在论坛上看到一则关于With NoLock发问,我不确定发问者是否常态使用NoLock, 但以前经验告诉我要谨慎使用NoLock,以下就让我娓娓道来.. 2003年微软有... ...
分类:
数据库 时间:
2019-09-02 13:32:25
阅读次数:
80