Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo-sources-6.5.0 high load when idle with CIFS mounted
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
BJP
n00b
n00b


Joined: 01 Sep 2023
Posts: 1

PostPosted: Fri Sep 01, 2023 9:11 pm    Post subject: gentoo-sources-6.5.0 high load when idle with CIFS mounted Reply with quote

Does anyone else who has updated to gentoo-sources-6.5.0 see high load average on an idle system when a CIFS volume is mounted? My system maintains a load average of about 0.3 to 0.6 when lightly used and only background services are running. As soon as I mount a network CIFS volume the load will climb above 2 and stay there forever, even if I stop everything else running on the system.
Code:
# uptime
 17:10:21 up  6:16,  1 user,  load average: 2.08, 2.14, 2.02
# top -bn2 | grep '%Cpu' | tail -1 | grep -P '(....|...) id,'|awk '{print "CPU Usage: " 100-$8 "%"}'
CPU Usage: 0.5%

Immediately upon mounting a CIFS volume I see two kernel threads sitting in "D" state:
Code:
# ps aux | grep cifsd
root     17466  0.0  0.0      0     0 ?        S    16:52   0:00 [cifsd]
root     17467  0.0  0.0      0     0 ?        D    16:52   0:00 [cifsd-cfid-laundromat]
root     17468  0.0  0.0      0     0 ?        D    16:52   0:00 [cifsd-cfid-laundromat]

The cifsd-cfid-laundromat thread was added in 6.5.0 (https://lore.kernel.org/linux-cifs/CAH2r5mt5gt8E1riGaoPVs1o40ssFDpuv2CAL-wMz8ucGBJMamg@mail.gmail.com/T/), the issue does not exist in kernel 6.4.12 or any other kernel I've used.

If I unmount the CIFS volume, those laundromat threads disappear and the load falls back down to 0.

fstab entry for the CIFS volume:

Code:
//host/sharename  /mnt/public     cifs    noperm,guest,vers=3.02    0       2


Mostly I'm wondering if anyone else is seeing this, if it's appropriate to report up to LKML, if a Gentoo bug should be opened, or what.

Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum