TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

The cost of a system call [pdf]

126 点作者 caustic大约 9 年前

10 条评论

jws大约 9 年前
The FlexSC paper from 2010.<p>They observe the cache damage from traditional system calls and propose batch queueing them and ideally using a different core to service them. This is not the traditional Unix programming model, so they create a threading package the transparently makes your traditional Unix synchronous system calls work. They benchmark Apache with all of this new apparatus and it performs very well.
评论 #11367281 未加载
Animats大约 9 年前
A callback-oriented kernel call mechanism. Hmm. The callback-oriented framework people should love this. It looks like you have to keep polling the shared page to see when your system call is done, though.<p>It&#x27;s painful to realize that, after a context switch, modern CPUs can need 11,000 cycles to get back to full speed, with the right stuff in the caches and pipelines. Maybe we need CPUs which handle context switches better.
评论 #11368007 未加载
评论 #11368494 未加载
评论 #11368002 未加载
PascLeRasc大约 9 年前
I found this paper <i>incredibly</i> interesting, and I think I&#x27;d love to work in research in this area. Does anyone have some resources to learn more&#x2F;keywords to search? I&#x27;m currently a biomedical engineering undergraduate, so the most relevant course I&#x27;ve had has been Digital Logic, which I absolutely loved and did very well in, but I&#x27;d really appreciate advice on additional courses to try to take.
评论 #11368453 未加载
评论 #11368826 未加载
wyldfire大约 9 年前
The interesting bit I was eagerly anticipating is buried way down in &quot;3.1 Exception-Less Syscall Interface.&quot; How&#x27;d they do it? Syscall pages. This sounds really interesting, though apparently not terribly new.<p>I&#x27;d be really concerned about trust issues, but I&#x27;m sure it could be done safely. Lots of room for corner cases, especially w&#x2F;NUMA.
circlingthesun大约 9 年前
We should just let V8 run in the kernel and do away with system calls. <a href="https:&#x2F;&#x2F;www.destroyallsoftware.com&#x2F;talks&#x2F;the-birth-and-death-of-javascript" rel="nofollow">https:&#x2F;&#x2F;www.destroyallsoftware.com&#x2F;talks&#x2F;the-birth-and-death...</a>
ape4大约 9 年前
This is cool but it certainly makes things more complicated. It adds a kernel mode thread per process.
评论 #11369082 未加载
robinanil大约 9 年前
This is fantastic. Any plans of getting this into main stream Linux kernel?
评论 #11367177 未加载
erichocean大约 9 年前
The seems like the kind of thing you&#x27;d expect to see implemented in Redox.[0]<p>[0] <a href="http:&#x2F;&#x2F;www.redox-os.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.redox-os.org&#x2F;</a>
评论 #11368774 未加载
nwmcsween大约 9 年前
iirc xok exokernel had the same thing by doing &#x27;scheduler activations&#x27; through a vdso. How does flexsc handle cancellation points? What about latency?
TerryADavis大约 9 年前
TempleOS is ring-0-only. No system call overhead.