7/22/2023 0 Comments Git status slowWe noticed on that cloned/mounted diskimage, when we do a git status, it ended spinning up the git-lfs filter-process which took about 5-8 minutes. The developer can quickly clone/Copy-on-Write, this diskimage in <30 seconds and mount them and work in a prebuilt workspace. We have a system, where we create the above diskimage and make it available for developers. Ours is 50G git repo with a 200G build tree in a mounted diskimage, that is sitting on NFS. ➜ param_clean_3 git:(master) git -versionĭescription: Git Large File Storage is an extension for versioning large files ➜ param_clean_3 git:(master) git-lfs status Moving corrupt objects to /Users/aric/param_clean_3/.git/lfs/bad ![]() Object tpl/ (a9ce35d312ddee2c85b4d1c9ba3aa0c8bcbe5c8dfb1635647badc0bdde4c1c75) could not be checked: no such file or directory I tried mounting with the async flag, and with rwsize boosted, and it made little difference.➜ param_clean_3 git:(master) git lfs fsck I'm not sure whether statsd and lockd are running over TCP and UDP. The system mounting the volume is running OSX Mavericks.Īt the moment the main nfsd connection is running over UDP, which seems ideal over a virtual connection. The owner of the volume is running Ubuntu 12.10 (Quantal), with default settings. # local driveĠ.3600 0.4800 0.5150 0.5552 0.5400 1.4500Ĭlearly some latency is inevitable, but this is bad enough that it makes some simple tasks quite painful. ![]() The first: dd if=/dev/zero of=test bs=16 count=16384Įach result is based on 100 samples. Obviously NFS performance will be worse than writing straight to a local SSD, but the NFS is just running over a virtual private network interface with Virtualbox. Cloning a small repository into the mounted NFS drive can take a couple of minutes (5-10 seconds on a local drive). The performance of this is extremely poor: it often takes up to 5 seconds just to run git status. Git (and related tools like sourcetree) are run in OSX, on the shared directory. In order to support inotify inside the linux machine, we eschew the usual method of sharing directories with VirtualBox: instead, the Virtualbox machine exposes an NFS share, which is mounted in OSX. ![]() I manage a vagrant setup for our developers running OSX to manage VirtualBox systems for development.
0 Comments
Leave a Reply. |