<!--
{
  "availability" : [
    "macOS: 15.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FSKit",
  "identifier" : "/documentation/FSKit/FSStatFSResult/ioSize",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "FSKit"
    ],
    "preciseIdentifier" : "c:objc(cs)FSStatFSResult(py)ioSize"
  },
  "title" : "ioSize"
}
-->

# ioSize

A property for the optimal block size with which to perform I/O.

```
var ioSize: Int { get set }
```

## Discussion

For best performance, specify an `ioSize` that’s an even multiple of [`blockSize`](/documentation/FSKit/FSStatFSResult/blockSize).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)