L1/L2 cache recommendations
Posted: Wed Aug 21, 2013 1:21 am
I'm having difficulty understanding how to tweak all the options in primo-cache.
Here is my usage. My wife has a laptop, with a 750 GB drive. I recently purchased her a 128GB Crucial M4 mSata drive. I was planning on using dataplex, but then I discovered they don't actually license the software for use with this SSD, even though crucial advertised the drive can be used as a caching drive, because it has been validated with dataplex.
It looks to me like primo-cache might do the same thing for her. Which is to accelerate her computer, with out the need to transfer to windows to the SSD.
Now, here are my questions:
1. How do a I determine what is the optimal L1 cache size?
2. Is there any reason why I need more than one L1 cache? For the life of me the only reason I can think of for multiple caches is if I want some read-only and some read-write. But in that case, at most I need two. Why would I want 16?
3. How do I determine what is the optimal L2 cache size? I gave the full 128GB Msata to use a cache. When I select though to use it as cache, it picks a default size 128 MB? That seems absurdly small. Even if I made 16 caches, it would only use a small fraction of the drive. I decided just to tell it to use the full disk, but I could not find a button for that. The disk size is shown in GiB, but the cache size is entered in MB. But there seems to be a computation error, as the actual disk size shown is not correct neither GiB or GB, so I can't just move the decimal place to guess at the number MB to use for full disk. It seems the dialogue is quite happy to allow me to set a value to large, so actually using full disk is pain in the neck. I just ended-up ballparking it, and so the extra space is unused. Is there a reason I would not want to do full disk?
4. I've read all sorts of things about tweaking SSD drives. e.g. Aligning sector boundries, enabling trim support. Does primo-cache do these things, or should I set-up the drive optomized as if I was going to put Windows on it, and then activate primo-cache. BTW. I have an hard time understanding why sector size would matter on an SSD, when sectors are a purely logical mapping...
Thanks,
Bill
Here is my usage. My wife has a laptop, with a 750 GB drive. I recently purchased her a 128GB Crucial M4 mSata drive. I was planning on using dataplex, but then I discovered they don't actually license the software for use with this SSD, even though crucial advertised the drive can be used as a caching drive, because it has been validated with dataplex.
It looks to me like primo-cache might do the same thing for her. Which is to accelerate her computer, with out the need to transfer to windows to the SSD.
Now, here are my questions:
1. How do a I determine what is the optimal L1 cache size?
2. Is there any reason why I need more than one L1 cache? For the life of me the only reason I can think of for multiple caches is if I want some read-only and some read-write. But in that case, at most I need two. Why would I want 16?
3. How do I determine what is the optimal L2 cache size? I gave the full 128GB Msata to use a cache. When I select though to use it as cache, it picks a default size 128 MB? That seems absurdly small. Even if I made 16 caches, it would only use a small fraction of the drive. I decided just to tell it to use the full disk, but I could not find a button for that. The disk size is shown in GiB, but the cache size is entered in MB. But there seems to be a computation error, as the actual disk size shown is not correct neither GiB or GB, so I can't just move the decimal place to guess at the number MB to use for full disk. It seems the dialogue is quite happy to allow me to set a value to large, so actually using full disk is pain in the neck. I just ended-up ballparking it, and so the extra space is unused. Is there a reason I would not want to do full disk?
4. I've read all sorts of things about tweaking SSD drives. e.g. Aligning sector boundries, enabling trim support. Does primo-cache do these things, or should I set-up the drive optomized as if I was going to put Windows on it, and then activate primo-cache. BTW. I have an hard time understanding why sector size would matter on an SSD, when sectors are a purely logical mapping...
Thanks,
Bill