cache unused

Developer discussions.

cache unused

Postby haer22 » Sun Jul 06, 2014 10:05 am

I have a pool with a 32G cache defined. after reboot it slowly fills up and is used according to "iostat -v". If i export that pool and then import it back, the cache never gets used again. After reboot, the caches is used again.

Any init that happens ager reboot but not after import?

cheers


Currently it looks like below. I rebooted 1hrs ago and the cache is slooowly filling up.
Code: Select all
[ihecc:~] root# zpool status zeus
  pool: zeus
 state: ONLINE
  scan: scrub canceled on Tue Jul  1 21:38:23 2014
config:

   NAME          STATE     READ WRITE CKSUM
   zeus          ONLINE       0     0     0
     raidz2-0    ONLINE       0     0     0
       disk1s2   ONLINE       0     0     0
       disk4s2   ONLINE       0     0     0
       disk8s2   ONLINE       0     0     0
       disk10s2  ONLINE       0     0     0
   logs
     disk6s4     ONLINE       0     0     0
   cache
     disk6s5     ONLINE       0     0     0


Code: Select all
zeus          8,36T  2,51T  1,06K      0   135M      0
  raidz2      8,36T  2,51T  1,06K      0   135M      0
    disk1s2       -      -    545      0  34,0M      0
    disk4s2       -      -    545      0  34,0M      0
    disk8s2       -      -    537      0  33,5M      0
    disk10s2      -      -    537      0  33,5M      0
logs              -      -      -      -      -      -
  disk6s4      140K  3,97G      0      0      0      0
cache             -      -      -      -      -      -
  disk6s5      652M  31,4G      0      0      0      0

After export/import the last line would look like:

Code: Select all
cache             -      -      -      -      -      -
  disk6s5         0  32,0G      0      0      0      0
haer22
 
Posts: 123
Joined: Sun Mar 23, 2014 2:13 am

Re: cache unused

Postby lundman » Sun Jul 06, 2014 7:36 pm

Another user mentioned a similar case, and we are testing a new branch "vdev-iokit" which appears to solve that issue - at least to a certain degree.
User avatar
lundman
 
Posts: 1335
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan


Return to OpenZFS on OS X Development

Who is online

Users browsing this forum: No registered users and 10 guests