There are many ways to optimise your hard drive: defragment regularly, deep clean or set the different hard drives by activating the write cache. In the end, you will get better performance and this, with just a few clicks of mouse! Good reading!
Start by opening the start Menu then enter Device Manager. You can also access it via the Control Panel.
Once opened, unfold Disk drives. This is where you should recognise the name of your hard drive. In this example, it is a Hitachi.
Double-click on it and open the tab Strategies.
All you have to do is tick Enable Writing Cache on Disk.
If you want to go further, you can also check Enable advanced performance.
However, this means that you have a backup power supply (battery for a laptop or an inverter for a PC) in case a power outage occurs and which would result in data loss.
It may also be unavailable in case of material limitation. Indeed, such an option can cause system instabilities like BSOD (Blue Screen Of the Death) that I have personally seen. That said, an isolated case should not be generalised. I invite you to try it and disable it in case of problems.
In short, a 2-level tip: one without known risks and the second to be used with caution.
Anyway, the performance will be at the rendezvous after activation of the write cache!