围城摘抄
围在城里的人想逃出来, 城外的人想冲进去, 对婚姻也罢,职业也罢,人生的愿望大都如此。
1 一
眼睛两条斜缝,眉毛高高在上,跟眼睛远隔得彼此要害相思病。
只有国文是国货土产,还需要外国招牌,方可维持地位,正好像中国官吏、商人在本国剥削来的钱要换外汇,才能保持国币的原来价值
围在城里的人想逃出来, 城外的人想冲进去, 对婚姻也罢,职业也罢,人生的愿望大都如此。
眼睛两条斜缝,眉毛高高在上,跟眼睛远隔得彼此要害相思病。
只有国文是国货土产,还需要外国招牌,方可维持地位,正好像中国官吏、商人在本国剥削来的钱要换外汇,才能保持国币的原来价值
本文为摘录(或转载),侵删,原文为: https://postgr.es/p/6oe
最近我在 Postgres 中处理一些查询,发现它要么选择不使用索引执行顺序扫描,要么选择使用复合部分索引的替代索引。这让我感到困惑,尤其是知道系统中有可以更快执行这些查询的索引时。
passwd 中,用户使用的 shell , 必需是包含在 /etc/shells 里面的,否则会无法登录,哪怕密码没有问题。
本文为摘录(或转载),侵删,原文为: -https://www.linkedin.com/company/hashdata-inc. -https://docs.hashdata.xyz/docs/20-product-guide/
HashData was founded in 2016 by the guys who built Apache HAWQ, one of the most advanced SQL on Hadoop solutions. As the flagship product of the company, HashData Warehousing is a data warehouse service built for the cloud. While 100% compatible with the analytics interfaces of the open source MPP database Greenplum,HashData’s unique architecture delivers proven breakthroughs in performance, concurrency, elasticity and simplicity.
本文为摘录(或转载),侵删,原文为: https://www.broadcom.com/support/knowledgebase/1211161453667/how-can-3ware-and-megaraid-performance-be-increased-in-linux
How can LSI 3ware and LSI MegaRAID performance be increased in Linux?
See KB article A004958 Article ID 1211161457978 See also: Article ID 1211161479669
pin_lock 概述spin_unlock() 函数本文为摘录(或转载),侵删,原文为: https://www.cnblogs.com/hellokitty2/p/16368024.html
pin_lock 概述spin lock 是一种不可休眠锁,可用于原子上下文。当获取不到锁的时候会 spin 等待,此时是 running 状态。
本文为摘录(或转载),侵删,原文为: https://blog.regehr.org/archives/2173
自旋锁 (spinlock) 是多处理器操作系统提供的最基本的互斥原语。自旋锁需要保护当前 CPU 免受抢占(通常通过禁用中断,但我们会在本文中忽略这个方面),并且还需要防止其他核心同时访问临界区(通过使用原子内存操作)。正如其名称所示,尝试获取已锁定的自旋锁会简单地自旋:它们会消耗 CPU 时间:
本文为摘录(或转载),侵删,原文为: https://people.redhat.com/~jolawren/klp-compiler-notes/livepatch/compiler-considerations.html
函数内联可能是影响动态修补最常见的编译器优化。在一个简单的例子中,内联将原始代码转换为:
本文为摘录(或转载),侵删,原文为: https://github.com/postgres/postgres/blob/master/doc/src/sgml/nls.sgml#L52
The pairs of original (English) messages and their (possibly) translated equivalents are
kept in message catalogs , one for each program (although related programs can share a
message catalog) and for each target language. There are two file formats for message
catalogs: The first is the PO file (for Portable Object), which is a plain text file
with special syntax that translators edit. The second is the MO file
(for Machine Object), which is a binary file generated from the respective PO file and
is used while the internationalized program is run. Translators do not deal with MO
files; in fact hardly anyone does.
本文为摘录(或转载),侵删,原文为: -https://github.com/torvalds/linux/blob/master/mm/mlock.c#L756 -https://stackoverflow.com/questions/12520499/linux-how-to-lock-the-pages-of-a-process-in-memory
from manpage:
| |
mlockall() ?Make a GDB command file that contains something like this: