windows 7 8 performance tuning 性能优化
最近发现几个好用的工具,顺便总结下。procps-ng: top, free, ps, pgrep, vmstat ...sysstat: iostat, sar ...lsof,iftop,mtr,htopcv:新发现的监控cp,dd等即时速度的nmon:从AIX鼎鼎大名的topas移植过来的ds...
分类:
系统相关 时间:
2014-07-27 10:04:32
阅读次数:
333
在C#中,赋值和简单的数字运算都不是原子型操作。在多线程环境下,会产生数据安全的问题。在多线程环境下,我们可以通过使用System.Threading.Interlocked类来实现原子型操作当个数据,使用它比使用Monitor类跟简单。Interlocked类主要方法方法作用CompareExchange()安全比较两..
分类:
其他好文 时间:
2014-07-26 15:34:55
阅读次数:
225
原文:http://baoz.me/446252 码农周刊如何让 Python 代码运行得更快?作者给出了 18 条 Python 代码性能优化小贴士,简单明了,拿来即用。http://infiniteloop.in/blog/quick-python-performance-optimizatio...
分类:
编程语言 时间:
2014-07-26 01:44:36
阅读次数:
648
在编译maven带中文的工程时,尽管pom文件中设置了UTF-8,但仍然会报错,如下信息:
[ERROR] Failed to execute goal org.apache.felix:maven-scr-plugin:1.7.2:scr (generate-scr-scrdescriptor) on project toolkit.monitor.manager: Execution gen...
分类:
其他好文 时间:
2014-07-24 17:40:16
阅读次数:
251
tomat在linux服务器上启动报The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.lib...
分类:
其他好文 时间:
2014-07-24 17:35:26
阅读次数:
250
1. 开发了一个简单的监视weblogic运行情况的小程序,各位朋友下载下来试试,不用登陆console就可以知道server的运行状况,包括了jvm、线程、jdbc、状态jms等;还有一个更简单的选项,下拉选“warning”,直接查看是否有等待队列、jvm紧张阿、连接池泄漏阿、连接池等待阿;
2. 已经上传 weblogic_monitor.jar ,jar包里面有readme...
分类:
Web程序 时间:
2014-07-24 10:44:33
阅读次数:
324
Mysql问题 ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)...
分类:
数据库 时间:
2014-07-22 23:47:07
阅读次数:
298
GRE模式下,如果MTU和Offloading配置不当,会严重降低网络性能(https://ask.openstack.org/en/question/6140/quantum-neutron-gre-slow-performance/)。RDO推荐以下的配置(http://openstack.re...
分类:
其他好文 时间:
2014-07-22 22:43:13
阅读次数:
333
(英文部分为转的。代码是个人代码)
1 What’s inotify
The inotify API provides a mechanism for monitoring file system events. Inotify can be used to monitor individual files, or to monitor directories. When a direc...
分类:
系统相关 时间:
2014-07-22 22:39:53
阅读次数:
476