Page 1 of 1

Shared L2 partition

Posted: Mon Jul 18, 2016 9:31 am
by npelov
Hi,

Recently I wanted to add part of the L2 partition to another cache task. It's a 14 GB flash disk. It was assigned to cache task 1, so I limited task 1 to 8GB, then I added 1 gb to task 2, then I set task 1 to "MAX" and rebooted.
Now task 1 is 8 GB, task 2 is 1 GB and I can not increase task 1. In task 1 I see "8gb free" for L2. in task 2 I see 6 gb free, but only 1 gb is assigned.
Why doesn't it free the rest of L2 partition for task 1 when task 2 is only 1 GB?

Re: Shared L2 partition

Posted: Mon Jul 18, 2016 11:53 am
by Support
I think this is because that there was discrete free space in the L2 storage. You may click "manage L2 storage" button and check the space usage of the L2 storage, as below.
------------------------------------------------------
Partition Capacity Cache
1 8GB 1
2 1GB 2
Unallocated 5GB
-----------------------------------------------------
Because the unallocated space is not next to the 8GB part, PrimoCache cannot increase its size.
To solve this problem, you may disable L2 cache for the task 2 first, set the L2 size you want for the task 1, and then set L2 cache for the task 2 again.

Re: Shared L2 partition

Posted: Tue Jul 19, 2016 1:38 pm
by npelov
In other words L2 must be a single block and cannot be fragmented. Not a big deal. I'll reassign L2.
Thanks!