Sequential read performance on Amazon EFS containers can unpredictably plummet by 75 percent. The culprit is not network congestion or bad throttling metrics; it is a quiet kernel race condition involving sysfs superblocks inside shared namespaces.
Linux 5.4 reduced the default NFS readahead window from 15 MiB down to 128 KiB. While helper daemons like efs-utils attempt to rewrite read_ahead_kb on startup, the write quietly fails if an unprivileged container initializes the network namespace first. The unprivileged container mounts sysfs as read-only, which locks the underlying superblock for all subsequent containers sharing that namespace.
Running a privileged container afterward cannot override this state directly because the mount table inherits the read-only superblock flags. Executing a remount targeting the superblock via mount -o remount,rw /sys immediately restores write access, enabling the full 15 MiB readahead window without container restarts.












