You are not logged in.

#1 2014-09-30 10:24:05

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

cachefilesd not caching?

I store my video editing data (multi-gb) on a FreeNAS box. My editing computer only has a 1gb link to the FreeNAS box, and the network struggles.

I found cachefilesd to try and take advantage of the RAID-10 array of SSD's I have in my editing box, but I'm having trouble getting it to work.

I'm installed it from the AUR, umounted my NFS mount to the FreeNAS box and remounted it with the 'fsc' option, setup my /etc/cachefilesd.conf (below) and run with debug mode, but it doesn't seem to cache.

dir /mnt/ssd_array/cachefilesd
tag ssd_nfs_cache
brun 10%
bcull 7%
bstop 3%
frun 10%
fcull 7%
fstop 3%
secctx system_u:system_r:cachefiles_kernel_t:s0

I'm running the daemon for testing as:

# cachefilesd -d -n -s
About to bind cache
Bound cache
Daemon Started
Scan complete
Refilling cull table
Scan complete
Refilling cull table
Scan complete
Refilling cull table
Scan complete
Refilling cull table
Scan complete

While opening files in kdenlive and transcoding other files using ffmpeg (yes, my load average is high right now)

# du -hs /mnt/ssd_array/cachefilesd/
12K	/mnt/ssd_array/cachefilesd/

Offline

#2 2014-10-01 23:02:17

mapintar
Member
Registered: 2010-04-17
Posts: 52

Re: cachefilesd not caching?

fukawi2 wrote:

I store my video editing data (multi-gb) on a FreeNAS box. My editing computer only has a 1gb link to the FreeNAS box, and the network struggles.

I found cachefilesd to try and take advantage of the RAID-10 array of SSD's I have in my editing box, but I'm having trouble getting it to work.

I'm installed it from the AUR, umounted my NFS mount to the FreeNAS box and remounted it with the 'fsc' option, setup my /etc/cachefilesd.conf (below) and run with debug mode, but it doesn't seem to cache.

dir /mnt/ssd_array/cachefilesd
tag ssd_nfs_cache
brun 10%
bcull 7%
bstop 3%
frun 10%
fcull 7%
fstop 3%
secctx system_u:system_r:cachefiles_kernel_t:s0

I'm running the daemon for testing as:

# cachefilesd -d -n -s
About to bind cache
Bound cache
Daemon Started
Scan complete
Refilling cull table
Scan complete
Refilling cull table
Scan complete
Refilling cull table
Scan complete
Refilling cull table
Scan complete

While opening files in kdenlive and transcoding other files using ffmpeg (yes, my load average is high right now)

# du -hs /mnt/ssd_array/cachefilesd/
12K	/mnt/ssd_array/cachefilesd/

Try move save some file for nfs folder monted whith the 'fsc' option, and run "du -hs /mnt/ssd_array/cachefilesd/" again.

Offline

#3 2014-10-01 23:12:13

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: cachefilesd not caching?

mapintar wrote:

Try move save some file for nfs folder monted whith the 'fsc' option, and run "du -hs /mnt/ssd_array/cachefilesd/" again.

Sorry, I don't understand. Could you rephrase please? smile

Offline

Board footer

Powered by FluxBB