## SR-IOV 配置

Nc24rs version1 的 ConnectX-3 ib网卡是走的SR-IOV。虽然virtual没有很多可以hack的地方。但我也借机多了解了点PCIe部分的虚拟化

## VSCC20 总结

Poster

TL;DR

Azure Cyclecloud 能很好的scale 你想干的任何计算，但我们在超过3000W的机器上没有很多经验，也许我在实习的时候有，但也只是对开着的集群运维，我并不那么善于精确的计算cost，在我们队里也似乎没有其他对弹性部署的机器有很好的理解。在写final arch的时候，我们带着以前的思路，由于预算限制导致的想着在任何时候用同样的价格。但云上比赛最好是用最好的机器跑最需要的应用。比如CESM需要HB120rs,那就新开一个机器。比赛之前我们只是把所有编译好的程序放到了一直开着的自带备份xfs的NFS上，pbs、grafana稍稍能用，后来开的机器懒就不配了，也没写脚本，吐槽下cyclecloud这个垃圾前端，还有HPC选项只有ubuntu18.04 和 rhel7。之后还配了个lustre template尝试跑IO500，可是性能不如单盘就放弃了。

NFS在装OMED驱动的时候挂过一次，stale handle detected。我们重启了一遍pbs集群，nfs集群。还好数据都在，我们相继在那个时候用azcopy上传了所有已有结果，发现了60sHPCG结果并不合法。殷老师脸色铁青。32个机器，用pipeline装机器的方法我们花了2个多小时才搞完。然后又花了1个小时弄openmpi的各种问题。最后没能在1小时之内再跑一次HPCG。预算也要抄了，我们只得关掉开的32台P100，回去睡觉了。本次比赛我们和清华的差距就是我们benchmark 没跑完。以及CESM没跑完。

## On Chinese Future Caltech Professor

I didn't comment on others frequently, btw as for my English typing skill is god dam stupid. I decided to comment on the professor who had taught me for one semester at SIST, ShanghaiTech.

ShanghaiTech Professor usually pose their strong personal idea on the Writing Assignment, Paper Reading and Coding Project in order to delete the caiji like me and select excellent student to their lab.

## Chun Dong

As a person of random personality, I don't really speak high of a OCD (obsessive-compulsive disorder) patient. But Chun Dong is really a guy with great precision with every point of his life. Take his comment on my paper reading one as example, he greatly circle out literally all my grammar minor mistake. Admittedly, as a decent researcher, it should've be introverted as a good quality to be a bug-free author. I noticed that he was a editorial for one journal at U.S. so that his craziness is not that out-of-my-mind.

He is really long at reading Computer Architectural surrounding paper. Once I asked him some CPU micro arch problem, he could come up the time and the author name. Once I asked something on the algorithm, he could tell the right side and wrong side. Indeed, those newly up researchers who are from the Chinese world is hard-working, intelligent and hard on others.

## Shu Yin

I'm elder than you, btw I'll take all your ability and fame literally.

As the hardest required class's Teacher, he is easy to get the most intelligent student in this school. Btw after I cooperated with him for some minor things, I think he could not get rid of his ways of thinking from small towns. He's smart and push people. I was pushed to do something that is just for sake of that I think is not necessary to do to benefit me.

He's elder professor at ShanghaiTech. He deserved the progress he made right away. But the dream he realized may not be all the student that work for him should have. I'm not make allegations to any one. Where there's man, there's politics. I don't taboo talking anything looks wrong even may take fire on me.

Good Day.

## Zi Yu

I'm imposing much on you, I don't really teach you but let you self-learn.

Tutor is one that impose motto on his students to let them do not wandering or wasting their precious time in their precious youth. I doubt the skills of expression of Zi Yu, I doubted his ability of boosting, not until I watched his latest masterpiece. Shame of myself.

I may not have a well-grouded ability to solve probability problem, btw I'll always remember his motto, his slang, his style.

## 谈谈我们SC20 要遇到的对手

//不过感觉真正强的同学现在都不出国了。

## Solve the spack install gromacs+cuda+mpi not compatible with [email protected]

For a temporary solution: you can merely download their upstream release from here that fixed the cuda-11 not compatible issue. and put them to /path/to/spack/var/spack/cache/_source-cache/archive/cd/cd12bd4977e19533c1ea189f1c069913c86238a8a227c5a458140b865e6e3dc5.tar.gz.

The checksum can be gotten by sha256sum gromacs-prepare-2020.4.tar.gz. Besides, you should modify the 2020.4 checksum in /path/to/spack/var/spack/repos/builtin/packages/gromacs/package.py, add version('2020.4', sha256='cd12bd4977e19533c1ea189f1c069913c86238a8a227c5a458140b865e6e3dc5').

Then you can simply run spack install [email protected]+mpi+cuda

## live2d imbed to your blog and appear on all end device with your tone

The nutshell is to have a virtual sakurajima mai that can have your AI tone for sure.

some food for thoughts:

1. Chi-Bot : a nlp implementation that take some of the words from Mr. Chi to corpus and utilize a model to generate more. Some of the original input can be listed below:我好菜啊
我菜爆了
我是什么垃圾
我失败了
1. live2d : a cross platform frontend for animation creation, in which much animi characters are uploaded by the fans worldwide.
2. live2dviewerex : a android and steam (windows & MacOS) apps.
3. live2d-wp : a wordpress plugin by 33.

First, it’s easy to get that the words from the live2d is stored as waifu-tips.json.

{    "waifu": {        "console_open_msg": ["哈哈，你打开了控制台，是想要看看我的秘密吗？"],        "copy_message": ["你都复制了些什么呀，转载要记得加上出处哦"],...    }

What I only care about is the "mouseover":, and it’s easily modified by the pyjson and nlp generated stuff. So just frequently modify them.

mai jiang is a master piece by neko_kk, which can be output by wpk. and just replace them with the 33. Here we go.

## solve 000340.041303 [email protected]: AppleUSBXHCI::interruptOccurred: clearing change bits on unused port 23 with portSC 0x802a0

Comment: Rename XHCI to XHC(USB)
Find: 58484349
Replace: 5848435F

Comment: Rename XHC1 to XHC(USB)
Find: 58484331
Replace: 5848435F


## Disk Representations: Files, Pages, Records

Tables stored as logical files • Consist of pages

• Pages contain a collection of records Pages are managed
• On disk by the disk space manager: pages read/written to physical disk/files
• In memory by the buffer manager:
higher levels of DBMS only operate in memory

## DataBase Files

DB Files : A collection of pages, each containing a collection.

Unordered Heap Files

• Records placed arbitrarily across pages Clustered Heap Files
• Records and pages are grouped Sorted Files
• Pages and records are in sorted order
Index Files
• B+ Trees, Linear Hashing, …
• May contain records or point to records in other files

### Unordered Heap Files

collection of recording in particular order , but not to be confused wi the heap data structure.
Keep track of record, free space and pages.

doubly list