Package: cachefilesd
Version: 0.10.10-0.3
Severity: important

I installed cachefilesd on an NFS client using standard fstab options:
fsc,rw,defaults,_netdev.

Client and server are connected on a local network using a Gigabit
connection. Files transfer without cachefilesd are quick, but opening a
file is very slow for big files when cachefilesd is activated: 10 seconds
for a 4 MBytes file, 60 seconds for a 50 MBytes file. No error is displayed.

After investigating, it seems that:
 - transfered files are copied into cachefilesd local cache (in
/var/cache/fscache)
 - opening a big file is always very long, even when the file is in the
local cache.

Client reboot doesn't changes anything.

FSCache stats are as follow, but I don't know how to analyze them:

  FS-Cache statistics
  Cookies: n=163 v=1 vcol=0 voom=0
  Acquire: n=971 ok=971 oom=0
  LRU    : n=0 exp=2128 rmv=96 drp=148 at=0
  Invals : n=8852
  Updates: n=3481 rsz=0 rsn=0
  Relinqs: n=808 rtr=0 drop=808
  NoSpace: nwr=0 ncr=0 cull=2
  IO     : rd=1696879 wr=1696352
  RdHelp : RA=0 RP=0 WB=0 WBZ=0 rr=0 sr=0
  RdHelp : ZR=0 sh=0 sk=0
  RdHelp : DL=0 ds=0 df=0 di=0
  RdHelp : RD=0 rs=0 rf=0
  RdHelp : WR=0 ws=0 wf=0

The same configuration was working perfectly with a previous Debian release
(Stretch 9.13).


-- System Information:
Debian Release: 12.11
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'),
(500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-37-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE
not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cachefilesd depends on:
ii  libc6  2.36-9+deb12u10

cachefilesd recommends no packages.

cachefilesd suggests no packages.

-- Configuration Files:
/etc/cachefilesd.conf changed:
dir /var/cache/fscache
tag mycache
brun 10%
bcull 7%
bstop 3%
frun 10%
fcull 7%
fstop 3%

/etc/default/cachefilesd changed:
RUN=yes
DAEMON_OPTS=""


-- no debconf information

Reply via email to