iOS and macOS™ Performance Tuning: Cocoa®, Cocoa Touch®, Objective-C®, and Swift™
by Marcel Weiher
10. I/O: Principles
When Apple introduced the PowerMac G4, it was billed it as the world’s first desktop supercomputer. Ken Bachter once quipped that “a supercomputer is a device for turning compute-bound problems into I/O-bound problems.” In a sense, all
computers are supercomputers now, with today’s iPhones vastly outpacing a PowerMac G4, and with compute performance vastly outpacing I/O performance. In addition, the difference between access times (latency) and transfer speeds (bandwidth) that we saw with memory access is even more pronounced with I/O devices. Whereas the difference between latency and throughput is around 1:100 with memory, it is 1:100,000 and more with I/O devices.
Hardware
The fundamental performance characteristics of ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access