<commit_before>03/31/2017
---------

Basic tests
-----------

   * kernel compile
   * self build
   * tar over ssh
   * iozone -a

Run the above four tests in a loop for at least four hours.  Remove all files and repeat.
Ideally, the process should continue for 24 hours.

Unit tests
----------

1. Build everything on Ubuntu and CentOS.

2. Build sliod, wokfs, and mount_slash on FreeBSD 9.0 with gmake (zfs-fuse is too Linux 
   specific to build on FreeBSD).

3. If zfs-fuse is changed, try to create a new ZFS pool.

4. Check out two slash2 source trees, one in slash2, the other in a different file system.
   Then do a recursive diff -dur -x .git comparison.  This can catch readlink regressions.

5. Check out a slash2 source tree on one IOS, replicate it to another IOS. Then take the
   first IOS offline and build the source tree. This makes sure that msctl functionality
   and basic replication work.

   It also makes sure that the client can skip the down IOS quickly.

6. Force MDS to always return DIO bmap lease (sys.force_dio=1) and do a self build.

   self-build non DIO mode:

	real	3m46.075s
	user	4m42.471s
	sys	1m33.065s

   self-build DIO mode:

	real	4m55.931s
	user	4m45.384s
	sys	1m35.727s

   Also make sure that this test finishes within 4 minutes to detect possible performance
   regression. Note that DIO is slower than the non DIO case.

7. After all tests are done, run slmctl -sc and check the reference count of resources to
   make sure there are no leaks.
  
   Only csvc structure for a client is allocated on the fly.

8. Set up a logical I/O server, and make sure that I/O does spread across multiple I/O servers.

9. Create a file on one I/O server, disable write on it, and try to overwrite the file after
   waiting for leases and caches have expired.

10. Run bigfile.sh.

11. Test UID/GID map file on a remote client.

05/30/2017
----------

zhihui@yuzu: /zzh-slash2/zhihui/linux-4.4$ time make -j 3

.....

  LD      drivers/video/fbdev/built-in.o
  LD      drivers/video/built-in.o
  LD      drivers/built-in.o

real    117m28.634s
user    57m15.873s
sys     12m47.270s
<commit_msg>results<commit_after>03/31/2017
---------

Basic tests
-----------

   * kernel compile
   * self build
   * tar over ssh
   * iozone -a

Run the above four tests in a loop for at least four hours.  Remove all files and repeat.
Ideally, the process should continue for 24 hours.

Unit tests
----------

1. Build everything on Ubuntu and CentOS.

2. Build sliod, wokfs, and mount_slash on FreeBSD 9.0 with gmake (zfs-fuse is too Linux 
   specific to build on FreeBSD).

3. If zfs-fuse is changed, try to create a new ZFS pool.

4. Check out two slash2 source trees, one in slash2, the other in a different file system.
   Then do a recursive diff -dur -x .git comparison.  This can catch readlink regressions.

5. Check out a slash2 source tree on one IOS, replicate it to another IOS. Then take the
   first IOS offline and build the source tree. This makes sure that msctl functionality
   and basic replication work.

   It also makes sure that the client can skip the down IOS quickly.

6. Force MDS to always return DIO bmap lease (sys.force_dio=1) and do a self build.

   self-build non DIO mode:

	real	3m46.075s
	user	4m42.471s
	sys	1m33.065s

   self-build DIO mode:

	real	4m55.931s
	user	4m45.384s
	sys	1m35.727s

   Also make sure that this test finishes within 4 minutes to detect possible performance
   regression. Note that DIO is slower than the non DIO case.

7. After all tests are done, run slmctl -sc and check the reference count of resources to
   make sure there are no leaks.
  
   Only csvc structure for a client is allocated on the fly.

8. Set up a logical I/O server, and make sure that I/O does spread across multiple I/O servers.

9. Create a file on one I/O server, disable write on it, and try to overwrite the file after
   waiting for leases and caches have expired.

10. Run bigfile.sh.

11. Test UID/GID map file on a remote client.

05/30/2017
----------

zhihui@yuzu: /zzh-slash2/zhihui/linux-4.4$ time make -j 3

.....

  LD      drivers/video/fbdev/built-in.o
  LD      drivers/video/built-in.o
  LD      drivers/built-in.o

real    117m28.634s
user    57m15.873s
sys     12m47.270s



zhihui@yuzu: /zzh-slash2/zhihui$ time ~/iozone -a

iozone test complete.

real    15m33.789s
user    0m3.465s
sys     0m15.197s

{'fraction_non_alphanumeric': 0.0735930735930736, 'fraction_numerical': 0.04989747095010253, 'mean_word_length': 2.6613844870725605, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1597149', 'n_tokens_mistral': 1601, 'n_tokens_neox': 1438, 'n_words': 668}