git-commit command execute very slowly
Bug #1171197 reported by
jonathan
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:
> 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.
Architecture: amd64
EcryptfsInUse: Yes
Git version: 1.7.5.4
Android version: 4.1
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.