It boosts performance, say the OS wants to write 1000 4k files to a drive, with a cache they can be sent to the drive at say 120mb/s taking 0.03s and then the drive will write the files from the cache to the disk when there is break in demand, without the cache the os would have to wait for each file to be written, with 10ms seek time per file this would take 10s (a lot more than 0.03s).
There is a bit more too it than this, obviously file size varies a lot and there a lot of tricks that can be done with algorithms, there are diminishing returns with increasing cache size.