fossil version used for this test:
checkout: 871f978d9b080403b73408858a63353ddaaf85a3 2016-09-10 20:01:51 UTC

I did some tests with fusefs[1] today.

[1]: https://www.fossil-scm.org/fossil/help?cmd=fusefs

Some issues:

1. Unversioned files (e.g., fossil unversioned add 128MB-file.test)
don't show up in the fusefs directory. I think this is a
work-in-progress but it's worth mentioning here (for
completeness/posterity).

2. Timestamps on the fusefs directory's files are all: Dec 31  1969

3. Performance is currently very poor.

With binary files created like this:

dd if=/dev/urandom of=16MB-file.test bs=8M count=2
dd if=/dev/urandom of=24MB-file.test bs=8M count=3

Then added to the repository like this:

fossil add 16MB-file.test
fossil commit -m "small binary file for testing"

Then the repository was mounted like this:

fossil fusefs ~/fslmnt
cd ~/fslmnt/checkins/trunk

Performance comparison between the fusefs directory and the regular fs
check-in/out directory:

| time md5sum    | fusefs    | fs       |
|----------------+-----------+----------|
| 8MB-file.test  | 0m2.987s  | 0m0.052s |
| 16MB-file.test | 0m13.745s | 0m0.115s |
| 24MB-file.test | 0m30.594s | 0m0.163s |
| 32MB-file.test | 0m52.830s | 0m0.195s |

I killed a in-progress `time md5sum 768MB-file.test` after ~30 minutes.

Then it's unmounted like this:

fusermount -u ~/fslmnt
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to