Re:Mkfile(8) is severely syscall limited on OS X
by cbsmith on Sunday February 12, 2017 @05:53PM
(#13631587)
I'm pretty sure that even at their slowest, syscalls aren't going to match IO overhead. It's not like the mkfile is CPU bound.
[ Parent
| on HN ]
Re:Mkfile(8) is severely syscall limited on OS X
by mpweiher on Tuesday February 14, 2017 @12:36AM
(#13641423)
The point of the article is that I was also "pretty sure" about exactly that, and advances in hardware performance meant I was wrong...
2GB/s is pretty damn fast, 0.5 nanoseconds per byte.
Re:Mkfile(8) is severely syscall limited on OS X
by cbsmith on Thursday February 16, 2017 @10:31AM
(#13660625)
That's not what the article showed. It showed that synchronous IO latency was the limiting factor. By arranging your IOs into little 512-byte chunks, you don't make it terribly easy for the filesystem to efficiently use the underlying device --not surprising, given that it doesn't even want to work in 512 byte sectors, and operates more efficiently with lots of a parallel io operations.