Hello @kleber-souza.

The regression was not fixed. There have only been mitigations.

Please see our comments in the other bug report.

All information required is available in the previous bug report, but I
have attached a patchset that actually fixes the regression.


** Patch added: "Reverts upstream commits 
21fd9e8700de86d1169f6336e97d7a74916ed04a, 
029085b8949f5d269ae2bbd14915407dd0c7f902, and 
0eb43812c0270ee3d005ff32f91f7d0a6c4943af"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2015827/+attachment/5670602/+files/nfs-regression-fix-1.diff

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2015827

Title:
  NFS performance issue while clearing the file access cache upon login

Status in linux package in Ubuntu:
  In Progress

Bug description:
  The performance issue that has been observed may be attributed to an increase 
in NFS ACCESS operations, possibly due to a new mechanism introduced in the 
Linux 6.2-rc3 NFS client side.
  This mechanism clears the access cache as soon as the cache timestamp becomes 
older than the user's login time,
  with the primary objective of preventing the NFS client's access cache from 
becoming stale due to any changes made to the user's group membership on the 
server after the user has already logged in on the client.

  It's worth noting that POSIX only refreshes the user's supplementary group 
information upon login.
  Upstream has taken into consideration that users may reasonably expect the 
access cache to be cleared when they log out and log back in again, with all 
behavior returning to normal after the replacement.

  The performance overhead can be particularly noticeable when applications or 
users switch to other privileged users via commands such as "su" to operate on 
NFS-mounted folders.
  In such cases, the privileged user's login time will be renewed, and NFS 
ACCESS operations will need to be re-sent, potentially leading to performance 
degradation.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2015827/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to