dennis95 / dennix

Dennix is a unix-like hobbyist operating system written from scratch.
ISC License
163 stars 13 forks source link

Improve disk performance #27

Closed dennis95 closed 3 years ago

dennis95 commented 3 years ago

Disk access is currently slow. There are a few changes that could improve performance significantly.

dennis95 commented 3 years ago

The ATA cache is now no longer flushed after every write. This has already resulted in a significant performance improvement.

dennis95 commented 3 years ago

Blocks that are read or written on a ATA driver are now being cached in RAM.

dennis95 commented 3 years ago

DMA transfers have now been implemented. We now have good disk performance.

Another performance improvement would be to perform writes to the block cache only and asynchronously write modified blocks to the disk. But that is something to be considered later.