git-commit command execute very slowly

Bug #1171197 reported by jonathan
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
eCryptfs
New
Undecided
Unassigned

Bug Description

In the ecryptfs directory, following git-command is executed:

  > git clone git@myserver:/home/repos/android4.1.git
  > cd android4.1
  > mkdir test1
  > echo "hello" > test1/readme
  > git add test1
  > git commit -m"add test1"

   git-commit is completed about 5 minutes.

   However if in the no-ecryptfs directory, git-commit is completed about 20 seconds.

 ProblemType: Bug
 DistroRelease: Ubuntu 10.04 ( Ubuntu12.04.2)
 Uname: Linux 2.6.32-40-generic x86_64 (Linux3.2.0-32-generic)
 Architecture: amd64
 EcryptfsInUse: Yes
 Git version: 1.7.5.4
 Android version: 4.1

jonathan (sprbeyond)
description: updated
jonathan (sprbeyond)
description: updated
description: updated
Revision history for this message
Nick Murtagh (nickm-go2) wrote :

git status and git rebase can also be very slow - anything that forces git to read files from disk. Once those files are cached in RAM everything is nice and fast again.

I don't remember this being an issue when I first installed 12.04 so perhaps performance degraded over time (does ecryptfs suffer from fragmentation) or something changed in a subsequent update? Not 100% sure on this though, I'd have to reinstall 12.04 to check.

I'm currently on 3.2.0-41-generic-pae.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.