/srv/irclogs.ubuntu.com/2020/02/05/#ubuntu-cn.txt

Guest81Hello05:06
=== Guest81 is now known as Tom
Tom有人吗05:07
=== Tom is now known as Guest25885
Guest25885hi05:10
=== Guest81 is now known as yekjhhee
=== Guest81 is now known as yekjhhee
Guest81hi05:18
yekjhheehi05:19
yekjhhee有人吗05:20
alexxxxey05:21
yekjhhee居然真的有人05:21
yekjhhee感觉发现了新天地05:21
contrun[m]感觉大清要亡了啊05:58
imadpercontrun[m]: cherrot: zao.06:19
contrun[m]imadper 大清什么时候亡啊06:20
imadpercontrun[m]: tomorrow.06:20
contrun[m]imadper Great 磨难要结束了06:21
imadpercontrun[m]: How?06:21
contrun[m]imadper 活着没劲啊06:21
imadpercontrun[m]: Try to find a condom-friend?06:22
contrun[m]imadper 刁夶一日不完  我一日不找 condom-friend06:22
imadpercontrun[m]: Why 刁夶 can't be your condom friend?06:23
* imadper Shitty sogou-pinyin06:23
contrun[m]imadper 刁明泽可以06:23
contrun[m]imadper rime 大法好06:23
imadpercontrun[m]: Is it possible that hijack read/write with ptrace to implement a cache system for NFS?06:24
imadpercontrun[m]: I mean, a local arc for nfs.06:24
imadpercontrun[m]: How to handle mmap then?06:25
contrun[m]imadper 你他妈这是要在错误的道路上越走越远06:25
imadpercontrun[m]: More thoughts?06:25
imadpercontrun[m]: more details?06:26
contrun[m]imadper 不是说了用 ceph 吗06:26
imadpercontrun[m]: shitty ceph. I don't even know if ceph has a local cache06:27
contrun[m]imadper There is no harm in trying06:28
imadpercontrun[m]: Hard to measure.06:28
imadpercontrun[m]: cache is always transparent06:28
contrun[m]imadper 你想要达到什么效果06:29
albet70明明是多难兴邦06:29
imadpercontrun[m]: with local zfs, arc hits 99% on our workload.06:29
imadpercontrun[m]: With 20G arc.06:29
albet702.10封路能结束吗?06:30
imadpercontrun[m]: Which provides 600K iops which 16K recordsize.06:30
contrun[m]albet70 你可能还活在梦里面06:30
albet70contrun 中国梦06:30
contrun[m]imadper 具体使用场景的效果06:31
contrun[m]等刁夶亲自翠吧06:32
imadpercontrun[m]: When runing filecoin action0, there is nearly zero physical disk io with arc. Arcstats shows that arc covers almost all of the read.06:32
contrun[m]imadper 访问的文件是网络或本地  缓存在内存?06:33
imadpercontrun[m]: https://sm.ms/image/DosbV4drQaPtyqw   currently, in local. However I need to move it to lan.06:34
contrun[m]imadper 缓存的内存不是 kernel 的 buffer  你应该搜 fs-agnostic buffer06:35
imadpercontrun[m]: I just need ceph or nfs have similar cache.06:36
imadpercontrun[m]: And if ceph has built-in memory cache, I'd use it directly.06:36
albet70都啥时候了,还整天来些心灵鸡汤的新闻,06:37
albet70还有那些没事蹭热点的院士06:37
contrun[m]imadper ceph 和 nfs 的一般缓存是指的缓存到本地硬盘啊06:37
contrun[m]albet70 大清要亡了06:38
albet70这次被人实名举报,干脆这个锅就让武汉病毒研究所和中科院那些院士背了吧,不杀不足以平民恨06:38
imadpercontrun[m]: that's why I need to hijack read/write with ptrace.06:38
imadpercontrun[m]: To reduce hardware cost, we have no nvme on ever worker.06:39
contrun[m]albet70 这个显然是无稽之谈06:39
imadpers/er/ery/06:39
contrun[m]imadper linux 的 buffer 是怎么触发的?“06:40
albet70管它是真是假,总有人需要背锅吧06:40
imadpercontrun[m]: readahead?06:40
contrun[m]imadper 调 linux buffer 才是正确的方向06:41
albet70平时拿皇粮的,此时就是他们为国捐躯的时候06:41
contrun[m]albet70 让亲自指挥 亲自部署的刁夶上06:41
imadpercontrun[m]: is linux buffer a LRU?06:42
contrun[m]albet70 来一个罪己诏 那是坠吼的06:42
albet70网上都说这次问题这么大,就是因为年前那个女的开车碾压了龙脉06:42
albet70我感觉这个说法非常科学06:43
albet70应该把这个女的全族祭祀了06:43
contrun[m]imadper 母鸡啊06:43
contrun[m]albet70 大帝危矣06:44
albet70你想想龙脉那是什么地方,竟然被这种妖精开车碾压,这个国运都被搞没了06:45
imadperalbet70: Agree with you.06:45
contrun[m]albet70 你国国运不早就没了 刁夶都能上06:47
contrun[m]imadper 你可以看下 数据库是怎么优化的 数据库和你的使用场景很像06:51
contrun[m]imadper 不行 数据库可能没有用比较通用的缓存方案  rocksdb 好像是有 writeahead log 数据本身就存在内存 到了一定大小就 flush 到硬盘06:59
imadpercontrun[m]: yep, that's how lsm tree works.07:00
imadpercontrun[m]: However, I need it for read.07:01
albet70北京下雪了?07:01
albet70天津也下雪了?07:02
imadpercontrun[m]: https://docs.ceph.com/docs/giant/rbd/rbd-config-ref/07:02
contrun[m]albet70 下了  雪地里一个小画家都没有07:02
contrun[m]imadper 不错07:02
contrun[m]imadper 数据库读取硬盘文件也是有缓存的 不知道是怎么做的07:05
imadpercontrun[m]: LRU or MFU07:06
imadpercontrun[m]: arc is the combin of LRU and MFU07:06
imadpercontrun[m]: it adjust the size of LRU and MFU automaticlly to fix kinds of workload.07:07
imadpercontrun[m]: https://sm.ms/image/dEsAzRTiabnBMlg in my case, MFU works well.07:09
contrun[m]imadper 你需要的是一个 tmpfs 作为前端 nfs or whatever 作为后端的 https://bcachefs.org/  还有两个问题  bcachefs 有没有 failure recovery   tmpfs 要是满了 bcachefs 会怎么办07:16
imadpercontrun[m]: IIRC bcachefs works at block layer,07:17
contrun[m]https://en.wikipedia.org/wiki/CacheFS07:17
imadpercontrun[m]: cachefs uses another fs as cache. not memory.07:17
contrun[m]tmpfs07:18
imadpercontrun[m]: https://sm.ms/image/ZNzGfU8Ee7OKstu07:19
imadpercontrun[m]: https://www.redhat.com/archives/linux-cachefs/2011-October/msg00005.html07:20
imadpercontrun[m]: :-)07:20
contrun[m]imadper 总有一款 cachefs 适合你07:20
imadpercontrun[m]: "You cannot use tmpfs because it doesn't support xattr needed for fscahe."07:20
imadpercontrun[m]: I would give ceph a try.07:22
imadpercontrun[m]: However all hdds are managed by zfs now. I can't destory zpool now.07:23
contrun[m]imadper 是啊 你他妈为什么要瞎几把折腾呢07:23
imadpercontrun[m]: just know that ceph has a local memory cache.07:23
imadpercontrun[m]: and still not sure if it's a mfu.07:24
contrun[m]imadper premature optimization07:24
contrun[m]imad07:24
contrun[m]imadper 又不是不能用07:24
imadpercontrun[m]: Just don't want to take too much time on testing ceph/tmpfs/bcachefs07:25
contrun[m]imadper 你的问题加内存可以解决?07:25
imadpercontrun[m]: Nope, The program is alread runing. The job I'm doing now is find out the fastest storage solution.07:25
imadpercontrun[m]: which means, I'm in optimization phase now.07:25
imadpercontrun[m]: It's not "premature"07:26
contrun[m]imadper 牛逼07:26
imadpercontrun[m]: Increasing hardware cost is possible iff I have a sane caching system to use the memory.07:26
imadpercontrun[m]: So I'm finding the `sane caching system`07:27
contrun[m]imadper 改个缓存策略会这么难?07:28
imadpercontrun[m]: how?07:28
imadpercontrun[m]: Show me the command.07:29
contrun[m]imadper 没有我跳楼  你举证我 跳楼07:29
imadpercontrun[m]: you jump, I jump07:29
contrun[m]imadper 别 你跳了 你老婆怎么办  你们这些人啊 怎么一点都不顾家呢07:31
imadpercontrun[m]: jump jump more health07:31
contrun[m]imadper jump jump healthier07:32
imadpercontrun[m]: .... Okay07:32
lzkjkubuntu用tightvncserver,键盘输入乱码是咋回事儿啊08:01
lzkj完全是乱的😂08:01
lzkjxrdp就更不行,连接上 就显示个鼠标箭头……08:12
lzkj有么有然滴嘛?08:22
imadper...08:32
=== sixand1 is now known as sixand
=== sixand1 is now known as sixand
=== sixand1 is now known as sixand
lzkj好困啊16:03

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!