TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The cost of a system call [pdf]

126 pointsby causticabout 9 years ago

10 comments

jwsabout 9 years ago
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 未加载
Animatsabout 9 years ago
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 未加载
PascLeRascabout 9 years ago
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 未加载
wyldfireabout 9 years ago
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.
circlingthesunabout 9 years ago
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>
ape4about 9 years ago
This is cool but it certainly makes things more complicated. It adds a kernel mode thread per process.
评论 #11369082 未加载
robinanilabout 9 years ago
This is fantastic. Any plans of getting this into main stream Linux kernel?
评论 #11367177 未加载
erichoceanabout 9 years ago
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 未加载
nwmcsweenabout 9 years ago
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?
TerryADavisabout 9 years ago
TempleOS is ring-0-only. No system call overhead.