4 ms·
Couldn't that result in much slower reads when the head is far away from the swap when it needs to read (multiple times)?
by timvdalen 5y ago
Couldn't that result in much slower reads when the head is far away from the swap when it needs to read (multiple times)?
- marcodiego 5y agoEven more interesting idea: pages are oportunistically mirrored between swap partitions and the kernel smartly chooses the closest one whenever needed!
- resonator 5y agoDoes the kernel even have the information to know which is closest. I figured that would be absracted away to the disk controller.
- marcodiego 5y agoThe slowest swap was at the end probably because it was farther. The position of the head can be inferred by the geometry and last access.