上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 38 下一页
摘要: 修改命令 tunegfs2 -U "5250a30c-b2df-5a06-49ac-4f9f5050d2be" /dev/mapper/vgname_data1-lvname_data2 查看gfs2 uuid的命令 blkid /dev/mapper/vgname_data1-lvname_dat 阅读全文
posted @ 2019-06-28 11:59 kissrule 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 第一,先探讨一个问题,一个写IO的流程,什么样就算完成一次IO操作了。 "Disk Caches,磁盘高速缓存。 将磁盘上的数据缓存在内存中,加速文件的读写。实际上,在一般情况下,read/write是只跟缓存打交道的。(当然,存在特殊情况。下面会说到。) read就直接从缓存读数据。如果要读的数据 阅读全文
posted @ 2019-06-27 12:00 kissrule 阅读(332) 评论(0) 推荐(0) 编辑
摘要: 一 mount选项使用noatime与nodiratime 这样会更快。 2.5.1. Mount Options: noatime and nodiratimeIt is generally recommended to mount GFS2 file systems with the noati 阅读全文
posted @ 2019-06-26 18:26 kissrule 阅读(760) 评论(0) 推荐(0) 编辑
摘要: 1 从下面官网下载相应的包,共3个。 https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.15-rc9/ linux-headers-4.15.0-041500rc9-generic_4.15.0-041500rc9.201801212130_amd6 阅读全文
posted @ 2019-06-26 16:17 kissrule 阅读(4128) 评论(0) 推荐(0) 编辑
摘要: Ubuntu 18.04中的apt-get版本为1.6.8。 如果你使用的ubuntu版本较低,apt版本低于1.5,可使用简单的方法配置本地源。简单方法见第二部分。 第一部分,ubuntu18.04上制作本地源 步骤有: 一 创建目录:mkdir repository 二 拷贝deb文件到目录 c 阅读全文
posted @ 2019-06-26 10:22 kissrule 阅读(5390) 评论(0) 推荐(1) 编辑
摘要: Run/Edit Configurations Configuration/VM options 例如:设置运行内存为:-Xmx3m -Xms3m 阅读全文
posted @ 2019-06-21 17:21 kissrule 阅读(5918) 评论(0) 推荐(0) 编辑
摘要: 内存泄漏很详细的文章 https://www.jb51.net/article/92311.htm 阅读全文
posted @ 2019-06-21 17:08 kissrule 阅读(1835) 评论(0) 推荐(0) 编辑
摘要: import java.util.Arrays; import java.util.Iterator; public class ArrayList implements Iterable { public int size; public int current = 0; Object[] objects = new Object[2]; public voi... 阅读全文
posted @ 2019-06-21 16:05 kissrule 阅读(621) 评论(0) 推荐(0) 编辑
摘要: public class ArrayList { public int index = 0; Object[] objects = new Object[2]; public void add(Object o) { //当index超出最初定义数组的长度时,自动扩容 if(index == objects.length){ ... 阅读全文
posted @ 2019-06-21 15:41 kissrule 阅读(660) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/chrischennx/p/9610853.html 正确方式 方法一,还是fori,位置前挪了减回去就行了, remove后i--: 方法二,不用ArrayList的remove方法,用Itr自己定义的remove方法,代码如下: 为什么itr自己定 阅读全文
posted @ 2019-06-21 14:18 kissrule 阅读(954) 评论(0) 推荐(0) 编辑
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 38 下一页