3 ms·
Right, but how often that happens is workload dependent. Basically, how often is your code making syscalls.
by cortesoft 9y ago
Right, but how often that happens is workload dependent. Basically, how often is your code making syscalls.
- vidoc 9y ago> how often is your code making syscalls. And how often the kernel services interrupts.
- Cyph0n 9y agoBut don't all FS accesses (e.g., write to socket, read from DB) require a syscall? In that case, basically all web applications would be affected. Or am I completely off the mark?
- cortesoft 9y agoNo, you are correct. Really, every application will be affected, they all make some syscalls. How much will vary, though.
- lmm 9y agoAt least one syscall happens at some point, but performance-tuned systems already use "bulk" syscalls where a single syscall can send megabytes of data, check thousands of sockets, or map a whole file into your address space to access as if it were memory.