-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RapidDisk-Cache does not support 4K Logical Drives #59
Comments
i think the problem is mke2fs |
@juanpc2018 Thank you. However, this is before the file system comes into the picture. The issues stems from the block device's logical block size and the fact that RapidDisk-Cache has issues with a 4K block size. |
Any new information on this? I am trying to use ramdisk-cache on top of an ext4 fs but for some reason I don't get any cache read hits when issuing find commands. I am wondering whether it's got to do with the 4k block size of the underlying system. The operations I am trying to do are to do with file deletions and it simply skips the cache. It may very well be something else though because when doing fio tests with 8k reads the cache is hit very well. |
The minimum cache size is 4K, so if you are trying to read something smaller, it won't cache it. Also, in order for a cache read hit to occur, the data must already be staged in the cache. Also, I am not sure how unlinks are handled by the ext4 file system at the moment and whether it too introduces its own fair share of variables impacting cache reads. |
Format of 4K volume:
/var/log/kern.log
Physical/logical block sizes:
The text was updated successfully, but these errors were encountered: