kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #64164
[Bug 587408] Re: Ecryptfs is very slow at listing directories with many files
This problem is still present in Ubuntu 14.04 LTS.
** Also affects: linux via
http://bugzilla.kernel.org/show_bug.cgi?id=16157
Importance: Unknown
Status: Unknown
** Changed in: linux (Ubuntu)
Status: Incomplete => Confirmed
--
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/587408
Title:
Ecryptfs is very slow at listing directories with many files
Status in The Linux Kernel:
Unknown
Status in “linux” package in Ubuntu:
Confirmed
Bug description:
Listing an ecryptfs directory with lots of files is very slow. Here is
how to reproduce this:
• Mount an ecryptfs volume (using encrypted home directories or ~/Private/ for example)
• Create a directory with 10.000 files in it (10.000 copies of the same text file for example)
• Unmount and remount the directory (or logout/login or reboot)
• Run ls on the directory
Running find with no arguments on the same directory is immediate so
it seems it is the stat()'ing of each file done by ls that makes this
very slow. This is probably because stat() has to decrypt every single
file. Keeping the information for stat() in the directory file would
be a solution.
Here is a user account of how this problem makes encrypted home
directories infeasible:
http://www.satansgarden.org/2010/03/05/removing-encryption-from-home-
directories-in-ubuntu-9-10/
Should I also submit an upstream bug report as this probably isn't
ubuntu specific?
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-image-2.6.32-21-generic 2.6.32-21.32
Regression: No
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC1: pedrocr 1481 F.... pulseaudio
/dev/snd/controlC0: pedrocr 1481 F.... pulseaudio
CRDA:
country 98:
(2402 - 2472 @ 40), (3, 27)
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xf8220000 irq 17'
Mixer name : 'Analog Devices AD1984'
Components : 'HDA:11d41984,17aa20d6,00100400'
Controls : 29
Simple ctrls : 18
Card1.Amixer.info:
Card hw:1 'U0x46d0x9c1'/'USB Device 0x46d:0x9c1 at usb-0000:00:1d.7-1, high speed'
Mixer name : 'USB Mixer'
Components : 'USB046d:09c1'
Controls : 2
Simple ctrls : 1
Card1.Amixer.values:
Simple mixer control 'Mic',0
Capabilities: cvolume cvolume-joined cswitch cswitch-joined penum
Capture channels: Mono
Limits: Capture 0 - 3072
Mono: Capture 3072 [100%] [30.00dB] [on]
Card29.Amixer.info:
Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7MHT25WW-1.03'
Mixer name : 'ThinkPad EC 7MHT25WW-1.03'
Components : ''
Controls : 1
Simple ctrls : 1
Card29.Amixer.values:
Simple mixer control 'Console',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [on]
Date: Sat May 29 21:32:16 2010
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=13a2cbed-32ea-49ec-8630-6cad479c043d
MachineType: LENOVO 7673CR8
PccardctlIdent:
Socket 0:
no product info available
PccardctlStatus:
Socket 0:
no card
ProcCmdLine: root=UUID=7e1b8cc5-9055-41c8-bd30-ddde4717884c ro quiet splash
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.34
SourcePackage: linux
WpaSupplicantLog:
dmi.bios.date: 03/12/2009
dmi.bios.vendor: LENOVO
dmi.bios.version: 7NETC0WW (2.20 )
dmi.board.name: 7673CR8
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr7NETC0WW(2.20):bd03/12/2009:svnLENOVO:pn7673CR8:pvrThinkPadX61:rvnLENOVO:rn7673CR8:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 7673CR8
dmi.product.version: ThinkPad X61
dmi.sys.vendor: LENOVO
To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/587408/+subscriptions