Forwarded from 科技圈🎗在花频道📮
字节跳动提出“以库方式运行进程”以大幅提升Linux IPC效率
字节跳动工程师提出一种名为“Run Process As Library”(RPAL,以库方式运行进程)的新方法,用以加速Linux中的进程间通信(IPC),目标是在最小修改应用的前提下,绕过内核实现用户态高效通信。
RPAL通过共享地址空间、减少数据拷贝和系统调用开销,使一个进程能像调用本地函数一样调用另一个进程。实测中,传输100万条32字节消息时,RPAL将平均延迟从19616个CPU周期降至1703个,降低约91.3%。在数据中心微服务场景中,该技术还带来了最多15.5%的CPU使用率下降。
目前RPAL依赖于Intel MPK或AMD Zen 4以上处理器,后续补丁可能放宽硬件要求。相关补丁已以RFC形式公开发布。
lore.kernel.org
📮投稿 ☘️频道 🌸聊天
字节跳动工程师提出一种名为“Run Process As Library”(RPAL,以库方式运行进程)的新方法,用以加速Linux中的进程间通信(IPC),目标是在最小修改应用的前提下,绕过内核实现用户态高效通信。
RPAL通过共享地址空间、减少数据拷贝和系统调用开销,使一个进程能像调用本地函数一样调用另一个进程。实测中,传输100万条32字节消息时,RPAL将平均延迟从19616个CPU周期降至1703个,降低约91.3%。在数据中心微服务场景中,该技术还带来了最多15.5%的CPU使用率下降。
目前RPAL依赖于Intel MPK或AMD Zen 4以上处理器,后续补丁可能放宽硬件要求。相关补丁已以RFC形式公开发布。
lore.kernel.org
📮投稿 ☘️频道 🌸聊天
👍19🤔3❤1
Forwarded from Hacker News
How to live an intellectually rich life (Score: 158+ in 4 hours)
Link: https://readhacker.news/s/6tNAA
Comments: https://readhacker.news/c/6tNAA
Link: https://readhacker.news/s/6tNAA
Comments: https://readhacker.news/c/6tNAA
Substack
How to live an intellectually rich life
.. and how living one is easier than you think
Forwarded from Rynco Maekawa
草,刚才刷多邻国遇到了一个专有名词 Novum Eboracum。这玩意是什么呢?
……是tmd纽约,因为罗马时代的 Eboracum 城最后变成了今天的英国约克城,所以新的 Eboracum 就是新约克所以是纽约。
……是tmd纽约,因为罗马时代的 Eboracum 城最后变成了今天的英国约克城,所以新的 Eboracum 就是新约克所以是纽约。
❤7
Forwarded from 每日消费电子观察 (horo)
NASA 单年预算迎“史上最大规模削减”:SLS 火箭和猎户座飞船将迅速淘汰,立即终止月球空间站 Gateway 项目 - IT之家
https://www.ithome.com/0/850/527.htm
https://www.ithome.com/0/850/527.htm
Ithome
NASA 单年预算迎“史上最大规模削减”:SLS 火箭和猎户座飞船将迅速淘汰,立即终止月球空间站 Gateway 项目 - IT之家
被立即叫停的 Gateway 空间站原定 2027 年完成在轨组装,其核心舱段 居住与后勤前哨站(HALO) 上月刚从意大利运抵美国,而现在却成了一堆废铁。
💊17😱2👍1
alli: how do we increase context windows for boyfriends? man is forgetful
Jeremy Nguyen:
- begin by allocating a clear role ("I just want to share, you don't have to solve the problem")
- use verbal xml tags ("oh, I gotta fill you in on this thing my boss said", "okay, that's the end of the boss thing")
- users think they want sycophancy, but they don't want it to be obvious
Shweta:
you don’t increase the context window, you schedule regular RLHF fine-tuning loops
Jeremy Nguyen:
- begin by allocating a clear role ("I just want to share, you don't have to solve the problem")
- use verbal xml tags ("oh, I gotta fill you in on this thing my boss said", "okay, that's the end of the boss thing")
- users think they want sycophancy, but they don't want it to be obvious
Shweta:
you don’t increase the context window, you schedule regular RLHF fine-tuning loops
X (formerly Twitter)
alli (@sonofalli) on X
how do we increase context windows for boyfriends? man is forgetful
❤9👍1😁1