0

is there a way to check if disk cache is working on a regular sata disk?

i see "asking for disk cache failed" error messages, but discovered my laptop has a 1gb solid state drive without a partition. i saw it in disk utility. so if i can confirm that the hdd has a working cache then my next goal will be to setup ubuntu to use the solid state for swap instead of the swap area on the hdd.

1
  • Copying a file with a size smaller than your HDD cache should be "instantaneous" (very fast, depends on the memory to sata transfer rate). Sending a file that's larger will block (go as slow as the HDD write) once the cache is full. Apr 7, 2013 at 22:16

1 Answer 1

0

You should try to copy a file on the disk and then you should type

free -m

in your terminal. You will be able to see the amount of used cache space and the amount of free cache space.

Page with info.

2
  • confirmed cache is working, so error must be coming from solid state, which is /dev/zram0 Now how do I tell Ubuntu to use /dev/zram0 for swap? Apr 9, 2013 at 22:49
  • That should be posted in another question. =)
    – Gav
    Apr 9, 2013 at 23:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .