Skip to content

Commit 2c0d69d

Browse files
committed
Add some shell commands used for load-testing
1 parent 51a1a37 commit 2c0d69d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ This allows to use a Git repository a bit like IBM/Rational ClearCase dynamic vi
5555

5656
Note: Access is strictly read-only, no writing of new commits on branches is possible. Branches and Tags are actually implemented as symbolic links to the respective commit. The commit-directory uses the same two-byte directory-substructure like Git uses in .git/objects.
5757

58-
5958
#### Change it
6059

6160
Implementation should be straightforward, the class `JGitFS` implements the commandline handling, `JGitFilesystem` implements the filesystem interfaces that are needed for simple read-only access as well as some caching, `JGitHelper` encapsulates access to Git, `GitUtils` are local utils for computing commits, ...
@@ -76,6 +75,14 @@ On the Git side I had heard about [JGit] and wanted to give it a try anyway, usi
7675

7776
Finally after some performance tuning sessions and adding some caching at the right spots I was also satisfied with the performance, naturally there is a bit of overhead but overall I am able to work with fairly large repositories without large delays, only some more CPU is used because of all the compression/format reading in JGit and this doesn't seem to be a big concern with fairly up-to-date hardware.
7877

78+
#### Load testing
79+
80+
Some scripts that might be useful for reading lots of data from the fuse filesystems:
81+
82+
while true;do find /fs/ > /dev/null;done
83+
84+
find /fs/ -type f -exec cat "{}" > /dev/null \;
85+
7986
#### Todos
8087

8188
* Only commits reachable via refs or tags are listed currently as I could not yet get JGit to return me a list of all commits, so commits which still exist, but are unreferenced currently are not visible

0 commit comments

Comments
 (0)