Spring源码深度解析概览 注册解析器注册AnnotationAwareAspectJAutoProxyCreator注册或升级AnnotationAwareAspectJAutoProxyCreator:如果已经存在了自动代理创建器,而且存在的自动代理创建器与现在的不一致,那么根据优先级判断到底需要使用哪个处理proxy-target-class以及expose-proxy属性。
内核态与中断相关理论 是一种管理平台虚拟化技术的工具,提供了一系列开源的程序接口,其作为中间适配层,屏蔽了底层的hypervisor的细节,为上层管理工具提供了一个统一的、较稳定的接口。:qemu则提供了一个开源的全虚拟化解决方案,几乎可以模拟任何硬件设备,作为用户空间工具与kvm配合使用(kvm负责cpu和内存虚拟化,qemu则负责IO虚拟化)。以Inter cpu为例,操作的权限分为4级:ring 0-3,0级权限最高,3级权限最低,Linux系统仅采用ring0 和 ring3这2个权限。
分布式存储系统(Ceph)基础 ceph osd pool rm {pool-name} {pooll-name} --yes-i-really-really-mean-it // 需要先启用存储池删除配置。FileStore:将文件分割成对象,OSD格式化成了XFS文件系统,需要先将对象转换成文件,属组文件级元数据放在元数据区,对象自己的元数据放在levelDB中。rados put {object-name} {obj-location} --pool={pool-name} // 或者使用-p 指定存储池。
DAS、SAN和NAS三足鼎立 由FC协议的底层模块担当传输通道和手段,将SCSI协议集的上层内容传送到对方,定义了在FC4层上的针对SCSI指令集的特定接口FCP(SCSI over FC),将连接主机和磁盘阵列的通路从并行SCSI总线替换为串行传输的FC通路。 NL端口是开放环中的一类端口,具有N端口和L端口的双重能力,支持交换式光纤网登陆和环仲裁,是FC交换机上用于连接开放仲裁环结构的中介端口。 使用性能稍差,但是成本低的FC-AL仲裁环结构连接磁盘阵列的控制器和磁盘,而且在每块磁盘上都实现FC拓扑中的L端口。
Linux 定时任务 系统在某个时间执行特定的命令或程序 (service crond start/restart)atd进程每60秒检查作业队列,当有作业时检查作业时间和当前时间是否匹配,匹配则运行此作业。at 命令是一次性定时计划任务,使用守护进程atd检查作业队列运行。at [option] [time] Ctrl+D 结束编辑。第五个:星期几 0-7(0和7都是星期日)atq 查看系统中没有执行的工作任务。第一个:第几分钟 0-59。第二个:第几小时 0-23。第三个:第几天 1-31。第四个:第几月 1-12。
ssh 连接出现:kex_exchange_identification: read: Connection timed out SSH 连接服务器ssh -v root@xx.xx.xx.xx (debug ssh)
Office365 Word 打开某个文件就自动卡死关闭 原因 打开某个比较大的长文件之后,会有一个自动定位上次修改地方的标签,如果长期不进行点击或操作,文件会自动卡死异常关闭,那么该文件再次打开自动关闭。(并且换文件名,换文件夹都一样的结果)临时解决 将该文件传到另一台设备或用户,重新转发给自己,再下载下来放在另一个地方(如果放在原来的路径还是同样的结局),最好先更名再进行编辑。坐等bug修复...
CMU Computer Systems: Dynamic Memory Allocation (Basic Concepts) Dynamic Memory AllocationProgrammers use dynamic memory allocators (such as malloc) to acquire VM at run timeFor data structures whose size is only known at runtimeDynamic memory allocators manage an area of process virtual memory known as the heap
CMU Computer Systems: Virtual Memory (Concepts) Address SpacesLinear address space: Ordered set of contiguous non-negative integer addressesVirtual address space: Set of N=2nN = 2^nN=2n virtual addressPhysical address space: Set of M=2mM= 2^mM=2m physical addressesWhy Virtual MemoryUse main me
CMU Computer Systems: System-Level I/O I/OUnix I/ORIO (robust I/O) packageMetadata, sharing, and redirectionStandard I/OClosing remarksUnix I/O OverviewA Linux file is a sequence of m bytesCool fact: All I/O devices are represented as filesEven the kernel is represented as a fileEl
CMU Computer Systems: Exceptional Control Flow (Signals and Nonlocal Jumps) ECF Exists at All Levels of a SystemExceptionsHardware and operating system kernel softwareProcess Context SwitchHardware timer and kernel softwareSignalsKernel software and application softwareNonlocal jumpsApplication codeECF to th
CMU Computer Systems: Exceptional Control Flow (Exceptions and Processes) Control FlowProcessors do only one thingSimply read and execute a sequence of instructions, one at a timeThe sequence is the CPU’s control flowAltering the Control FlowMechanismJumps and branchesCall and returnDifficultyData arrives from
CMU Computer Systems: Linking Static LinkingPrograms are translated and linked using a compiler driverSource filesSeparately compiled relocatable object filesFully linked executable object fileWhy linkersModularityProgram can be written as a collection of smaller source f
CMU Computer Systems: The Memory Hierarchy MemoryStorage technologies and trendsLocality of referenceCaching in the memory hierarchyRandom-Access Memory (RAM)Key featuresRAM is traditionally packaged as a chipBasic storage unit is normally a cell (one bit per cell)Multiple RAM chips for