1.基本概念。 JAVA_MEM_OPTS=" -server -Xmx2g -Xms2g -Xmn512m -XX:PermSize=128m -Xss256k -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemar...
分类:
系统相关 时间:
2014-12-30 15:10:03
阅读次数:
187
htop是一款交互式进程查看器第一块1:第一颗CPU使用率2:第二颗CPU使用率3:第三颗CPU使用率4:第四颗CPU使用率Mem:内存使用率Swap:交换空间使用率第二块Tasks:进程总数 线程数Load average:1min 5min 15min 前的平均负载Uptime:系统启动时长第三...
分类:
其他好文 时间:
2014-12-29 15:00:05
阅读次数:
295
echo“mem”>/sys/power/state这相当于待机echo“disk”>/sys/power/state这相当于休眠
分类:
其他好文 时间:
2014-12-27 06:47:37
阅读次数:
339
现象:1.当case比较复杂的时候(含有for循环对mem进行读/写) 发现for循环时总是有汇编指令不执行跳过去了,(其实是汇编不熟和指令太多无法理智分析指令了)。 事实是指令是对的,但执行错了(所以debug时一定要保证不改变问题本质的情况下尽量简化case,编译出最简单的指令序列,方便分析指令...
分类:
其他好文 时间:
2014-12-26 20:05:04
阅读次数:
120
可以使用free,top查看内存的使用情况。
free(默认内存显示大小为kb)
free
total used free shared buffers cached
Mem: 65923008 51864508 14058500 0 368744 4166828...
分类:
系统相关 时间:
2014-12-25 20:39:16
阅读次数:
240
ldr,str,ldm,stm的命名规律:这几个指令命名看起来不易记住,现在找找规律。指令样本效果归纳名称解释ldr Rd,addressingldr r1,[r0]addressing to Rd [mem to reg]load to registerstr Rd,addressingstr r...
分类:
其他好文 时间:
2014-12-23 17:05:46
阅读次数:
259
分布式缓存出于如下考虑,首先是缓存本身的水平线性扩展问题,其次是缓存大 并发下的本身的性能问题,再次避免缓存的单点故障问题(多副本和副本一致性)。分布式缓存的核心技术包括首先是内存本身的管理问题,包括了内存的分配,管 理和回收机制。其次是分布式管理和分布式算法,其次是缓存键值管理和路由。什么是Mem...
分类:
系统相关 时间:
2014-12-22 12:27:45
阅读次数:
253
In your database, online redo log files are multiplexed and one of the
members in a group is lost due to media failure?
How would you recover the lost redo log member?
A.import the database fr...
分类:
数据库 时间:
2014-12-21 19:31:51
阅读次数:
253
虽然教材上说斐波那契数列用递归来计算效率很低,因为重复计算次数太多,不过如果将结果保存起来,使用记忆化的思想,还是可以使用递归计算斐波那契的
代码如下public class 斐波那契记忆递归
{
static int n=150;
static int[] mem=new int[n+1];
public static void main(String[] args)
{
//将第...
分类:
其他好文 时间:
2014-12-20 16:59:13
阅读次数:
303
Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_m...
分类:
数据库 时间:
2014-12-19 17:19:13
阅读次数:
4284